Professional Documents
Culture Documents
User Guide
Generated on: 2023-12-04 05:01:59 GMT+0000
PUBLIC
Warning
This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product documentation. The
information included in custom documentation may not re ect the arrangement of topics in the SAP Help Portal, and may be missing important
aspects and/or correlations to other topics. For this reason, it is not for productive use.
This is custom documentation. For more information, please visit the SAP Help Portal 1
12/4/2023
Push Replication
SAP Responsible Design and Production provides a public API for data replication. To be able to push data from your system, you need to get the
credentials, access the API, and con gure the replication in SAP Responsible Design and Production. The instructions below apply if you want to
replicate packaging elements or packaging compositions from an SAP S/4HANA system.
Prerequisites
The getting started prerequisites are ful lled and you are subscribed to the service SAP Responsible Design and Production. A service
instance is created with the scope data-replicate. See Initial Setup.
Standard integration is provided for SAP S/4HANA 2021 SP01 or higher. See also Overview: Supported Integration Features
Overview
To be able to push data to SAP Responsible Design and Production, all of the following tasks must be done:
Restrictions
Restriction
Maximum 2000 Data Records per Package
If many data records are sent via the push API to SAP Responsible Design and Production, the processing must be done in packages (batch
requests) until all data records are transferred. You con gure how many data records are include in a single package. The maximum data
records in a package is 2000. This is true for each object type, for example packaging compositions, material documents, and so on.
Example: You have de ned a package (batch request) size of 1000 and in a replication execution 5500 data records shall be replicated. The
data records are organized in packages and 6 packages are sent to cover the 5500 data records.
Restriction
Uncompressed request payload size not more than 50 MB
For uncompressed requests the payload size limit is 50 MB. For compressed requests the limit is not more than 50 MB of payload size after
the extraction.
Recommendation
For deliveries it is recommended to send not more than 1000 objects per batch.
For products it is recommended to send not more than 500 objects per batch.
Note
It is possible that data that is pushed is not immediately visible in the applications. Push replication is an asynchronous process.
This is custom documentation. For more information, please visit the SAP Help Portal 2
12/4/2023
the instructions. See Initial Setup.
API Documentation
To access the API documentation, go to SAP Business Accelerator Hub .
Prerequisites
Authorizations for the following transactions:
Authorizations to de ne and use an OAuth 2.0 con guration. Adhere to the prerequisites listed here:
https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_752/916a7da9481e4265809f28010a113a6a/6f679081b5444f91bf68e600025c2cf6.html.
Credentials of the SAP BTP tenant of the SAP Responsible Design and Production API. You need the clientid, the clientsecret, and the
url.
Example
Client ID sb-x0000000-0x00-0000-x000-
xxxxxxxxxxxxxxxxxxx|smrdp!b3480
URL https://<subaccount-subdomain>.eu20.hana.ondemand.com
Port 443
1. To create an OAuth 2.0 Client Pro le in the customer namespace, open transaction SE80.
2. In the context menu of a package where you are authorized to create new development objects, choose Create > Others > OAuth 2.0
Client Pro le. Enter the following values:
This is custom documentation. For more information, please visit the SAP Help Portal 3
12/4/2023
Name: ZSURDP_REPL_API
Type: DEFAULT
3. Choose Save.
Choose OK.
7. Under Authorization Server Settings, enter the URL for the token endpoint. For example, <authorization endpoint
URL>/oauth/token/authorize and <token endpoint URL>/oauth/token.
2. Choose Create.
Target Host: The application endpoint URL. The target host looks like this: <subaccount-
subdomain>.eu20.ce.sustainability.cloud.sap
Port: 443
This is custom documentation. For more information, please visit the SAP Help Portal 4
12/4/2023
Path Pre x: /api/replication/v1
1. Go to the SAP Fiori launchpad and choose the Con guration Cockpit.
Note
You cannot delete or edit source systems after you created them.
Note
Only one replication con guration can be created for the object types con guration data, organization data, packaging composition,
and packaging element. There is no restriction for the other object types.
4. In the Replications tab, you can monitor the status of the replication.
This is custom documentation. For more information, please visit the SAP Help Portal 5
12/4/2023
This is custom documentation. For more information, please visit the SAP Help Portal 6