SXMS_MSGHDR30_IDOC SAP (XI: IDoc Header) Structure details
Description: XI: IDoc Header
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 | ||||||||
TABNAM | Name of Table Structure | EDI4TABNAM | CHAR | 10 | EDI_TABNAM | ||||
MANDT | Client | EDI4MANDT | CLNT | 3 | 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 | 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 | EDI_IDOCTP | ||||
CIMTYP | Extension (defined by customer) | EDI4CIMTYP | CHAR | 30 | EDI_CIMTYP | ||||
MESTYP | Message type | EDI4MESTYP | CHAR | 30 | 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 | 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 | 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 | ||||
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 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