Replicating Master Data

Objective

After completing this lesson, you will be able to replicate master data from SAP S/4HANA.

Master Data Replication from SAP S/4HANA

This integration flow allows you to use the data replication framework to replicate customer/business partner master data and product/offering master data to​ SAP Entitlement Management.

Note

Use SenderBusinessSystemID from SAP S/4HANA as the SourceSystem in SAP Entitlement Management.

Push Customer/Business Partner Master Data to SAP Entitlement Management from SAP S/4HANA

Configure Settings in SAP S/4HANA

  1. Configure the data replication framework in SAP S/4HANA for customer/business partner data, including a replication model and web service call.
  2. Configure SOA Manager in SAP S/4HANA to push customer/business partner master data.

Configure SAP Cloud Integration Settings

  1. Configure the Sender tab as follows:

    1. Specify the address as /replicate/customer.
    2. For Body Size and Attachments Size, use the default values.
  2. Configure the Receiver tab for SAP Entitlement Management as follows:

    1. Provide the EMS Customer Account Synchronization API URL.
    2. Set the Authentication Method to OAuth2 Client Credentials and provide the Credential Name.
    3. Specify the Timeout.
  3. Configure the Receiver tab for ReplicateCustomerExtensionProcessExit as follows:

    For the Extension Integration Flow PD Address, specify /EMS/ReplicateCustomer_PostExit.

  4. On the More tab, extend the standard integration flow as follows:

    Set the Extension Implemented field to true.

    Note

    Within the standard integration flow, there is no field from SAP Master Data Integration that properly maps to ValidTo, so the default ValidTo value has been set to 9999/12/31.

    If you want to rewrite the logic of this field, you can define your logic in the Post-Exit integration flow.

For more information on how to push customer/business partner master data to SAP Entitlement Management From SAP S/4HANA, see: Push Customer to Entitlement Management from S/4HANA

Push Offering/Product Master Data to SAP Entitlement Management from SAP S/4HANA

Configure Settings in SAP S/4HANA

  1. Configure the data replication framework in SAP S/4HANA for offering/product master data.
  2. Configure SOA Manager in SAP S/4HANA to push offering/product master data.

Configure SAP Cloud Integration Settings

  1. Configure the Sender tab as follows:

    1. Specify the address as /replicate/offering.
    2. For Body Size and Attachments Size, use the default values.
  2. Configure the Receiver tab for SAP Entitlement Management as follows:

    1. Provide the EMS Offering Synchronization API URL.
    2. Set the Authentication Method to OAuth2 Client Credentials and provide the Credential Name.
    3. Specify the Timeout.
  3. Configure the Receiver tab for ReplicateOfferingExtensionProcessExit as follows:

    For the Extension Integration Flow PD Address, specify /EMS/ReplicateOffering_PostExit.

  4. On the More tab, extend the standard integration flow as follows:

    Set the Extension Implemented field to true.

For more information on how to push offering/product master data to SAP Entitlement Management from SAP S/4HANA, see: Push Offering to Entitlement Management from S/4HANA

Pull Customer/Business Partner Master Data from SAP S/4HANA to SAP Entitlement Management

  1. In SAP Cloud Integration, configure the Sender tab as follows:

    Specify the address as /sync/customer.

  2. Configure the Receiver tab for SAP S/4HANA as follows:

    1. Provide the SAP S/4HANA Business Partner OData API URL.
    2. Provide the Credential Name.
  3. Configure the Receiver tab for SyncCustomerExtensionProcessExit as follows:

    For the Extension Integration Flow PD Address, specify /EMS/SyncCustomer_PostExit.

  4. On the More tab, extend the standard integration flow as follows:

    Set the Extension Implemented field to true.

    Note

    Within the standard integration flow, there is no field from SAP Master Data Integration that properly maps to either ValidTo or SourceSystem. The default ValidTo value has been set to 9999/12/31, and the default SourceSystem value has been set to Dummy.

    If you want to rewrite the logic of these two fields, you can define your logic in the Post-Exit integration flow.

  5. In your SAP BTP subaccount, create a Destination for the SAP Cloud Integration address.
  6. In SAP Entitlement Management, create a Communication Channel for pulling customer/business partner master data from SAP S/4HANA.

For more information on how to pull customer/business partner master data from SAP S/4HANA to SAP Entitlement Management, see: Pull Customer Data from S/4HANA to Entitlement Management

Pull Offering/Product Master Data from SAP S/4HANA to SAP Entitlement Management

  1. In SAP Cloud Integration, configure the Sender tab as follows:

    Specify the Address as /sync/offering.

  2. Configure the Receiver tab for SAP S/4HANA as follows:

    1. Provide the SAP S/4HANA Product OData API URL.
    2. Provide the Credential Name.
  3. Configure the Receiver tab for SyncOfferingExtensionProcessExit as follows:

    For the Extension Integration Flow PD Address, specify /EMS/SyncOffering_PostExit.

  4. On the More tab, extend the standard integration flow as follows:

    Set the Extension Implemented field to true.

    Note

    Within the standard integration flow, there is no field from SAP Master Data Integration that properly maps to SourceSystem. The default SourceSystem value has been set to Dummy.

    If you want to rewrite the logic of this field, you can define your logic in the Post-Exit integration flow.

  5. In your SAP BTP subaccount, create a Destination for the HCI address if you do not own one.
  6. In SAP Entitlement Management, create a Communication Channel for pulling offering/product master data from SAP S/4HANA.

For more information on how to pull offering/product master data from SAP S/4HANA to SAP Entitlement Management, see: Pull Offering from S/4HANA to Entitlement Management

Summary

  1. Sets up Cloud Integration flows to push or pull customer/business-partner and product/offering master data from SAP S/4HANA to SAP Entitlement Management.

Push Offering to Entitlement Management from S/4HANA

Configure SOA Manager in S/4HANA to Push Offering

Configure Data Replication Framework In S/4HANA for Offering Data

Create Offering From SAP S/4HANA

Configure SAP Cloud Integration

Check Offering In SAP Entitlement Management System

Push Customer to Entitlement Management from S/4HANA

Configure SOA Manager in S/4HANA to Push Customer

Configure Data Replication Framework In S/4HANA for Customer Data

Configure SAP Cloud Integration

Create Customer From SAP S/4HANA

Check Customer In SAP Entitlement Management System

Pull Customer Data from S/4HANA to SAP Entitlement Management

Configure SAP Cloud Integration

Configure SAP Destination Service

Configure SAP Entitlement Management System

Replicate Customer Master Data From S/4HANA to SAP Entitlement Management

Pull Offering from S/4HANA to Entitlement Management

Configure SAP Cloud Integration

Configure SAP Destination Service

Configure SAP Entitlement Management System

Replicate Offering Master Data From S/4HANA to SAP Entitlement Management