/MRE/SD_HEADR SAP (Retail execution order header details) Structure details

Dictionary Type: Structure
Description: Retail execution order header details




ABAP Code to SELECT data from /MRE/SD_HEADR
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_NUMBERSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
DOC_TYPESales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
SD_DOC_CATSD document category VBTYPCHAR1VBTYP
DOC_DATECharacter Field Length = 10 CHAR10CHAR10CHAR10
REQ_DATE_HCharacter Field Length = 10 CHAR10CHAR10CHAR10
PRICE_DATECharacter Field Length = 10 CHAR10CHAR10CHAR10
PRC_STAT_HOverall processing status of document GBSTKCHAR1STATV
DELIV_STATDelivery status LFSTKCHAR1STATV
OVERALLREJOverall rejection status of all document items ABSTKCHAR1STATV
ORD_REASONOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
SALES_ORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
GROSS_VALUECurrency amount for BAPIS (with 9 decimal places) BAPICUREXTDEC28(9) BAPICUREXT
DISCOUNTData Element Type CHAR Length 35 CHAR35CHAR35CHAR35
NET_VALUECurrency amount for BAPIS (with 9 decimal places) BAPICUREXTDEC28(9) BAPICUREXT
SURCHG_FEECurrency amount for BAPIS (with 9 decimal places) BAPICUREXTDEC28(9) BAPICUREXT
TAX_AMOUNTCurrency amount for BAPIS (with 9 decimal places) BAPICUREXTDEC28(9) BAPICUREXT
TOTALCurrency amount for BAPIS (with 9 decimal places) BAPICUREXTDEC28(9) BAPICUREXT
CURRENCYISO code currency WAERS_ISOCHAR3ISOCD
PRE_ORDERBoolean Variable (X=True, -=False, Space=Unknown) BOOLEANCHAR1BOOLEAN
SIMULATION_GUIDGUID in 'CHAR' Format in Uppercase GUID_32CHAR32SYSUUID_C
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
CAMPAIGNUUID in character form SYSUUID_CCHAR32SYSUUID_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 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!