EDI_DC40 SAP (IDoc Control Record for Interface to External System) Structure details

Dictionary Type: Structure
Description: IDoc Control Record for Interface to External System




ABAP Code to SELECT data from EDI_DC40
Related tables to EDI_DC40
Access table EDI_DC40




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
TABNAMName of Table Structure EDI4TABNAMCHAR10EDI_TABNAM
MANDTClient EDI4MANDTCLNT3T000MANDT
DOCNUMIDoc number EDI4DOCNUCCHAR16EDI_CHAR16
DOCRELSAP Release for IDoc EDI4DOCRELCHAR4SAPRL
STATUSStatus of IDoc EDI4STATUSCHAR2TEDS1EDI_STATUS
DIRECTDirection EDI4DIRECTCHAR1EDI_DIRECT
OUTMODOutput mode EDI4OUTMODCHAR1EDI_OUTMOD
EXPRSSOverriding in inbound processing EDI4EXPRSSCHAR1EDI_EXPRSS
TESTTest flag EDI4TESTCHAR1EDI_TEST
IDOCTYPName of basic type EDI4IDOCTPCHAR30EDBASEDI_IDOCTP
CIMTYPExtension (defined by customer) EDI4CIMTYPCHAR30EDCIMEDI_CIMTYP
MESTYPMessage type EDI4MESTYPCHAR30EDMSGEDI_MESTYPMES
MESCODMessage code EDI4MESCODCHAR3EDI_MESCOD
MESFCTMessage Function EDI4MESFCTCHAR3EDI_MESFCT
STDEDI standard, flag EDI4STDCHAR1EDI_STD
STDVRSEDI standard, version and release EDI4STDVRSCHAR6EDI_STDVRS
STDMESEDI message type EDI4STDMESCHAR6EDI_STDMES
SNDPORSender port (SAP System, external subsystem) EDI4SNDPORCHAR10EDI_PORT
SNDPRTPartner type of sender EDI4SNDPRTCHAR2EDI_PARTYP
SNDPFCPartner Function of Sender EDI4SNDPFCCHAR2EDIPVEDI_PARVW
SNDPRNPartner Number of Sender EDI4SNDPRNCHAR10Assigned to domainALPHAEDI_PARNUM
SNDSADSender address (SADR) EDI4SNDSADCHAR21CHAR21
SNDLADLogical address of sender EDI4SNDLADCHAR70EDI_LOGADR
RCVPORReceiver port EDI4RCVPORCHAR10EDI_PORT
RCVPRTPartner Type of Receiver EDI4RCVPRTCHAR2EDI_PARTYP
RCVPFCPartner function of recipient EDI4RCVPFCCHAR2EDIPVEDI_PARVW
RCVPRNPartner Number of Receiver EDI4RCVPRNCHAR10Assigned to domainALPHAEDI_PARNUM
RCVSADRecipient address (SADR) EDI4RCVSADCHAR21CHAR21
RCVLADLogical address of recipient EDI4RCVLADCHAR70EDI_LOGADR
CREDATCreated on EDI4CREDATDATS8DATUM
CRETIMCreated at EDI4CRETIMTIMS6UZEIT
REFINTTransmission file (EDI Interchange) EDI4REFINTCHAR14EDI_REFNUM
REFGRPMessage group (EDI Message Group) EDI4REFGRPCHAR14EDI_REFNUM
REFMESMessage (EDI Message) EDI4REFMESCHAR14EDI_REFNUM
ARCKEYKey for external message archive EDI4ARCKEYCHAR70EDI_ARCKEY
SERIALSerialization EDI4SERIALCHAR20CHAR20

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!