SAP IDOC Tutorial, Tables, Tcodes & PDF Training Guides

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

  1. SAP IDOC Structure Introduction
  2. Conversion of IDocs from or into e-mails
  3. MATMAS01 IDOC TYPE Structure
View Complete List

SAP Idoc Transaction Codes

Here is a list of important tcodes used with Idocs in SAP.

  1. WTAD_IDOC_AL : Analysis of Procedure for Additional
  2. CGCNWWIDOC : EHS: Number Range ESN_WWIDOC
  3. /ISDFPS/CALLRBDMIDOC : Start RBDMIDOC
  4. /ISDFPS/CALLRSEIDOC2 : Start RSEIDOC2
  5. /ISDFPS/ME_IDOC00 : Maintenance: Program Object CP1
  6. /ISDFPS/ME_IDOC01 : Generation of Initial IDocs
  7. /ISDFPS/ME_IDOC02 : Generation of Deletion Record IDocs
  8. /ISDFPS/ME_IDOC03 : Call BD21 for Delta Download
  9. /ISDFPS/ME_IDOC04 : Generate Change Pointers (DB Log)
  10. EMMAIDOCLOG : IDoc log via EMMA
  11. EL_MA_MRIDOC : Process IDocs with errors
  12. SEND_BUHI_IDOC : Send Group Hierarchy Directly
  13. MA_WM_IDOCMO_P : Personalization: IDoc Monitor
  14. WLF_IDOC : IDoc Processing
  15. IDOC : IDoc: Repair and check programs
  16. RBDMIDOC : Variant for RBDMIDOC
  17. RE_RHALE_RGIN2IDOC : HR: Adjust HRMDRGIN to IDoc
  18. RSEIDOC2 : IDoc List
  19. RSEIDOCA : Active IDoc Monitoring with Workflow
  20. RSEIDOCM : Variant for RSEIDOCA
  21. SRTIDOC : Inbound SOAP: Register Service
  22. WEIDOCDAAG : IDoc Residence Times
  23. J1IDOCFLOW : Excise document flow
  24. /SAPSLL/IDOC_SIM : SAP GTS: IDoc Simulator
  25. /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.

  1. BBPD_CTR_IDOCREF : Reference of contract number for Create Idocs
  2. BBP_CTR_IDOC_REF : Reference of contract number for Create Idocs
  3. CNVTDMS_05_IDOC : Fill Header for Delivery Documents (IS-OIL)
  4. CRMD_ARIDOC_MSG : Maps Messages from ERP to Messages in CRM
  5. CRMXIF_IDOCS_H : External Interfaces: IDOC Site Header Tab.
  6. DMC_APIDOC : Application Assignment – IDoc Technical Field Function Name
  7. DMC_IDOC : Master Data for IDocs
  8. EDEXIDOCSEND : Customizing: Definition of Sending Types for DE Processes
  9. EDEXIDOCSENDT : Customizing: Def. of Sending Types for DE Processes – TEXT
  10. EDEXTASKIDOC : IDocs for Data Exchange Task
  11. EDIDOCINDX : Control record (IDoc)
  12. EDIDOCMAP : Mapping of IDoc Types
  13. EEWM_IDOC_FM : IS-U: Alloc. of Function Modules to IDoc Types (Outbound)
  14. EREMADVCTRL_IDOC : IDE: control table – payment data
  15. IDOCHIS : Predecessor of Basic IDoc Types (until Release 3.1)
  16. IDOCREL : Links between IDoc and application object
  17. IDOCSTYLE : Table of Style IDs with the Objects to Be Loaded
  18. IDOCSYN : Syntax Description for Basic Types
  19. IDXIDOCINB : IDoc Adapter: IDoc types which must not go to the Int. Serv.
  20. IDXIDOCSYN : IDoc Adapter IDoc Syntax Description for each Port
  21. IHC_DB_CL_IDOC : IHC: Communication Data for Clearing Unit
  22. RCMDOIDOCTYPE : Registered DOI Doc Types on User’s Desktop
  23. ROIDOCPRMS : Control parameters for data transfer from the source system
  24. RSBASIDOC : Assignment of source systems to BIW systems incl. IDoc type
  25. RSIDOCSAVE : IDoc table of the monitor for requests
  26. RSTSIDOC : IDoc Operational Data Store for the transfer structure
  27. RSTSIDOCFIELD : Fields for the IDoc Operational Data Store
  28. SEPM_IDOC_RECEIV : Routing information for sending IDOC from EPM back to ESM
  29. SRT_MIDOC : WS message (specific for adapter type IDoc)
  30. T7PIQ_US_IDOCSTR : Assign SEVIS XML Tag Names to IDOC Tag Names
  31. TIVEXFIDOCTYPE : Document Type Determination
  32. TWPOS_IDOC_SIZE : max. IDoc size of outbound IDocs
  33. UIDOC : Results Document of a Research Run (SEM-BIC)
  34. VIDOCS : Reference Table for Real Estate Documents
  35. WBB_MIDOC : Assortment List: Header For Merged IDocs
  36. WLF_C_IDOC2STRUC : Mapping From IDOC Segment To Maintenance Structure
  37. WLF_C_IDOC2STRUT : Description texts for IDOC editor
  38. WLF_C_IDOCFIELDS : Changeable IDOC Fields
  39. WRMA_EVALIDOC : Document flow for RMA revaluations

