IDoc Types for Inbound Messages in SAP SD

EDI Standard Terms and Corresponding IDoc Types

The table below outlines various EDI standard terms, their related output types, and the corresponding IDoc types for inbound messages within SAP Sales and Distribution (SD):

EDI Standard Term Output Type IDoc Type
Inquiry REQOTE ORDERS01
ORDERS02
ORDERS03
ORDERS04
Sales Order ORDERS ORDERS01
ORDERS02
ORDERS03
ORDERS04
Sales Order Change ORDCHG ORDERS01
ORDERS02
ORDERS03
ORDERS04
Delivery Order (Pick-up Sheet) DELORD ORDERS03
ORDERS04
Forecast Delivery Schedule DELINS DELFOR01
Just-in-time Delivery Schedule DELJIT DELFOR01
Self Billing Procedure GSVERF GSVERF01
External Agent Delivery Note EDLNOT DESADV01

IDoc Types for Outbound Messages in SAP SD

EDI Standard Terms and Corresponding IDoc Types

The table below delineates various EDI standard terms, their associated output types, and the corresponding IDoc types for outbound messages within SAP Sales and Distribution (SD):

EDI Standard Term Output Type IDoc Type
Quotation QUOTES ORDERS01
ORDERS02
ORDERS03
ORDERS04
Sales Order Confirmation ORDERSP ORDERS01
ORDERS02
ORDERS03
ORDERS04
Invoice INVOIC INVOIC01
INVOIC02
Invoice List INVOIC INVOIC01
INVOIC02
Foreign Trade Billing Document INVOIC EXPINV01
EXPINV02

EDI Standards and Corresponding IDoc Types in SAP SD

Below is the tabular format detailing the EDI standards with their respective messages and IDoc types as described in the provided information:

EDI Standard Code EDI Standard Message Logical Message IDoc Type(s)
850 PO or order ORDERS ORDERS01 to ORDERS05
810 Invoice or billing document INVOICE INVOIC01
304 Shipping Instructions SHPMNT or IFTMIN SHPMNT03
830 Delivery schedule DELINS or DELFOR DELFOR01
856 Transporting & shipping notification (ASN) SHPMNT or SHPADV SHPMNT01
860 Ordering or order modification ORDCHG ORDERS01 to ORDERS05

Explanation of EDI Standards and IDoc Types

  1. 850 PO or Order:
    • The 850 code is used for Purchase Orders (PO) or orders.
    • The logical message for processing this in SAP is ORDERS, with the possible IDoc types ranging from ORDERS01 to ORDERS05, accommodating various data structures for order processing.
  2. 810 Invoice or Billing Document:
    • 810 represents invoices or billing documents.
    • The logical message in SAP for invoices is INVOICE, using the IDoc type INVOIC01 for electronic processing of billing information.
  3. 304 Shipping Instructions:
    • The 304 code pertains to shipping instructions.
    • It is associated with the logical messages SHPMNT or IFTMIN in SAP, with SHPMNT03 being the IDoc type that carries shipping details.
  4. 830 Delivery Schedule:
    • 830 is for delivery schedules.
    • The corresponding logical messages can be either DELINS or DELFOR, both using the IDoc type DELFOR01 to handle scheduling information.
  5. 856 Transporting & Shipping Notification (ASN):
    • 856 is for the Advanced Shipping Notification (ASN).
    • It is processed in SAP with the logical message SHPMNT or SHPADV, using the IDoc type SHPMNT01 to provide notification of goods in transit.
  6. 860 Ordering or Order Modification:
    • 860 refers to changes or modifications in orders.
    • The logical message for these modifications is ORDCHG, with potential IDoc types ranging from ORDERS01 to ORDERS05, depending on the specifics of the order change.

SAP Interview Questions with Answers on IDOC Types:

  • Q: What are IDOC Types in SAP?

A: IDOC Types in SAP are templates that define the structure and format of data being exchanged. They specify the layout of fields in an IDOC for both inbound and outbound messages.

  • Q: Can you name some common IDOC Types used for inbound messages?

A: Common IDOC Types for inbound messages include ORDERS for purchase orders, INVOIC for invoices, and DELVRY for delivery notes. These are used to receive data from external systems into SAP.

  • Q: What are some examples of IDOC Types for outbound messages?

A: For outbound messages, IDOC Types like DESADV for dispatch advice, MATMAS for material master, and CREMAS for vendor master are commonly used. These IDOC Types send data from SAP to external systems.

  • Q: How does SAP distinguish between different IDOC Types?

A: SAP distinguishes between different IDOC Types based on their unique names and the message types associated with them. Each IDOC Type is tailored for specific data and transaction types.

  • Q: What is the significance of segment types in IDOCs?

A: Segment types in IDOCs define the individual data fields within an IDOC. They are crucial for ensuring that the data is correctly formatted and transmitted to the target system.

  • Q: How can you customize an IDOC Type in SAP?

A: Customizing an IDOC Type involves extending the standard IDOC or creating a new IDOC Type. This is done using transaction codes WE30 and WE31, allowing for specific business requirements to be met.