KV013 SAP (Variances: Values) Structure details
Description: Variances: Values
Structure field list including key, data, relationships and ABAP select examples
KV013 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 "Variances: Values" 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_KV013 TYPE KV013.
The KV013 table consists of various fields, each holding specific information or linking keys about Variances: Values data available in SAP. These include OBJNR (Object number), AWVRS (Target Cost Version), ABKAT (Category for Variance/Results Analysis), AWRHI (Remaining Variance in Hierarchy).. 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 KV013 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 |
AWQUL | Variances: Source | AWQUL | CHAR | 1 | AWQUL | ||||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
AWVRS | Target Cost Version | AWVRS | CHAR | 3 | TKV09 | ALPHA | AWVRS | VAV | |
ABKAT | Category for Variance/Results Analysis | ABKAT | NUMC | 2 | ABKAT | ABKAT | |||
AWRHI | Remaining Variance in Hierarchy | AWRHI | CHAR | 1 | XFELD | ||||
KSTAR | Cost Element | KSTAR | CHAR | 10 | CSKA | ALPHA | KSTAR | KAT | |
HRKFT | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | TKKH1 | HRKFT | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
PAROB | Partner Object | PAROB | CHAR | 22 | ONR00 | J_OBJNR | |||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
PERIO | Period | CO_PERIO | NUMC | 3 | PERBL | VPE | |||
WKGBTR | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
WKFBTR | Fixed Value in Controlling Area Currency | WKFXXX | CURR | 15(2) | WERTV8 | ||||
WOGBTR | Total Value in Object Currency | WOGXXX | CURR | 15(2) | WERTV8 | ||||
WTGBTR | Total Value in Transaction Currency | WTGXXX | CURR | 15(2) | WERTV8 | ||||
KKGBTR | Total Minor Difference in Controlling Area Currency | AWKKG | CURR | 15(2) | WERTV8 | ||||
KKFBTR | Fixed Minor Difference in Controlling Area Currency | AWKKF | CURR | 15(2) | WERTV8 | ||||
KOGBTR | Total Minor Difference in Object Currency | AWKOF | CURR | 15(2) | WERTV8 | ||||
KTGBTR | Total Minor Difference in Transaction Currency | AWKTG | CURR | 15(2) | WERTV8 | ||||
ABKTN | New Variance Category | ABKTN | NUMC | 2 | ABKAT | ABKAT |
Key field | Non-key field |
How do I retrieve data from SAP structure KV013 using ABAP code?
As KV013 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 KV013 as there is no data to select.How to access SAP table KV013
Within an ECC or HANA version of SAP you can also view further information about KV013 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