Press "Enter" to skip to content

How to implement B2B Scenarios in SAP Integration Suite

0

B2B integrations (e.g. EDIFACT, ANSI.X12) can be implemented in a specific or standardized way, depending on your partner and context. SAP Integration Suite offers several options for implementing such B2B scenarios in SAP Cloud Integration.

Cloud Integration, Trading Partner Management and Integration Advisor

The following options are available (SAP Cloud Integration is always the runtime component):

  1. SAP Integration Advisor: with this tool, mappings can be created without programming knowledge and transported to the desired iFlow with few clicks.
  2. SAP Trading Partner Management: SAP’s newest B2B tool is linked to the SAP Integration Advisor. The user has to create the mappings in the SAP IA, then the B2B scenario in the SAP TPM.
  3. SAP Cloud Integration: The middleware has a number of EDI components that are necessary for creating a B2B scenario. SAP also provides an EDI package that can be used as a template.

In this blog post we describe the different options and when it is recommended to use them:

Imagine you need to transfer EDI purchase orders and invoices in SAP Cloud Integration for 10 new customers. It means you need at least two iFlows for each customer and at least one mapping for each iFlow.  This means at least 20 mappings and you have no experience in XSLT.

In this case you should explore the SAP Integration Advisor. With this component you can create mappings via a user interface and an artificial intelligence gives you the best suggestions in advance.

The Message Implementation Guideline (MIG) for the source and target file is selected and adapted via the Type Systems library. Then the mapping guidelines are created in the user interface via these two MIGs. Once created, the mapping can be injected into any iFlow in SAP Cloud Integration via the “Inject” button.

SAP offers a pre-built package of EDI iFlows for the Integration Advisor. After copying, these iFlows can be customized as required. You can find it in the Discover area of the SAP CI with the following name: EDI Integration Templates for SAP Integration Advisor.

You can find more information about the SAP IA here: SAP Blog


The mappings for the new customers are now created. But you still have to create the 20 iFlows in the SAP Cloud Integration. But if you have problems to implement running B2B integration flows, then the SAP Trading Partner Management is the perfect solution for you. The tool allows the user to create B2B scenarios via a user interface. The created scenarios are then processed in SAP CI via an SAP predefined integration package and sent to the customer. This package must be duplicated into the SAP Cloud Integration Design area and then deployed. This eliminates complex implementation steps in the SAP CI and makes it possible for inexperienced interface programmers to create B2B scenarios.

The B2B tool SAP TPM can only be used via the SAP Integration Advisor. Uploading your own mappings is not possible. You have to create them in the SAP IA.

SAP TPM works with agreement templates and agreements. The templates are predefined at the beginning and describe the incoming and outgoing messages from the backend. The agreements are the created B2B scenarios, which are assigned to the particular trading partners. This simplifies the management of the partners and the user can see and expand all existing transactions.

After activating the scenarios, they are pushed to the Partner Directory. The processing of the messages in SAP Cloud Integration is described in the picture below.

You can find more information about the SAP TPM here: SAP Help Portal

Update 01.2024: TPM now provides possibilities to perform call-outs via ProcessDirect adapter.


You can also implement B2B iFlows from scratch. Of course, this requires a certain level of experience but with the help of methodologies and guidelines everyone can start to build a B2B Scenario on his own. Or you can use the mentioned EDI package from SAP IA and customize it for your needs.

The methodologies and guidelines for SAP Cloud Integration can be found in the SAP Help portal or here in our WHINT Blog.


Conclusion

Three options for implementing B2B scenarios have now been presented. Of course, you should carefully choose the right method for you, because each method has its pros and cons.

Option SAP Integration Advisor

  • The creation of standard EDI mappings via SAP Integration Advisor saves time and in the end you have a valid mapping for the B2B scenario.
  • To create the iFlows you can use the package provided by SAP. This also saves time and has a good guide for the settings after the inject process.
  • The user doesn’t need any programming knowledge and can create a mapping via drag and drop.
  • The disadvantage is that no further changes can be made to the created mappings, because the automatically created MAGs (in XSLT) are not so easy to understand.

Option SAP IA & SAP Trading Partner Management

  • The advantage is that the user has a clear UI for all his trading partners and transactions.
  • This tool is also only suitable for standard EDI scenarios. The possibilities for customization in the individual steps is not available.
  • The communication channels in SAP TPM are very limited (AS2, IDoc and SOAP).
  • Another disadvantage is the necessary use of SAP IA in SAP TPM. This means that it is not possible to use your own mappings.
  • The possibility to test the B2B connection or other steps in the processing is not given.

Option implementation from scratch (SAP Cloud Integration)

For individual B2B scenarios, individual integration flows must be created. Which is very time consuming but gives the integration expert more room to operate. Also, for special B2B scenarios you should have some experience – and patience.

Print Friendly, PDF & Email