• William
  • News
  • 7 minutes to read

EDI Connection of SAP S/4HANA with APIs Instead of IDocs – Protect Your Investment

The IDoc structures used for SAP R/3 or ERP ECC continue to be available for connecting SAP S/4HANA. External business partners can be integrated if these IDoc structures are used in conjunction with an EDI solution. SAP also offers API-based interfaces and the SAP API Business Hub eases conversion of the connections from SAP S/4HANA environments to API interfaces – including IDoc-based connections between SAP ERP and the EDI solution.

SEEBURGER customers have complete flexibility in that they can utilize ANY option / variant, negating the need for any additional outlay and thus protecting their investment.

SAP S/4HANA connection to a B2B/EDI solution via SAP API Business Hub

APIs from the SAP API Business Hub can be called by the SEEBURGER Business Integration Suite (BIS) and dynamically routed to proven EDI channels for connecting external business partners. This means that SAP APIs can readily be used today as an alternative to IDocs, for example to transfer orders to SAP ERP that were previously transmitted via EDI.

SAP also provides APIs for the processing of B2B documents, such as incoming purchase orders. The SEEBURGER BIS API solution supports communication with these ERP interfaces:

The WSDL or Swagger API descriptions from the SAP API Business Hub can be imported into the BIS Developer Studio. From there, the SAP APIs can be utilized by SEEBURGER BIS and can be called directly via predefined ‘activities’ within the framework of the ‘Standard Solutions’. The APIs are configured via the SEEBURGER ‘API Manager’, a component of the new, agile SEEBURGER App Framework.

User Interface of the SEEBURGER API Manager

When users of the SEEBURGER Standard Solution and the SEEXML data format move from IDocs to APIs, they only have to make sure that the connection to the SAP backend system and a certain number of process mappings are adjusted. Ordinarily, partner mappings for the respective partner message relationships do not need to be modified. This enables SEEBURGER customers to import APIs from the SAP API Business Hub at any time, test them and start using them seamlessly.

Future of SAP IDocs

Despite these new possibilities, IDocs for the connection between SAP ERP and B2B/EDI solutions may not become obsolete any time soon. Not all transactions required for processing EDI documents are made available as APIs yet – either as part of the SAP standard, individually provided by customers or by SAP Consulting. The SEEBURGER Business Integration Suite offers flexibility with the option of forwarding EDI documents either to the existing interfaces (IDoc/tRFC) or to the new interfaces (API). SAP is expected to extend support for EDI integration via APIs over time. However, it remains to be seen when the new API structures will achieve the full functionality of the current IDocs.

Some APIs are only available as read-only in an on-premises environment, meaning they are not really usable for creating or updating. Version 1809 of the SAP Business Hub offers the first outbound API interfaces for an on-premises installation. Of these outbound APIs, ~60 data entry APIs can be modified and thus used for creation and updating. With this small number of APIs, only a few use cases can currently be covered properly. For comparison: 2,000+ IDoc types have been tested and released since 1995. Compare SAP IDocs with SAP APIs for the example for a connection between SAP ERP and an EDI solution:

Comparison of SAP IDocs with SAP APIs (Version 1809) for connection between SAP ERP and an EDI solution

SAP IDocsSAP APIs
ProtocoltRFCHTTP/S
Call patternAsynchronous callSynchronous call
FormatFlat File (in-house)XML or JSON
Typical PayloadEDIFACT or X12 based on standardized interoperability and transaction formats.JSON (for REST) or XML (for AS4)
StandardsWidespread and established standards for industries and regionsNo widespread and established standards
Error handlingHandling Content Errors in SAPHandling of content errors on the integration platform
CustomizingZ-IDocs in their own namespaceZ-APIs without description in the SAP API Business Hub
(The SAP API Business Hub contains descriptions of standard APIs only)
Further interfacesAlternative file port or BAPI interfaceSOAP and REST services
Deployment Options – SAPCloud, on premisesCloud
Deployment Options – SEEBURGERCloud, on premises or hybrid (combination of the two previous options)Cloud, on premises or hybrid (combination of the two previous options)

Although the new S/4HANA APIs are currently still in an early phase and do not yet cover all use cases, extensions and new APIs are constantly being added. Therefore, their use is expected to increase in the future by companies increasingly using API-based integration functions for new business channels.

What are the benefits of APIs?

With the proven IDoc structure for connecting an EDI solution, the question arises if there is enough added value through such change for just this section of the transmission chain. Externally, transmissions would still be carried out asynchronously via files, whilst internally, individual requests would be processed in near to real-time. The time saved on the internal section of the transmission chain by APIs would be marginal compared to IDocs and thus wouldn’t justify such a change.

