cancel
Showing results for 
Search instead for 
Did you mean: 

Export change request and material data for external processing through XML and API service

S0024315136
Explorer
0 Kudos
549

Hi guys.

Is it possible to define some workflow step or routine to generate material data and associate change request number in staging area for external processing like XML and some API to consume the service? This process must occur before the activation to have material ready for use on ERP.

This must be valid for S/4HANA on-premise 2021 with MDG embedded.

Thanks for sharing any ideas.

Accepted Solutions (1)

Accepted Solutions (1)

vishalakshmi
Contributor
0 Kudos

Hello Antonio,

Can you please up-vote if my answers are helpful.

Thanks,

Lakshmi.

Answers (2)

Answers (2)

vishalakshmi
Contributor
0 Kudos

Hello Antonio,

Check the below documentation for configuration steps:

https://help.sap.com/doc/048b39f3cbcc43fd87d4de6ea5ecd6d0/MDG70.SP19/en-US/loiocb059d52db6bc742e1000...

Thanks,

Lakshmi.

vishalakshmi
Contributor
0 Kudos

Hello Antonio,

Yes, it is possible to define a workflow or routine in SAP Master Data Governance (MDG) embedded in SAP S/4HANA to generate material data, associate change request numbers, and prepare the data for external processing like XML generation and API consumption. Here's a high-level overview of the steps you can follow to achieve this:

  • Define your data model for material master data in SAP MDG, including the attributes and fields you want to manage.
  • Create a custom workflow in SAP MDG that represents the process for creating or updating material master data. The workflow should include steps for data entry, validation, approvals, and data export.
  • Users initiate a change request (CR) in the SAP MDG application when they need to create or update material data. During the CR creation process, capture the necessary data from users. Implement validation rules within the MDG workflow to ensure data accuracy and completeness. This can include checks for data integrity and adherence to business rules. As part of the workflow, you can automatically associate a change request number with the material data. This can be done using predefined MDG functionality or custom logic, depending on your specific requirements. Define a step in the workflow where the material data is transformed into XML format. You can use SAP Process Integration/Process Orchestration (PI/PO) or other middleware to generate XML documents.
  • Create a custom integration point or use standard SAP APIs to consume the XML data generated in the previous step. This may involve sending the XML to an external system or service for further processing.
  • Set up a staging area or repository where the XML data is temporarily stored before being sent to external systems. This ensures data consistency and provides a buffer for error handling.
  • Implement error-handling mechanisms to address any issues that may arise during XML generation or API consumption. Create alerts and notifications for monitoring the process.
  • Once the material data has been successfully processed externally and any required approvals are obtained within the MDG workflow, activate the data for use in your ERP system.

Please refer to the below link document for more information: https://help.sap.com/doc/db5513f9ccdb497c906b076e9fdc315b/MDG92.SP11/en-US/loio414a0755d6993f6ae1000... Thanks, Lakshmi.

S0024315136
Explorer
0 Kudos

Hi Lakshmi.

Thank you for your contribution and explanation (very helpful).

I will looking for some examples about how to configure specific part where you point

  • Define a step in the workflow where the material data is transformed into XML format. You can use SAP Process Integration/Process Orchestration (PI/PO) or other middleware to generate XML documents.
  • Create a custom integration point or use standard SAP APIs to consume the XML data generated in the previous step. This may involve sending the XML to an external system or service for further processing.

Best Regards,

Antonio