MC02M_1HDR SAP (Extraction Purchasing: Header Data) Structure details
Description: Extraction Purchasing: Header Data
Structure field list including key, data, relationships and ABAP select examples
MC02M_1HDR 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 "Extraction Purchasing: Header Data" 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_MC02M_1HDR TYPE MC02M_1HDR.
The MC02M_1HDR table consists of various fields, each holding specific information or linking keys about Extraction Purchasing: Header Data data available in SAP. These include ARECH (Number of invoices for vendors), BEDAT (Purchasing Document Date), BSART (Purchasing Document Type), BSTYP (Purchasing Document Category).. 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: Can be enhanced (character-type or numeric)
SAP MC02M_1HDR 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 |
ALIEF | Number of deliveries | MC_ALIEF | DEC | 9 | MCZAEHLER | ||||
ARECH | Number of invoices for vendors | MC_ARECH | INT4 | 10 | MCZAEHLINT | ||||
BEDAT | Purchasing Document Date | EBDAT | DATS | 8 | DATUM | ||||
BSART | Purchasing Document Type | ESART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BUDAT | Posting date of goods received or invoice receipt for order | MC_BUDAT | DATS | 8 | DATUM | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EKGRP | Purchasing Group | BKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
KDATB | Start of Validity Period | KDATB | DATS | 8 | DATUM | ||||
KDATE | End of Validity Period | KDATE | DATS | 8 | DATUM | ||||
LBLIF | Field not used | LBLIF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | |
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
LIFRE | Different Invoicing Party | LIFRE | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LRE | |
LLIEF | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI | |
LOGSY | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
ORGLOGSY | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
RESWK | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
STATU | Status of Purchasing Document | ESTAK | CHAR | 1 | ESTAK | ||||
SYDAT | Date on which the purchasing document was entered | MC_ERFDAT | DATS | 8 | DATUM | ||||
WAERS | Purchase order currency | BSTWA | CUKY | 5 | Assigned to domain | WAERS | |||
WKURS | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP |
Key field | Non-key field |
How do I retrieve data from SAP structure MC02M_1HDR using ABAP code?
As MC02M_1HDR 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 MC02M_1HDR as there is no data to select.How to access SAP table MC02M_1HDR
Within an ECC or HANA version of SAP you can also view further information about MC02M_1HDR 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