MCEKPO_B SAP (Reference Structure of MCEKPO for Function Module) Structure details

Dictionary Type: Structure
Description: Reference Structure of MCEKPO for Function Module




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




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

MCEKPO_B 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 "Reference Structure of MCEKPO for Function Module" 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_MCEKPO_B TYPE MCEKPO_B.

The MCEKPO_B table consists of various fields, each holding specific information or linking keys about Reference Structure of MCEKPO for Function Module data available in SAP. These include SUPKZ (Statistics update indicator (post in/post out)), MANDT (Client), EBELN (Purchasing Document Number), EBELP (Item Number of Purchasing Document).. 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 MCEKPO_B 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
SUPKZStatistics update indicator (post in/post out) SUPKZCHAR1SUPKZ
MANDTClient MANDTCLNT3T000MANDT
EBELNPurchasing Document Number EBELNCHAR10EKKOALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5EKPOEBELPBSP
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
STATURFQ status ASTATCHAR1ASTAT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
EMATNMaterial Number EMATNRCHAR18MARAMATN1MATNRMAT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
WERKSPlant EWERKCHAR4T001WWERKSWRK
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
INFNRNumber of Purchasing Info Record INFNRCHAR10EINAALPHAINFNRINFMEIN_C
KTMNGTarget Quantity KTMNGQUAN13(3) MENGE
MENGEPurchase Order Quantity BSTMGQUAN13(3) MENG13
MEINSPurchase Order Unit of Measure BSTMEUNIT3T006CUNITMEINS
BPRMEOrder Price Unit (Purchasing) BBPRMUNIT3Assigned to domainCUNITMEINS
BPUMZNumerator for Conversion of Order Price Unit into Order Unit BPUMZDEC5UMBSZ
BPUMNDenominator for Conv. of Order Price Unit into Order Unit BPUMNDEC5UMBSN
UMREZNumerator for Conversion of Order Unit to Base Unit UMBSZDEC5UMBSZ
UMRENDenominator for Conversion of Order Unit to Base Unit UMBSNDEC5UMBSN
NETWR_RNet value of returns MC_NETWR_RCURR15(2) WERTV8
NETWRNet order value in order currency MC_BNETWRCURR13(2) WERT7
BRTWR_RGross order value (returns) MC_BRTWR_RCURR15(2) WERTV8
BRTWRGross order value in order currency MC_BBRTWRCURR13(2) WERT7
MWSKZTax on sales/purchases code MWSKZCHAR2T007AMWSKZ
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
EREKZFinal Invoice Indicator EREKZCHAR1XFELD
PSTYPItem Category in Purchasing Document PSTYPCHAR1T163PSTYP
KNTTPAccount Assignment Category KNTTPCHAR1T163KKNTTPKNT
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
REPOSInvoice Receipt Indicator REPOSCHAR1XFELD
KONNRNumber of Principal Purchase Agreement KONNRCHAR10EKKOALPHAEBELNKTR
LMEINBase Unit of Measure LAGMEUNIT3T006CUNITMEINS
ZWERTTarget Value for Outline Agreement in Document Currency DZWERTCURR13(2) WERT7
NAVNWNon-deductible input tax NAVNWCURR13(2) WERT7
EFFWR_REffective order value of returns MC_EFFWR_RCURR15(2) WERTV8
EFFWREffective value of item EFFWRCURR13(2) WERT7
BSTAEConfirmation Control Key BSTAECHAR4T163LBSTAE
MEPRFPrice Determination (Pricing) Date Control MEPRFCHAR1MEPRF
STAFOUpdate group for statistics update STAFOCHAR6TMCBALPHASTAFOMCF
NTGEWNet Weight ENTGEQUAN13(3) MENG13
BRGEWGross Weight BRGEWQUAN13(3) MENG13
GEWEIUnit of Weight EGEWEUNIT3T006CUNITMEINS
VOLUMVolume VOLUMQUAN13(3) MENG13
VOLEHVolume unit VOLEHUNIT3T006CUNITMEINS
SATNRCross-Plant Configurable Material SATNRCHAR18MARAMATN1MATNR
AKTNRCOUPON WAKTIONCHAR10WAKHALPHAWAKTIONWAK
ANZPUNumber of Points ANZPUQUAN13(3) MENG13
PUNEIPoints unit PUNEIUNIT3T006CUNITMEINS
EBONFItem Relevant to Subsequent (Period-End Rebate) Settlement EBONYCHAR1XFELD
LTSNRVendor Subrange LTSNRCHAR6WYT1LTSNR
KZWI1Subtotal 1 from pricing procedure for condition KZWI1CURR13(2) WERTV7
KZWI2Subtotal 2 from pricing procedure for condition KZWI2CURR13(2) WERTV7
KZWI3Subtotal 3 from pricing procedure for condition KZWI3CURR13(2) WERTV7
KZWI4Subtotal 4 from pricing procedure for condition KZWI4CURR13(2) WERTV7
KZWI5Subtotal 5 from pricing procedure for condition KZWI5CURR13(2) WERTV7
KZWI6Subtotal 6 from pricing procedure for condition KZWI6CURR13(2) WERTV7
RETPOReturns Item RETPOCHAR1XFELD
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
BWTARValuation Type BWTAR_DCHAR10T149DBWTARBWT
MFRPNManufacturer Part Number MFRPNCHAR40CHAR40
MFRNRNumber of a Manufacturer MFRNRCHAR10Assigned to domainALPHALIFNR
MPROFManufacturer Part Profile MPROFCHAR4Assigned to domainMPROF
EGLKZ'Outward Delivery Completed' Indicator EGLKZCHAR1XFELD
EMNFRExternal manufacturer code name or number EMNFRCHAR10CHAR10
PRDATDate of Price Determination PREDTDATS8DATUM
STAPOItem is statistical STAPOCHAR1XFELD
FPLNRInvoicing plan number IPLNRCHAR10CHAR10
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
VRTKZDistribution indicator for multiple account assignment VRTKZCHAR1VRTKZ
TWRKZPartial Invoice Indicator TWRKZCHAR1TWRKZ
ESOKZPurchasing info record category ESOKZCHAR1ESOKZESO
ALIEFNumber of deliveries MC_ALIEFDEC9MCZAEHLER
LFZTATotal delivery time in days MC_LFZTADEC13DECV13
AKTWECurrent goods receipt quantity in order unit MC_AKTWEQUAN13(3) MENG13
KZTABIndicator: relevant schedule deviation MC_KZTABCHAR1CHAR1
TABWDelivery Date Variance in Days MC_TABWDEC3PL2
KZMABIndicator: relevant quantity deviation MC_KZMABCHAR1CHAR1
MABWVariance in the quantity delivered as % MC_MABWDEC6(2) PRZ32V
PWTTPoints score for on-time delivery performance MC_PWTTDEC3DEC3
KZAVIIndicator: Update shipping notification MC_KZAVICHAR1CHAR1
LAVIPoints score: Shipping notification MC_LAVIDEC3DEC3
ALAVPoints score: Shipping notif. GR date - notified date MC_ALAVDEC3DEC3
PWMTPoints score for quantity reliability MC_PWMTDEC3DEC3
KZWEVIndicator: compliance with GR shipping instructions MC_KZWEVCHAR1CHAR1
PWEVPoints score for compliance with shipping instructions MC_PWEVDEC3DEC3
PWWEPoints score for quality of services MC_PWWEDEC3DEC3
PWFRPoints score for on-time delivery MC_PWFRDEC3DEC3
PWQAPoints score for quality audit MC_PWQADEC3DEC3
KZPOSIndicator: item counter relevant (R/2->R/3 link, schd.agmt) MC_KZPOSCHAR1X
KZKPOIndicator for updating number of contract items MC_KZKPOCHAR1CHAR1
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
BZIRKSales district BZIRKCHAR6T171BZIRKBZI
DISPOMRP Controller (Materials Planner) DISPOCHAR3T024DDISPODGRHS_T024D
BTRKZPlant category VLFKZCHAR1VLFKZ
ABTNRDepartment number ABTNRCHAR4TSABABTNR
WGRU2Material group hierarchy 2 MCW_WGRU2CHAR18KLASSEWGRU2
WGRU1Material group hierarchy 1 MCW_WGRU1CHAR18KLASSEWGRU1
PRDHAProduct hierarchy PRODH_DCHAR18T179PRODHVPR
MERK1Characteristic 1 MCW_MERK1CHAR30ATWRT
MERK2Characteristic 2 MCW_MERK2CHAR30ATWRT
MERK3Characteristic 3 MCW_MERK3CHAR30ATWRT
AKTYPPromotion Category W_AKTYPCHAR4TWTYAKTTY
AKTHEPromotion theme W_AKTHECHAR4TWATTHEMA
PLGTPPrice Band Category PLGTPCHAR2TWPTPLGTP
SAISOSeason Category SAISOCHAR4T6WSPSAISOSAISO
SAISJSeason Year SAISJCHAR4GJAHRCJAHRWMSAISJ
BWVORProcurement rule BWVORCHAR1T6WP1BWVOR
BWSCLSource of Supply BWSCLCHAR1T6WP2BQSCL
SERVGIS-R service level W_SERVGRDCHAR1TWSGW_SERVGRD
WRKGR2Plant group hierarchy 2 MCW_WRKGR2CHAR18KLASSE
WRKGR1Plant group hierarchy 1 MCW_WRKGR1CHAR18KLASSE
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
WMAKGMaterial type ID WMAKCHAR1WMAK
RLIFNRAccount number of regular vendor MCW_RLIFNCHAR10LFA1ALPHALIFNRLIF
LAND1Country of regular vendor MCW_LANDRLCHAR3T005LAND1
RLTSNRVendor sub-range at regular vendor MCW_LTSNRCHAR6Assigned to domainLTSNR
RKOLIFPrior vendor of regular vendor MCW_KOLIFCHAR10Assigned to domainALPHALIFNR
RIDNLFMaterial number at regular vendor MCW_IDNLFCHAR35IDNEX
EKORGMaster data: purchasing organization (Retail) MCW_SEKORGCHAR4T024EEKORGEKO
EKSGBPurchasing area EKSGBCHAR4T026EKSGB
EKGRPMaster data: purchasing group (Retail) MCW_SEKGRPCHAR3T024EKGRPEKG
SMATKLMaster data: material group (Retail) MCW_SMATKLCHAR9T023MATKLMKL
SEAN11European article number (master data) SEAN11CHAR18EAN11EAN11EAN
IDNLFMaterial Number Used by Vendor IDNLFCHAR35IDNEX
KOLIFPrior Vendor KOLIFCHAR10LFA1ALPHALIFNR
ATINM1Internal characteristic number, characteristic 1 MCW_ATINM1NUMC10Assigned to domainATINNATINN
ATINM2Internal characteristic number, characteristic 2 MCW_ATINM2NUMC10Assigned to domainATINNATINN
ATINM3Internal characteristic number, characteristic 3 MCW_ATINM3NUMC10Assigned to domainATINNATINN
ULEKGRPMaster data: purchasing group (Retail) MCW_SEKGRPCHAR3T024EKGRPEKG
ULEKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
ULVKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
ULVTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
ULBZIRKSales district BZIRKCHAR6T171BZIRKBZI
ULBTRKZPlant category VLFKZCHAR1VLFKZ
STRNRStructured material STRNRCHAR18MARAMATN1MATNR
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
SSTUFAssortment grade SSTUFCHAR2TWSSSSTUF
BVLMNGOrder volume quantity Retail MCW_BVLMNGQUAN15(3) MENGV15_3
BVLGEOOrder volume at cost MCW_BVLGEOCURR19(2) WERTV10
BVLGVOOrder volume at retail MCW_BVLGVOCURR19(2) WERTV10
BVLGVPOrder volume at retail with tax MCW_BVLGVPCURR19(2) WERTV10
BVLGEWOrder volume weight MCW_BVLGEWQUAN15(3) MENGV15_3
BVLVOLOrder volume volume MCW_BVLVOLQUAN15(3) MENGV15_3
VKWRTValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
VKWRAValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
ABELNAllocation Table Number ABELNCHAR10AUKOALPHAABELNABE
WKUNNRCustomer number of plant KUNNR_WKCHAR10KNA1ALPHAKUNNR
AURELRelevant to Allocation Table AURELCHAR1AUREL
RPLRELID: relevant for Replenishment? WRPL_RELEVCHAR1BOOLE
ADDMNGQuantity of materials with additionals in base unit of meas. MCW_ADDMNGQUAN15(3) MENGV15_3
ADDANZNumber of affixed additionals MCW_ADDANZINT410MCZAEHLINT
ADDTIMProcessing time to affix the additionals MCW_ADDTIMDEC17(5) DEC17_5
ADDKMWMaterial costs of additionals MCW_ADDKMWCURR19(2) WERTV10
ADDKALHandling costs for additionals MCW_ADDKALCURR19(2) WERTV10
ADDIAPPLApplication for triggering follow-up actions for additionals ADDI_APPLCHAR2ADDI_APPL
ADDI1Additional 1 MCW_ADDI1CHAR18Assigned to domainMATN1MATNR
ADDI2Additional 2 MCW_ADDI2CHAR18Assigned to domainMATN1MATNR
ADDI3Additional 3 MCW_ADDI3CHAR18Assigned to domainMATN1MATNR
BWVORGSAP BW transaction key MCW_BWVORGNUMC3NUM3
FILGRPStore Group WISP_FILGRPNUMC2TWISPC_FILGRPWISP_FILGRP
PSWAEDatabase Currency for Planning Data in a Planning Scenario WISP_PSWAECUKY5TCURCWAERS
PLMHTPlanned Unit of Measure WISP_PLMHTUNIT3T006CUNITMEINS
ASORTAssortment ASORTCHAR10WRS1ALPHAASORTWSTWSOR
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3T300LGNUMLGN
METYPUnit-of-measure load category according to workload criteria METYPCHAR1Assigned to domainMEITYVLY
WARTYPGoods category (promotional goods or normal goods) MCL_WARTYPCHAR1MCL_WARTYPVLW
BELTYPDocument category: rough workload estimate MCL_BELTYPCHAR3MCL_BELTYPVLT
VZTTGWarehouse process MCL_VZTTGCHAR1MCL_VZTTGVLP
VHARTLPackaging Material Type Rough Workload Estimate MCL_VHARTLCHAR4TVTYTRATY
TIMELTime slot: Rough workload forecast MCL_TIMELCHAR4TC37AKAPTPROG
GEWEHLWeight unit: Rough Workload Estimate and picking waves MCL_GEWEHUNIT3T006CUNITMEINS
VOLEHLVolume unit: Rough Workload Estimate and picking waves MCL_VOLEHUNIT3T006CUNITMEINS
BZEIT_EProcessing time+ for quantity in hours MCL_BZEITEDEC17(5) DEC17_5
VHART_EPackaging Materials for Packaging Material Type + MCL_VHARTEDEC15(3) DEC15_3
DUMMYDummy function in length 1 DUMMYCHAR1DUMMY
.INCLU--AP 0
RESLOIssuing Storage Location for Stock Transport Order RESLOCHAR4Assigned to domainLGORT
.INCLU--AP 0
VBELNSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
VBELPSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
ABCPOSO 0
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
.INCLU--AP 0
MERK4Characteristic Value ATWRTCHAR30ATWRT
MERK5Characteristic Value ATWRTCHAR30ATWRT
MERK6Characteristic Value ATWRTCHAR30ATWRT
MERK7Characteristic Value ATWRTCHAR30ATWRT
ATINM4Internal characteristic ATINNNUMC10Assigned to domainATINNATINN
ATINM5Internal characteristic ATINNNUMC10Assigned to domainATINNATINN
ATINM6Internal characteristic ATINNNUMC10Assigned to domainATINNATINN
ATINM7Internal characteristic ATINNNUMC10Assigned to domainATINNATINN
.INCLU--AP 0
BSABW 0
.INCLU--AP 0
XERSYEvaluated Receipt Settlement (ERS) XERSYCHAR1XFELD
WEBREIndicator: GR-Based Invoice Verification WEBRECHAR1XFELD
NETPRNet price NETPRCURR11(2) WERTV6
PEINHPrice Unit PEINHDEC5PACK3
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
.INCLU--AP 0
AFNAMName of Requisitioner/Requester AFNAMCHAR12AFNAM
TXZ01Short Text TXZ01CHAR40TEXT40
BWAPPLNMApplication Component RSAPPLNMCHAR30RSAPPLNM
BSGRUReason for Ordering BSGRUCHAR3BSGRU
.INCLU--AP 0
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BADATRequisition (Request) Date BADATDATS8DATUM
WEBAZGoods Receipt Processing Time in Days WEBAZDEC3DEC3
.INCLU--AP 0
RELOC_IDRelocation ID /ISDFPS/RELOC_IDCHAR10Assigned to domain/ISDFPS/RELOC_ID
RELOC_SEQ_IDRelocation Step ID /ISDFPS/RELOC_SEQ_IDCHAR4Assigned to domain/ISDFPS/RELOC_SEQ_ID
OBJIDObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
PLANNING_GUIDPlanning GUID /ISDFPS/PLANNING_GUIDCHAR32SYSUUID_C
MPO_MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
RICReportable Item Code /ISDFPS/RICODECHAR6Assigned to domain/ISDFPS/RICODE
PRIO_URGRequirement Urgency (Obsolete) /ISDFPS/PRIO_URGNUMC2Assigned to domain/ISDFPS/PRIO_URG
PRIO_REQRequirement Priority (Obsolete) /ISDFPS/PRIO_REQNUMC3Assigned to domain/ISDFPS/PRIO_REQ
ADVCODEAdvice Code /ISDFPS/ADVCODECHAR2Assigned to domain/ISDFPS/ADVCODE
BANFNPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
BNFPOItem Number of Purchase Requisition BNFPONUMC5Assigned to domainBNFPOBAP
OPERATION_IDOperation/Exercise ID /ISDFPS/OPERATION_IDNUMC8Assigned to domainHROBJID
CON_IDContingent Key /ISDFPS/CON_IDCHAR5/ISDFPS/CON_ID
OBJID_COMObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
PROVIDER_MATObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
PROVIDER_PERObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
.INCLU--AP 0
OIPIPEVALValidation indicator for pipeline fields (X=ON, blank=OFF) OID_PIPEVCHAR1X
OIC_LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
OIC_DCITYCDestination city code OIC_DCITYCCHAR4T005GCITYC
OIC_DCOUNCDestination county code OIC_DCOUNCCHAR3T005ECOUNC
OIC_DREGIODestination region OIC_DREGIOCHAR3T005SREGIO
OIC_DLAND1Destination country OIC_DLAND1CHAR3T005LAND1
OIC_OCITYCOrigin city code OIC_OCITYCCHAR4T005GCITYC
OIC_OCOUNCOrigin county code OIC_OCOUNCCHAR3T005ECOUNC
OIC_OREGIOOrigin region OIC_OREGIOCHAR3T005SREGIO
OIC_OLAND1Origin country OIC_OLAND1CHAR3T005LAND1
OIC_PORGINTax origin OIC_PORGINCHAR15OIC_PORGIN
OIC_PDESTNTax destination OIC_PDESTNCHAR15OIC_PDESTN
OIC_PTRIPPipeline trip number (external) OIC_PTRIPCHAR16OIC_PTRIP
OIC_PBATCHPipeline operatorĀ“s external batch number OIC_PBATCHCHAR16OIC_PBATCH
OIC_MOTIS-OIL MAP external details mode of transport OIC_MOTCHAR2TVTRVKTRA
OIC_AORGINAlternate origin OIC_AORGINCHAR15OIC_PORGIN
OIC_ADESTNAlternate destination OIC_ADESTNCHAR15OIC_PDESTN
OIC_TRUCKNTruck number OIC_TRUCKNCHAR10OIC_TRUCKN
OIA_BASELOBase location OIA_BASELOCHAR15OIA_BASELO

Key field Non-key field



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

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

How to access SAP table MCEKPO_B

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