MSR1_ORDER_HEADER SAP (MSR: Sales Order Header) Structure details
Description: MSR: Sales Order Header
Related tables to MSR1_ORDER_HEADER
Access table MSR1_ORDER_HEADER
Structure field list including key, data, relationships and ABAP select examples
MSR1_ORDER_HEADER 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 "MSR: Sales Order 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_MSR1_ORDER_HEADER TYPE MSR1_ORDER_HEADER.
The MSR1_ORDER_HEADER table consists of various fields, each holding specific information or linking keys about MSR: Sales Order Header data available in SAP. These include REFOBJTYPE (Object Type), REFOBJKEY (Object key), REFDOCTYPE (Document type of reference object), DOC_TYPE (Sales Document Type).. 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: Not classified
SAP MSR1_ORDER_HEADER 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 |
SALESDOCUMENT | Sales Document | VBELN_VA | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
REFOBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
REFOBJKEY | Object key | SWO_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
REFDOCTYPE | Document type of reference object | REFDOCTYPE | CHAR | 10 | CHAR10 | ||||
DOC_TYPE | Sales Document Type | AUART | CHAR | 4 | TVAK | AUART | AUART | AAT | |
COLLECT_NO | Collective Number | SUBMI | CHAR | 10 | CHAR10 | ||||
SALES_ORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | TVKOV | VTWEG | VTW | C_VTWEG | |
DIVISION | Division | SPART | CHAR | 2 | TVTA | SPART | SPA | C_SPART | |
SALES_GRP | Sales Group | VKGRP | CHAR | 3 | TVBVK | VKGRP | VKG | ||
SALES_OFF | Sales Office | VKBUR | CHAR | 4 | TVKBZ | VKBUR | VKB | ||
REQ_DATE_H | Requested delivery date | EDATU_VBAK | DATS | 8 | DATUM | ||||
DATE_TYPE | Proposed date type | PRGRS_VBAK | CHAR | 1 | PRGRS | ||||
PURCH_DATE | Customer purchase order date | BSTDK | DATS | 8 | DATUM | ||||
PO_METHOD | Customer purchase order type | BSARK | CHAR | 4 | T176 | BSARK | |||
PO_SUPPLEM | Purchase order number supplement | BSTZD | CHAR | 4 | BSTZD | ||||
REF_1 | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
NAME | Name of orderer | BNAME_V | CHAR | 35 | NAME | ||||
TELEPHONE | Telephone Number | TELF1_VP | CHAR | 16 | TELF1 | ||||
PRICE_GRP | Price group (customer) | KONDA | CHAR | 2 | T188 | KONDA | VKA | ||
CUST_GROUP | Customer group | KDGRP | CHAR | 2 | T151 | KDGRP | VKD | ||
SALES_DIST | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
PRICE_LIST | Price list type | PLTYP | CHAR | 2 | T189 | PLTYP | VPL | ||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | TINC | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
DLV_BLOCK | Delivery block (document header) | LIFSK | CHAR | 2 | TVLS | LIFSP | |||
BILL_BLOCK | Billing block in SD document | FAKSK | CHAR | 2 | TVFS | FAKSP | |||
ORD_REASON | Order reason (reason for the business transaction) | AUGRU | CHAR | 3 | TVAU | AUGRU | |||
COMPL_DLV | Complete delivery defined for each sales order? | AUTLF | CHAR | 1 | XFELD | ||||
PRICE_DATE | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
QT_VALID_F | Quotation/Inquiry is valid from | ANGDT_V | DATS | 8 | DATUM | ||||
QT_VALID_T | Date until which bid/quotation is binding (valid-to date) | BNDDT | DATS | 8 | DATUM | ||||
CT_VALID_F | Valid-from date (outline agreements, product proposals) | GUEBG | DATS | 8 | DATUM | ||||
CT_VALID_T | Valid-to date (outline agreements, product proposals) | GUEEN | DATS | 8 | DATUM | ||||
CUST_GRP1 | Customer group 1 | KVGR1 | CHAR | 3 | TVV1 | KVGR1 | |||
CUST_GRP2 | Customer group 2 | KVGR2 | CHAR | 3 | TVV2 | KVGR2 | |||
CUST_GRP3 | Customer group 3 | KVGR3 | CHAR | 3 | TVV3 | KVGR3 | |||
CUST_GRP4 | Customer group 4 | KVGR4 | CHAR | 3 | TVV4 | KVGR4 | |||
CUST_GRP5 | Customer group 5 | KVGR5 | CHAR | 3 | TVV5 | KVGR5 | |||
PURCH_NO_C | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
PURCH_NO_S | Ship-to Party's Purchase Order Number | BSTKD_E | CHAR | 35 | BSTKD | ||||
PO_DAT_S | Ship-to party's PO date | BSTDK_E | DATS | 8 | DATUM | ||||
PO_METH_S | Ship-to party purchase order type | BSARK_E | CHAR | 4 | T176 | BSARK | |||
REF_1_S | Ship-to party character | IHREZ_E | CHAR | 12 | TEXT12 | ||||
SD_DOC_CAT | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
DOC_DATE | Document Date (Date Received/Sent) | AUDAT | DATS | 8 | DATUM | ||||
WAR_DATE | Warranty Date | GWLDT | DATS | 8 | DATUM | ||||
SHIP_COND | Shipping Conditions | VSBED | CHAR | 2 | TVSB | VSBED | |||
PP_SEARCH | Search term for product proposal | KTEXT_V | CHAR | 40 | TEXT40 | ||||
DUN_COUNT | Number of contacts from the customer | MAHZA | DEC | 3 | PACK2 | ||||
DUN_DATE | Last customer contact date | MAHDT | DATS | 8 | DATUM | ||||
DLVSCHDUSE | Usage Indicator | ABRVW | CHAR | 3 | TVLV | ABRVW | |||
PLDLVSTYP | MRP for delivery schedule types | ABDIS | CHAR | 1 | ABRAB | ||||
REF_DOC | Document number of the reference document | VGBEL | CHAR | 10 | VBUK | ALPHA | VBELN | ||
COMP_CDE_B | Company code to be billed | BUKRS_VF | CHAR | 4 | T001 | BUKRS | BUK | ||
ALTTAX_CLS | Alternative tax classification | TAXK1_AK | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS2 | Tax classification 2 for customer | TAXK2 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS3 | Tax classification 3 for customer | TAXK3 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS4 | Tax Classification 4 Customer | TAXK4 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS5 | Tax classification 5 for customer | TAXK5 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS6 | Tax classification 6 for customer | TAXK6 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS7 | Tax classification 7 for customer | TAXK7 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS8 | Tax classification 8 for customer | TAXK8 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS9 | Tax classification 9 for customer | TAXK9 | CHAR | 1 | TSKD | TAXKD | |||
REF_DOC_L | Reference Document Number | XBLNR_V | CHAR | 16 | XBLNR | ||||
ASS_NUMBER | Assignment number | ORDNR_V | CHAR | 18 | ZUONR | ||||
REFDOC_CAT | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
ORDCOMB_IN | Order Combination Indicator | KZAZU_D | CHAR | 1 | XFELD | ||||
BILL_SCHED | Invoice dates (calendar identification) | PERFK | CHAR | 2 | TFACD | WFCID | |||
INVO_SCHED | Invoice list schedule (calendar identification) | PERRL | CHAR | 2 | TFACD | WFCID | |||
MN_INVOICE | Manual invoice maintenance | MRNKZ | CHAR | 1 | XFELD | ||||
EXRATE_FI | Directly quoted exchange rate for FI postings | KURRF_P | DEC | 9(5) | EXCRT | KURSP | |||
ADD_VAL_DY | Additional value days | VALTG | NUMC | 2 | TAGE2 | ||||
FIX_VAL_DY | Fixed value date | VALDT | DATS | 8 | DATUM | ||||
PYMT_METH | Payment Method | DZLSCH | CHAR | 1 | T042Z | ZLSCH | |||
ACCNT_ASGN | Account assignment group for this customer | KTGRD | CHAR | 2 | TVKT | KTGRD | |||
EXCHG_RATE | Directly quoted exchange rate for pricing and statistics | KURSK_P | DEC | 9(5) | PKURS | ||||
BILL_DATE | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
SERV_DATE | Date on which services rendered | FBUDA | DATS | 8 | DATUM | ||||
DUNN_KEY | Dunning key | MSCHL | CHAR | 1 | T040 | MSCHL | |||
DUNN_BLOCK | Dunning block | MANSP | CHAR | 1 | T040S | MANSP | |||
PMTGAR_PRO | Payment guarantee procedure | ABSSCHE_CM | CHAR | 6 | ABSSCHE_CM | ||||
DEPARTM_NO | Department number | ABTNR | CHAR | 4 | TSAB | ABTNR | |||
REC_POINT | Receiving point | EMPST | CHAR | 25 | TEXT25 | ||||
DOC_NUM_FI | Financial doc. processing: Internal financial doc. number | LCNUM | CHAR | 10 | Assigned to domain | ALPHA | LCNUM | AKN | |
CSTCNDGRP1 | Customer condition group 1 | KDKG1 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP2 | Customer condition group 2 | KDKG2 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP3 | Customer condition group 3 | KDKG3 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP4 | Customer condition group 4 | KDKG4 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP5 | Customer condition group 5 | KDKG5 | CHAR | 2 | TVKGG | KDKGR | |||
DLV_TIME | Agreed delivery time | DELCO | CHAR | 3 | TVDC | DELCO | |||
CURRENCY | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
CURR_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
TAXDEP_CTY | Tax departure country | LANDTX | CHAR | 3 | T005 | LAND1 | LND | ||
TAXDST_CTY | Tax Destination Country | LAND1TX | CHAR | 3 | T005 | LAND1 | LND | ||
EUTRI_DEAL | Indicator: Triangular deal within the EU ? | XEGDR | CHAR | 1 | XFELD | ||||
MAST_CONTR | Mster contract number | VBELN_GRP | CHAR | 10 | VBUK | ALPHA | VBELN | ||
REF_PROC | Referencing requirement: Procedure | SCHEME_GRP | CHAR | 4 | TVGRPS | SCHEME_GRP | |||
CHKPRTAUTH | Check partner authorizations | ABRUF_PART | CHAR | 1 | ABRUF_PART | ||||
CMLQTY_DAT | Cml delivery order qty date | DAT_FZAU | DATS | 8 | DATUM | ||||
VERSION | Sales document version number | VSNMR_V | CHAR | 12 | VSNMR | ||||
NOTIF_NO | Notification No | QMNUM | CHAR | 12 | Assigned to domain | ALPHA | QMNUM | IQM | |
WBS_ELEM | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
EXCH_RATE_FI_V | Indirectly quoted exchange rate for FI postings | KURRF_V | DEC | 9(5) | EXCRT | KURSP | |||
EXCHG_RATE_V | Indirectly quoted exchange rate for pricing and statistics | KURSK_V | DEC | 9(5) | PKURS | ||||
FKK_CONACCT | Character field of length 12 | CHAR012 | CHAR | 12 | CHAR12 | ||||
DOC_CLASS | Original system with release and transaction control | VBKLA | CHAR | 9 | CHAR9 | ||||
H_CURR | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
H_CURR_ISO | ISO currency code | ISOCD | CHAR | 3 | ISOCD | ||||
SHIP_TYPE | Shipping type | VSARTTR | CHAR | 2 | T173 | VERSART | |||
S_PROC_IND | Special processing indicator | SDABW | CHAR | 4 | TVSAK | SDABW | |||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PARTNER_SOLD | Customer number of business partner | KUNN2 | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
PARTNER_BILL | Customer number of business partner | KUNN2 | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
PARTNER_PAY | Customer number of business partner | KUNN2 | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
PARTNER_SHIP | Customer number of business partner | KUNN2 | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
PARTNER_EMPLOYEE | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
PAR_EMP_USERNAME | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
TEXT | Text of length 1000 | TEXT1000 | CHAR | 1000 | TEXT1000 | ||||
UNIT_SPLIT | Dummy for B20 int1 (Local Everywhere) | INT1 | INT1 | 3 | INT1 | ||||
STATUS_DOCUMENT | Overall processing status of document | GBSTK | CHAR | 1 | STATV | ||||
STATUS_DELIVERY | Overall delivery status for all items | LKGSK | CHAR | 1 | STATV | ||||
STATUS_BILLING | Billing status (order-related billing document) | FKSAK | CHAR | 1 | STATV | ||||
STATUS_DOC_TEXT | Short Text for Fixed Values | VAL_TEXT | CHAR | 60 | DDTEXT | ||||
STATUS_DEL_TEXT | Short Text for Fixed Values | VAL_TEXT | CHAR | 60 | DDTEXT | ||||
STATUS_BIL_TEXT | Short Text for Fixed Values | VAL_TEXT | CHAR | 60 | DDTEXT | ||||
NET_VALUE | Currency amount in BAPI interfaces | BAPICURR_D | DEC | 23(4) | BAPICURR | ||||
TAX_RATE | Currency amount in BAPI interfaces | BAPICURR_D | DEC | 23(4) | BAPICURR |
Key field | Non-key field |
How do I retrieve data from SAP structure MSR1_ORDER_HEADER using ABAP code?
As MSR1_ORDER_HEADER 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 MSR1_ORDER_HEADER as there is no data to select.How to access SAP table MSR1_ORDER_HEADER
Within an ECC or HANA version of SAP you can also view further information about MSR1_ORDER_HEADER 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