The service key contains the API URL and the OAuth credentials (clientid and clientsecret) under the uaa property.
Context
SAP Advanced Financial Closing allows you to define, automate, process, and monitor the financial closing tasks for the entities of your organization. It is an SAP BTP application that runs in an SAP BTP subaccount.
You can use Identity Provisioning to configure SAP Advanced Financial Closing as a target system for provisioning users and user groups from various source systems.
Add SAP Advanced Financial Closing as a target system. For more information, see Add New Systems.
Choose the Properties tab to configure the connection settings for your system.
Mandatory Properties
Property Name
Value
Type
Enter: HTTP
URL
Enter the URL provided by the service key under endpointsscim2 without adding the path information.
For example: https://afc-production-afc-api.cfapps.eu10.hana.ondemand.com
ProxyType
Enter: Internet
Authentication
Enter: BasicAuthentication
User
Enter the user ID provided by the service key under uaaclientid.
Password
(Credential) Enter the password provided by the service key under uaaclientsecret.
OAuth2TokenServiceURL
Enter the OAuth 2.0 Token Service URL provided by the service key of your SAP Advanced Financial Closing instance. It follows the pattern: <uaa.url>/oauth/token, where:
<uaa.url> is the URL provided by the service key under uaaurl.
/oauth/token is the suffix you need to add.
s4hana.afc.user.unique.attribute
If Identity Provisioning tries to provision a user that already exists in the target system (a conflicting user), this property defines the unique attributes by which the existing user will be searched and resolved.
Possible values:
userName
emails[0].value
userName,emails[0].value
s4hana.afc.group.unique.attribute
If Identity Provisioning tries to provision a group that already exists in the target system (a conflicting group), this property defines the unique attributes by which the existing group will be searched and resolved.
The default value is displayName.
(Optional) ips.delete.threshold.groups
Use this property to control the number of groups to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of groups, for example by adding a filter or condition.
Use this property to control the number of users to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of users, for example by adding a filter or condition.
To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.
Configure the transformations.
Transformations are used to map user and group 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 Advanced Financial Closing target 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 SAP Advanced Financial Closing system. For more information, see: Manage Transformations.
To make group assignments via the user resource, you need to change the default transformation of the target system as described in Enabling Group Assignment.
Mapping logic – The behavior of the default transformation logic is to map all attributes from the internal SCIM representation to the target SAP Advanced Financial Closing entity.
Default transformation:
Add a source system from which to read users and groups. Choose from: Source Systems
Next Steps
Before starting a provisioning job, you can first subscribe for e-mail notifications from the source system you use in your scenario. This way, you will be notified by e-mail about eventual failed entities during the jobs. For more information, see Manage Job Notifications.