GKOMV_KEY SAP (Key Group Conditions) Structure details
Description: Key Group Conditions
Structure field list including key, data, relationships and ABAP select examples
GKOMV_KEY 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 "Key Group Conditions" 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_GKOMV_KEY TYPE GKOMV_KEY.
The GKOMV_KEY table consists of various fields, each holding specific information or linking keys about Key Group Conditions data available in SAP. These include KSCHL (Condition type), VAKEY (Variable key 100 bytes), KNUMH (Condition record number), KOPOS (Sequential number of the condition).. 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: Can be enhanced (character-type or numeric)
SAP GKOMV_KEY 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
KSCHL | Condition type | KSCHA | CHAR | 4 | Assigned to domain | KSCHL | VKS | ||
VAKEY | Variable key 100 bytes | VAKEY | CHAR | 100 | VAKEY | ||||
KNUMH | Condition record number | KNUMH | CHAR | 10 | KNUMB | ||||
KOPOS | Sequential number of the condition | KOPOS | NUMC | 2 | NUM02 | ||||
ZAEKO | Condition counter for (header conditions) | DZAEKO | NUMC | 2 | ZAEHK | ||||
KRECH | Calculation type for condition | KRECH | CHAR | 1 | KRECH | ||||
MDFLG | Indicator: Matrix maintenance | MDFLG | CHAR | 1 | MDFLG | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
KNTYP | Condition category (examples: tax, freight, price, cost) | KNTYP | CHAR | 1 | KNTYP | ||||
MWSK1 | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
ZBD1P | Cash Discount Percentage 1 | DZBD1P | DEC | 5(3) | PRZ23 | ||||
KHERK | Origin of the condition | KHERK | CHAR | 1 | KHERK | ||||
KSTEU | Condition control | KSTEU | CHAR | 1 | KSTEU | ||||
KOFRM | Condition formula for alternative calculation type | KOFRM | NUMC | 3 | KOFRM | ||||
KOFRS | Formula for scale base value | KOFRS | NUMC | 3 | KOFRM | ||||
KZBZG | Scale basis indicator | KZBZG | CHAR | 1 | KZBZG | ||||
STFKZ | Scale Type | STFKZ | CHAR | 1 | STFKZ | ||||
TXPRF | Rounding rule | TXPRF | CHAR | 1 | TXPRF | ||||
GANZZ | Indicator: Currency Translation after Multiplication | GANZZ | CHAR | 1 | XFELD | ||||
KONMS | Condition scale unit of measure | KONMS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KONWS | Scale currency | KONWS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KYBTR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
ZAEHK_KO | Condition counter | DZAEHK | NUMC | 2 | ZAEHK |
Key field | Non-key field |
How do I retrieve data from SAP structure GKOMV_KEY using ABAP code?
As GKOMV_KEY 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 GKOMV_KEY as there is no data to select.How to access SAP table GKOMV_KEY
Within an ECC or HANA version of SAP you can also view further information about GKOMV_KEY 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