KV020 SAP (Variances: Cost Table) Structure details
Description: Variances: Cost Table
Structure field list including key, data, relationships and ABAP select examples
KV020 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: Cost Table" 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_KV020 TYPE KV020.
The KV020 table consists of various fields, each holding specific information or linking keys about Variances: Cost Table data available in SAP. These include HRKFT (Origin Group as Subdivision of Cost Element), PAROB (Partner Object), MATNR (Material Number), WERKS (Plant).. 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 KV020 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 |
KSTAR | Cost Element | KSTAR | CHAR | 10 | CSKA | ALPHA | KSTAR | KAT | |
HRKFT | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | TKKH1 | HRKFT | |||
PAROB | Partner Object | PAROB | CHAR | 22 | ONR00 | J_OBJNR | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
AWBEL | Variances: Debit/Credit | AWBEL | CHAR | 1 | AWBEL | ||||
VKGBTR | Variances: Total Comparison Costs in CO Area Currency | AWVKG | CURR | 15(2) | WERTV8 | ||||
VKFBTR | Variances: Comparison Costs, Fixed, in CO Area Currency | AWVKF | CURR | 15(2) | WERTV8 | ||||
VKLBTR | Variances: Lot-Size-Indep. Comparison Costs in CO Area Crcy | AWVKL | CURR | 15(2) | WERTV8 | ||||
VKDBTR | Variances: Lot-Size-Indep. Comparison Costs in CO Area Crcy | AWVKD | CURR | 15(2) | WERTV8 | ||||
VKPBTR | Variances: Comparison Costs Plan-Indep. in CO Area Currency | AWVKP | CURR | 15(2) | WERTV8 | ||||
VOGBTR | Variances: Total Comparison Costs in Object Currency | AWVOG | CURR | 15(2) | WERTV8 | ||||
VOLBTR | Variances: Lot-Size-Independent Comparison Costs in Obj. Cur | AWVOL | CURR | 15(2) | WERTV8 | ||||
VOPBTR | Variances: Comparison Costs Plan-Indep. in CO Area Currency | AWVKP | CURR | 15(2) | WERTV8 | ||||
BKGBTR | Variances: Total Reference Cost in Controlling Area Currency | AWBKG | CURR | 15(2) | WERTV8 | ||||
BKFBTR | Variances: Reference Cost, Fixed, in CO Area Currency | AWBKF | CURR | 15(2) | WERTV8 | ||||
BOGBTR | Variances: Total Reference Cost in Object Currency | AWBOG | CURR | 15(2) | WERTV8 | ||||
PKGBTR | Variances: Input Price Variances | AWPKG | CURR | 15(2) | WERTV8 | ||||
PKFBTR | Variances: Fixed Input Price Variance | AWPKF | CURR | 15(2) | WERTV8 | ||||
RKGBTR | Variances: Total Remaining Variance | AWRKG | CURR | 15(2) | WERTV8 | ||||
RKFBTR | Variances: Remaining Variance, Fixed | AWRKF | CURR | 15(2) | WERTV8 | ||||
ROGBTR | Variances: Total Remaining Variance in Object Currency | AWROG | CURR | 15(2) | WERTV8 | ||||
VMGBTR | Variances: Total Comparison Quantity | AWVMG | QUAN | 15(3) | MENGV8 | ||||
VMFBTR | Variances: Comparison Quantity, Fixed | AWVMF | QUAN | 15(3) | MENGV8 | ||||
AWVMU | Variances: Incomplete Comparison Quantity | AWVMU | CHAR | 1 | XFELD | ||||
BMGBTR | Variances: Total Procurement Quantity | AWBMG | QUAN | 15(3) | MENGV8 | ||||
BMFBTR | Variances: Reference Quantity, Fixed | AWBMF | QUAN | 15(3) | MENGV8 | ||||
AWBMU | Variances: Reference Quantity Incomplete | AWBMU | CHAR | 1 | XFELD | ||||
AWMEH | Unit of Measure (WIP and Variances) | AWMEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
KATYP | Cost element category | KATYP | CHAR | 2 | ALPHA | KATYP | |||
AWLOS | Calculate Lot Size Variances Only | AWLOS | CHAR | 1 | AWLOS | ||||
UKGBTR | Variances: Gross Total Procurement Cost in CO Area Currency | AWUKG | CURR | 15(2) | WERTV8 | ||||
UKFBTR | Variances: Gross Fixed Procurement Costs in CO Area Currency | AWUKF | CURR | 15(2) | WERTV8 | ||||
UOGBTR | Variances: Gross Total Procurement Cost in Object Currency | AWUOG | CURR | 15(2) | WERTV8 | ||||
UMGBTR | Variances: Total Gross Reference Quantity | AWUMG | QUAN | 15(3) | MENGV8 |
Key field | Non-key field |
How do I retrieve data from SAP structure KV020 using ABAP code?
As KV020 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 KV020 as there is no data to select.How to access SAP table KV020
Within an ECC or HANA version of SAP you can also view further information about KV020 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