KV020 SAP (Variances: Cost Table) Structure details

Dictionary Type: Structure
Description: Variances: Cost Table




ABAP Code to SELECT data from KV020
Related tables to KV020
Access table KV020




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
KSTARCost Element KSTARCHAR10CSKAALPHAKSTARKAT
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4TKKH1HRKFT
PAROBPartner Object PAROBCHAR22ONR00J_OBJNR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
AWBELVariances: Debit/Credit AWBELCHAR1AWBEL
VKGBTRVariances: Total Comparison Costs in CO Area Currency AWVKGCURR15(2) WERTV8
VKFBTRVariances: Comparison Costs, Fixed, in CO Area Currency AWVKFCURR15(2) WERTV8
VKLBTRVariances: Lot-Size-Indep. Comparison Costs in CO Area Crcy AWVKLCURR15(2) WERTV8
VKDBTRVariances: Lot-Size-Indep. Comparison Costs in CO Area Crcy AWVKDCURR15(2) WERTV8
VKPBTRVariances: Comparison Costs Plan-Indep. in CO Area Currency AWVKPCURR15(2) WERTV8
VOGBTRVariances: Total Comparison Costs in Object Currency AWVOGCURR15(2) WERTV8
VOLBTRVariances: Lot-Size-Independent Comparison Costs in Obj. Cur AWVOLCURR15(2) WERTV8
VOPBTRVariances: Comparison Costs Plan-Indep. in CO Area Currency AWVKPCURR15(2) WERTV8
BKGBTRVariances: Total Reference Cost in Controlling Area Currency AWBKGCURR15(2) WERTV8
BKFBTRVariances: Reference Cost, Fixed, in CO Area Currency AWBKFCURR15(2) WERTV8
BOGBTRVariances: Total Reference Cost in Object Currency AWBOGCURR15(2) WERTV8
PKGBTRVariances: Input Price Variances AWPKGCURR15(2) WERTV8
PKFBTRVariances: Fixed Input Price Variance AWPKFCURR15(2) WERTV8
RKGBTRVariances: Total Remaining Variance AWRKGCURR15(2) WERTV8
RKFBTRVariances: Remaining Variance, Fixed AWRKFCURR15(2) WERTV8
ROGBTRVariances: Total Remaining Variance in Object Currency AWROGCURR15(2) WERTV8
VMGBTRVariances: Total Comparison Quantity AWVMGQUAN15(3) MENGV8
VMFBTRVariances: Comparison Quantity, Fixed AWVMFQUAN15(3) MENGV8
AWVMUVariances: Incomplete Comparison Quantity AWVMUCHAR1XFELD
BMGBTRVariances: Total Procurement Quantity AWBMGQUAN15(3) MENGV8
BMFBTRVariances: Reference Quantity, Fixed AWBMFQUAN15(3) MENGV8
AWBMUVariances: Reference Quantity Incomplete AWBMUCHAR1XFELD
AWMEHUnit of Measure (WIP and Variances) AWMEHUNIT3T006CUNITMEINS
KATYPCost element category KATYPCHAR2ALPHAKATYP
AWLOSCalculate Lot Size Variances Only AWLOSCHAR1AWLOS
UKGBTRVariances: Gross Total Procurement Cost in CO Area Currency AWUKGCURR15(2) WERTV8
UKFBTRVariances: Gross Fixed Procurement Costs in CO Area Currency AWUKFCURR15(2) WERTV8
UOGBTRVariances: Gross Total Procurement Cost in Object Currency AWUOGCURR15(2) WERTV8
UMGBTRVariances: Total Gross Reference Quantity AWUMGQUAN15(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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!