ESV_COMP SAP (Generated Table for View) Table View details
Dictionary Type: Table View
Description: Generated Table for View
Description: Generated Table for View
Table View field list including key, data, relationships and ABAP select examples
ESV_COMP is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.
The ESV_COMP table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include RECNVP (Sequential Number of Data Record), ACTNVP (Sequential Number of the Change State), VALFRVP (Valid-From Date), VALTOVP (Valid-To Date).. 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 ESV_COMP table view 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 |
MANDTVP | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RECNVP | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
ACTNVP | Sequential Number of the Change State | ESEACTN | NUMC | 20 | ALPHA | ESDACTN | |||
VALFRVP | Valid-From Date | ESEVALFR | DATS | 8 | DATUM | ||||
VALTOVP | Valid-To Date | ESEVALTO | DATS | 8 | DATUM | ||||
AENNRVP | Change Number | ESEAENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
DELFLGVP | Deletion Indicator | ESEDELFLG | CHAR | 1 | ESDFLAG | ||||
RECNTVA | Reference to RECN for Tables ESTVA, ESTRH and ESTRI | ESERECNTVA | NUMC | 20 | ALPHA | ESDRECN | |||
COMPCAT | Component Type | ESECOMPCAT | CHAR | 10 | TCG76 | ESDCOMPCAT | |||
RECNCMP | Reference to Specification Header of a Component | ESERECNCMP | NUMC | 20 | ALPHA | ESDRECN | |||
PRECL | Operator for Lower Limit | ESEPRECL | CHAR | 5 | ESDPREC | ||||
COMPLOW | Lower Limit of a Component Proportion | ESECOMPLOW | DEC | 10(4) | ESDDEC6_4 | ||||
PRECU | Operator for Upper Limit | ESEPRECU | CHAR | 5 | ESDPRECU | ||||
COMPUPP | Upper limit of a component proportion | ESECOMPUPP | DEC | 10(4) | ESDDEC6_4 | ||||
COMPAVG | Target Value or Actual Value of a Component | ESECOMPAVG | DEC | 10(4) | ESDDEC6_4 | ||||
COMPEXP | Unit for Quantity Specification | ESECOMPEXP | UNIT | 3 | T006 | CUNIT | MEINS | ||
COMPEXCVAL | Exception Value of a Component | ESECOMPEXCVAL | CHAR | 2 | TCG78 | ESDCOMPEXCVAL | |||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RECN | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
ACTN | Sequential Number of the Change State | ESEACTN | NUMC | 20 | ALPHA | ESDACTN | |||
VALFR | Valid-From Date | ESEVALFR | DATS | 8 | DATUM | ||||
VALTO | Valid-To Date | ESEVALTO | DATS | 8 | DATUM | ||||
AENNR | Change Number | ESEAENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
DELFLG | Deletion Indicator | ESEDELFLG | CHAR | 1 | ESDFLAG | ||||
RECNROOT | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
ESTCAT | Value Assignment Type | ESEESTCAT | CHAR | 30 | TCG11 | ESDESTCAT | |||
MANDTVA | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RECNVA | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
ACTNVA | Sequential Number of the Change State | ESEACTN | NUMC | 20 | ALPHA | ESDACTN | |||
VALFRVA | Valid-From Date | ESEVALFR | DATS | 8 | DATUM | ||||
VALTOVA | Valid-To Date | ESEVALTO | DATS | 8 | DATUM | ||||
AENNRVA | Change Number | ESEAENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
DELFLGVA | Deletion Indicator | ESEDELFLG | CHAR | 1 | ESDFLAG | ||||
RECNTVH | Reference to Value Assignment Header | ESERECNTVH | NUMC | 20 | ESTVH | ALPHA | ESDRECN | ||
ORD | Sort Sequence | ESEORD | NUMC | 4 | NUMC4 | ||||
COMPREL | Reference Quantity for Component Specification | ESECOMPREL | CHAR | 10 | TCG74 | ESDCOMPREL |
Key field | Non-key field |
How do I retrieve data from SAP table ESV_COMP using ABAP code
The following ABAP code Example will allow you to do a basic selection on ESV_COMP to SELECT all data from the tableDATA: WA_ESV_COMP TYPE ESV_COMP.
SELECT SINGLE *
FROM ESV_COMP
INTO CORRESPONDING FIELDS OF WA_ESV_COMP
WHERE...
How to access SAP table ESV_COMP
Within an ECC or HANA version of SAP you can also view further information about ESV_COMP 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