KOMKM SAP (Portfolio Determination: Communication Header) Structure details
Description: Portfolio Determination: Communication Header
Structure field list including key, data, relationships and ABAP select examples
KOMKM 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 "Portfolio Determination: Communication 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_KOMKM TYPE KOMKM.
The KOMKM table consists of various fields, each holding specific information or linking keys about Portfolio Determination: Communication Header data available in SAP. These include BELNR (Sales and Distribution Document Number), KNUMV (Number of the document condition), VKORG (Sales Organization), VTWEG (Distribution Channel).. 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 KOMKM 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 | |||
.INCLU--AP | 0 | ||||||||
BELNR | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KNUMV | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
BZIRK | Sales district | BZIRK | CHAR | 6 | Assigned to domain | BZIRK | BZI | ||
VKGRP | Sales Group | VKGRP | CHAR | 3 | Assigned to domain | VKGRP | VKG | ||
BRSCH | Industry key | BRSCH | CHAR | 4 | Assigned to domain | BRSCH | |||
VKBUR | Sales Office | VKBUR | CHAR | 4 | Assigned to domain | VKBUR | VKB | ||
KONDA | Price group (customer) | KONDA | CHAR | 2 | Assigned to domain | KONDA | VKA | ||
KDGRP | Customer group | KDGRP | CHAR | 2 | Assigned to domain | KDGRP | VKD | ||
PLTYP | Price list type | PLTYP | CHAR | 2 | Assigned to domain | PLTYP | VPL | ||
ALAND | Departure country (country from which the goods are sent) | ALAND | CHAR | 3 | Assigned to domain | LAND1 | VAL | ||
WKREG | Region in which plant is located | WKREG | CHAR | 3 | Assigned to domain | REGIO | |||
WKCOU | County in which plant is located | WKCOU | CHAR | 3 | CHAR3 | ||||
WKCTY | City in which plant is located | WKCTY | CHAR | 4 | CHAR4 | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
WERKV | Resale plant | WERKV | CHAR | 4 | Assigned to domain | WERKS | |||
KUNNR | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
KNRZE | Payer | KUNRG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
KUNRE | Bill-to party | KUNRE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
KUNWE | Ship-to party | KUNWE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
SPDNR | Forwarding agent | SPDNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
KAPPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | Assigned to domain | KALSM | |||
PRSDT | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
INCO1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCO2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
LAND1 | Country of Destination | LLAND | CHAR | 3 | Assigned to domain | LAND1 | VLL | ||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
COUNC | County Code | COUNC | CHAR | 3 | Assigned to domain | COUNC | |||
CITYC | City Code | CITYC | CHAR | 4 | Assigned to domain | CITYC | |||
STCEG | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
TAXK1 | Tax classification 1 for customer | TAXK1 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK2 | Tax classification 2 for customer | TAXK2 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK3 | Tax classification 3 for customer | TAXK3 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK4 | Tax Classification 4 Customer | TAXK4 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK5 | Tax classification 5 for customer | TAXK5 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK6 | Tax classification 6 for customer | TAXK6 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK7 | Tax classification 7 for customer | TAXK7 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK8 | Tax classification 8 for customer | TAXK8 | CHAR | 1 | Assigned to domain | TAXKD | |||
TAXK9 | Tax classification 9 for customer | TAXK9 | CHAR | 1 | Assigned to domain | TAXKD | |||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
ZSCHL | Overhead key | AUFZSCHL | CHAR | 6 | CHAR6 | ||||
AUFZA | Overhead type | AUFZA | CHAR | 1 | AUFZA | OVERHEAD_TYPE | |||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
KOSTV | Responsible cost center | AUFKOSTV | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | ||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
EKOR1 | Reference purchasing organization 1 | WEKOR1 | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
EKOR2 | Reference purchasing organization 2 | WEKOR2 | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BSART | Purchasing Document Type | ESART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
EGIMP | EC import | EGIMP | CHAR | 1 | XFELD | ||||
KVORG | Event in condition processing | KVORG | CHAR | 2 | KOVOR | ||||
RESWK | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
REVKO | Sales organization of supplying plant (Purchasing) | WKVKO | CHAR | 4 | Assigned to domain | VKORG | |||
REVTW | Distribution channel of supplying plant (Purchasing) | WKVTW | CHAR | 2 | Assigned to domain | VTWEG | |||
LIFRE | Different Invoicing Party | LIFRE | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LRE | |
LLIEF | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI | |
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
KOSAR | Cost Center Category | KOSAR | CHAR | 1 | Assigned to domain | KOSAR | PCA_KOSAR | ||
ERKRS | Operating concern | ERKRS | CHAR | 4 | Assigned to domain | ERKRS | ERB | ||
PROJK | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
VRGAR | Record Type | RKE_VRGAR | CHAR | 1 | Assigned to domain | VRGAR | VGA | ||
VKORGAU | Sales organization of sales order | VKORG_AUFT | CHAR | 4 | Assigned to domain | VKORG | VKO | ||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TXJCD1 | Tax Calculation Location - Tax Jurisdiction Code 1 | TXJCD1 | CHAR | 15 | Assigned to domain | TXJCD | |||
TXJCD2 | Tax Calculation Location - Tax Jurisdiction Code 2 | TXJCD2 | CHAR | 15 | Assigned to domain | TXJCD | |||
TXJCD3 | Tax Calculation Location - Tax Jurisdiction Code 3 | TXJCD3 | CHAR | 15 | Assigned to domain | TXJCD | |||
HLAND | Delivering country | HLAND | CHAR | 3 | Assigned to domain | LAND1 | VAL | ||
AUSFU | Exporter for import processing in foreign trade | AUSFU | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
AUART_SD | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
AUGRU | Order reason (reason for the business transaction) | AUGRU | CHAR | 3 | Assigned to domain | AUGRU | |||
GZOLX | Preference zone | GZOLX | CHAR | 4 | Assigned to domain | GZOLX | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
KHINR | Set ID | SETNR | CHAR | 12 | SETNR | GSE | |||
DELCO | Agreed delivery time | DELCO | CHAR | 3 | DELCO | ||||
PZUST | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST01 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST02 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST03 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST04 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST05 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST06 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST07 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST08 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST09 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
PZUST10 | Responsibility for Portfolio | PZUST | CHAR | 4 | Assigned to domain | PZUST | |||
IX_KOMKM | Index number for internal tables | KOIDX | INT4 | 10 | KOIDX |
Key field | Non-key field |
How do I retrieve data from SAP structure KOMKM using ABAP code?
As KOMKM 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 KOMKM as there is no data to select.How to access SAP table KOMKM
Within an ECC or HANA version of SAP you can also view further information about KOMKM 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