This post outlines the procedure to specify client credentials required for SAP S/4HANA or SAP S/4HANA Cloud Private Edition systems to communicate with SAP Document and Reporting Compliance, cloud edition, using OAuth 2.0 client authentication. OAuth 2.0 provides a secure, token-based approach that is required for newer integration scenarios with SAP BTP services.
Prerequisites
Before starting the procedure, ensure the following requirements are met:
Note: If initial setup for a process or business system is already complete, it does not need to be repeated for additional processes in the same subaccount region.
Step 1: Create the Service Binding
- Navigate to the Subaccount — In the SAP BTP cockpit, go to the subaccount where the service binding will be created.
- Access Instances and Subscriptions: Choose Services > Instances and Subscriptions.
- Select Service Instance: Select the service instance created during the initial setup of the cloud edition.
- Create Service Binding: In the Service Bindings section on the right, choose Create and fill in the fields as follows:
Special Instructions for France (E-Invoices and E-Reports)
If integrating to activate the E-Invoices and E-Reports (France) process, repeat the steps above but select ‘Peppol Exchange' as the process instead of ‘Other Processes' in the binding configuration.
Step 2: Retrieve the OAuth 2.0 Credentials
After creating the service binding, you need to retrieve the credentials to configure the OAuth 2.0 client in your SAP S/4HANA or SAP S/4HANA Cloud Private Edition system.
- Access Instances and Subscriptions — In the SAP BTP cockpit, in the navigation area, choose Services > Instances and Subscriptions.
- Select Service Instance — Under Instances, choose the service instance of the cloud edition. The details screen for the service instance expands on the right side.
- View Credentials — In the details screen, choose a service binding name to open the Credentials screen.
- Retrieve Details — The Credentials screen displays the url, clientId, clientSecret, and drccApiUrl for this service binding.
Note: You need these credentials in the next steps when configuring the OAuth 2.0 client.
Summary
You have now successfully created a service binding using OAuth 2.0 client authentication in SAP BTP and retrieved the credentials needed for the integration. The next step is to use the clientId, clientSecret, url, and drccApiUrl to configure the OAuth 2.0 client in your SAP S/4HANA or SAP S/4HANA Cloud Private Edition system, which will enable secure communication with SAP Document and Reporting Compliance, cloud edition.



