BAPISRV SAP (Communication Structure: Service Master Record) Structure details

Dictionary Type: Structure
Description: Communication Structure: Service Master Record




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




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

BAPISRV 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 "Communication Structure: Service Master Record" 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_BAPISRV TYPE BAPISRV.

The BAPISRV table consists of various fields, each holding specific information or linking keys about Communication Structure: Service Master Record data available in SAP. These include MATL_GROUP (Material Group), BASE_UOM (Base Unit of Measure), BASE_UOM_ISO (Base unit of measure in ISO code), SERV_CAT (Service Category).. 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: Cannot Be Enhanced


SAP BAPISRV 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
SERVICEActivity Number ASNUMCHAR18Assigned to domainALPHAASNUMASN
MATL_GROUPMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
BASE_UOMBase Unit of Measure MEINSUNIT3T006CUNITMEINS
BASE_UOM_ISOBase unit of measure in ISO code MEINS_ISOCHAR3T006IISOCD_UNIT
SERV_CATService Category ASTYPCHAR4T362ASTYPASY
EAN_UPCInternational Article Number (EAN/UPC) EAN11CHAR18EAN11EAN11EAN
EAN_CATCategory of International Article Number (EAN) NUMTPCHAR2TNTPNUMTP
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
AUTH_GROUPAuthorization Group BEGRUCHAR4BEGRU
P_STATUSGeneral Purchasing Status for Service LSTAECHAR2T141MMSTA
VALID_FROMValidity Date for 'Purchasing' Status LSTDEDATS8DATUM
VAL_CLASSValuation Class BWKLLCHAR4T025BKLAS
HIER_SERVHierarchy Service Number ASNUM_HICHAR18ASMDALPHAASNUM
WAGETYPEWage Type LGARTCHAR4Assigned to domainLGART
SERV_TYPEShort Description of Service Type LBNUMCHAR3ESLACHAR3LBR
EDITIONEdition of Service Type AUSGBNUMC4ESLANUMC4AGB
SSC_ITEMStandard Service Catalog Item STLVPOSCHAR18CHAR18
TAX_INDTax Indicator for Service (Purchasing) TAXISCHAR1Assigned to domainTAXIM1
SHORT_TEXTService Short Text ASKTXCHAR40TEXT40
CONV_NUMNumerator for conversion of MEINS into IWEIN IWUMZDEC5UMBSZ
CONV_DENDenominator for Conversion (MEINS <-> IWEIN) IWUMNDEC5UMBSN
WORK_UOMUnit for Work IWEINUNIT3Assigned to domainCUNITMEINS
WORK_UOM_ISOUnit of work in ISO code IWEIN_ISOCHAR3Assigned to domainISOCD_UNIT
FORMULAFormula Number FORMELNRCHAR10CHAR10

Key field Non-key field



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

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

How to access SAP table BAPISRV

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