/MRE/SD_HEADR SAP (Retail execution order header details) Structure details
Description: Retail execution order header details
Related tables to /MRE/SD_HEADR
Access table /MRE/SD_HEADR
Structure field list including key, data, relationships and ABAP select examples
/MRE/SD_HEADR 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 "Retail execution order header details" 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_/MRE/SD_HEADR TYPE /MRE/SD_HEADR.
The /MRE/SD_HEADR table consists of various fields, each holding specific information or linking keys about Retail execution order header details data available in SAP. These include DOC_TYPE (Sales Document Type), SD_DOC_CAT (SD document category), DOC_DATE (Character Field Length = 10), REQ_DATE_H (Character Field Length = 10).. 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 /MRE/SD_HEADR 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 |
DOC_NUMBER | Sales Document | VBELN_VA | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
DOC_TYPE | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
SD_DOC_CAT | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
DOC_DATE | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
REQ_DATE_H | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
PRICE_DATE | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
PRC_STAT_H | Overall processing status of document | GBSTK | CHAR | 1 | STATV | ||||
DELIV_STAT | Delivery status | LFSTK | CHAR | 1 | STATV | ||||
OVERALLREJ | Overall rejection status of all document items | ABSTK | CHAR | 1 | STATV | ||||
ORD_REASON | Order reason (reason for the business transaction) | AUGRU | CHAR | 3 | Assigned to domain | AUGRU | |||
SALES_ORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
DIVISION | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
GROSS_VALUE | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
DISCOUNT | Data Element Type CHAR Length 35 | CHAR35 | CHAR | 35 | CHAR35 | ||||
NET_VALUE | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
SURCHG_FEE | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
TAX_AMOUNT | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
TOTAL | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
CURRENCY | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
PRE_ORDER | Boolean Variable (X=True, -=False, Space=Unknown) | BOOLEAN | CHAR | 1 | BOOLEAN | ||||
SIMULATION_GUID | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | SYSUUID_C | ||||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
CAMPAIGN | UUID in character form | SYSUUID_C | CHAR | 32 | SYSUUID_C |
Key field | Non-key field |
How do I retrieve data from SAP structure /MRE/SD_HEADR using ABAP code?
As /MRE/SD_HEADR 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 /MRE/SD_HEADR as there is no data to select.How to access SAP table /MRE/SD_HEADR
Within an ECC or HANA version of SAP you can also view further information about /MRE/SD_HEADR 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