MEPOCOMSRV SAP (Service Data for Purchase Order Item) Structure details
Description: Service Data for Purchase Order Item
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 |
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 | ||
KONNR | Number of Principal Purchase Agreement | KONNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | KTR | |
KTPNR | Item Number of Principal Purchase Agreement | KTPNR | NUMC | 5 | Assigned to domain | EBELP | |||
VRTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
SPRAS | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
BEDAT | Purchase Order Date | BEDAT | DATS | 8 | DATUM | ||||
BZDAT | Asset value date | BZDAT | DATS | 8 | DATUM | ||||
PRDAT | Date of Price Determination | PREDT | DATS | 8 | DATUM | ||||
KTEXT1 | Short Text | TXZ01 | CHAR | 40 | TEXT40 | ||||
MEINS | Purchase Order Unit of Measure | BSTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WKURS | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
NETPR | Net Value of Item | SNETWR | CURR | 11(2) | WERT11V | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
NETWR_UNG | Portion from Unplanned Services | NETWR_UNG | CURR | 11(2) | WERT11V | ||||
NETWR_UNPL | Portion Unplanned Value Without Reference to Contract | UNPLV | CURR | 11(2) | WERT11V | ||||
NAVNW | Non-deductible input tax | NAVNW_SRV | CURR | 11(2) | WERT11V | ||||
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
WERKS | Plant | EWERK | CHAR | 4 | Assigned to domain | WERKS | WRK | ||
SPINF | Indicator: Update Info Record | SPINF | CHAR | 1 | SPINF | ||||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | Assigned to domain | KNTTP | KNT | ||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
LOEKZ | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
FIPOS | Commitment Item | FIPOS | CHAR | 14 | Assigned to domain | FIPOS | FIP | ||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
USTAX | Indicator: U.S. TAX active | USTAX | CHAR | 1 | XFELD | ||||
SRVTAX | Indicator: Taxes at service level | SRVTAX | CHAR | 1 | XFELD | ||||
XOBLR | Item affects commitments | XOBLR | CHAR | 1 | XFELD | ||||
STATU | RFQ status | ASTAT | CHAR | 1 | ASTAT | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
LBLNI | Entry Sheet Number | LBLNI | CHAR | 10 | Assigned to domain | ALPHA | LBLNI | LBL | ESSR |
PACKNO | Package number | PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
PLN_PACKNO | Source package number | PLN_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
PLN_KTEXT | Short Text | TXZ01 | CHAR | 40 | TEXT40 | ||||
REF_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
REF_BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
PLN_EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
PLN_EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
KOT_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
KOT_INTROW | Internal line number for limits | INTROW | NUMC | 10 | NUMC10 | ||||
CON_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
CON_INTROW | Internal line number for limits | INTROW | NUMC | 10 | NUMC10 | ||||
ACT_WERKS | Plant to Which Current Conditions Apply | KOWRK | CHAR | 4 | Assigned to domain | WERKS | |||
BAN_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
REF_EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
REF_EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
REF_WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PREISANZ | Indicator: Authorization to display price data | PREISANZ | CHAR | 1 | X | ||||
AENDANZ | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
ESTKZ | Creation Indicator (Purchase Requisition/Schedule Lines) | ESTKZ | CHAR | 1 | ESTKZ | ||||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BSART | Order Type (Purchasing) | BSART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
FRGKL | Release indicator: Entry sheet | FRGKL | CHAR | 1 | CHAR01 | ||||
NO_SRV | No services: Limits only | NO_SRV | CHAR | 1 | XFELD | ||||
KDATB | Start of Validity Period | KDATB | DATS | 8 | DATUM | ||||
KDATE | End of Validity Period | KDATE | DATS | 8 | DATUM | ||||
MENGE_PROZ | Percentage quantity to be adopted | PLNPROZ | NUMC | 3 | INT3 | ||||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
WEBRE | Indicator: GR-Based Invoice Verification | WEBRE | CHAR | 1 | XFELD | ||||
SPEC_NO | Number of a Set of Model Service Specifications | SPEC_NO | CHAR | 10 | Assigned to domain | ALPHA | SPEC10 | MSP | SPEC |
CUOBJ | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
ABGEBOT | Competitive bidding procedure using global percentage bids | ABGEBOT | CHAR | 1 | XFELD | ||||
TXZ01_NO_CHANGE | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
BSAKZ | Control indicator for purchasing document type | BSAKZ | CHAR | 1 | BSAKZ | ||||
ERS | Evaluated Receipt Settlement (ERS) | XERSY | CHAR | 1 | XFELD | ||||
INT_USE | Service package is used for internal services | INT_USE | CHAR | 1 | XFELD | ||||
IWEIN | Unit for Work | IWEIN | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
INT_WORK | Internal Work | INT_WORK | QUAN | 8(2) | INT_WORK | ||||
XACCOUNT | Indicator: Cost elements at service level | XACCOUNT | CHAR | 1 | XFELD | ||||
DEF_ACCOUNT | Default cost element | DEF_ACCOUNT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | EQN | EQUI |
TPLNR | Functional Location | TPLNR | CHAR | 30 | Assigned to domain | TPLNR | TPLNR | IFL | IFLM |
ARBID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
ILART | Maintenance activity type | ILA | CHAR | 3 | Assigned to domain | ILART | H_T350I | ||
KZALE | Distributed contract (ALE) | KZALE | CHAR | 1 | XFELD | ||||
KUFIX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
BONUS | Item Relevant to Subsequent (Period-End Rebate) Settlement | EBONY | CHAR | 1 | XFELD | ||||
APPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
REF_AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
REF_VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
REF_UVORN | Suboperation | UVORN | CHAR | 4 | NUMCV | VORNR | |||
LEBRE | Indicator for Service-Based Invoice Verification | LEBRE | CHAR | 1 | XFELD | ||||
IV_EXIST | Invoice Receipt Indicator | REPOS | CHAR | 1 | XFELD | ||||
BAPI_REF_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
LEMIN | Returns Indicator | SRVRET | CHAR | 1 | XFELD | ||||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
BAPI | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
VIV_EXIST | Invoice Receipt Indicator | REPOS | CHAR | 1 | XFELD | ||||
EK_STATU | Status of Purchasing Document | ESTAK | CHAR | 1 | ESTAK | ||||
AKTYP | Activity category in SAP transaction | AKTYP | CHAR | 1 | AKTYP | ||||
BANF_WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WEPOS | Goods Receipt Indicator | WEPOS | CHAR | 1 | XFELD | ||||
KBLNR | Document Number for Earmarked Funds | KBLNR | CHAR | 10 | Assigned to domain | ALPHA | KBLNR | KBL | |
KBLPOS | Earmarked Funds: Document Item | KBLPOS | NUMC | 3 | Assigned to domain | KBLPOS | KBP | ||
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
FPLNR | Invoicing plan number | IPLNR | CHAR | 10 | CHAR10 | ||||
.INCLU--AP | 0 | ||||||||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
BZIRK | Sales district | BZIRK | CHAR | 6 | Assigned to domain | BZIRK | BZI | ||
VKGRP | Sales Group | VKGRP | CHAR | 3 | Assigned to domain | VKGRP | VKG | ||
VKBUR | Sales Office | VKBUR | CHAR | 4 | Assigned to domain | VKBUR | VKB | ||
KONDA | Price group (customer) | KONDA | CHAR | 2 | Assigned to domain | KONDA | VKA | ||
KDGRP | Customer group | KDGRP | CHAR | 2 | Assigned to domain | KDGRP | VKD | ||
PLTYP | Price list type | PLTYP | CHAR | 2 | Assigned to domain | PLTYP | VPL | ||
KURST | Exchange Rate Type | KURST | CHAR | 4 | Assigned to domain | KURST | KUT | ||
KURRF_DAT | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
KNRZE | Head office account number (in branch accounts) | KNRZE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
REF_VBTYP | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
REF_POSNR | Item number of the reference item | VGPOS | NUMC | 6 | Assigned to domain | POSNR | |||
REF_VBELN | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
SD_AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
PSTYV | Sales document item category | PSTYV | CHAR | 4 | Assigned to domain | PSTYV | |||
UPD_EK | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PLN_POSNR | Item number of the reference item | VGPOS | NUMC | 6 | Assigned to domain | POSNR | |||
PLN_VBELN | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
FKT_PACKNO | Reference package number | REF_PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
FKT_INTROW | Internal line number for limits | INTROW | NUMC | 10 | NUMC10 | ||||
NEW_PRICING | Condition control | KSTEU | CHAR | 1 | KSTEU | ||||
BOS_RFSTA | Reference status | RFSTA | CHAR | 1 | STATV | ||||
UPD_ECP | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
OUTLKZ | Service Outline Allowed | BOSOUTLKZ | CHAR | 1 | XFELD | ||||
BPROZ | Unit Price or Flat-Rate Price Contract | BOSBPROZ | CHAR | 1 | BOSBPROZ | ||||
LVKOP | Copy bill of services | LVKOP | CHAR | 1 | LVKOP | ||||
/SAPBOQ/SICOPY | BOS Copy Control for Main Items and Subitems | /SAPBOQ/SICOPY | CHAR | 1 | /SAPBOQ/SICOPY | ||||
/SAPBOQ/DV_CKQTY | Default Lot Size for Costing | /SAPBOQ/DV_CKQTY | CHAR | 1 | XFELD | ||||
/SAPBOQ/QT_REL | Service Entry Allowed for Subitem | /SAPBOQ/QT_REL | CHAR | 1 | CHAR01 | ||||
/SAPBOQ/ROWDELTA | Subitem Line Number Increment | /SAPBOQ/ROWDELTA | NUMC | 10 | NUMC10 | ||||
/SAPBOQ/SI | Sub Item Enable Function | /SAPBOQ/SI_ENABLE | CHAR | 1 | XFELD | ||||
/SAPBOQ/PRC_COPY | Service price indicator: sales doc or service entry sheet? | /SAPBOQ/PRC_COPY | CHAR | 1 | /SAPBOQ/PRC_COPY | ||||
.INCLU--AP | 0 | ||||||||
PER_SDATE | Period of Performance Start Date | MMSRV_PEROP_SDATE | DATS | 8 | DATS | ||||
PER_EDATE | Period of Performance End Date | MMSRV_PEROP_EDATE | DATS | 8 | DATS | ||||
DIRTY_PACKAGE | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
EMPTY_PACKAGE | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
EDIT | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
ORIGIN | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
DIRTY | Checkbox | XFELD | CHAR | 1 | XFELD |
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 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