COSRV SAP (Variants (characteristics) for LIS performance measures) Table details
Description: Variants (characteristics) for LIS performance measures
Table field list including key, data, relationships and ABAP select examples
COSRV is a standard SAP Table which is used to store Variants (characteristics) for LIS performance measures data and is available within R/3 SAP systems depending on the version and release level.
The COSRV table consists of various fields, each holding specific information or linking keys about Variants (characteristics) for LIS performance measures data available in SAP. These include VARIANTE (Characteristics for statistical base from LIS), MERKMAL (Field Name), NR (Current number of characteristic), SIGN (ABAP: ID: I/E (include/exclude values)).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP COSRV table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
VARIANTE | Characteristics for statistical base from LIS | VARI_D | CHAR | 10 | ALPHA | CO_VARI | |||
MERKMAL | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
NR | Current number of characteristic | MERKNR | NUMC | 4 | NUMC4 | ||||
SIGN | ABAP: ID: I/E (include/exclude values) | TVARV_SIGN | CHAR | 1 | SYCHAR01 | ||||
M_OPTION | ABAP: Selection option (EQ/BT/CP/...) | TVARV_OPTI | CHAR | 2 | SYCHAR02 | ||||
LOW | ABAP/4: Selection value (LOW or HIGH value, external format) | TVARV_VAL | CHAR | 45 | RSSELVALUE | ||||
HIGH | ABAP/4: Selection value (LOW or HIGH value, external format) | TVARV_VAL | CHAR | 45 | RSSELVALUE |
Key field | Non-key field |
How do I retrieve data from SAP table COSRV using ABAP code
The following ABAP code Example will allow you to do a basic selection on COSRV to SELECT all data from the tableDATA: WA_COSRV TYPE COSRV.
SELECT SINGLE *
FROM COSRV
INTO CORRESPONDING FIELDS OF WA_COSRV
WHERE...
How to access SAP table COSRV
Within an ECC or HANA version of SAP you can also view further information about COSRV 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