Skip to Content
Technical Articles
Author's profile photo Nandhini Ramasamy

B2B Integration – Pushing the Mapping Artifacts to SAP Cloud Platform Integration

Hi Everyone!

This is my first blog post on Integration Content Advisor and I would like to share my learning experience on Integration Content Advisor.

In this blog post, I would be explaining the basic steps to be followed to create Message Implementation Guidelines (MIGs) and Mapping Guidelines (MAGs).

Introduction:

SAP Integration Advisor is a cloud application that helps to simplify and streamline the implementation flow of B2B/A2A and B2G integration process. It uses a crowd-based machine learning approach which helps to create integration content easily.

Integration Advisor solves the biggest problem that we face in B2B/A2A/B2G integration scenarios.

Pre-Requisites:

  • Integration Content Advisor capability added to the Integration Suite.
  • License for the Type Systems to create Message Implementation Guidelines(ASC_X12, UNEDIFACT,ETC)

 

All set…. Let us start! 🙂

The following steps explain the step-by-step procedure of creating MIGs and MAGs.

Creating Message Implementation Guideline(MIG):

Let us consider the scenario of implementing B2B integration of sending the Purchase Order Request with source as SAP IDOC (ORDERS.ORDERS05) and target as cXML.

STEP -1: Selecting the Type System to create source MIG:

Ensure the License type of the selected Type system.

Selecting%20the%20Type%20System

Selecting the Type System

STEP -2: Select the Message type and version:

Selecting%20the%20Message%20Type%20and%20Version

Selecting the Message Type and Version

Here I am using the example Payload to create Message Implementation Guideline.

STEP -3: Creating MIG:

Creating%20Message%20Implementation%20Guideline%28MIG%29

Creating Message Implementation Guideline(MIG)

Direction: Direction is used together with your Own Business Context and your Partners Business Context to make the Proposal Service more precise. The values given describe the direction from a B2B interaction point of view.

  • In – The MIG describes a message that you receive from a Business Partner.
  • Out – The MIG describes a message that you send to a Business Partner.
  • Both – The MIG describes a message that can both be received from a partner or sent to a partner.

STEP -4:Adding the Business Context:

The business context is a very important part of the MIG. It labels the MIG so that the system can give you an appropriate proposal based on the defined business context.

Adding%20Business%20Context

Adding Business Context

 

We can scroll through the definition proposal and decide which portions to accept, which to remove, and finally which additional fields or segments to enhance the Message Implementation Guideline definition with.

Now the MIG is created and saved in Draft mode with all the given details.

Once all done, save the MIG and Activate it.

Once you click on confirm, the MIG will be activated and stored in the Knowledge Graph and adds to the possible proposals for the next user (which maybe you!).

The changes that we make in the MIG will be saved as a New Version.

Follow all the above steps to create the Target Message Implementation Guideline by selecting Type System cXML and also the appropriate message type and version.

And ensure that the MIG is in “Active” state.

Creating Mapping Guidelines(MAG):

Here comes the important part!!!

In this step, we are creating the Mapping Guideline for the source and Target Message Implementation Guidelines.

Select the source and Target Message Implementation Guidelines to create Mapping Guidelines.

Mapping%20Guideline%28MAG%29

Mapping Guideline(MAG)

We can map the source and target nodes based on the best proposal that we get from the Integration Advisor knowledge graph.

Getting%20the%20best%20proposal%20from%20the%20IA%20knowledge%20base

Getting the best proposal from the IA knowledge base

Save and Activate the Mapping Guideline (MAG).

EDI Integration Templates for SAP Integration Advisor:

One more amazing feature from SAP!!

In SAP Cloud Platform Integration, SAP provides the Integration flow templates for SAP Integration Advisor (IA) related to EDI integration scenarios.

And we can access the below integration package via the API Business Hub.

We can copy or download the entire the package to the Design part of the Cloud Integration to perform the B2B integration process.

Pushing the Runtime Artifact to SAP Cloud Integration:

  1. By exporting the runtime artifacts, the Integration Advisor automatically generates number of schemas, scripts from a mapping guideline.

We can also export MIG and MAG as a documentation artifact, which is a PDF files which can be used as reference documentation for bookkeeping purposes.

  1. In order to use the inject method; the destination has to be created in SAP BTP Subaccount.

In the next step, select the artifact template based on the Source and target Message type.

Selecting%20the%20appropriate%20Artifact%20Template

Selecting the appropriate Artifact Template

 

Now we can see the Resource Injection Successful message… We are good to go…:)

Final%20B2B%20Integration%20Scenario%20with%20configurations

Final B2B Integration Scenario with configurations

And finally we are done!!!

Our B2B integration scenario is ready to run with the communication Adapter configurations.

 

Conclusion: 

This blog post explains a detailed step-by-step procedure to create the basic Message Implementation Guidelines, Mapping Guidelines and pushing the Runtime Artifact to the SAP Cloud Platform Integration.  

 

Please do like the blog post, if you find the content helpful. Also, do share your inputs and opinions as comments.

 

Happy Learning!… 🙂

 

Reference Link:

https://blogs.sap.com/2021/09/28/integration-advisor-overview-of-components-for-building-b2b-integration-content-and-further-reading/

For more such informative technical articles on SAP Businness Technology Platform,

click here

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ramya P
      Ramya P

      Hi Nandhini,

       

      Thank you for writing such a detailed blog on B2B Integration and explaining IA concisely.

       

      Regards,

      Ramya

      Author's profile photo Nandhini Ramasamy
      Nandhini Ramasamy
      Blog Post Author

      Thank You Ramya!

      Author's profile photo Sumandeep Kaur
      Sumandeep Kaur

      Hi Nandhini,

      Thanks for sharing this blog ..It's very helpful.

       

      Regards,

      Suman