BAPISRV SAP (Communication Structure: Service Master Record) Structure details
Description: Communication Structure: Service Master Record
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 |
SERVICE | Activity Number | ASNUM | CHAR | 18 | Assigned to domain | ALPHA | ASNUM | ASN | |
MATL_GROUP | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
BASE_UOM_ISO | Base unit of measure in ISO code | MEINS_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
SERV_CAT | Service Category | ASTYP | CHAR | 4 | T362 | ASTYP | ASY | ||
EAN_UPC | International Article Number (EAN/UPC) | EAN11 | CHAR | 18 | EAN11 | EAN11 | EAN | ||
EAN_CAT | Category of International Article Number (EAN) | NUMTP | CHAR | 2 | TNTP | NUMTP | |||
DIVISION | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
AUTH_GROUP | Authorization Group | BEGRU | CHAR | 4 | BEGRU | ||||
P_STATUS | General Purchasing Status for Service | LSTAE | CHAR | 2 | T141 | MMSTA | |||
VALID_FROM | Validity Date for 'Purchasing' Status | LSTDE | DATS | 8 | DATUM | ||||
VAL_CLASS | Valuation Class | BWKLL | CHAR | 4 | T025 | BKLAS | |||
HIER_SERV | Hierarchy Service Number | ASNUM_HI | CHAR | 18 | ASMD | ALPHA | ASNUM | ||
WAGETYPE | Wage Type | LGART | CHAR | 4 | Assigned to domain | LGART | |||
SERV_TYPE | Short Description of Service Type | LBNUM | CHAR | 3 | ESLA | CHAR3 | LBR | ||
EDITION | Edition of Service Type | AUSGB | NUMC | 4 | ESLA | NUMC4 | AGB | ||
SSC_ITEM | Standard Service Catalog Item | STLVPOS | CHAR | 18 | CHAR18 | ||||
TAX_IND | Tax Indicator for Service (Purchasing) | TAXIS | CHAR | 1 | Assigned to domain | TAXIM1 | |||
SHORT_TEXT | Service Short Text | ASKTX | CHAR | 40 | TEXT40 | ||||
CONV_NUM | Numerator for conversion of MEINS into IWEIN | IWUMZ | DEC | 5 | UMBSZ | ||||
CONV_DEN | Denominator for Conversion (MEINS <-> IWEIN) | IWUMN | DEC | 5 | UMBSN | ||||
WORK_UOM | Unit for Work | IWEIN | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WORK_UOM_ISO | Unit of work in ISO code | IWEIN_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
FORMULA | Formula Number | FORMELNR | CHAR | 10 | CHAR10 |
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 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