KOMKH SAP (Batch Determination Communication Block Header) Structure details

Dictionary Type: Structure
Description: Batch Determination Communication Block Header




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




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

KOMKH 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 "Batch Determination Communication Block Header" 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_KOMKH TYPE KOMKH.

The KOMKH table consists of various fields, each holding specific information or linking keys about Batch Determination Communication Block Header data available in SAP. These include KNDNR (Customer number), KNRZE (Payer), KUNRE (Bill-to party), KUNWE (Ship-to party).. 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)


SAP KOMKH 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
MANDTClient MANDTCLNT3T000MANDT
KNDNRCustomer number KUNNR_VCHAR10KNA1ALPHAKUNNRKUN
KNRZEPayer KUNRGCHAR10KNA1ALPHAKUNNR
KUNREBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
KUNWEShip-to party KUNWECHAR10KNA1ALPHAKUNNR
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
SPDNRForwarding agent SPDNRCHAR10LFA1ALPHALIFNR
VRTNRSales employee VRTNRNUMC8PERNRPREMV
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
VBELNSales and Distribution Document Number VBELNCHAR10VBUKALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6VBUPPOSNR
PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SPARTDivision in the order header SPARKCHAR2TSPASPART
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
VKBURSales Office VKBURCHAR4TVBURVKBURVKB
VKGRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
KDGRPCustomer group KDGRPCHAR2T151KDGRPVKD
BZIRKSales district BZIRKCHAR6T171BZIRKBZI
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
INCO1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
LAND1Country of Destination LLANDCHAR3T005LAND1VLL
REGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
COUNCCounty Code COUNCCHAR3T005ECOUNC
CITYCCity Code CITYCCHAR4T005GCITYC
AUARTOrder Type AUFARTCHAR4T003OAUFARTAAT
AUTYPOrder category AUFTYPNUMC2AUFTYP
VSBEDShipping Conditions VSBEDCHAR2TVSBVSBED
HIENR01Customer hierarchy 1 HIENR01CHAR10KNA1ALPHAKUNNR
HIENR02Customer hierarchy 2 HIENR02CHAR10KNA1ALPHAKUNNR
HIENR03Customer hierarchy 3 HIENR03CHAR10KNA1ALPHAKUNNR
HIENR04Customer hierarchy 4 HIENR04CHAR10KNA1ALPHAKUNNR
HIENR05Customer hierarchy 5 HIENR05CHAR10KNA1ALPHAKUNNR
HIENR06Customer hierarchy 6 HIENR06CHAR10KNA1ALPHAKUNNR
HIENR07Customer hierarchy 7 HIENR07CHAR10KNA1ALPHAKUNNR
HIENR08Customer hierarchy 8 HIENR08CHAR10KNA1ALPHAKUNNR
HIENR09Customer heirarchy 9 HIENR09CHAR10KNA1ALPHAKUNNR
HIENR10Customer hierarchy 10 HIENR10CHAR10KNA1ALPHAKUNNR
HIENR11Customer hierarchy 11 HIENR11CHAR10KNA1ALPHAKUNNR
HIENR12Customer hierarchy 12 HIENR12CHAR10KNA1ALPHAKUNNR
HIENR13Customer hierarchy 13 HIENR13CHAR10KNA1ALPHAKUNNR
HIENR14Customer hierarchy 14 HIENR14CHAR10KNA1ALPHAKUNNR
HIENR15Customer hierarchy 15 HIENR15CHAR10KNA1ALPHAKUNNR
HIEBO01Customer hierarchy 1 HIENR01CHAR10KNA1ALPHAKUNNR
HIEBO02Customer hierarchy 2 HIENR02CHAR10KNA1ALPHAKUNNR
HIEBO03Customer hierarchy 3 HIENR03CHAR10KNA1ALPHAKUNNR
HIEBO04Customer hierarchy 4 HIENR04CHAR10KNA1ALPHAKUNNR
HIEBO05Customer hierarchy 5 HIENR05CHAR10KNA1ALPHAKUNNR
HIEBO06Customer hierarchy 6 HIENR06CHAR10KNA1ALPHAKUNNR
HIEBO07Customer hierarchy 7 HIENR07CHAR10KNA1ALPHAKUNNR
HIEBO08Customer hierarchy 8 HIENR08CHAR10KNA1ALPHAKUNNR
HIEBO09Customer heirarchy 9 HIENR09CHAR10KNA1ALPHAKUNNR
HIEBO10Customer hierarchy 10 HIENR10CHAR10KNA1ALPHAKUNNR
HIEBO11Customer hierarchy 11 HIENR11CHAR10KNA1ALPHAKUNNR
HIEBO12Customer hierarchy 12 HIENR12CHAR10KNA1ALPHAKUNNR
HIEBO13Customer hierarchy 13 HIENR13CHAR10KNA1ALPHAKUNNR
HIEBO14Customer hierarchy 14 HIENR14CHAR10KNA1ALPHAKUNNR
HIEBO15Customer hierarchy 15 HIENR15CHAR10KNA1ALPHAKUNNR
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3T300LGNUMLGN
BWLVSMovement Type for Warehouse Management BWLVSNUMC3T333BWLVSBWL
AUART_SDSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KDUMMYDummy function in length 1 DUMMYCHAR1DUMMY

Key field Non-key field



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

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

How to access SAP table KOMKH

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