Replicating data to SAP Responsible Design and Production

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Explain data integration

Overview of Replication

Data Replication

Data needs to be replicated regularly from a source system such as SAP S/4HANA or SAP ECC to SAP Responsible Design and Production. The following object types need to be replicated:

  • Configuration data
  • Organization data
  • Customers
  • Products
  • Deliveries
  • Packaging elements
  • Packaging compositions
  • Material documents
  • Suppliers
  • Batches
Note
Configuration and organization data needs to be replicated before any other data.

Replication Types

Push Replication

Push Replication

All the public interfaces can be found on the SAP API Hub Responsible Design and Production

SAP API Hub Responsible Design and Production

What needs to be done?

  1. Setting up the replication services in BTP Cloud Cockpit
  2. Getting the credentials from SAP RDP
  3. Setting up a HTTPS connection from the source system to SAP RDP
  4. Extracting data out of the source system
    • Extracting further transactional and master data
    • Extracting packaging data
  5. Configuring the replication in SAP RDP
  6. Start the replication (and run it periodically)

Overall Documentation

For the replication documentation, refer to the following SAP help pages:

Setting Up the Technical Connection

Step 1 – Setting Up the Replication Services

Setting up the replication services in BTP Cloud Cockpit

Follow these steps to set up the replication services

https://help.sap.com/docs/SAP_RESPONSIBLE_DESIGN_AND_PRODUCTION/01d581e7150c42f59b5234a76f5e8d2d/8e467a1faff84fa1a1456905207b9949.html?locale=en-US

Step 2 – Getting the Credentials from SAP RDP

The clientId and the clientSecret that are received from the cloud service need to be used on the sender side to establish the connection.

Step 3 – Setting Up a HTTPS Connection From the Source System to SAP RDP

Setting up the replication services in SAP S/4HANA

Follow these steps to set up the replication destinations.

To establish the connection, use the above retrieved clientId and clientSecret.

Step 4 – Extracting Data Out of the Source System

Note

Documentation for the REST interfaces can be found here: SAP API Hub Responsible Design and Production

Extracting Data

Extracting data out of the source system

To replicate data using the Push interfaces data has to be extracted and send to RDP through REST.

Extracting configuration, master and transactional data

For objects that are needed for the calculations and analytics in RDP, there are no standard extractors provided by SAP RDP. SAP Value Prototype team offers some extractors that can be transported into an ECC or S4 system for releases prior to S/4 2021 FPS1. These extractors offer an easy way to send the data from an SAP system to RDP.

For those who do not want to leverage the provided extractors or who need to integrate a non SAP system, SAP offers an API to implement own extractors.

The API interfaces are described here.

The mapping of the ECC / S4 data to the RDP properties is described here.

Note
This is a proposal for a default implementation. There might be deviations in the customer system.

The provided Acceleration Package offers extractors for all needed business objects. The offered filters can be used to limit the amount of replicated data and to tailor the data to your needs. Test run and delta replication are also part of the offered solution - see the figure, Extracting Master and Transactional Data.

Structure of Packaging Data

For packaging data SAP provides extractors for packaging data that is stored in PLM and/or in Recipe Management (RM). SAP has defined the way how the packaging data shall be structured as characteristics in PLM so it can be consumed easily by the provided extractors.

Nevertheless, as a standard entity for packaging elements and packaging composition is missing, the customer has to adapt the mapping of the S/4 data to the API. A detail description is provided with the BAdIs for each extractor.

Note

The default extractors for extracting packaging data are shipped first with S/4 2021 FPS1.

For customers that need extractors for earlier releases, SAP Value Prototype team offers extractors that can be transported into an ECC or S4 system for releases prior to S/4 2021 FPS1. These extractors offer an easy way to send the data from an SAP system to RDP.

SAP provides for this a report and a BAdI. Documentation is given here:

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/fcdcb85a588a45de9f61a0f9a1906a32.html?locale=en-US&version=2021.001

The documentation of the BAdI can be found as technical documentation within the S/4 system

SAP provides for this a report and a BAdI. Documentation is given here:

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/9926e057a1774ae7a8ea57478b869566.html

The documentation of the BAdI can be found as technical documentation within the S/4 system.

SAP provides for this a report and a BAdI. Documentation is given here:

Uploading Packaging Compositions from Recipe Management

Step 5 - Configuring the Replication in SAP RDP

For more information, see Setting up System and Replication.

Step 6 - Run the Report

The replicated data can be found in the corresponding apps, see this link.

Save progress to your learning plan by logging in or creating an account

Login or Register