MC02MA1EKO SAP (Purchasing Document Header) Structure details
Description: Purchasing Document Header
Structure field list including key, data, relationships and ABAP select examples
MC02MA1EKO 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 "Purchasing Document 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_MC02MA1EKO TYPE MC02MA1EKO.
The MC02MA1EKO table consists of various fields, each holding specific information or linking keys about Purchasing Document Header data available in SAP. These include BUKRS (Company Code), BSTYP (Purchasing Document Category), BSART (Purchasing Document Type), BSAKZ (Control indicator for purchasing 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: Can Be Enhanced (Deep)
SAP MC02MA1EKO 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 |
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BSART | Purchasing Document Type | ESART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
BSAKZ | Control indicator for purchasing document type | BSAKZ | CHAR | 1 | BSAKZ | ||||
LOEKZ_HEAD | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
EKGRP | Purchasing Group | BKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
WAERS | Purchase order currency | BSTWA | CUKY | 5 | Assigned to domain | WAERS | |||
WKURS | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
KUFIX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
BEDAT | Purchasing Document Date | EBDAT | DATS | 8 | DATUM | ||||
LLIEF | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI | |
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
RESWK | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
LBLIF | Field not used | LBLIF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | |
KTWRT | Target Value for Header Area per Distribution | KTWRT | CURR | 15(2) | WERT15 | ||||
SUBMI | Collective Number | SUBMI | CHAR | 10 | CHAR10 | ||||
KNUMV | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
STAFO_HEAD | Update group for statistics update | STAFO | CHAR | 6 | Assigned to domain | ALPHA | STAFO | MCF | |
LIFRE | Different Invoicing Party | LIFRE | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LRE | |
FRGRL | Release Not Yet Completely Effected | FRGRL | CHAR | 1 | XFELD | ||||
STAKO | Document with time-dependent conditions | STAKO | CHAR | 1 | XFELD | ||||
KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | Assigned to domain | KALSM | |||
KORNR | Correction of miscellaneous provisions | KORNR | CHAR | 1 | KORNR | ||||
RESBU | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
KONZS | Group key | KONZS | CHAR | 10 | KONZS | ||||
LAND1 | Country key of vendor | MCLANDL | CHAR | 3 | T005 | LAND1 | LND | ||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
SYDAT | Date on which the purchasing document was entered | MC_ERFDAT | DATS | 8 | DATUM | ||||
KZKPF | Indicator: header counter relevant (R/2->R/3 link) | MC_KZKPF | CHAR | 1 | X | ||||
BUDAT | Posting date of goods received or invoice receipt for order | MC_BUDAT | DATS | 8 | DATUM | ||||
ARECH | Number of invoices for vendors | MC_ARECH | INT4 | 10 | MCZAEHLINT | ||||
AGUTS | Number of credit memos for vendors | MC_AGUTS | INT4 | 10 | MCZAEHLINT |
Key field | Non-key field |
How do I retrieve data from SAP structure MC02MA1EKO using ABAP code?
As MC02MA1EKO 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 MC02MA1EKO as there is no data to select.How to access SAP table MC02MA1EKO
Within an ECC or HANA version of SAP you can also view further information about MC02MA1EKO 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