• 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

How to connect to SAP S/4HANA via APIs and the SAP API Business Hub

With SAP S/4HANA, the IDoc structures known from R/3 or ERP ECC 6.0 are still available. New for...

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...

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...

International incoming invoice processing without language barriers

In a guest article by TCG Process GmbH, author Marcus Kern presents a communication solution for international incoming...

Crypto Swap Aggregators: The Smart Way to Exchange Digital Assets

The cryptocurrency market moves at lightning speed, with prices fluctuating across dozens of exchanges in real time. For...

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...

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...

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...

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...

Modern SAP Integration Suite Architecture: A Comprehensive Guide to Building Enterprise Integrations

The digital transformation landscape has fundamentally reshaped how enterprises approach system integration, demanding sophisticated architectures that can seamlessly...

Are You Absolutely Certain of Your Readiness for Migration to S/4HANA?

The migration to SAP S/4HANA is a compelling event (like it or not). SAP have publicly stated they...

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...

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...

Comparison of EDI and APIs – Handling of Content Errors

When data is exchanged between business partners, errors also occur with regards to content. It is sufficient that...

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...

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...

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...

Options for SAP PI EDI Adapters when migrating to S/4HANA

In 2027, SAP ECC and SAP PI systems will no longer be supported through SAP. Many companies using...

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....

SAP S/4HANA Cloud: скрытая мощь для среднего бизнеса

Облачная версия SAP S/4HANA долгое время воспринималась как упрощенное решение для компаний, не готовых к полноценному внедрению. Однако...