Welcome to this comprehensive and informative series on SAP S/4HANA Integration with Ariba.This is S/4HANA Integration with Ariba Part 6 before diving into this topic please refer S/4HANA Integration with Ariba Part 5
In this integration journey, I have explained the complete end-to-end configuration required to integrate S/4HANA with all solutions of Ariba for smooth and accurate data transformation.
This series is divided into multiple parts, so before reading any specific integration topic, please ensure you have gone through the previous parts for better understanding.
Note – This integration is also valid for SAP ECC system.
Table of Contents
Until now, we have completed the prerequisite activities required for the S/4HANA–Ariba integration. From this point onward, we will start the actual integration configuration. However, before proceeding, there are a few important topics that you must complete and clearly understand. Only after this should you move to the integration configuration steps. Understanding these concepts now will help you avoid confusion in the upcoming sections.
In this blog, we will discuss all the preconditions that must be met before starting the actual integration configuration.
Preconditions for Ariba Integration configuration
Throughout this Ariba integration journey, you will frequently encounter terms such as IDoc, Web Services, XML, cXML, HTTPS, Managed Gateway for Spend Management and SAP Business Network, and Ariba Network. It is important to understand these concepts clearly now so that you do not face confusion in the later stages of the integration.
In this blog, I have explained all the technical terms that you should know before starting the actual integration.
What is IDoc and Web services?
IDocs and Web Services are both data transfer mediums between S/4HANA and Ariba. All documents exchanged between S/4HANA and Ariba are transmitted either through IDocs or Web Services. For example, Purchase Orders and Invoices are typically sent through IDocs, while Goods Receipts and Service Entry Sheets are sent through Web Services.
What is IDoc?
IDocs (Intermediate Documents) are SAP’s standard structured format for electronic data exchange between SAP and non-SAP systems. They act as containers that carry business data in a predefined structure, enabling reliable system-to-system communication.
Structure of an IDoc:
- Header: Holds control information such as sender, receiver, IDoc type, and status.
- Data Segments: Contain the actual business data, organized into segments with defined fields.
- Trailer: Summarizes the IDoc, including the number of segments and related details.
Key Characteristics:
- Supports asynchronous communication, so data can be sent without waiting for an immediate response.
- Uses a standardized structure, making integration and data handling easier.
- Offers strong monitoring and error handling through SAP tools like WE02 (display) and WE19 (test).
- Widely used in ALE scenarios for communication between distributed SAP systems.
- Suitable for batch processing and large data volumes.
- Helps integrate SAP with legacy or external systems efficiently.
What is Web Service ?
Web Services are a modern method of system-to-system communication that use standard internet protocols such as SOAP and REST. In SAP integrations, Web Services enable real-time data exchange between SAP and external systems over HTTP/HTTPS.
Types of Web Services
- SOAP Web Services: Use XML messages and follow a strict contract defined by a WSDL. They are structured and protocol-driven.
- RESTful Web Services: Use standard HTTP methods (GET, POST, PUT, DELETE) and support formats like XML or JSON. They are lightweight and easier to consume.
Key Features
- Support both synchronous and asynchronous communication.
- Work with multiple data formats, offering high flexibility.
- Follow modern security standards such as WS-Security (SOAP) and OAuth (REST).
Common Use Cases
- Real-time data exchange where immediate processing is required.
- Integration with third-party applications and external platforms.
XML, cXML, HTTPS
- XML is the data format used by S/4HANA.
- while cXML (commerce XML) is the specific data format used by Ariba.
- When a document is sent from S/4HANA to Ariba, the Managed Gateway (CIG) converts the data from SAP XML to cXML.
- Conversely, when a document is sent from Ariba to S/4HANA, CIG converts the data from cXML back into SAP XML.
- HTTPS is the secure protocol used to transport these documents safely during the integration process.
Managed Gateway for Spend Management and SAP Business Network and Ariba Network
Managed Gateway for Spend Management and SAP Business Network and
During our integration journey, you will often hear the term “Managed Gateway for Spend Management and SAP Business Network.” In previous blogs, I mentioned that this is nothing but CIG (Cloud Integration Gateway). “CIG” is the earlier name for this component, and many people still refer to it by that name. For convenience, we will also continue to call it CIG. Therefore, whenever you see “Managed Gateway for Spend Management and SAP Business Network,” you can understand it as CIG.
Ariba Network
The same applies to Ariba Network. Ariba Network is now known as SAP Business Network. Under SAP Business Network, solutions such as Commerce Automation and Supply Chain Collaboration are included.
Transport Request
Yet another important thing you should know before starting actual integration configuration and that is “Transport Request”. In your integration you will often go through Transport Manager so it is mandatory .
What is Transport Request?
Transport Request in sap is a data storage container used to move changes from one system to another system.
e.g DEV (Development) → QA (Quality) → PRD (Production)
You never do changes directly in QA or PRD. All changes are done in DEV, and then moved safely to other systems using a Transport Request.
When you perform these integration activities in a real-time environment, you will notice that some configuration steps need to be saved in a transport request.
Types of Transport Requests
- 1) Workbench Request: Workbench requests are cross-client. Changes done in one client are automatically reflected in all other clients.
- 2) Customizing Request: Customizing requests are client specific. The changes will not be reflected in other clients. For e. g a change done in S/4 Dev100 system will not be reflected in other clients in the same S/4 Dev system. We have to do a client copy using T-code SCC1. You can see the client number next to this type of request.