IDoc stands for Intermediate Document. It is a standard SAP document format. IDocs in SAP enable the connection of different application systems using a message-based interface.Here is an introductory tutorial about SAP IDoc also refer the Tables,important transaction codes and PDF training materials about it.You can also watch important table fields to store Idoc specific information in database.
If you are a beginner in SAP, please read our articles about What is SAP and What is ERP.
The main uses of IDocs are Structured exchange and automatic posting of application documents, Reduction of the varying complex structures of different application systems to one simple structure and Detailed error handling before the data is posted in the application. IDoc are defined on Technical level and Application Level.
In Technical View idoc is defined by three different types of structure. They are Control records, Data Records, Status Records.
In application view Segments and attributes of Segments are defined.Segments are structures that are used for the interpretation of the field SDATA in the data record.
Tutorials
View Complete ListSAP Idoc Transaction Codes
Here is a list of important tcodes used with Idocs in SAP.
- WTAD_IDOC_AL : Analysis of Procedure for Additional
- CGCNWWIDOC : EHS: Number Range ESN_WWIDOC
- /ISDFPS/CALLRBDMIDOC : Start RBDMIDOC
- /ISDFPS/CALLRSEIDOC2 : Start RSEIDOC2
- /ISDFPS/ME_IDOC00 : Maintenance: Program Object CP1
- /ISDFPS/ME_IDOC01 : Generation of Initial IDocs
- /ISDFPS/ME_IDOC02 : Generation of Deletion Record IDocs
- /ISDFPS/ME_IDOC03 : Call BD21 for Delta Download
- /ISDFPS/ME_IDOC04 : Generate Change Pointers (DB Log)
- EMMAIDOCLOG : IDoc log via EMMA
- EL_MA_MRIDOC : Process IDocs with errors
- SEND_BUHI_IDOC : Send Group Hierarchy Directly
- MA_WM_IDOCMO_P : Personalization: IDoc Monitor
- WLF_IDOC : IDoc Processing
- IDOC : IDoc: Repair and check programs
- RBDMIDOC : Variant for RBDMIDOC
- RE_RHALE_RGIN2IDOC : HR: Adjust HRMDRGIN to IDoc
- RSEIDOC2 : IDoc List
- RSEIDOCA : Active IDoc Monitoring with Workflow
- RSEIDOCM : Variant for RSEIDOCA
- SRTIDOC : Inbound SOAP: Register Service
- WEIDOCDAAG : IDoc Residence Times
- J1IDOCFLOW : Excise document flow
- /SAPSLL/IDOC_SIM : SAP GTS: IDoc Simulator
- /SAPSLL/IDOC_SIM_SCD : SAP GTS: IDoc Simulator for SCD
SAP Idoc Tables
List of important tables used to store Idocs data in SAP database.
- BBPD_CTR_IDOCREF : Reference of contract number for Create Idocs
- BBP_CTR_IDOC_REF : Reference of contract number for Create Idocs
- CNVTDMS_05_IDOC : Fill Header for Delivery Documents (IS-OIL)
- CRMD_ARIDOC_MSG : Maps Messages from ERP to Messages in CRM
- CRMXIF_IDOCS_H : External Interfaces: IDOC Site Header Tab.
- DMC_APIDOC : Application Assignment – IDoc Technical Field Function Name
- DMC_IDOC : Master Data for IDocs
- EDEXIDOCSEND : Customizing: Definition of Sending Types for DE Processes
- EDEXIDOCSENDT : Customizing: Def. of Sending Types for DE Processes – TEXT
- EDEXTASKIDOC : IDocs for Data Exchange Task
- EDIDOCINDX : Control record (IDoc)
- EDIDOCMAP : Mapping of IDoc Types
- EEWM_IDOC_FM : IS-U: Alloc. of Function Modules to IDoc Types (Outbound)
- EREMADVCTRL_IDOC : IDE: control table – payment data
- IDOCHIS : Predecessor of Basic IDoc Types (until Release 3.1)
- IDOCREL : Links between IDoc and application object
- IDOCSTYLE : Table of Style IDs with the Objects to Be Loaded
- IDOCSYN : Syntax Description for Basic Types
- IDXIDOCINB : IDoc Adapter: IDoc types which must not go to the Int. Serv.
- IDXIDOCSYN : IDoc Adapter IDoc Syntax Description for each Port
- IHC_DB_CL_IDOC : IHC: Communication Data for Clearing Unit
- RCMDOIDOCTYPE : Registered DOI Doc Types on User’s Desktop
- ROIDOCPRMS : Control parameters for data transfer from the source system
- RSBASIDOC : Assignment of source systems to BIW systems incl. IDoc type
- RSIDOCSAVE : IDoc table of the monitor for requests
- RSTSIDOC : IDoc Operational Data Store for the transfer structure
- RSTSIDOCFIELD : Fields for the IDoc Operational Data Store
- SEPM_IDOC_RECEIV : Routing information for sending IDOC from EPM back to ESM
- SRT_MIDOC : WS message (specific for adapter type IDoc)
- T7PIQ_US_IDOCSTR : Assign SEVIS XML Tag Names to IDOC Tag Names
- TIVEXFIDOCTYPE : Document Type Determination
- TWPOS_IDOC_SIZE : max. IDoc size of outbound IDocs
- UIDOC : Results Document of a Research Run (SEM-BIC)
- VIDOCS : Reference Table for Real Estate Documents
- WBB_MIDOC : Assortment List: Header For Merged IDocs
- WLF_C_IDOC2STRUC : Mapping From IDOC Segment To Maintenance Structure
- WLF_C_IDOC2STRUT : Description texts for IDOC editor
- WLF_C_IDOCFIELDS : Changeable IDOC Fields
- WRMA_EVALIDOC : Document flow for RMA revaluations
SAP Idoc data elements (Table Fields)
Important table fields used to store Idoc specific information.
- EDI_IDOCTP : Basic type
- CMST_IDOC_DOCNO_DOCU : IDoc Number
- CMST_IDOC_ITEMNO_DOCU : IDoc Number Item
- PPE_IDOCSIZE : iPPE / BAPI: Number of iPPE Objects per IDOC
- XMULTIDOC_KK : Generate Document for each Request Item
- DXXDBIDOC : If errors occur generate IDocs in database?
- DXIDOCSPRC : Number of IDocs Processed
- DXIDOCSERR : Number of IDocs with Errors
- IDOCFCT : ALE/EDI: Function for CCMS runtime monitoring
- EDICIDOCTP : Linked basic type
- E_DEXIDOCSEND : IDoc Sending Type for Data Exchange Process
- E_DEXIDOCSENDCAT : IDoc Sending Category for Data Exchange Process
- E_DEXIDOCSENDTEXT : Description for IDoc Sending Type
- E_DEXIDOCSENT : Send-Status of IDoc
- IDOCDSGNUM : Number of SAP segment
- IDOCCRFINT : Reference to interchange file
- IDOCCRFGRP : Reference to message group
- IDOCCRFMES : Reference to message
- IDOCCARKEY : EDI archive key
- IDOCSSGNUM : Number of SAP segment
- IDOC_SOAP : Use SOAP Protocol
- IDOC_QNAME : Complete Queue Name
- EDIPIDOCTP : Basic type
- EDX_OBJ_TYPE_IDOC : EDX: Object Type of IDoc Database Link
- EDX_IDOC_NUMBER : EDX: IDoc Number for This Message
- IDOC_UNIT : IDoc- Unit of Measurement
- IDOC_ZWART : IDoc: Register Type
- FAGL_ALE_SEGMENT_PER_IDOC : Totals Transfer: Number of Segments per IDOC
- IDX_IDOCTP : IDoc Type in IDoc Adapter
- EDI4IDOCTP : Name of basic type
- RSSRCTYPE_MAP_NOIDOC : ALE is always omitted when loading
- RSTRANSTRU_IDOC : Transfer structure IDoc segment between source and Warehouse
- RSTRANSTRU_IDOC3 : Transfer structure 3.x IDoc segment
- SRT_IDOC_REQUEST_ID : IDoc Request ID
- SRT_IDOC_RESPONSE_ID : IDoc Response ID
- HR_IDOCSEG : Name of IDOC Segment or Structure for Data Transfer
- SH_IDOCSE2 : Name of Other IDOC Segment for Data Transfer
- SH_IDOCSE3 : Name of Third IDOC Segment for Data Transfer
- IDOCOBJTYP : Object type for IDocs
- IDOCFBNAME : ALE: IDoc editing function module
- UNITIDOC : IDOC unit of measurement
- E_PPM_NOIDOC : Do Not Send IDOC
- MC_IDOCFBS : Name of IDoc function module
- UID_IDOC : UID IDoc Communication
- POS_MAX_IDOC_SIZE : POS IDoc size (maximum number of segments)
- ADDI_IDOCSUB : Additionals IDoc: sub-system status update
- ADDI_IDOCFB : Additionals: function module for generating IDocs
- TIDOCNO : Target Number of IDocs in Transfer
- ACTIDOCNO : Number of IDocs Currently in Transmission
- LIDOC_T : Last IDoc for Transfer
- TB_SIDOC : Correspondence medium: IDoc
- WLF_IDOC_EDIT_ALL : All Fields Are Open For Edit
- WRF_ADDI_IDOCD : Current Condition Date
- WRF_IDOC_CREATE_DAT : Date of IDoc Generation
- WRF_IDOC_PRICE_DAT : Condition Date of IDoc
- WRMA_IDOC_NUMBER : Number of the IDOC sent
- WRMA_IDOC_COUNT : Number of IDOCs received
- WRMA_OUTIDOC : Number of RMA Outbound Processing IDoc
- ADDI_IDOCD : Additionals IDoc: Usage date for data
- ADDIS_IDOC : Creation status for additionals IDoc
- ADDIS_IDOCFB : Additionals: IDoc status in the sub-system
- /DSD/HH_CTRL_IDOCTP : IDoc Type of Control IDocs for DSD Handheld Interface
- /DSD/ME_IDOC_R_DTTM : DSD Connector: Last control IDOC received timestamp
- /EACA/PM_LIDOC_SUBNR : Subobject for Number Range Intervals
- /SAPDMC/LS_IDOCTYPE : Basic Type
- /SAPHT/DRM_RERT_IDOCNO : Response IDoc number