idoc in SAP

What is idoc in SAP?

Standard SAP IDoc interface uses ALE as the transfer mechanism and workflow functionality is used to route a failed IDOC to a specific individual or workgroup.

Business data is exchanged with an external system using the IDoc Interface. The IDoc Interface consists of the definition of a data structure and a processing logic for this. The data structure is the IDoc.

It is the exchange format that unites the communicating systems. Using IDocs you can define an exception handling within the SAP System using SAP Business Workflow, without the need for the data to already be an SAP application document.

There are basically two types of SAP IDOC

  • Basic IDOCs
  • Extended IDOCs
  • Idoc Components

Basic Idoc
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.

Extension Idoc
Extending the functionality by adding more segments to existing Basic IDOCs.

sap idoc

Creation of IDoc
To Create Idoc we need to follow these steps:

Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)

Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments

Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.

Create IDOC Type
Follow these steps to add more number of segments to Parent or as Parent-child relation

Save it and go back

Go to Edit -> Set release

Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back

Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
Click New Entries to create new Message Type.
Fill details

Save it and go back


Also see: Step by Step Assest Accounting Configuration

Online Training Tutorials

  • SAP Roll-In/Out Processing OverviewDuring the roll-in, pointers to the roll area and user context are populated in the work process. This enables the work process to access the data in those areas and so perform processing […]
  • Enterprise Content ManagementEnterprise Content Management an OverviewEnterprise resource planning (ERP) describes a broad set of activities that help manufacturers and other companies manage key areas of their businesses, including product planning and […]
  • sap landscapeWhat is SAP Landscape?Just try to understand the system sap landscape, Every company follows their own landscape as a standard you will have three servers like development, quality assurance and production […]
  • System Copy in SAP Business IntelligenceHow to System Copy in SAP Business Intelligence (BI SYSTEM) System Landscapes?The below post explain how the System Copy in SAP Business Intelligence System Landscapes in detail. Take the backup f the production system (Source) Pre-Steps on the target system […]
  • ASAP Methodology ImplementationASAP Methodology Implementation StepsThe SAP ASAP Methodology (Accelerated SAP) provides the roadmap for optimizing and continuous implementation of SAP systems in the real time business processes. The ASAP roadmap brings in […]
  • Types of Master data in sap mmWhat are the different Types of Master data in SAP MM?The Master data in SAP is used to be base data that can store all the required inform about the transaction. If someone producing, transferring stock, selling, purchasing, doing physical […]
  • materials planning and controlWhat is Materials Planning and Control?Materials planning and control determines how much of which material, component, goods etc. is needed and when. This activity is the responsibility of the materials planner or […]
  • System LandscapeDefine System LandscapeThe purpose of this activity is to establish the system landscape. The system landscape consists of the SAP Systems and clients that will enable you to adapt the SAP standard software to […]