Follow this procedure to set up SAP Application Server ABAP (AS ABAP) as a proxy system.
Prerequisites
You have installed the Cloud Connector in your corporate environment and have done the initial configuration. For more information, see: Cloud Connector (Neo).
You have credentials of a technical user with read and write permissions for AS ABAP, which plays both the role of a user data source and a target system. Via this user, the Identity Provisioning service will call the ABAP public API in order to execute a number of function modules. These function modules are listed in step 1 from the procedure below.
The technical user must have the required RFC and security authorizations, as described in SAP Note 3666721 .
Context
SAP Application Server ABAP (AS ABAP) offers a user store and user administration capabilities for maintaining users and their authorizations for AS ABAP applications. You can configure AS ABAP as a proxy system so as to provision entities between AS ABAP and another on-premise system.
Procedure
Open Cloud Connector to add an access control system mapping for AS ABAP. This is needed to allow the Identity Provisioning service to access AS ABAP as a back-end system on the intranet. To learn how, see: Configure Access Control (RFC)
Go to Cloud To On-PremiseAccess Control tab and select protocol RFC SNC. Then, expose the following exact names as accessible resources:
PRGN_ROLE_GETLIST
BAPI_USER_GETLIST
BAPI_USER_GET_DETAIL
BAPI_USER_CREATE1
BAPI_USER_ACTGROUPS_ASSIGN
IDENTITY_MODIFY
BAPI_USER_DELETE
PRGN_ACTIVITY_GROUPS_LOAD_RFC
SUSR_USER_GET_DETAIL_MASS - available as of SAP_BASIS 7.58. For more information, see SAP Note 3631587 .
These are Business Application Programming Interface (BAPI) functional modules designed to perform certain tasks in the SAP AS ABAP system, such as retrieving, creating, updating or deleting user data.
For more information about each function module and its parameters, refer to the documentation provided in the SAP system. Logon to your SAP system and run transaction code SE37. In the Function Builder: Initial Screen, enter the function name, choose Display and then Functional Module Documentation.
Open SAP BTP cockpit, and in your Identity Provisioning subaccount create a destination for the AS ABAP system. To learn how, see: Create RFC Destinations
The destination configuration is required by the Identity Provisioning service to find the back-end system to be used for reading data. It also provides the credentials of the technical user, needed for the connection to the ABAP public API.
Below are the fields you have to fill in the cockpit destination before using an AS ABAP client as a proxy system.
Field/Property Name
Value
Name
Enter a destination name.
Type
Select RFC.
User
Enter the user for AS ABAP.
The User field corresponds to property jco.client.user in the exported RFC destination.
Password
(Credential) Enter the password for the AS ABAP user.
The Password field corresponds to property jco.client.passwd in the exported RFC destination.
jco.client.client
The property is configured during destination creation in SAP BTP cockpit.
Provide the client to be used in the ABAP system. Valid format is a three-digit number.
Proxy Type
Defines the proxy type of the connection you need to provide for your ABAP system.
The value is set during destination creation in SAP BTP cockpit.
The proxy type OnPremise requires the Cloud Connector to access resources within your on-premise network.
Enter: OnPremise
Direct Connection
jco.client.ashost
Provide the virtual host entry that you have configured in the Cloud Connector → Access Control configuration.
At least one property specifying the target host must be set during destination creation.
jco.client.sysnr
Provide the "system number" of the ABAP system.
Load Balancing Connection
jco.client.mshost
Represents the message server host to be used.
At least one property specifying the target host must be set during destination creation.
jco.client.r3name
Provide the three-character system ID of the ABAP system to be addressed.
jco.client.msservt
Provide the port on which the message server is listening for incoming requests. You can use this property as an alternative to jco.client.r3name.
Optional Properties
jco.destination.peak_limit
The value represents the maximum number of active connections that can simultaneously be created for a destination. For example: 10
jco.destination.pool_capacity
The value represents the maximum number of idle connections kept open by the destination. For example: 5
abap.user.name.filter
Filters user names by a regular expression. The regex can define any kind of search pattern.
For example, abap.user.name.filter = ^MAR.* reads all user names that start with MAR, such as MARK, MARTINA, and so on.
abap.role.name.filter
Filters user roles by a regular expression. The regex can define any kind of search pattern.
For example, abap.role.name.filter = ^inter.* reads all roles which start with inter, such as internal, internship, and so on.
abap.user.membership.filter
Filters users by a regular expression, based on their Role memberships in AS ABAP. The regex can define any kind of search pattern.
For example, abap.user.membership.filter = (?i)^new.* reads all users who have an assigned role which starts with new. This regex is case insensitive, which means the result can be roles starting with new, or New, or NEW, and so on.
abap.user.page.size
Use this property to configure the number of users to be read from SAP Application Server ABAP at once.
If the property is not set, the function module SUSR_USER_GET_DETAIL_MASScannot be used, even if it is available on the ABAP server.
Possible values:
Default value: 100
The maximum allowed number is 100.
Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
Go to SecurityOAuthClients and choose Register New Client.
From the Subscription combo box, select <provider_subaccount>/ipsproxy.
From the Authorization Grant combo box, select Client Credentials.
In the Secret field, enter a password (client secret) and remember it. You will need it later, for the repository configuration in the external system.
Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.
From the left-side navigation, choose SubscriptionsJava Applicationsipsproxy .
From the left-side navigation, choose RolesIPS_PROXY_USER.
Choose Assign and enter oauth_client_<client_ID>.
For <client_ID>, enter the one you have saved in the previous main step.
Add SAP Application Server ABAP as a proxy system. To learn how, see: Add New Systems
From the Destination Name dropdown, choose the RFC destination you have created in step 2.
(Optional) Configure the transformations.
Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SAP Application Server ABAP proxy system, whose settings are displayed under the Transformations tab after saving its initial configuration.
You can change the default transformation mapping rules to reflect your current setup of entities in your AS ABAP. For more information, see Manage Transformations.
Default read and write transformations:
Use the default transformations if the version of your AS ABAP system is 7.40 or higher. If your system version is 7.31, you can still use these transformations – just apply SAP Note 1695883 .
NOTE: If a user is inactive in the identity management system, the default Write Transformation creates it as inactive (locked) in AS ABAP too.
Read Transformation
Write Transformation
If your AS ABAP version is 7.30 or lower, use the transformations below.
NOTE: The Write Transformation creates all users as active (unlocked) in AS ABAP, regardless if they are active or inactive in the identity management system.
Read Transformation
Write Transformation
Default transformations supporting User UUID attribute:
Read Transformation
Write Transformation
Connect the external consumer to Identity Provisioning with the technical user you have created in step 2.
If the external consumer system is SAP Identity Management, you can export the newly created proxy system as a SCIM repository from Identity Provisioning and import it in SAP Identity Management. This will create a SCIM repository in SAP Identity Management where most of the repository constants will be automatically filled in. You need to provide the technical user credentials that you have set up in step 2 and the SCIM assignment method as described below:
For AUTH_USER and AUTH_PASSWORD, enter your client ID and secret.
For the SCIM_ASSIGNMENT_METHOD constant, make sure the value is PUT.
Next Steps
When a proxy system is connected to an external backend system (in the case of SAP Identity Management this means the exported CSV file is imported into the Identity Management Admin UI and a repository is configured), you can start managing the users and groups into this external system. Usually, the first operation is the initial load of the existing entities into your external system. When this load has finished, changes in the external system, such as creating new users or updating existing ones, can trigger CRUD requests back to the proxy system.