SXMS_MSGHDR30_IDOC SAP (XI: IDoc Header) Structure details

Dictionary Type: Structure
Description: XI: IDoc Header




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




Structure field list including key, data, relationships and ABAP select examples

SXMS_MSGHDR30_IDOC 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 "XI: IDoc Header" 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_SXMS_MSGHDR30_IDOC TYPE SXMS_MSGHDR30_IDOC.

The SXMS_MSGHDR30_IDOC table consists of various fields, each holding specific information or linking keys about XI: IDoc Header data available in SAP. These include TABNAM (Name of Table Structure), MANDT (Client), DOCNUM (IDoc number), DOCREL (SAP Release for 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 SXMS_MSGHDR30_IDOC 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
IDOCPARAM 0
TABNAMName of Table Structure EDI4TABNAMCHAR10EDI_TABNAM
MANDTClient EDI4MANDTCLNT3MANDT
DOCNUMIDoc number EDI4DOCNUCCHAR16EDI_CHAR16
DOCRELSAP Release for IDoc EDI4DOCRELCHAR4SAPRL
STATUSStatus of IDoc EDI4STATUSCHAR2EDI_STATUS
DIRECTDirection EDI4DIRECTCHAR1EDI_DIRECT
OUTMODOutput mode EDI4OUTMODCHAR1EDI_OUTMOD
EXPRSSOverriding in inbound processing EDI4EXPRSSCHAR1EDI_EXPRSS
TESTTest flag EDI4TESTCHAR1EDI_TEST
IDOCTYPName of basic type EDI4IDOCTPCHAR30EDI_IDOCTP
CIMTYPExtension (defined by customer) EDI4CIMTYPCHAR30EDI_CIMTYP
MESTYPMessage type EDI4MESTYPCHAR30EDI_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 EDI4SNDPRNCHAR10ALPHAEDI_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 EDI4RCVPRNCHAR10ALPHAEDI_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
IDX_PACK_T 0
IDX_ALEAUD_T 0

Key field Non-key field



How do I retrieve data from SAP structure SXMS_MSGHDR30_IDOC using ABAP code?

As SXMS_MSGHDR30_IDOC 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 SXMS_MSGHDR30_IDOC as there is no data to select.

How to access SAP table SXMS_MSGHDR30_IDOC

Within an ECC or HANA version of SAP you can also view further information about SXMS_MSGHDR30_IDOC 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!