KOMK4 SAP (FI Tax Line Items Communication Table) Structure details
Description: FI Tax Line Items Communication Table
Structure field list including key, data, relationships and ABAP select examples
KOMK4 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 "FI Tax Line Items Communication Table" 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_KOMK4 TYPE KOMK4.
The KOMK4 table consists of various fields, each holding specific information or linking keys about FI Tax Line Items Communication Table data available in SAP. These include BELNR (Internal Document Number for the FI Interface), MWSKZ (Tax on sales/purchases code), HKONT (General Ledger Account), SHKZG (Debit/Credit Indicator).. 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 KOMK4 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 |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
BELNR | Internal Document Number for the FI Interface | INTBL | CHAR | 10 | ALPHA | BELNR | |||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
HKONT | General Ledger Account | HKONT | CHAR | 10 | SKA1 | ALPHA | SAKNR | ||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
HWBAS | Tax Base Amount in Local Currency | HWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
FWBAS | Tax base amount in document currency | FWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
HWBA_1 | 1. Tax Base Amount (FI Interface) | HWBA_1 | CURR | 15(2) | WERTV8 | ||||
HWBA_2 | 2. Tax Base Amount (FI Interface) | HWBA_2 | CURR | 15(2) | WERTV8 | ||||
HWBA_3 | 3. Tax Base Amount (FI Interface) | HWBA_3 | CURR | 15(2) | WERTV8 | ||||
HWSTE | Tax Amount in Local Currency | HWSTE | CURR | 13(2) | WERT7 | ||||
FWSTE | Tax Amount in Document Currency | FWSTE | CURR | 13(2) | WERT7 | ||||
HWST_1 | 1. Tax Amount (FI Posting Interface) | HWST_1 | CURR | 13(2) | WERT7 | ||||
HWST_2 | 1. Tax Amount (FI Posting Interface) | HWST_2 | CURR | 13(2) | WERT7 | ||||
HWST_3 | 3. Tax Amount (FI Posting Interface) | HWST_3 | CURR | 13(2) | WERT7 | ||||
KTOSL | Transaction Key | KTOSL | CHAR | 3 | CHAR3 | ||||
KNUMH | Condition record number | KNUMH | CHAR | 10 | KNUMB | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ |
Key field | Non-key field |
How do I retrieve data from SAP structure KOMK4 using ABAP code?
As KOMK4 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 KOMK4 as there is no data to select.How to access SAP table KOMK4
Within an ECC or HANA version of SAP you can also view further information about KOMK4 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