Functional added value would be higher if the entire transmission chain between the ERPs’ of the business partners was changed to APIs, rather than purely between the ERP system and B2B/EDI solution. The added value may come from new additional functions for real-time operations, something the asynchronous file exchange over current protocols does not currently offer. This is true of course only if there is a requirement for new additional functions based on real-time operations in this space.

Instead, it seems more reasonable for customers continuing to use the classic methods of exchanging data with their business partners to rely on APIs with their new capabilities for new use cases and channels with real-time requirements. In such cases, API Lifecycle Management can enable rapid adaptation towards changing requirements. APIs simplify the automation or self-service of on-boarding business partners. Furthermore, APIs open up possibilities for the monetization of interfaces and thus for new partner engagements and business models, which were previously not possible in this manner.

A coexistence of the classic B2B/EDI and Managed File Transfer channels with new API channels therefore seems more likely, as a replacement would be uneconomical only for the sake of replacement.

SEEBURGER supports all API interfaces for SAP S/4HANA – and more

SEEBURGER’s BIS platform includes seamless API integration with internal and external business partners via new SAP APIs and proven B2B/EDI or Managed File Transfer channels. This includes the seamless integration of SAP S/4HANA via the SAP API Business Hub. SEEBURGER is thus in a position to provide companies with sustainable support for their digitalization, including electronic invoicing, for each of these scenarios.

Read more about the Integration of SAP S/4HANA


Source: https://blog.seeburger.com/edi-connection-sap-s4hana-with-apis-instead-of-idocs/

Inline Feedbacks
View all comments
guest

Between two worlds – processing paper and digital mail in one system

Organizations are flooded with a large number of incoming documents every day. These documents are sent via a...

RFID labels – why Smart Labels are often superior to barcodes

Contactless data capture through RFID labels RFID (Radio Frequency Identification) labels can be considered in many cases as...

Migrate to SAP S/4HANA keeping the B2B/EDI Integration running

Many companies will migrate from their SAP ECC system to the new SAP S/4HANA system by 2027 when...

S/4HANA Integration is Best Left to the Experts

Migrating to SAP S/4HANA brings with it a number of complex integration issues. Approaching these successfully needs expertise...

EDI as the Key to a Successful S/4HANA Migration

Migrating to SAP S/4HANA requires more than just technical expertise – it demands a well-planned strategy for seamless...

How SEEBURGER customers can integrate SAP S/4HANA

The new S/4 ERP system in combination with the HANA database is the basis of SAP’s next generation...

How to use SAP S/4HANA with APIs for global e-Invoicing

As SAP will be withdrawing support for Business Suite 7 software in 2027, including SAP ECC (ERP Central...

Integrating SAP S/4HANA with 3rd Party Applications and Legacy Systems

Depending on a company’s specific IT landscape, its industry, its digitalisation strategy and whether it is following a...

Integrating S/4HANA with SAP Applications

In this blog series, we are looking at four main areas in SAP S/4HANA integration. This article looks...

Digitalization winners

In digitalization planning, new business models and processes play a crucial role. However, business integration and networking are...

SAP S/4HANA Migration: Take the green pill or the brown pill?

Start afresh with a greenfield approach, or build upon what you have already with a brownfield approach? This...

E-Invoicing Monitoring in SAP

Has my invoice been delivered? And if not, why not? Anyone sending an invoice naturally wants to know...

Integrating S/4HANA with public clouds & data lakes

When implementing SAP S/4HANA, the endpoints to be integrated vary depending on factors such as an organisation’s IT...

Get Organised! The SEEBURGER SAP Add On Generic Workflow

The way organisational processes and responsibilites are managed in various departments tends to ….well, let’s say… vary somewhat....

SEEBURGER SAP Add-Ons for optimized workflow management

E-mail floods and meeting marathons are the biggest productivity killers in one’s everyday working life. They are not...

Avoid this Pitfall when Migrating to SAP S/4HANA

Migration to S/4HANA is a strategic decision, one that requires considerable effort and time. The areas of EDI...

Who is Who? Use the Rule Solver to find out who is authorised for the next step in an approval process

Who is who and who does what? Approval processes can be pretty complicated. Wouldn’t it be great if...

Compliance with Global e-Invoicing Mandates and SAP S/4HANA

Migrating to SAP S/4HANA is not being made any easier with all the new e-invoicing legislation due to...

6 Reasons Why SAP S/4HANA Integration for B2B is Particularly Challenging

The endpoints which need integrating when migrating to – or introducing – SAP S/4HANA vary greatly. They are...

Don´t fear Migration! Modernize and Consolidate your Integration Infrastructure

Many enterprises and organizations are still depending on outdated B2B/MFT integration infrastructures they’ve built up over generations. This...