KV02G SAP (Structure of General Data (Target Costs)) Structure details

Dictionary Type: Structure
Description: Structure of General Data (Target Costs)




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




Structure field list including key, data, relationships and ABAP select examples

KV02G 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 "Structure of General Data (Target Costs)" 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_KV02G TYPE KV02G.

The KV02G table consists of various fields, each holding specific information or linking keys about Structure of General Data (Target Costs) data available in SAP. These include CWAER (Controlling Area Currency), KTOPL (Chart of Accounts), LMONA (Fiscal Year Variant), OBJNR (Object number).. 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 KV02G 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
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
CWAERControlling Area Currency CK_KWAERCUKY5Assigned to domainWAERS
KTOPLChart of Accounts KTOPLCHAR4Assigned to domainKTOPLKPLC_KTOPL
LMONAFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
OBARTObject Type J_OBARTCHAR2Assigned to domainJ_OBART
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
POSNROrder Item Number CO_POSNRNUMC4CO_POSNR
AUTYPOrder category AUFTYPNUMC2AUFTYP
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
MLTPSOrder with multiple items CO_MLTPSCHAR1KREUZ
SAFNRRun schedule header number SA_AUFNRCHAR12Assigned to domainALPHASA_AUFNR
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
KOSTVResponsible cost center AUFKOSTVCHAR10Assigned to domainALPHAKOSTL
KURSTExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
OWAERObject Currency CK_OWAERCUKY5Assigned to domainWAERS
MENGEActivity Quantity LSTXXQUAN15(3) MENGV8
MEINHActivity unit CO_MEINH_LUNIT3Assigned to domainCUNITMEINS
LOSGRLot Size MENGE_KPFQUAN15(3) CQUA8
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
NOTOKCheckbox XFELDCHAR1XFELD
AWVRSTarget Cost Version AWVRSCHAR3Assigned to domainALPHAAWVRSVAV
AFWIPWIP at Target Costs Relevant with Target Cost Version AFWIPCHAR1XFELD
AFSCPScrap Relevant with Target Cost Version AFSCPCHAR1XFELD
AFCTLUpdate Control Costs (Target Cost Version) AFCTLCHAR1XFELD
AFOUTVariances on Output Side Are Relevant AFOUTCHAR1XFELD
AFSTLVariances Relevant to Settlement AFSTLCHAR1XFELD
VALTYValuation View VALUTYPNUMC1VALUTYPVTP
REFVSCO Reference Version REFVSCHAR3Assigned to domainALPHACOVERSI
WIPDFCarry data from res. analysis and WIP calc. in the version? VER_WIPCHAR1XFELD
ABWDFCarry data from variance calculation in the version? VER_ABWCHAR1XFELD
ACTDFRecord actual data for the relevant version? VER_ACTUALCHAR1XFELD
PLNDFRecord planning data for the relevant version? VER_PLANCHAR1XFELD
DELTATarget Costs: Indicator for Delta Version KVDELTACHAR1XFELD
AWVSBVariances: Reference Version AWVSBCHAR3Assigned to domainALPHACOVERSI
AWVSVVariances: Comparison Version AWVSVCHAR3Assigned to domainALPHACOVERSI
VERSNVersion VERSNCHAR3Assigned to domainALPHACOVERSIKVS
WRTTPTarget Costs: Value Type for Update (Target, WIP, Scrap) KVWRTTP1CHAR2CO_WRTTP
TABPXTable Prefix KVTABPXCHAR3CHAR3
PLFKOIncluding Planned Costs (Cost Center) KVPLFKOCHAR1XFELD
PLAKOExplanation of Target Costs Active KVPLAKO1CHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure KV02G using ABAP code?

As KV02G 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 KV02G as there is no data to select.

How to access SAP table KV02G

Within an ECC or HANA version of SAP you can also view further information about KV02G 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!