To provide a data access for a business user in an ODBC scenario, you must create a restriction type and an IAM app in ABAP Development Tools (ADT).
The data that the business user needs to access already exists and there's a corresponding authorization object and authorization field available.
As a developer, you create an IAM app and a restriction type based on the available authorization field to provide access control for the data. For more information about how to create restriction types and IAM apps, see the ADT documentation.
-
In ABAP Development Tools, create an IAM app called, for example,
ZDATA_IAM
. -
On the Services tab for the IAM app, add the SQL service that you created.
In the example used for this documentation, this is the
ZDATA
SQL service. -
On the Authorizations tab, add the authorization object that you want to use.
In the example used for this documentation, this is the
ZREGIONMGT
authorization object. -
For the
ACTVT
authorization field, choose the checkboxes Add or Create, Change, Display, and Delete.For all other authorization fields (for example,
ZREGION
in this documentation), leave the settings unchanged. You will model access control using a restriction type. -
To create a restriction type, open the authorization object that you want to use (for example,
ZREGIONMGT
in this documentation). -
In the What's next section, choose Create restriction type based on the authorization object.
In the example used here, let's call the new restriction type
ZREGIONMGT_RSTR
.