SAP Idoc data elements (Table Fields)

Important table fields used to store Idoc specific information.

  1. EDI_IDOCTP : Basic type
  2. CMST_IDOC_DOCNO_DOCU : IDoc Number
  3. CMST_IDOC_ITEMNO_DOCU : IDoc Number Item
  4. PPE_IDOCSIZE : iPPE / BAPI: Number of iPPE Objects per IDOC
  5. XMULTIDOC_KK : Generate Document for each Request Item
  6. DXXDBIDOC : If errors occur generate IDocs in database?
  7. DXIDOCSPRC : Number of IDocs Processed
  8. DXIDOCSERR : Number of IDocs with Errors
  9. IDOCFCT : ALE/EDI: Function for CCMS runtime monitoring
  10. EDICIDOCTP : Linked basic type
  11. E_DEXIDOCSEND : IDoc Sending Type for Data Exchange Process
  12. E_DEXIDOCSENDCAT : IDoc Sending Category for Data Exchange Process
  13. E_DEXIDOCSENDTEXT : Description for IDoc Sending Type
  14. E_DEXIDOCSENT : Send-Status of IDoc
  15. IDOCDSGNUM : Number of SAP segment
  16. IDOCCRFINT : Reference to interchange file
  17. IDOCCRFGRP : Reference to message group
  18. IDOCCRFMES : Reference to message
  19. IDOCCARKEY : EDI archive key
  20. IDOCSSGNUM : Number of SAP segment
  21. IDOC_SOAP : Use SOAP Protocol
  22. IDOC_QNAME : Complete Queue Name
  23. EDIPIDOCTP : Basic type
  24. EDX_OBJ_TYPE_IDOC : EDX: Object Type of IDoc Database Link
  25. EDX_IDOC_NUMBER : EDX: IDoc Number for This Message
  26. IDOC_UNIT : IDoc- Unit of Measurement
  27. IDOC_ZWART : IDoc: Register Type
  28. FAGL_ALE_SEGMENT_PER_IDOC : Totals Transfer: Number of Segments per IDOC
  29. IDX_IDOCTP : IDoc Type in IDoc Adapter
  30. EDI4IDOCTP : Name of basic type
  31. RSSRCTYPE_MAP_NOIDOC : ALE is always omitted when loading
  32. RSTRANSTRU_IDOC : Transfer structure IDoc segment between source and Warehouse
  33. RSTRANSTRU_IDOC3 : Transfer structure 3.x IDoc segment
  34. SRT_IDOC_REQUEST_ID : IDoc Request ID
  35. SRT_IDOC_RESPONSE_ID : IDoc Response ID
  36. HR_IDOCSEG : Name of IDOC Segment or Structure for Data Transfer
  37. SH_IDOCSE2 : Name of Other IDOC Segment for Data Transfer
  38. SH_IDOCSE3 : Name of Third IDOC Segment for Data Transfer
  39. IDOCOBJTYP : Object type for IDocs
  40. IDOCFBNAME : ALE: IDoc editing function module
  41. UNITIDOC : IDOC unit of measurement
  42. E_PPM_NOIDOC : Do Not Send IDOC
  43. MC_IDOCFBS : Name of IDoc function module
  44. UID_IDOC : UID IDoc Communication
  45. POS_MAX_IDOC_SIZE : POS IDoc size (maximum number of segments)
  46. ADDI_IDOCSUB : Additionals IDoc: sub-system status update
  47. ADDI_IDOCFB : Additionals: function module for generating IDocs
  48. TIDOCNO : Target Number of IDocs in Transfer
  49. ACTIDOCNO : Number of IDocs Currently in Transmission
  50. LIDOC_T : Last IDoc for Transfer
  51. TB_SIDOC : Correspondence medium: IDoc
  52. WLF_IDOC_EDIT_ALL : All Fields Are Open For Edit
  53. WRF_ADDI_IDOCD : Current Condition Date
  54. WRF_IDOC_CREATE_DAT : Date of IDoc Generation
  55. WRF_IDOC_PRICE_DAT : Condition Date of IDoc
  56. WRMA_IDOC_NUMBER : Number of the IDOC sent
  57. WRMA_IDOC_COUNT : Number of IDOCs received
  58. WRMA_OUTIDOC : Number of RMA Outbound Processing IDoc
  59. ADDI_IDOCD : Additionals IDoc: Usage date for data
  60. ADDIS_IDOC : Creation status for additionals IDoc
  61. ADDIS_IDOCFB : Additionals: IDoc status in the sub-system
  62. /DSD/HH_CTRL_IDOCTP : IDoc Type of Control IDocs for DSD Handheld Interface
  63. /DSD/ME_IDOC_R_DTTM : DSD Connector: Last control IDOC received timestamp
  64. /EACA/PM_LIDOC_SUBNR : Subobject for Number Range Intervals
  65. /SAPDMC/LS_IDOCTYPE : Basic Type
  66. /SAPHT/DRM_RERT_IDOCNO : Response IDoc number

SAP Idocs PDF Training Materials & Guides