Understanding IDOC Header
Understanding IDOC Header
Continue serial of SAP IDoc articles, in this topic i will show you detail information
of SAP IDoc header. It will help you transfer or receive data between SAP PO
and SAP ERP | SAP S4 HANA.
To understand principle concept of SAP IDOC, you can access my previous topic
here https://dangvinhcuong.com/2019/02/22/sap-idoc-tutorial/
IDOC Header segment is a table where you can find information of logical system
and business document information. In SAP ERP view we can call as “Control
Record”.
– SAP IDoc Number: unique number generated by SAP when create IDOC
In partner group as picture below, you can see detail information of sender and
receiver system, those information need to setup in partner profile
tcode : WE20
Port help SAP know version of IDOC will communicate with SAP and RFC
(Remote Function Call) get detail connection and credential to SAP System.
To define Port you can use tcode : WE21. Define RFC Connection use
tcode: SM59
2 – IDOC Header Information
DIRECT Direction
In the receiver channel, SAP PO capture IDOC Header from partner system or
from message mapping payload and attach information then send to SAP ERP.
In receiver SAP System (SAP ERP, SAP CAR, SAP S4HANA)
Example:
When we create Sales Order, SAP will create Sales Order IDOC and Sales
Order document on SAP immediately. But when we send sales per receipt to
SAP CAR, SAP CAR will send messages into inbound Queues first then
business user need to show the system when data should create receipt
document.
There are an interesting question with message mapping when we have multi
SAP destination system environments.
IDOC Header can adjusted via “Values Mapping” then SAP PO consultant can
manual adjust Integration Builder function without and transportation require.
– if SAP send to another SAP system then partner type should be “Customer”.
Thank you for your attention and let me know any idea by comment article below.