EDI_DC40 SAP (IDoc Control Record for Interface to External System) Structure details
Description: IDoc Control Record for Interface to External System
Structure field list including key, data, relationships and ABAP select examples
EDI_DC40 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "IDoc Control Record for Interface to External System" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_EDI_DC40 TYPE EDI_DC40.
The EDI_DC40 table consists of various fields, each holding specific information or linking keys about IDoc Control Record for Interface to External System data available in SAP. These include MANDT (Client), DOCNUM (IDoc number), DOCREL (SAP Release for IDoc), STATUS (Status of IDoc).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP EDI_DC40 structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
TABNAM | Name of Table Structure | EDI4TABNAM | CHAR | 10 | EDI_TABNAM | ||||
MANDT | Client | EDI4MANDT | CLNT | 3 | T000 | MANDT | |||
DOCNUM | IDoc number | EDI4DOCNUC | CHAR | 16 | EDI_CHAR16 | ||||
DOCREL | SAP Release for IDoc | EDI4DOCREL | CHAR | 4 | SAPRL | ||||
STATUS | Status of IDoc | EDI4STATUS | CHAR | 2 | TEDS1 | EDI_STATUS | |||
DIRECT | Direction | EDI4DIRECT | CHAR | 1 | EDI_DIRECT | ||||
OUTMOD | Output mode | EDI4OUTMOD | CHAR | 1 | EDI_OUTMOD | ||||
EXPRSS | Overriding in inbound processing | EDI4EXPRSS | CHAR | 1 | EDI_EXPRSS | ||||
TEST | Test flag | EDI4TEST | CHAR | 1 | EDI_TEST | ||||
IDOCTYP | Name of basic type | EDI4IDOCTP | CHAR | 30 | EDBAS | EDI_IDOCTP | |||
CIMTYP | Extension (defined by customer) | EDI4CIMTYP | CHAR | 30 | EDCIM | EDI_CIMTYP | |||
MESTYP | Message type | EDI4MESTYP | CHAR | 30 | EDMSG | EDI_MESTYP | MES | ||
MESCOD | Message code | EDI4MESCOD | CHAR | 3 | EDI_MESCOD | ||||
MESFCT | Message Function | EDI4MESFCT | CHAR | 3 | EDI_MESFCT | ||||
STD | EDI standard, flag | EDI4STD | CHAR | 1 | EDI_STD | ||||
STDVRS | EDI standard, version and release | EDI4STDVRS | CHAR | 6 | EDI_STDVRS | ||||
STDMES | EDI message type | EDI4STDMES | CHAR | 6 | EDI_STDMES | ||||
SNDPOR | Sender port (SAP System, external subsystem) | EDI4SNDPOR | CHAR | 10 | EDI_PORT | ||||
SNDPRT | Partner type of sender | EDI4SNDPRT | CHAR | 2 | EDI_PARTYP | ||||
SNDPFC | Partner Function of Sender | EDI4SNDPFC | CHAR | 2 | EDIPV | EDI_PARVW | |||
SNDPRN | Partner Number of Sender | EDI4SNDPRN | CHAR | 10 | Assigned to domain | ALPHA | EDI_PARNUM | ||
SNDSAD | Sender address (SADR) | EDI4SNDSAD | CHAR | 21 | CHAR21 | ||||
SNDLAD | Logical address of sender | EDI4SNDLAD | CHAR | 70 | EDI_LOGADR | ||||
RCVPOR | Receiver port | EDI4RCVPOR | CHAR | 10 | EDI_PORT | ||||
RCVPRT | Partner Type of Receiver | EDI4RCVPRT | CHAR | 2 | EDI_PARTYP | ||||
RCVPFC | Partner function of recipient | EDI4RCVPFC | CHAR | 2 | EDIPV | EDI_PARVW | |||
RCVPRN | Partner Number of Receiver | EDI4RCVPRN | CHAR | 10 | Assigned to domain | ALPHA | EDI_PARNUM | ||
RCVSAD | Recipient address (SADR) | EDI4RCVSAD | CHAR | 21 | CHAR21 | ||||
RCVLAD | Logical address of recipient | EDI4RCVLAD | CHAR | 70 | EDI_LOGADR | ||||
CREDAT | Created on | EDI4CREDAT | DATS | 8 | DATUM | ||||
CRETIM | Created at | EDI4CRETIM | TIMS | 6 | UZEIT | ||||
REFINT | Transmission file (EDI Interchange) | EDI4REFINT | CHAR | 14 | EDI_REFNUM | ||||
REFGRP | Message group (EDI Message Group) | EDI4REFGRP | CHAR | 14 | EDI_REFNUM | ||||
REFMES | Message (EDI Message) | EDI4REFMES | CHAR | 14 | EDI_REFNUM | ||||
ARCKEY | Key for external message archive | EDI4ARCKEY | CHAR | 70 | EDI_ARCKEY | ||||
SERIAL | Serialization | EDI4SERIAL | CHAR | 20 | CHAR20 |
Key field | Non-key field |
How do I retrieve data from SAP structure EDI_DC40 using ABAP code?
As EDI_DC40 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on EDI_DC40 as there is no data to select.How to access SAP table EDI_DC40
Within an ECC or HANA version of SAP you can also view further information about EDI_DC40 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects