Reviewing Immediate Document (IDOC)

Objective

After completing this lesson, you will be able to define IDOC and its types.

IDOC Overview

An IDOC (Intermediate Document) is an SAP object that carries data of a business transaction from one system to another, in the form of electronic message.

IDOC is the standard data structure for electronic data interchange (EDI) between an SAP application and an external application.

Depending on the direction it is sent, an IDOC can be triggered in the SAP system or in an external application.

Outbound flow: The IDOC is triggered in SAP, through document message control, and sent to an external application via middleware that converts the data from IDOC into cXML, or equivalent format. After the IDOC is converted, the data is then sent to the external application.

Inbound flow: cXML is converted to an IDOC. After successful processing of this IDOC, Application Document is posted in SAP.

*IDOCs are always asynchronous communications.

*IDOC Types are based on EDIFACT standards.

All fields that are necessary for the transmission of a message for a particular business transaction are mapped in different segments.

IDoc display screen showing Control Record, Data Records, Status Records, and technical information including Basic Type, Message Type, and Status

Basic type: Defines the structure of an IDOC. Each basic type describes standard IDOC segments, format of data fields and their size.

Message Type: Type of document

SAP system screenshot displaying IDoc 0000000000243820 with Control Record, Data Records, and Status Records. Technical information pane shows message type.

Control Record contains type of IDOC, port of partner, release of SAP System.

Data records contain application specific data. Example: PO header, line item information.

Status records are used to store the status of the document.

Supported IDOC Flows

In SAP Ariba Cloud Integration (CI), there were not SAP Ariba specific IDOC Types for a few transactions, such as Purchase Order.

However, CIG copied the standard IDOC Types & created SAP Ariba specific IDOC Types in order to incorporate all the required fields/data for integration with an SAP system.

Examples:

  • Accounting details in PO
  • Supporting attachments
  • Send Vendor Address details
  • Company Code address details
  • Additional info for SCC flow such as time tolerance
TransactionIDoc Basic TypeIDoc Message TypeDirection
Request For QuoteARBCIG_REQOTEREQOTEOutbound
Purchase Order; Change & CancelARBCIG_ORDERSORDERSOutbound
Scheduling AgreementARBCIG_DELINSDELINSOutbound
Order InquiryARBCIG_ORDENQORDERSOutbound
Order ConfirmationARBCIG_ORDRSPORDRSPInbound
Invoice from Ariba NetworkARBCIG_INVOICINVOICInbound
ERP CC MM InvoiceARBCIG_GSVERFGSVERFOutbound
ERP CC FI InvoiceARBCIG_FIDCC2FIDCC2Outbound
Pay Me NowARBCIG_FIDCCHFIDCCHInbound
Payment RemittanceARBCIG_REMADVREMADVOutbound