MEPOCOMSRV SAP (Service Data for Purchase Order Item) Structure details

Dictionary Type: Structure
Description: Service Data for Purchase Order Item




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




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

MEPOCOMSRV 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 "Service Data for Purchase Order Item" 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_MEPOCOMSRV TYPE MEPOCOMSRV.

The MEPOCOMSRV table consists of various fields, each holding specific information or linking keys about Service Data for Purchase Order Item data available in SAP. These include LIFNR (Vendor Account Number), EKORG (Purchasing Organization), KONNR (Number of Principal Purchase Agreement), KTPNR (Item Number of Principal Purchase Agreement).. 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: Not classified


SAP MEPOCOMSRV 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
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
KONNRNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
VRTYPPurchasing Document Category BSTYPCHAR1BSTYP
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
SPRASLanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
BEDATPurchase Order Date BEDATDATS8DATUM
BZDATAsset value date BZDATDATS8DATUM
PRDATDate of Price Determination PREDTDATS8DATUM
KTEXT1Short Text TXZ01CHAR40TEXT40
MEINSPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
NETPRNet Value of Item SNETWRCURR11(2) WERT11V
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
NETWR_UNGPortion from Unplanned Services NETWR_UNGCURR11(2) WERT11V
NETWR_UNPLPortion Unplanned Value Without Reference to Contract UNPLVCURR11(2) WERT11V
NAVNWNon-deductible input tax NAVNW_SRVCURR11(2) WERT11V
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
WERKSPlant EWERKCHAR4Assigned to domainWERKSWRK
SPINFIndicator: Update Info Record SPINFCHAR1SPINF
KNTTPAccount Assignment Category KNTTPCHAR1Assigned to domainKNTTPKNT
KZVBRConsumption Posting KZVBRCHAR1KZVBR
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
USTAXIndicator: U.S. TAX active USTAXCHAR1XFELD
SRVTAXIndicator: Taxes at service level SRVTAXCHAR1XFELD
XOBLRItem affects commitments XOBLRCHAR1XFELD
STATURFQ status ASTATCHAR1ASTAT
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
LBLNIEntry Sheet Number LBLNICHAR10Assigned to domainALPHALBLNILBLESSR
PACKNOPackage number PACKNONUMC10Assigned to domainPACKNO
PLN_PACKNOSource package number PLN_PACKNONUMC10Assigned to domainPACKNO
PLN_KTEXTShort Text TXZ01CHAR40TEXT40
REF_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
REF_BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
PLN_EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
PLN_EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
KOT_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
KOT_INTROWInternal line number for limits INTROWNUMC10NUMC10
CON_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
CON_INTROWInternal line number for limits INTROWNUMC10NUMC10
ACT_WERKSPlant to Which Current Conditions Apply KOWRKCHAR4Assigned to domainWERKS
BAN_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
REF_EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
REF_EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
REF_WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PREISANZIndicator: Authorization to display price data PREISANZCHAR1X
AENDANZCheckbox XFELDCHAR1XFELD
ESTKZCreation Indicator (Purchase Requisition/Schedule Lines) ESTKZCHAR1ESTKZ
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
BSARTOrder Type (Purchasing) BSARTCHAR4Assigned to domainBSARTBSA
FRGKLRelease indicator: Entry sheet FRGKLCHAR1CHAR01
NO_SRVNo services: Limits only NO_SRVCHAR1XFELD
KDATBStart of Validity Period KDATBDATS8DATUM
KDATEEnd of Validity Period KDATEDATS8DATUM
MENGE_PROZPercentage quantity to be adopted PLNPROZNUMC3INT3
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
WEBREIndicator: GR-Based Invoice Verification WEBRECHAR1XFELD
SPEC_NONumber of a Set of Model Service Specifications SPEC_NOCHAR10Assigned to domainALPHASPEC10MSPSPEC
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
ABGEBOTCompetitive bidding procedure using global percentage bids ABGEBOTCHAR1XFELD
TXZ01_NO_CHANGECheckbox XFELDCHAR1XFELD
BSAKZControl indicator for purchasing document type BSAKZCHAR1BSAKZ
ERSEvaluated Receipt Settlement (ERS) XERSYCHAR1XFELD
INT_USEService package is used for internal services INT_USECHAR1XFELD
IWEINUnit for Work IWEINUNIT3Assigned to domainCUNITMEINS
INT_WORKInternal Work INT_WORKQUAN8(2) INT_WORK
XACCOUNTIndicator: Cost elements at service level XACCOUNTCHAR1XFELD
DEF_ACCOUNTDefault cost element DEF_ACCOUNTCHAR10Assigned to domainALPHASAKNR
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
EQUNREquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
TPLNRFunctional Location TPLNRCHAR30Assigned to domainTPLNRTPLNRIFLIFLM
ARBIDObject ID OBJEKTIDNUMC8NUM08PON
ILARTMaintenance activity type ILACHAR3Assigned to domainILARTH_T350I
KZALEDistributed contract (ALE) KZALECHAR1XFELD
KUFIXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
BONUSItem Relevant to Subsequent (Period-End Rebate) Settlement EBONYCHAR1XFELD
APPLApplication KAPPLCHAR2Assigned to domainKAPPLKAP
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
REF_AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
REF_VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
REF_UVORNSuboperation UVORNCHAR4NUMCVVORNR
LEBREIndicator for Service-Based Invoice Verification LEBRECHAR1XFELD
IV_EXISTInvoice Receipt Indicator REPOSCHAR1XFELD
BAPI_REF_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
LEMINReturns Indicator SRVRETCHAR1XFELD
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
BAPICheckbox XFELDCHAR1XFELD
VIV_EXISTInvoice Receipt Indicator REPOSCHAR1XFELD
EK_STATUStatus of Purchasing Document ESTAKCHAR1ESTAK
AKTYPActivity category in SAP transaction AKTYPCHAR1AKTYP
BANF_WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
KBLNRDocument Number for Earmarked Funds KBLNRCHAR10Assigned to domainALPHAKBLNRKBL
KBLPOSEarmarked Funds: Document Item KBLPOSNUMC3Assigned to domainKBLPOSKBP
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
FPLNRInvoicing plan number IPLNRCHAR10CHAR10
.INCLU--AP 0
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
BZIRKSales district BZIRKCHAR6Assigned to domainBZIRKBZI
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
KONDAPrice group (customer) KONDACHAR2Assigned to domainKONDAVKA
KDGRPCustomer group KDGRPCHAR2Assigned to domainKDGRPVKD
PLTYPPrice list type PLTYPCHAR2Assigned to domainPLTYPVPL
KURSTExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
KURRF_DATTranslation Date WWERT_DDATS8DATUM
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
KNRZEHead office account number (in branch accounts) KNRZECHAR10Assigned to domainALPHAKUNNR
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
VBTYPSD document category VBTYPCHAR1VBTYP
REF_VBTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
REF_POSNRItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
REF_VBELNDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
SD_AUARTSales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
UPD_EKCheckbox XFELDCHAR1XFELD
PLN_POSNRItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
PLN_VBELNDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
FKT_PACKNOReference package number REF_PACKNONUMC10Assigned to domainPACKNO
FKT_INTROWInternal line number for limits INTROWNUMC10NUMC10
NEW_PRICINGCondition control KSTEUCHAR1KSTEU
BOS_RFSTAReference status RFSTACHAR1STATV
UPD_ECPCheckbox XFELDCHAR1XFELD
OUTLKZService Outline Allowed BOSOUTLKZCHAR1XFELD
BPROZUnit Price or Flat-Rate Price Contract BOSBPROZCHAR1BOSBPROZ
LVKOPCopy bill of services LVKOPCHAR1LVKOP
/SAPBOQ/SICOPYBOS Copy Control for Main Items and Subitems /SAPBOQ/SICOPYCHAR1/SAPBOQ/SICOPY
/SAPBOQ/DV_CKQTYDefault Lot Size for Costing /SAPBOQ/DV_CKQTYCHAR1XFELD
/SAPBOQ/QT_RELService Entry Allowed for Subitem /SAPBOQ/QT_RELCHAR1CHAR01
/SAPBOQ/ROWDELTASubitem Line Number Increment /SAPBOQ/ROWDELTANUMC10NUMC10
/SAPBOQ/SISub Item Enable Function /SAPBOQ/SI_ENABLECHAR1XFELD
/SAPBOQ/PRC_COPYService price indicator: sales doc or service entry sheet? /SAPBOQ/PRC_COPYCHAR1/SAPBOQ/PRC_COPY
.INCLU--AP 0
PER_SDATEPeriod of Performance Start Date MMSRV_PEROP_SDATEDATS8DATS
PER_EDATEPeriod of Performance End Date MMSRV_PEROP_EDATEDATS8DATS
DIRTY_PACKAGECheckbox XFELDCHAR1XFELD
EMPTY_PACKAGECheckbox XFELDCHAR1XFELD
EDITCheckbox XFELDCHAR1XFELD
ORIGINCheckbox XFELDCHAR1XFELD
DIRTYCheckbox XFELDCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table MEPOCOMSRV

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