GKOMV SAP (Group Conditions) Structure details

Dictionary Type: Structure
Description: Group Conditions




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




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
MANDTClient MANDTCLNT3MANDT
KSCHLCondition type KSCHACHAR4KSCHLVKS
VAKEYVariable key 100 bytes VAKEYCHAR100VAKEY
KNUMHCondition record number KNUMHCHAR10KNUMB
KOPOSSequential number of the condition KOPOSNUMC2NUM02
ZAEKOCondition counter for (header conditions) DZAEKONUMC2ZAEHK
KRECHCalculation type for condition KRECHCHAR1KRECH
MDFLGIndicator: Matrix maintenance MDFLGCHAR1MDFLG
WAERSCurrency Key WAERSCUKY5WAERSFWS
WAERKSD Document Currency WAERKCUKY5WAERSFWS
HWAERLocal Currency HWAERCUKY5WAERS
KNTYPCondition category (examples: tax, freight, price, cost) KNTYPCHAR1KNTYP
MWSK1Tax on sales/purchases code MWSKZCHAR2MWSKZ
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZBD1PCash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
KHERKOrigin of the condition KHERKCHAR1KHERK
KSTEUCondition control KSTEUCHAR1KSTEU
KOFRMCondition formula for alternative calculation type KOFRMNUMC3KOFRM
KOFRSFormula for scale base value KOFRSNUMC3KOFRM
KZBZGScale basis indicator KZBZGCHAR1KZBZG
STFKZScale Type STFKZCHAR1STFKZ
TXPRFRounding rule TXPRFCHAR1TXPRF
GANZZIndicator: Currency Translation after Multiplication GANZZCHAR1XFELD
KONMSCondition scale unit of measure KONMSUNIT3CUNITMEINS
KONWSScale currency KONWSCUKY5WAERSFWS
KYBTRRate (condition amount or percentage) KBETRCURR11(2) WERTV6
ZAEHK_KOCondition counter DZAEHKNUMC2ZAEHK
KAPPLApplication KAPPLCHAR2Assigned to domainKAPPLKAP
IX_KOMVRow Index of Internal Tables SYTABIXINT410SYST_LONG
IX_AKTPOSCondition item number KPOSNNUMC6NUM6
SHKZGReturns Item SHKZG_VACHAR1XFELD
KKURSCondition exchange rate for conversion to local currency KKURSDEC9(5) KKURS
KURSKExchange Rate for Price Determination KURSKDEC9(5) EXCRTKURRF
PRSDTDate for pricing and exchange rate PRSDTDATS8DATUM
ALANDDeparture country (country from which the goods are sent) ALANDCHAR3Assigned to domainLAND1VAL
KMAXWCondition value KWERTCURR13(2) WERTV7
KAWRTCondition base value KAWRTCURR15(2) WERTV8
KBETRRate (condition amount or percentage) KBETRCURR11(2) WERTV6
KMEINCondition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
KPEINCondition pricing unit KPEINDEC5KPEIN
KUMZANumerator for converting condition units to base units KUMZADEC5UMBSZ
KUMNEDenominator for converting condition units to base units KUMNEDEC5UMBSN
SUMPSCondition value KWERTCURR13(2) WERTV7
KWERTCondition value KWERTCURR13(2) WERTV7
KWERT_KCondition value KWERTCURR13(2) WERTV7
KWAEHCondition currency (for cumulation fields) KWAEHCUKY5Assigned to domainWAERSFWS
KSTBSScale base value of the condition KSTBSCURR15(2) WERTV8
VOLUMVolume of the item VOLUM_APQUAN15(3) MENG15
VOLEHVolume unit VOLEHUNIT3Assigned to domainCUNITMEINS
KDUPLStructure condition KDUPLCHAR1KDUPL
RDIFARounding difference comparison RDIFACHAR1XFELD
KINAKCondition is inactive KINAKCHAR1KINAK
IX_GKOMVIndex number for internal tables KOIDXINT410KOIDX
C_KSTBSScale base value of the condition KSTBSCURR15(2) WERTV8
IX_CGKOMVIndex number for internal tables KOIDXINT410KOIDX
OLD_KSTBSScale base value of the condition KSTBSCURR15(2) WERTV8
KDATUCondition pricing date KDATUDATS8DATUM
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 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!