GKOMV SAP (Group Conditions) Structure details
Description: Group Conditions
Structure field list including key, data, relationships and ABAP select examples
GKOMV 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 "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 TYPE GKOMV.
The GKOMV table consists of various fields, each holding specific information or linking keys about Group Conditions data available in SAP. These include MANDT (Client), KSCHL (Condition type), VAKEY (Variable key 100 bytes), KNUMH (Condition record 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: Can be enhanced (character-type or numeric)
SAP GKOMV 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 |
KEY | 0 | ||||||||
MANDT | Client | MANDT | CLNT | 3 | MANDT | ||||
KSCHL | Condition type | KSCHA | CHAR | 4 | 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 | WAERS | FWS | |||
WAERK | SD Document Currency | WAERK | CUKY | 5 | WAERS | FWS | |||
HWAER | Local Currency | HWAER | CUKY | 5 | WAERS | ||||
KNTYP | Condition category (examples: tax, freight, price, cost) | KNTYP | CHAR | 1 | KNTYP | ||||
MWSK1 | Tax on sales/purchases code | MWSKZ | CHAR | 2 | 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 | CUNIT | MEINS | |||
KONWS | Scale currency | KONWS | CUKY | 5 | WAERS | FWS | |||
KYBTR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
ZAEHK_KO | Condition counter | DZAEHK | NUMC | 2 | ZAEHK | ||||
KAPPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
IX_KOMV | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
IX_AKTPOS | Condition item number | KPOSN | NUMC | 6 | NUM6 | ||||
SHKZG | Returns Item | SHKZG_VA | CHAR | 1 | XFELD | ||||
KKURS | Condition exchange rate for conversion to local currency | KKURS | DEC | 9(5) | KKURS | ||||
KURSK | Exchange Rate for Price Determination | KURSK | DEC | 9(5) | EXCRT | KURRF | |||
PRSDT | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
ALAND | Departure country (country from which the goods are sent) | ALAND | CHAR | 3 | Assigned to domain | LAND1 | VAL | ||
KMAXW | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KAWRT | Condition base value | KAWRT | CURR | 15(2) | WERTV8 | ||||
KBETR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
KMEIN | Condition unit in the document | KVMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
KUMZA | Numerator for converting condition units to base units | KUMZA | DEC | 5 | UMBSZ | ||||
KUMNE | Denominator for converting condition units to base units | KUMNE | DEC | 5 | UMBSN | ||||
SUMPS | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KWERT | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KWERT_K | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KWAEH | Condition currency (for cumulation fields) | KWAEH | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KSTBS | Scale base value of the condition | KSTBS | CURR | 15(2) | WERTV8 | ||||
VOLUM | Volume of the item | VOLUM_AP | QUAN | 15(3) | MENG15 | ||||
VOLEH | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KDUPL | Structure condition | KDUPL | CHAR | 1 | KDUPL | ||||
RDIFA | Rounding difference comparison | RDIFA | CHAR | 1 | XFELD | ||||
KINAK | Condition is inactive | KINAK | CHAR | 1 | KINAK | ||||
IX_GKOMV | Index number for internal tables | KOIDX | INT4 | 10 | KOIDX | ||||
C_KSTBS | Scale base value of the condition | KSTBS | CURR | 15(2) | WERTV8 | ||||
IX_CGKOMV | Index number for internal tables | KOIDX | INT4 | 10 | KOIDX | ||||
OLD_KSTBS | Scale base value of the condition | KSTBS | CURR | 15(2) | WERTV8 | ||||
KDATU | Condition pricing date | KDATU | DATS | 8 | DATUM | ||||
KMAXW_ORIGIN | Source Determination Max. Value for Rounding Diff. Comp. | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure GKOMV using ABAP code?
As GKOMV 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 as there is no data to select.How to access SAP table GKOMV
Within an ECC or HANA version of SAP you can also view further information about GKOMV 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