MC02MA1EKO SAP (Purchasing Document Header) Structure details

Dictionary Type: Structure
Description: Purchasing Document Header




ABAP Code to SELECT data from MC02MA1EKO
Related tables to MC02MA1EKO
Access table MC02MA1EKO




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
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BSARTPurchasing Document Type ESARTCHAR4Assigned to domainBSARTBSA
BSAKZControl indicator for purchasing document type BSAKZCHAR1BSAKZ
LOEKZ_HEADDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
EKGRPPurchasing Group BKGRPCHAR3Assigned to domainEKGRPEKG
WAERSPurchase order currency BSTWACUKY5Assigned to domainWAERS
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
KUFIXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
BEDATPurchasing Document Date EBDATDATS8DATUM
LLIEFSupplying Vendor LLIEFCHAR10Assigned to domainALPHALIFNRLLI
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
LBLIFField not used LBLIFCHAR10Assigned to domainALPHALIFNRLIF
KTWRTTarget Value for Header Area per Distribution KTWRTCURR15(2) WERT15
SUBMICollective Number SUBMICHAR10CHAR10
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
STAFO_HEADUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
LIFREDifferent Invoicing Party LIFRECHAR10Assigned to domainALPHALIFNRLRE
FRGRLRelease Not Yet Completely Effected FRGRLCHAR1XFELD
STAKODocument with time-dependent conditions STAKOCHAR1XFELD
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6Assigned to domainKALSM
KORNRCorrection of miscellaneous provisions KORNRCHAR1KORNR
RESBUCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KONZSGroup key KONZSCHAR10KONZS
LAND1Country key of vendor MCLANDLCHAR3T005LAND1LND
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
SYDATDate on which the purchasing document was entered MC_ERFDATDATS8DATUM
KZKPFIndicator: header counter relevant (R/2->R/3 link) MC_KZKPFCHAR1X
BUDATPosting date of goods received or invoice receipt for order MC_BUDATDATS8DATUM
ARECHNumber of invoices for vendors MC_ARECHINT410MCZAEHLINT
AGUTSNumber of credit memos for vendors MC_AGUTSINT410MCZAEHLINT

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 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!