Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vijay_Sankar_
Participant
(Vijayaprabakaran Sankar holds the role of an SAP Integration Architect, with a primary focus on SAP Integration solutions. His expertise encompasses a broad spectrum within the realm of SAP Integration, notably including the SAP Integration Suite, SAP Process Integration/Process Orchestration (SAP PI/PO), and Event-Driven Architecture, with a specialization in Event Mesh and Azure Service Bus.)

Introduction:

SAP Master Data Governance (MDG) is a comprehensive solution that enables organizations to manage their critical master data effectively and maintain data consistency across various systems. However, the success of MDG implementation often depends on its ability to seamlessly integrate with other SAP and non-SAP applications within an enterprise landscape.

In this blog post, we will explore the integration options available in SAP MDG, highlighting how they enable organizations to streamline their master data management processes and drive business value.

Scenarios need to be considered:

A customer operating a diverse range of systems, including multiple SAP instances, non-SAP systems, and third-party applications, all containing master data that needs to be shared across the organization. To optimize the flow of master data, the customer has taken the strategic step of implementing SAP Master Data Governance on S/4 HANA within their landscape. Their overarching objective is to harmonize master data management by seamlessly integrating all the systems within their landscape with SAP MDG.

In this context, we will encounter the following scenarios:

  • Scenario 1: SAP MDG on S/4 Hana Integration with SAP S/4 Hana or SAP ECC Systems

  • Scenario 2: SAP MDG on S/4 Hana Integration with Non-SAP Systems and Third-Party Applications


Scenario 1: SAP MDG on S/4 Hana Integration with SAP S/4 Hana or SAP ECC Systems

The replication of master data from the SAP Master Data Governance (MDG) system into SAP S/4HANA and SAP ECC systems can be orchestrated with the help of the Data Replication Framework (DRF).


SAP MDG Integration with SAP Systems using Data Replication Framework




  • Data replication begins with creating or modifying master data in SAP MDG. This data covers entities like customers, products, vendors, etc. When changes occur, a Change Request (CR) is generated and goes through an approval workflow process. Approved CRs move ahead.

  • Data fields are mapped from MDG to the target SAP S/4HANA or ECC, with transformations and filters to send specific data objects to the specific target system applied.

  • After approval and validation, data is triggered for replication. Communication channels, like IDocs or Web Services, are chosen based on configuration for data transfer via DRF.

  • It is recommended to utilize Web Services over IDocs for this communication.


More details about the Data Replication Framework configuration can be found in the following link. https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/6d52de87aa0d4fb6a90924720a5b0549/236d552f22654f759b5...

Scenario 2: SAP MDG on S/4 Hana Integration with Non-SAP Systems and Third-Party Applications

In scenario 2, the customer expresses a desire to connect SAP MDG with non-SAP systems and third-party applications. To accommodate this requirement, the following five options can be considered, depending on the specific circumstances.

Option 1: EDA - Using Standard Events (Notification Events)

Option 1 involves harnessing the power of Event-Driven Architecture and the Event Enablement Framework within SAP S/4 Hana to seamlessly integrate SAP MDG with all other systems.

With the Event Enablement Framework, any data object creation, or modification (including deletion) triggers a notification event and sends it to the Event Mesh. This event includes event type and Object ID details and the size of the message is very minimal. In this option, the subsequent OData call needs to be initiated either from SAP Cloud Integration or the target system to get and access the full object details based on the Object ID.

The standard events and OData APIs available in S/4 Hana can be found in the following link.

Events: https://api.sap.com/products/SAPS4HANA/events/events

OData APIs : https://api.sap.com/products/SAPS4HANA/apis/ODATA

It's important to highlight that the standard OData API does not contain key mapping and target system information, essential for identifying the target system and its corresponding ID in SAP MDG. Consequently, there is a need to enhance the OData API by incorporating these critical key mapping and target system details.


SAP MDG Integration with Non-SAP systems using Standard Notification Events


The step-by-step guide for the Notification Events pushed to Event Mesh with SAP Event Enablement Framework can be found in the following blog written by ejaz123.

https://blogs.sap.com/2021/02/15/configure-sap-enterprise-messaging-for-sap-s-4-hana-on-premise-2020...

Note that utilizing SAP MDG's Event Enablement Framework, events can only be sent to Event Mesh and not to other event brokers.

Option 2: EDA - Using NetWeaver Addon (Data Events)

In this option, the SAP Netweaver add-on for Event Enablement will be used to transmit data events with complete details directly to the Event Mesh. This eliminates the need for subsequent calls.

However, it's worth noting that this option requires customization to ensure data events are triggered with all necessary details.


SAP MDG Integration with Non-SAP systems using NetWeaver add-on Event Enablement


The step-by-step guide for the Data Events pushed to Event Mesh with SAP Event Enablement Add-on can be found in the following blog written by fiona_zhang.

https://blogs.sap.com/2022/03/04/data-events-scenario-with-sap-event-enablement-add-on-for-sap-s-4ha...

It should be noted that in addition to sending events to Event Mesh, events can also be sent to other event brokers using the SAP Netweaver add-on for Enablement Framework.

Option 3: Using DRF Framework, Event Mesh, and SAP Cloud Integration

