Most Useful SAP EDI Transactions (SAP Idocs Tcodes) & SAP EDI Tables

SAP EDI

SAP EDI Transactions: IDoc stands for intermediate document.

Idocs are a standard data structure for Electronic Data Interchange (EDI) between application and SAP System.

In this article, you will find the most important IDocs Tcodes and the most useful SAP Edi Tables to start you mastery journey with IDocs.

SAP EDI Transactions and SAP IDoc EDI Tables

The SAP EDI Transaction WEDI (it is not a transaction but an area menu) can be a shortcut to many useful IDoc Transaction code.

Useful SAP IDocs Tables / SAP EDI Tables

List of Main tables for SAP IDocs EDI ALE:
Idoc’s header data is stored in the table EDIDC.

Status of IDocs can be found in EDIDS table.

Idoc’s data are in EDID4 table. The data are stored in SDATA field. To retrieve the data in the segment format, create a structure typed as the segment type and make a write/move SDATA field to your structure.

SAP EDI TABLEDESCRIPTION
EDIDCControl Record Table for SAP IDOC / EDI
EDID4Data record table for SAP IDOC / EDI
EDIDSStatus Record table for SAP IDOC / EDI

Useful SAP IDocs Tcodes / SAP EDI Transactions

Let’s first introduce the main edi transaction codes groups (or Menu)

SAP EDI TCODESFUNCTION
SALEaccess IMG ALE Configuration root
SARAIDoc archive administration
BALEALE Distribution Administration
WEDIALE IDoc Administration
WE05IDoc overview

Under the previous menu you can access edi transaction codes to handle everything for SAP EDI/IDOC.

The main List of main SAP Idocs / EDI Tcodes:

SAP EDI TRANSACTIONDESCRIPTION
WE07IDoc statistics
WE20manually maintain partner profiles
WE21Ports in Idoc processing
WE47edit IDOC status values
WE60create IDoc documentation (IDOC header file)
SM59Create RFC Destinations
SM58Schedule RFC Failures
BD21Create IDocs from change pointers
BD50Activate Change Pointer for Message Type
BD52Activate change pointer per change.doc object
BD53Reduction of Message Types
BD55Defining settings for IDoc conversion
BD56Maintain IDOC Segment Filters
BD59Allocation object type -> IDOC type
BD61Activate Change Pointers & Globally
BD62Define rules
BD64Maintain customer distribution model
BD71Distribute customer distribution model
BD79Maintain rules
BD82Generate Partner Profiles
BD87Status Monitor for ALE Messages
BD88Outbound IDoc reprocessing
BDM2IDoc Trace
BDM5Consistency check
BDM7IDoc Audit Analysis

Check also :

Inbound and Outbound Idocs Status

Outbound IDocs status

SAP IDocs are managed by Status. Here the List of Outbound IDocs status

SAP IDOC STATUTDESCRIPTION
1IDoc generated
2Error passing data to port
3Data passed to port OK
4Error within control information of EDI subsystem
5Error during translation
6Translation OK
7Error during syntax check
8Syntax check OK
9Error during interchange handling
10Interchange handling OK
11Error during dispatch
12Dispatch OK
13Retransmission OK
14Interchange Acknowledgement positive
15Interchange Acknowledgement negative
16Functional Acknowledgement positive
17Functional Acknowledgement negative
18Triggering EDI subsystem OK
19Data transfer for test OK
20Error triggering EDI subsystem
21Error passing data for test
22Dispatch OK acknowledgement still due
23Error during retransmission
24Control information of EDI subsystem OK
25Processing despite syntax error (outbound)
26Error during syntax check of IDoc (outbound)
27Error in dispatch level (ALE service)
28Not used
29Error in ALE service
30IDoc ready for dispatch (ALE service)
31Error no further processing
32IDoc was edited
33Original of an IDoc which was edited
34Error in control record of IDoc
35IDoc reloaded from archive
36Electronic signature not performed (timeout)
37IDoc added incorrectly
38IDoc archived
39IDoc is in the target system (ALE service)
40Application document not created in target system
41Application document created in target system
42IDoc was created by test transaction

Inbound IDocs status

Here the full List of Inbound IDocs status in SAP :

INBOUND IDOC STATUTDESCRIPTION
50IDoc added
51Application document not posted
52Application document not fully posted
53Application document posted
54Error during formal application check
55Formal application check OK
56IDoc with errors added
57Test IDoc in other words Error during application check
58IDoc copy from R/2 connection
59Not used
60Error during syntax check of IDoc (inbound)
61Processing despite syntax error (inbound)
62IDoc passed to application
63Error passing IDoc to application
64IDoc ready to be transferred to application
65Error in ALE service
66IDoc is waiting for predecessor IDoc (serialization)
67Not used
68Error no further processing
69IDoc was edited
70Original of an IDoc which was edited
71IDoc reloaded from archive
73IDoc archived
74IDoc was created by test transaction

More Resources about Idocs Tcodes / SAP EDI Transactions

IDoc Basics For Functional Consultants