Replicating Data to SAP Responsible Design and Production

Objective

After completing this lesson, you will be able to describe data integration and manage source system

Overview of Replication

Why?

SAP Responsible Design and Production is using business data to create reports and provide analytical views. For a performant view and report generation, the data is replicated from the source system (SAP S/4HANA or SAP ECC) to SAP RDP. With the introduction of new report categories for new countries/regions, the replication must be adapted as well.

What?

Data that is needed by the reports to be generated is replicated to SAP RDP. To keep the footprint low on the source system, only the needed data is replicated. Due to the changing requirements of the various reports, the data and their attributes is subject to change and might be adapted.

Currently replicated business objects:

  • Organization and Configuration data like Company Codes, Sales Organizations, Countries/Regions, and Unit of Measures
  • Deliveries and Material Documents with their related Suppliers and Customers
  • Packaging Data like Packaging Elements and Packaging Compositions
  • Products, either used as Finished Good or as Packaging Material, and their related Batches and Inventory

Overview of Replicated and Connected Data

The image shows an overview of data flow of replicated and connected data

Replicating Data to SAP RDP by means of RDP Integration Accelerator

How to Install Integration Accelerator Transport Requests in Source System

Select Watch Demo to start the simulation.

How to Create RFC Connections and Settings for RDP API

Quick Steps
  1. Establish RFC connections to RDP
  2. Manage configuration settings for services
  3. Add Source ID
  4. Create and activate Change Pointers

Select Watch Demo to start the simulation.

How to Start Data Replication from Source System to RDP

Quick Steps
  1. Show Packages in SE80
  2. Replicate Data to RDP

Select Watch Demo to start the simulation.

Data Replication

This image shows the initial replication sequence

Data must 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 must be replicated:

  • Configuration data
  • Organization data
  • Customers
  • Products
  • Deliveries
  • Packaging elements
  • Packaging compositions
  • Material documents
  • Suppliers
  • Batches
  • Inventory

Note

Configuration and organization data must be replicated before any other data. In general, there is a certain sequence for data replication or data import that needs to be considered.
The image shows the overview of the architecture.

Replication Types

The architecture overview displays the different available integration scenarios and replication types from the source systems to SAP RDP.

The following replication types are supported:

  • Push replication

    Push replication means that data is sent from an SAP system or a third-party system to SAP Responsible Design and Production. The time, the object types, and the recurrence are determined on the side of the source system. Source systems and object types must be configured in the Configuration Cockpit application.

  • Data import through file upload

    You can import data in the Data Import application. Predefined templates are provided for this purpose.

    Note

    You'll learn more about data import in the next lesson.

Push Replication

Why?

SAP RDP is offering an open REST API for all business objects that must be replicated.

These interfaces can not only be used by SAP S/4HANA or SAP ECC systems but also by third-party software to replicate data.

What?

Data can be pushed from an external system to SAP RDP calling the APIs. Although it’s up to the client of the communication to define how it's collecting and sending the data, the assumption is that the data will be sent in packages per request. The default would be 2,000 objects per request. After an initial replication run, the changed data should be replicated on a regular basis.

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

SAP API Business Hub – Responsible Design and Production

The image shows how to access SAP API Business Hub for Responsible Design and Production

SAP API Hub Responsible Design and Production

What must be done?

  1. Set up the replication services in BTP Cloud Cockpit.
  2. Get the credentials from SAP RDP.
  3. Set up a HTTPS connection from the source system to SAP RDP.
  4. Extract data out of the source system.
    • Extract further transactional and master data.
    • Extract packaging data.
  5. Configure 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 – Set Up the Replication Services

Step 2 – Get the Credentials from SAP RDP

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

Step 3 – Set 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 – Extract Data Out of the Source System

The image shows in order to replicate data via the Push interfaces, data has to be extracted and sent to RDP via REST.

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 sent 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 Prototyping team offers some extractors that can be transported into an SAP ECC or SAP S/4HANA system for releases prior to SAP S/4HANA 2021 FPS1. These extractors offer an easy way to send the data from an SAP system to RDP.

For those who don't want to leverage the provided extractors or who must integrate a non-SAP system, SAP offers an API to implement own extractors.

The API interfaces are described here.

The mapping of the ECC or S/4HANA 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.

Extracting Master and Transactional Data

Extracting Master and Transactional Data

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. Also, extractors for uploading packaging compositions from Bill of Material and uploading packaging elements from Material Classifications are provided.

Nevertheless, as a standard entity for packaging elements and packaging composition is missing, the customer has to adapt the mapping of the S/4HANA 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/4HANA 2021 FPS1.

For customers that need extractors for earlier releases, SAP Value Prototyping team offers extractors that can be transported into an SAP ECC or SAP S/4HANA system for releases prior to SAP S/4HANA 2021 FPS1. These extractors offer an easy way to send the data from an SAP system to RDP. The current status of the extractors with SAP ECC version is subject to change.

Extracting Packaging Elements

The image shows the details of extracting packaging element data.

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/4HANA system.

Extracting Packaging Compositions

This shows the structure of packaging composition data

Extracting Packaging Compositions

Extract packaging composition from PLM/Specificiation database

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/4HANA system.

Extracting Packaging Compositions

Structure of packaging composition data.

Extracting Packaging Compositions

Upload packaging compositions from recipe management

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

The image shows the replication configuration screen in RDP.

For more information, see Setting up System and Replication.

Step 6 – Run the Report

The image shows the running of the replication.

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

Log in to track your progress & complete quizzes