# US 2019/0243981 A1 · Simplifying data protection in cds based access

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0243981 A1
- Document ID: US20190243981A1
- Status: Published application
- Kind: A1
- Application number: 15/888,405
- Filed: 2018-02-05
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Tapasweni Pathak; Venkat Bhargav A S
- Web page: https://patentgrep.com/patent/US20190243981A1

## CPC

- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/629: {to features or functions of an application}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2455: Query execution
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system are provided including a data protection module; a display; and a data protection processor in communication with the data protection module and operative to execute processor-executable process steps to cause the system to: present a user interface on a display, the user interface including one or more application packages; receive selection of one of the one or more application packages; present on the display a user-entry field to receive an end-user-role associated with an administrative function, wherein the end-user-role is authorized to access at least one CDS view; receive an input in the user-entry field, wherein the input is one of the end-user-role and a request for assistance; determine whether the selected application package includes at least one core data service (CDS) view; determine whether a data control language (DCL) layer is provided for each included CDS view; and automatically generate the DCL layer for each included CDS view if the DCL layer is not provided for the included CDS view. Numerous other aspects are provided.

## Claims

### Claim 1

A system comprising:
a data protection module;
a display; and
a data protection processor in communication with the data protection module and operative to execute processor-executable process steps to cause the system to:
present a user interface on a display, the user interface including one or more application packages;
receive selection of one of the one or more application packages;
present on the display a user-entry field to receive an end-user-role associated with an administrative function, wherein the end-user-role is authorized to access at least one CDS view;
receive an input in the user-entry field, wherein the input is one of the end-user-role and a request for assistance;
determine whether the selected application package includes at least one core data service (CDS) view;
determine whether a data control language (DCL) layer is provided for each included CDS view; and
automatically generate the DCL layer for each included CDS view if the DCL layer is not provided for the included CDS view.

### Claim 2 (depends on 1)

The system of claim 1, wherein the DCL layer restricts access to the at least one CDS view.

### Claim 3 (depends on 2)

The system of claim 2, wherein the DCL layer includes one or more authorization objects.

### Claim 4 (depends on 3)

The system of claim 3, wherein each of the one or more authorization objects is associated with a role allowed to access the CDS view.

### Claim 5 (depends on 1)

The system of claim 1, wherein the CDS view includes less than all of data available in a database table.

### Claim 6 (depends on 1)

The system of claim 1, further comprising processor-executable process steps to cause the system to:
determine a number of distinct fields.

### Claim 7 (depends on 6)

The system of claim 6, further comprising processor-executable process steps to cause the system to:
for each distinct field, determine whether the field is associated with at least one authorization object; and
if the distinct field is associated with the authorization object, determine the distinct field is qualified to be included in the DCL layer.

### Claim 8 (depends on 7)

The system of claim 7, further comprising processor-executable process steps to cause the system to:
present on the display the one or more authorization objects for mapping to each distinct field;
receive a selection of the one or more authorization objects; and
generate the DCL layer.

### Claim 9 (depends on 8)

The system of claim 8, further comprising processor-executable steps to cause the system to:
transmit the DCL layer with the CDS view in response to execution of a query.

### Claim 10 (depends on 1)

The system of claim 1, wherein the CDS view includes Data Definition Language (DDL), Data Control Language (DCL), an annotation definition and a metadata extension.

### Claim 11

A computer-implemented method comprising:
presenting a user interface on a display, the user interface including one or more application component packages;
receiving selection of one of the one or more application packages;
determining whether the selected application package includes at least one core data service (CDS) view;
determining whether a data control language (DCL) layer is provided for each included CDS view;
if the DCL layer is not provided for the included CDS view, presenting on the display a user-entry field to receive an end-user-role associated with an administrative function, wherein the end-user-role is authorized to access at least one CDS view;
receiving an input in the user-entry field, wherein the input is one of the end-user-role and a request for assistance; and
automatically generating the DCL layer for each included CDS view that does not have a provided DCL layer, based on the received input.

### Claim 12 (depends on 11)

The method of claim 11, wherein automatically generating the DCL layer further comprises:
determining whether any of the fields in the included CDS views are distinct fields;
determining, for each distinct field, whether the field is associated with at least one authorization object; and
determining the distinct field is qualified to be included in the DCL layer if the distinct field is associated with the authorization object.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
presenting on the display the one or more authorization objects for mapping to each distinct field; and
receiving a selection of the one or more authorization objects.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
transmitting the DCL layer with the CDS view in response to execution of a query.

### Claim 15 (depends on 11)

The method of claim 11 wherein the DCL layer restricts access to the at least one CDS view.

### Claim 16 (depends on 11)

The method of claim 11, wherein the CDS view includes less than all of data available in a database table.

### Claim 17

A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause the computer system to:
present a user interface on a display, the user interface including one or more application packages;
receive selection of one of the one or more application packages;
determine whether the selected application package includes at least one core data service (CDS) view;
determine whether a data control language (DCL) layer is provided for each included CDS view;
if the DCL layer is not provided for the included CDS view, present on the display a user-entry field to receive an end-user-role associated with an administrative function, wherein the end-user-role is authorized to access at least one CDS view;
receive an input in the user-entry field, wherein the input is one of the end-user-role and a request for assistance; and
automatically generate the DCL layer for each included CDS view if the DCL layer is not provided for the included CDS view.

### Claim 18 (depends on 17)

The medium of claim 17 wherein to automatically generate the DCL layer, the program code is further executable by the computer system to:
determine whether any of the fields in the included CDS views are distinct fields;
determine, for each distinct field, whether the field is associated with at least one authorization object; and
determine the distinct field is qualified to be included in the DCL layer if the distinct field is associated with the authorization object.

### Claim 19 (depends on 18)

The medium of claim 18, wherein the program code is further executable by the computer system to:
present on the display the one or more authorization objects for mapping to each distinct field;
receive a selection of the one or more authorization objects; and
generate the DCL layer

### Claim 20 (depends on 19)

The medium of claim 19, wherein the DCL layer restricts access to the at least one CDS view.
