KOMGG SAP (Material Listing/Exclusion-Communication Block (Dialog)) Structure details

Dictionary Type: Structure
Description: Material Listing/Exclusion-Communication Block (Dialog)




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




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

KOMGG 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 "Material Listing/Exclusion-Communication Block (Dialog)" 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_KOMGG TYPE KOMGG.

The KOMGG table consists of various fields, each holding specific information or linking keys about Material Listing/Exclusion-Communication Block (Dialog) data available in SAP. These include VKORG (Sales Organization), VTWEG (Distribution Channel), SPART (Division), KDGRP (Customer group).. 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 KOMGG 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
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
KDGRPCustomer group KDGRPCHAR2T151KDGRPVKD
ALANDDeparture country (country from which the goods are sent) ALANDCHAR3T005LAND1VAL
WKREGRegion in which plant is located WKREGCHAR3T005SREGIO
WKCOUCounty in which plant is located WKCOUCHAR3CHAR3
WKCTYCity in which plant is located WKCTYCHAR4CHAR4
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KUNNRCustomer number KUNNR_VCHAR10KNA1ALPHAKUNNRKUN
KNRZEPayer KUNRGCHAR10KNA1ALPHAKUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
INCO1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
LAND1Country of Destination LLANDCHAR3T005LAND1VLL
REGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
COUNCCounty Code COUNCCHAR3T005ECOUNC
CITYCCity Code CITYCCHAR4T005GCITYC
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
LIFREDifferent Invoicing Party LIFRECHAR10LFA1ALPHALIFNRLRE
VBTYPSD document category VBTYPCHAR1VBTYP
KUNAGSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
KUNWEShip-to party KUNWECHAR10KNA1ALPHAKUNNR
SPDNRForwarding agent SPDNRCHAR10Assigned to domainALPHALIFNR
VRTNRSales employee VRTNRNUMC8PERNRPREMV
DUMMYKDummy function in length 1 DUMMYCHAR1DUMMY
.INCLU--AP 0
HIENR01Customer hierarchy 1 HIENR01CHAR10Assigned to domainALPHAKUNNR
HIENR02Customer hierarchy 2 HIENR02CHAR10Assigned to domainALPHAKUNNR
HIENR03Customer hierarchy 3 HIENR03CHAR10Assigned to domainALPHAKUNNR
HIENR04Customer hierarchy 4 HIENR04CHAR10Assigned to domainALPHAKUNNR
HIENR05Customer hierarchy 5 HIENR05CHAR10Assigned to domainALPHAKUNNR
HIENR06Customer hierarchy 6 HIENR06CHAR10Assigned to domainALPHAKUNNR
HIENR07Customer hierarchy 7 HIENR07CHAR10Assigned to domainALPHAKUNNR
HIENR08Customer hierarchy 8 HIENR08CHAR10Assigned to domainALPHAKUNNR
HIENR09Customer heirarchy 9 HIENR09CHAR10Assigned to domainALPHAKUNNR
HIENR10Customer hierarchy 10 HIENR10CHAR10Assigned to domainALPHAKUNNR
HIENR11Customer hierarchy 11 HIENR11CHAR10Assigned to domainALPHAKUNNR
HIENR12Customer hierarchy 12 HIENR12CHAR10Assigned to domainALPHAKUNNR
HIENR13Customer hierarchy 13 HIENR13CHAR10Assigned to domainALPHAKUNNR
HIENR14Customer hierarchy 14 HIENR14CHAR10Assigned to domainALPHAKUNNR
HIENR15Customer hierarchy 15 HIENR15CHAR10Assigned to domainALPHAKUNNR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
EAN11International Article Number (EAN/UPC) EAN11CHAR18EAN11EAN11EAN
WAGRPMaterial group WAGRPCHAR9CHAR9
KONDMMaterial Pricing Group KONDMCHAR2T178KONDMVKM
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
INFNRNumber of Purchasing Info Record INFNRCHAR10EINAALPHAINFNRINFMEIN_C
PRODHProduct hierarchy PRODH_DCHAR18T179PRODHVPR
PMATNPricing Reference Material PMATNCHAR18MARAMATN1MATNRMAT
VKGRURepair Processing: Classification of Items VKGRUCHAR3Assigned to domainRMA_VORGARMA_VORGA
VKAUSUnused - Reserve Length 3 VKAUSCHAR3VKAUS
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
MATWAMaterial entered MATWACHAR18MARAMATN1MATNRMAT
MEINAUnit of measure MEINAUNIT3T006CUNITMEINS
MBRSHIndustry sector MBRSHCHAR1T137MBRSHMTP
EDATUSchedule line date EDATUDATS8DATUM
DUMMY2Dummy function in length 1 DUMMYCHAR1DUMMY

Key field Non-key field



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

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

How to access SAP table KOMGG

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