IDOC
IDOC
IDOC stands for an intermediate document where data will be transferred and received in receiver
system through EDI (electronic data interchange). IDOC is an interface
Where data exchange between 2 systems takes place with help of IDOC on the basis of
requirement.
Methodologies in IDOC
1. ALE IDOC will be use for transferred data between SAP to SAP systems
2. EDI IDOC will be use for transferred data between SAP to non SAP systems
Inbound Outbound
1. The process of data transfer into your SAP 1. The process of data transfer out of your SAP
system is called Inbound process. system is called the Outbound process.
2. Ex: Order confirmation from vendor 2. Ex: Sending PO copy to vendor
3. Business Vendor 3. Business Vendor
(SAP MM Associate)
IDOC types
1. Basic
SAP provides many a pre-defined Basic IDOC Types which cannot be modified.
2. Extension
In case you want to add more data to this restricted basic type you may use an extension type.
Most of the times you will NOT use extension
T code: WE30
(SAP MM Associate)
The IDOC itself is made up of three tiers
Tier 1 – The Control Record
The control record shows you the direction, basic type and message type of the IDOC. It also
shows you the sender and recipient partners.
(SAP MM Associate)
Tier 3 – The Status Records
Shows all the status records which the IDOC has gone through in its lifetime, in reverse
chronological order.
What is segment?
A Segment defines the format and structure of a data record in IDOC, where you will save all type of
fields called as segment.
Ex: we are sending a PO copy to vendor that PO copy consist of some fields like material number,
description and quantity etc these all fields we are saving in segment.
Types of segment
Note: not recommended to create extension type segment for Functional consultants It’s always
created by EDI experts or Basis consultants
T code: WE31
(SAP MM Associate)
What is PORT?
The port defines the technical characteristics of the connection between your SAP system and the
other system you want to transfer data with (subsystem). The port defines the medium in which
data is exchanged between the 2 systems
Port number contains the receiver details where we are sending the data to partner port number
contains the IP address of the receiving partner to flow the data
T code: WE21
(SAP MM Associate)
Process code
Process code is to convert the message type to receiving tool language, it’s a piece of code where
we have mentioned segments for fields and sending PO through electronic message and now
technical team will prepare code for this it’s just a code which convert the message type form SAP
language to other receiving format language.
T code: WE60
Message type
A message represents a specific type of document that is transmitted between two partners Ex.
Orders, orders responses, invoices etc. An IDOC type can be associated with many message types
also a message type can be associated with different IDOC types.
T code: WE81
(SAP MM Associate)
Partner Profiles
A partner is defined as a business partner with whom you conduct business and exchange
documents In the partner profile of a partner that we exchange IDOC with, we maintain the
parameters that are necessary for exchanging the data.
T code: WE20
(SAP MM Associate)
Vendor LI
Customer KU
Logical system LS
Whenever a Purchase Order (PO) is created we want to send the IDOC to a vendor.
The PO is sent in the form of an IDOC to the vendor (partner). That partner has to be EDI
enabled in that system. SAP should realize that it could send doc to this vendor
electronically.
The PO sent as an outbound IDOC by the customer will be inbound IDOC for the vendor. The
SAP system on the vendor’s side can process this to create an application document (a sales
order) on their system.
Quotation, RFQ, PO, SO, Invoice, delivery note etc are some of the commonly exchanged
documents through IDOC
(SAP MM Associate)
Outbound Process in IDOC
Steps Involved
(SAP MM Associate)
3. Create a message type (WE81)
(SAP MM Associate)
5. Create a port (WE21)
(SAP MM Associate)
Partner profile creation in WE20
(SAP MM Associate)
Partner profile has been created
(SAP MM Associate)
The Inbound Process
Steps Involved
(SAP MM Associate)