In this option, we combine the DRF Framework with Event Mesh, and Cloud Integration to transmit full object details to the Event Mesh via SOAMANAGER's web service setup, without needing extra calls or customization. It should be noted that the web services also include information about target systems and key mapping.

However, due to the message's large size and the potential that not all object details are needed by the target system, data security concerns may arise.


SAP MDG Integration with Non-SAP Systems using DRF Framework


The standard web services available in S/4 Hana can be found in the following link.

https://api.sap.com/products/SAPS4HANA/apis/SOAP

Option 4: Using DRF Framework and SAP Cloud Integration

This option involves using the DRF framework and SAP Cloud Integration as the traditional integration method. When an object undergoes creation, modification, or deletion in SAP MDG, the DRF framework pushes the data to SAP Cloud Integration through web services. SAP Cloud Integration then determines how to route the object to the target system based on predefined logic.


SAP MDG Integration with Non-SAP Systems using DRF Framework


It should be noted that in this setup, any future addition of new systems will require updates to the logic within SAP Cloud Integration to accommodate the changes.

Option 5: EDA - Using Azure Service Bus and API Management

For customers with a diverse landscape including Non-SAP systems, third-party systems, and Azure-based applications, this option offers an effective solution. It combines Event Mesh, Azure API Management, Azure Service Bus, and SAP Cloud Integration to streamline event handling.

Here's how it works:

  1. When an object is created or modified, a notification event is generated using the Event Enablement framework. This event is sent to the Event Mesh.

  2. The Event Mesh triggers a webhook, which forwards the event to Azure Service Bus. This ensures that events are available in both Event Mesh and Azure Service Bus for further processing. In the future, there's a plan to introduce an Event connector, currently in Beta, which will enable bidirectional event transmission between Event Mesh and Azure Event Grid inbuilt.

  3. By leveraging Azure API Management, the need for a cloud connector is eliminated when making OData service calls to fetch complete details, as these services are published in API Management.


This approach optimizes event handling and integration for customers with a diverse system landscape, offering flexibility and potential for future enhancements.


SAP MDG Integration with Non-SAP Systems using Azure Service Bus and API Management


The OData API needs to be enhanced in this option as well to include the key mapping and target system details, as in option 1.

Conclusion:


SAP MDG offers a variety of integration options that can be used to connect it to other systems. Of course, it's worth noting that other alternative integration approaches also exist. The selection of the integration option is purely based on the specific needs and integration strategy of the enterprise.


I trust this blog post has provided valuable insights. Please let me know if you have any questions.


Acknowledgment:

Thanks to Pramod Ramamurthy, Rakhi Bose, and Anusha Pati for your valuable input on the solution design.
9 Comments
anushareddypati
Discoverer
0 Kudos
Great work Vijay!!

 

 
ram2linkin
Explorer
0 Kudos
Hello Vijay,

For MDG on cloud system to multiple SAP ECC's EPH less than 3 scenario, what is your suggestion?

Can we use same idoc / webservices for supplier data direct replication from MDG cloud to ECCs without middleware ? Or when a middleware is required b/w MDG and SAP ERPs?
ErikP
Explorer
0 Kudos

Hello Vijay,

We are trying to implement scenario
Option 3: Using DRF Framework, Event Mesh, and SAP Cloud Integration

The only issue we have is that the eventmesh returns a 200 ok but this is not in a soap format. 
Which means that Soamanger acts on this as an error.  How did you get arround this problem.

regards Erik

rahulkhandelwal
Discoverer
0 Kudos

Dear Vijay,

We have a requirement to integrate MDG s4hana 2023 on-premise with s4 Hana public cloud 2402, so I am thinking of using DRF with web services. What would you recommend in this case?

 

Regards

Rahul Khandelwal 

 
 
 
Vijay_Sankar_
Participant

Hi @ErikP ,

If you use SAP RM as RM protocol in SOAMANAGER web service configuration, the message transaction will be considered as asynchronous and SOAP response is not needed.

SAP RM.JPG

Kind regards, Vijay

hspencer4
Explorer
0 Kudos

Hi Vijay,

Thank you for the excellent blog post. For option 3, you show the changes being published to Event Mesh via the DRF. Is it possible to configure the DRF to publish the updates directly to SAP Integration Suite, Advanced Event Mesh instead?

Regards

Vijay_Sankar_
Participant

Hi @hspencer4,

Yes, we can send the complete payload to Advanced Event Mesh rather than Event Mesh by defining the web service with AEM REST service end point in SOAMANAGER associated with the DRF framework for example Business Partner, Product, etc.

In the below screenshot, URL should be AEM REST Service end point.

BP.png

Kind regards, Vijay

ErikP
Explorer
0 Kudos

Hi Vijay,

I tried both AEM and standard eventmesh. But I couldn't get both to work
with AEM I first had to increase the treshold for the message size. After this was done i still got a bad request error. Can you sent the complete setup.

We use the ProductMDMBulkReplicateRequest_Out  soap service.

regards Erik

Avinash_Vaidya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @Vijay_Sankar_  - Similar to the scenario 1 - SAP MDG on S/4 Hana Integration with SAP S/4 Hana or SAP ECC Systems, can you share if the same approach can be used between 2 S/4HANA systems without the use of Cloud Integration.

Labels in this area