Product Information
Integration of SAP S/4HANA Cloud with SAP Cloud Platform Master Data for Business Partners (Part 2) (deprecated)
In the last part of this blog, we saw how to create the necessary configuration on the SAP S/4 HANA side. In this part, we’ll create the configuration on the SAP Cloud Platform.
I. Setting up Generic Configuration in SAP Cloud Platform Master Data for Business Partners
The Generic configuration tile provides the basic configuration necessary to support different business scenarios. The tile contains the following configurations:
Pre preparation: Records in this status are created in SAP Cloud Platform but not replicated to the leading system. These are the records that have not been validated in the leading system. Set this value as False.
Harmonized Numbers: The harmonized number scenario allows you to maintain a business partner number that is harmonized with the number in the leading system (SAP S/4 HANA System) to maintain consistency across different landscapes.
In the non-harmonized number scenario, SAP Cloud Platform adopts the incoming business partner number and generates a new one if that number is not available.
Business System: This is used to configure the name of the MDM Business Partner tenant. This value is used to create the key mapping. iI is recommended that you set this value as the subdomain name of your tenant from which you have subscribed to SCP Master Data for business partners
II. Setting up consumer destinations in SAP Cloud Platform
These destinations are will be used to connect to the SAP S/4HANA Cloud system. Before we configure the SAP S/4HANA Cloud destination on SCP, we need a few details from the SAP S/4HANA Cloud system.
- The business system name of SAP S/4HANA Cloud.
To retrieve the Business System Name, go to Communication systems tile and filter by Own System. - SOAP Endpoints
Go to the communication arrangement that was created in Part 1 of this blog and copy the following endpoints.
Navigate to the subaccount, and click destinations. Create the following 4 destinations.
<Business_System_Name>_BPOUTBOUND
<Business_System_Name>_BPRELOUTBOUND
<Business_System_Name>_BPCONFIRM
<Business_System_Name>_BPRELCONFIRM
For each of the destinations use the respective endpoint that you copied from the communication arrangement. Eg.
0MB85VI_BPOUTBOUND -> https://wdf-824-api.wdf.sap.corp/sap/bc/srt/scs_ext/sap/businesspartnersuitebulkreplic
Set Proxy Type as the Internet and use Basic Authentication. Here provide the inbound communication user that was used in the communication arrangement. In our case it is WSAPPLUSER.
Additionally, create and additional property MDOConsumer and set it to true.
III. Setting up provider destinations in SAP Cloud Platform
The provider destination is an endpoint that will act as a source application from which data will be distributed to consumer applications. To create the provider destination follow these steps:
- Create a destination with the name <IDENTITYZONE>_PROVIDER. The value of identity zone is available in service keys.
For e.g. MDMINTCONSUMER_PROVIDER - Give the URL: https://mdmbp-production-distribution-service.cfapps.{region}.hana.ondemand.com/odata/v2/mdo.orchestrationAdmin
- Authentication: OAuth2ClientCredentials
Provide clientId, clientSecret and TokenServiceURL. This information is available in the service keys. - Create an additional property MDOProvider and set it to true.
IV. Creating a Distribution Model
The distribution of business partners created is done via the service SAP Cloud Platform Master Data Orchestration. In addition to handling the distribution of master data, this service provides additional features such as data filters, data replication status UI, business logs, etc.
- Navigate to SAP Cloud Platform Master Data Orchestration application.
- Open Manage Object Type Owners application.
- Click Create. Select the Business Partner object type from the dropdown. In the Destination, dropdown, select the BPOutbound consumer destination. Save.
- Open the Manage Distribution Model tile and click Create.
- Provide a name for the model and select Business Partner in Business Object Type dropdown. Set the continuous distribution checkbox if you want the business partners to be replicated as soon as they created/updated.
- Click Save. Open the model.
- Click the Edit button on the top right side. Select API_BUSINESS_PARTNER in the Provider Interface section. Save
- Now, to create a Provider and Consumer, click the create button and select the provider that you created in the previous steps.
Similarly for the consumer, select the BPOUTBOUND destination. Do not provide any value for the application category. - Activate the Replication Model.
The configuration is now complete. You can now replicate the business partners from the SAP S/4 HANA Cloud System to the SAP Cloud Platform and vice versa.
Hi Shivankit,
thanks for the tutorial. Is this also available for an S/4 HANA On-Premise system?
Thanks Frank
Hello Frank,
Yes, the service can be connected to S/4 OP System as well. You can find the steps here.
Best Regards