KV02G SAP (Structure of General Data (Target Costs)) Structure details
Description: Structure of General Data (Target Costs)
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 |
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
CWAER | Controlling Area Currency | CK_KWAER | CUKY | 5 | Assigned to domain | WAERS | |||
KTOPL | Chart of Accounts | KTOPL | CHAR | 4 | Assigned to domain | KTOPL | KPL | C_KTOPL | |
LMONA | Fiscal Year Variant | PERIV | CHAR | 2 | Assigned to domain | PERIV | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
OBART | Object Type | J_OBART | CHAR | 2 | Assigned to domain | J_OBART | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
MLTPS | Order with multiple items | CO_MLTPS | CHAR | 1 | KREUZ | ||||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KOSTV | Responsible cost center | AUFKOSTV | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | ||
KURST | Exchange Rate Type | KURST | CHAR | 4 | Assigned to domain | KURST | KUT | ||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
OWAER | Object Currency | CK_OWAER | CUKY | 5 | Assigned to domain | WAERS | |||
MENGE | Activity Quantity | LSTXX | QUAN | 15(3) | MENGV8 | ||||
MEINH | Activity unit | CO_MEINH_L | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LOSGR | Lot Size | MENGE_KPF | QUAN | 15(3) | CQUA8 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
NOTOK | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
AWVRS | Target Cost Version | AWVRS | CHAR | 3 | Assigned to domain | ALPHA | AWVRS | VAV | |
AFWIP | WIP at Target Costs Relevant with Target Cost Version | AFWIP | CHAR | 1 | XFELD | ||||
AFSCP | Scrap Relevant with Target Cost Version | AFSCP | CHAR | 1 | XFELD | ||||
AFCTL | Update Control Costs (Target Cost Version) | AFCTL | CHAR | 1 | XFELD | ||||
AFOUT | Variances on Output Side Are Relevant | AFOUT | CHAR | 1 | XFELD | ||||
AFSTL | Variances Relevant to Settlement | AFSTL | CHAR | 1 | XFELD | ||||
VALTY | Valuation View | VALUTYP | NUMC | 1 | VALUTYP | VTP | |||
REFVS | CO Reference Version | REFVS | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | ||
WIPDF | Carry data from res. analysis and WIP calc. in the version? | VER_WIP | CHAR | 1 | XFELD | ||||
ABWDF | Carry data from variance calculation in the version? | VER_ABW | CHAR | 1 | XFELD | ||||
ACTDF | Record actual data for the relevant version? | VER_ACTUAL | CHAR | 1 | XFELD | ||||
PLNDF | Record planning data for the relevant version? | VER_PLAN | CHAR | 1 | XFELD | ||||
DELTA | Target Costs: Indicator for Delta Version | KVDELTA | CHAR | 1 | XFELD | ||||
AWVSB | Variances: Reference Version | AWVSB | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | ||
AWVSV | Variances: Comparison Version | AWVSV | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | ||
VERSN | Version | VERSN | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | KVS | |
WRTTP | Target Costs: Value Type for Update (Target, WIP, Scrap) | KVWRTTP1 | CHAR | 2 | CO_WRTTP | ||||
TABPX | Table Prefix | KVTABPX | CHAR | 3 | CHAR3 | ||||
PLFKO | Including Planned Costs (Cost Center) | KVPLFKO | CHAR | 1 | XFELD | ||||
PLAKO | Explanation of Target Costs Active | KVPLAKO1 | CHAR | 1 | XFELD |
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 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