MCEX_PO_HIST_MAA_S SAP (BW: Purchase Order History MAA) Structure details

Dictionary Type: Structure
Description: BW: Purchase Order History MAA




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




Structure field list including key, data, relationships and ABAP select examples

MCEX_PO_HIST_MAA_S 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 "BW: Purchase Order History MAA" 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_MCEX_PO_HIST_MAA_S TYPE MCEX_PO_HIST_MAA_S.

The MCEX_PO_HIST_MAA_S table consists of various fields, each holding specific information or linking keys about BW: Purchase Order History MAA data available in SAP. These include BEDAT (Purchasing Document Date), BSART (Purchasing Document Type), BSTYP (Purchasing Document Category), BUKRS (Company Code).. 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 MCEX_PO_HIST_MAA_S 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
BEDATPurchasing Document Date EBDATDATS8DATUM
BSARTPurchasing Document Type ESARTCHAR4Assigned to domainBSARTBSA
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EKGRPPurchasing Group BKGRPCHAR3Assigned to domainEKGRPEKG
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
KDATBStart of Validity Period KDATBDATS8DATUM
KDATEEnd of Validity Period KDATEDATS8DATUM
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
LIFREDifferent Invoicing Party LIFRECHAR10Assigned to domainALPHALIFNRLRE
LLIEFSupplying Vendor LLIEFCHAR10Assigned to domainALPHALIFNRLLI
LOGSYLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
ORGLOGSYLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
STATUStatus of Purchasing Document ESTAKCHAR1ESTAK
SYDATDate on which the purchasing document was entered MC_ERFDATDATS8DATUM
WAERSPurchase order currency BSTWACUKY5Assigned to domainWAERS
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
AFNAMName of Requisitioner/Requester AFNAMCHAR12AFNAM
AKTNRCOUPON WAKTIONCHAR10Assigned to domainALPHAWAKTIONWAK
BSGRUReason for Ordering BSGRUCHAR3BSGRU
BWAPPLNMApplication Component RSAPPLNMCHAR30RSAPPLNM
BWVORGSAP BW transaction key MCW_BWVORGNUMC3NUM3
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
EMATNMaterial Number EMATNRCHAR18Assigned to domainMATN1MATNRMAT
EREKZFinal Invoice Indicator EREKZCHAR1XFELD
KNTTPAccount Assignment Category KNTTPCHAR1Assigned to domainKNTTPKNT
KONNRNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
LMEINBase Unit of Measure LAGMEUNIT3Assigned to domainCUNITMEINS
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MEINSPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
NETPRNet price NETPRCURR11(2) WERTV6
PEINHPrice Unit PEINHDEC5PACK3
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
TWRKZPartial Invoice Indicator TWRKZCHAR1TWRKZ
TXZ01Short Text TXZ01CHAR40TEXT40
UMRENDenominator for Conversion of Order Unit to Base Unit UMBSNDEC5UMBSN
UMREZNumerator for Conversion of Order Unit to Base Unit UMBSZDEC5UMBSZ
VRTKZDistribution indicator for multiple account assignment VRTKZCHAR1VRTKZ
WEBREIndicator: GR-Based Invoice Verification WEBRECHAR1XFELD
WERKSPlant EWERKCHAR4Assigned to domainWERKSWRK
XERSYEvaluated Receipt Settlement (ERS) XERSYCHAR1XFELD
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
EMNFRExternal manufacturer code name or number EMNFRCHAR10CHAR10
EMPSTReceiving point EMPSTCHAR25TEXT25
AEDATDate on Which Record Was Created ERDATDATS8DATUM
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
EFFHWEffective order value in local currency MC_EFFHWCURR15(2) WERTV8
EFFWREffective order value MC_EFFWRCURR15(2) WERTV8
FIKRSFinancial Management Area FIKRSCHAR4Assigned to domainFIKRSFIK
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KBLNRDocument Number for Earmarked Funds KBLNRCHAR10Assigned to domainALPHAKBLNRKBL
KBLPOSEarmarked Funds: Document Item KBLPOSNUMC3Assigned to domainKBLPOSKBP
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
KTOPLChart of Accounts KTOPLCHAR4Assigned to domainKTOPLKPLC_KTOPL
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
NAVNWNon-deductible input tax NAVNWCURR13(2) WERT7
NETHWNet purchase local value (base unit) MC_NETHWCURR15(2) WERTV8
NETWRNet Order Value in PO Currency BWERTCURR13(2) WERT7
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
SAKTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
VBELPSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
VPROZPercentage for Account Assignment Value Distribution WPROZDEC4(1) DEC3_1
XBAUFPost To Order XBAUFCHAR1XFELD
XBKSTPosting to cost center? XBKSTCHAR1XFELD
XBPROPost to project XBPROCHAR1XFELD
ZEKKNSequential Number of Account Assignment DZEKKNNUMC2NUM02
MENGEQuantity MENGE_DQUAN13(3) MENG13
BLDATDocument Date in Document BLDATDATS8DATUM
BPWEBQuantity in Valuated GR Blocked Stock in Order Price Unit BPWEBQUAN13(3) MENG13
BPWESQuantity in GR blocked stock in order price unit BPWESQUAN13(3) MENG13
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
ETENSSequential Number of Vendor Confirmation ETENSNUMC4NUM04
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
GRUNDReason for manual valuation of net assets GRUNDCHAR3Assigned to domainGRUND
LEMINReturns Indicator SRVRETCHAR1XFELD
LSMEHUnit of Measure From Delivery Note LSMEHUNIT3Assigned to domainCUNITMEINS
LSMNGQuantity in Unit of Measure from Delivery Note LSMNGQUAN13(3) MENG13
WESBBValuated Goods Receipt Blocked Stock in Order Unit WESBBQUAN13(3) MENG13
WESBSGoods Receipt Blocked Stock in Order Unit WESBSQUAN13(3) MENG13
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
LFPOSItem of a Reference Document LFPOSNUMC4MBLPO
LFBNRDocument No. of a Reference Document LFBNRCHAR10ALPHABELNR
BEKKNNumber of PO Account Assignment BEKKNNUMC2NUM02
PACKNOPackage number PACKNONUMC10Assigned to domainPACKNO
INTROWInternal line number for limits INTROWNUMC10NUMC10
BEWTPPO history category BEWTPCHAR1Assigned to domainBEWTP
BUDATPosting Date in the Document BUDATDATS8DATUM
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
HSWAELocal currency key HSWAECUKY5Assigned to domainWAERS
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
SHKKODebit/Credit Indicator SHKZGCHAR1SHKZG
STUNRStep number STUNRNUMC3Assigned to domainSTUNR
ZAEHKCondition counter DZAEHKNUMC2ZAEHK
WAERS2Currency Key WAERSCUKY5Assigned to domainWAERSFWS
WAERS3Currency Key WAERSCUKY5Assigned to domainWAERSFWS
BPRMEOrder Price Unit (Purchasing) BPRMEUNIT3Assigned to domainCUNITMEINS
WAERS_EKBECurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WAERS_EKBZCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
VGABETransaction/event type, purchase order history VGABECHAR1VGABE
MENGE_ESKLQuantity MENGE_DQUAN13(3) MENG13
WPROZ_ESKLPercentage for Account Assignment Value Distribution WPROZDEC4(1) DEC3_1
NETWR_ESKLNet Value in Document Currency NETWRCURR15(2) WERTV8
AREW2_EKBEMAClearing Value on GR/IR Account in First ML Currency AREW2CURR13(2) WERT7
AREW3_EKBEMAClearing Value on GR/IR Account in Second ML Currency AREW3CURR13(2) WERT7
AREWB_EKBEMAClearing Value on GR/IR Account in PO Currency AREWBCURR13(2) WERT7
AREWR_EKBEMAGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
AREWW_EKBEMAClearing value on GR/IR clearing account (transac. currency) AREWWCURR13(2) WERT7
BPMNG_EKBEMAQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPMNG_F_EKBEMAQuantity in PO Price Unit (as Floating Point No. - Int. Fld) BPMNG_FFLTP16(16)
CURTP2_EKBEMACurrency Type and Valuation View CURTPCHAR2CURTP
CURTP3_EKBEMACurrency Type and Valuation View CURTPCHAR2CURTP
DMBT2_EKBEMAAmount in First ML Currency DMBT2CURR13(2) WERT7
DMBT3_EKBEMAAmount in Second ML Currency DMBT3CURR13(2) WERT7
DMBTR_EKBEMAAmount in Local Currency DMBTRCURR13(2) WERT7
KUDIF_EKBEMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
KUDIF2_EKBEMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
KUDIF3_EKBEMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
MENGE_EKBEMAQuantity MENGE_DQUAN13(3) MENG13
MENGE_F_EKBEMAQuantity (Floating Point Number - Internal Field) MENGE_FFLTP16(16)
REEWR_EKBEMAInvoice Value Entered (in Local Currency) REEWRCURR13(2) WRTV7
REFWR_EKBEMAInvoice value in foreign currency REFWRCURR13(2) WRTV7
REWRB_EKBEMAInvoice Amount in PO Currency REWRBCURR13(2) WERT7
AREW2_EKBZMAClearing Value on GR/IR Account in First ML Currency AREW2CURR13(2) WERT7
AREW3_EKBZMAClearing Value on GR/IR Account in Second ML Currency AREW3CURR13(2) WERT7
AREWB_EKBZMAClearing Value on GR/IR Account in PO Currency AREWBCURR13(2) WERT7
AREWR_EKBZMAGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
AREWW_EKBZMAClearing value on GR/IR clearing account (transac. currency) AREWWCURR13(2) WERT7
BPMNG_EKBZMAQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPMNG_F_EKBZMAQuantity in PO Price Unit (as Floating Point No. - Int. Fld) BPMNG_FFLTP16(16)
CURTP2_EKBZMACurrency Type and Valuation View CURTPCHAR2CURTP
CURTP3_EKBZMACurrency Type and Valuation View CURTPCHAR2CURTP
DMBT2_EKBZMAAmount in First ML Currency DMBT2CURR13(2) WERT7
DMBT3_EKBZMAAmount in Second ML Currency DMBT3CURR13(2) WERT7
DMBTR_EKBZMAAmount in Local Currency DMBTRCURR13(2) WERT7
KUDIF_EKBZMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
KUDIF2_EKBZMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
KUDIF3_EKBZMAExchange Rate Difference Amount KUDIFCURR13(2) WERT7
MENGE_EKBZMAQuantity MENGE_DQUAN13(3) MENG13
MENGE_F_EKBZMAQuantity (Floating Point Number - Internal Field) MENGE_FFLTP16(16)
REEWR_EKBZMAInvoice Value Entered (in Local Currency) REEWRCURR13(2) WRTV7
REFWR_EKBZMAInvoice value in foreign currency REFWRCURR13(2) WRTV7
REWRB_EKBZMAInvoice Amount in PO Currency REWRBCURR13(2) WERT7
AREWB_EKBEClearing Value on GR/IR Account in PO Currency AREWBCURR13(2) WERT7
AREWR_EKBEGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
AREWW_EKBEClearing value on GR/IR clearing account (transac. currency) AREWWCURR13(2) WERT7
BPMNG_EKBEQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
DMBTR_EKBEAmount in Local Currency DMBTRCURR13(2) WERT7
KUDIF_EKBEExchange Rate Difference Amount KUDIFCURR13(2) WERT7
MENGE_EKBEQuantity MENGE_DQUAN13(3) MENG13
REEWR_EKBEInvoice Value Entered (in Local Currency) REEWRCURR13(2) WRTV7
REFWR_EKBEInvoice value in foreign currency REFWRCURR13(2) WRTV7
REWRB_EKBEInvoice Amount in PO Currency REWRBCURR13(2) WERT7
AREWB_EKBZClearing Value on GR/IR Account in PO Currency AREWBCURR13(2) WERT7
AREWR_EKBZGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
AREWW_EKBZClearing value on GR/IR clearing account (transac. currency) AREWWCURR13(2) WERT7
KUDIF_EKBZExchange Rate Difference Amount KUDIFCURR13(2) WERT7
MENGE_EKBZQuantity MENGE_DQUAN13(3) MENG13
REEWR_EKBZInvoice Value Entered (in Local Currency) REEWRCURR13(2) WRTV7
REFWR_EKBZInvoice value in foreign currency REFWRCURR13(2) WRTV7
REWRB_EKBZInvoice Amount in PO Currency REWRBCURR13(2) WERT7
ROCANCELIndicator: Cancel Data Record ROCANCELCHAR1BOOLE
WRBTR_EKBEMAAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_EKBZMAAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_EKBEAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_EKBZAmount in document currency WRBTRCURR13(2) WERT7
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
KSCHLCondition Type KSCHLCHAR4Assigned to domainKSCHLVKS

Key field Non-key field



How do I retrieve data from SAP structure MCEX_PO_HIST_MAA_S using ABAP code?

As MCEX_PO_HIST_MAA_S 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 MCEX_PO_HIST_MAA_S as there is no data to select.

How to access SAP table MCEX_PO_HIST_MAA_S

Within an ECC or HANA version of SAP you can also view further information about MCEX_PO_HIST_MAA_S 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!