KOMLFKO SAP (Vendor billing doc.: Document conditions for default data) Structure details
Description: Vendor billing doc.: Document conditions for default data
Structure field list including key, data, relationships and ABAP select examples
KOMLFKO 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 "Vendor billing doc.: Document conditions for default data" 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_KOMLFKO TYPE KOMLFKO.
The KOMLFKO table consists of various fields, each holding specific information or linking keys about Vendor billing doc.: Document conditions for default data data available in SAP. These include OLDPO (Document item of the reference document), WBELN (Agency Business: Document Number), KPOSN (Condition item number), KSCHL (Condition type).. 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 KOMLFKO 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 |
OLDNR | Document number of the reference document | OLDNR_LF | CHAR | 10 | CHAR10 | ||||
OLDPO | Document item of the reference document | OLDPO_LF | NUMC | 6 | NUMC6 | ||||
WBELN | Agency Business: Document Number | WBELN_LF | CHAR | 10 | Assigned to domain | ALPHA | WBELN | WLF | |
KPOSN | Condition item number | KPOSN | NUMC | 6 | NUM6 | ||||
KSCHL | Condition type | KSCHA | CHAR | 4 | Assigned to domain | KSCHL | VKS | ||
KBETR | Condition rate | BAPIKBETR1 | DEC | 28(9) | BAPICUREXT | ||||
KAWRT | Condition base value | BAPIKAWRT1 | DEC | 28(9) | BAPICUREXT | ||||
KWERT | Condition value | BAPIKWERT1 | DEC | 28(9) | BAPICUREXT | ||||
KSTBS | Scale base value of the condition | BAPIKSTBS1 | DEC | 28(9) | BAPICUREXT | ||||
KWAEH | Condition currency (for cumulation fields) | KWAEH | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
KMEIN | Condition unit | KMEIN | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KNUMH | Condition record number | KNUMH | CHAR | 10 | KNUMB | ||||
KRECH | Calculation type for condition | KRECH | CHAR | 1 | KRECH | ||||
KRUEK | Condition is Relevant for Accrual (e.g. Freight) | KRUEK | CHAR | 1 | XFELD | ||||
KINAK | Condition is inactive | KINAK | CHAR | 1 | KINAK | ||||
KNTYP | Condition category (examples: tax, freight, price, cost) | KNTYP | CHAR | 1 | KNTYP | ||||
KDATU | Condition pricing date | KDATU | DATS | 8 | DATUM | ||||
KRELI | Condition for invoice list | KRELI | CHAR | 1 | KRELI | ||||
KOLNR | Access sequence - Access number | KOLNR | NUMC | 2 | Assigned to domain | KOLNR | |||
KSTEU | Condition control | KSTEU | CHAR | 1 | KSTEU | ||||
KHERK | Origin of the condition | KHERK | CHAR | 1 | KHERK | ||||
KSTAT | Condition is used for statistics | KSTAT | CHAR | 1 | XFELD | ||||
KAPPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
KONWS | Scale currency | KONWS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KONMS | Condition scale unit of measure | KONMS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KOPOS | Sequential number of the condition | KOPOS | NUMC | 2 | NUM02 | ||||
KVSL1 | Account key | KVSL1 | CHAR | 3 | Assigned to domain | KVSCHL | |||
KVSL2 | Account key - accruals / provisions | KVSL2 | CHAR | 3 | Assigned to domain | KVSCHL | |||
KZBZG | Scale basis indicator | KZBZG | CHAR | 1 | KZBZG | ||||
STUNR | Step number | STUNR | NUMC | 3 | Assigned to domain | STUNR | |||
ZAEHK | Condition counter | DZAEHK | NUMC | 2 | ZAEHK | ||||
KOAID | Condition class | KOAID | CHAR | 1 | KOAID | ||||
SAKN1 | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
SAKN2 | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
KUMZA | Numerator for converting condition units to base units | KUMZA | DEC | 5 | UMBSZ | ||||
KUMNE | Denominator for converting condition units to base units | KUMNE | DEC | 5 | UMBSN | ||||
KKURS | Condition exchange rate for conversion to local currency | KKURS | DEC | 9(5) | KKURS | ||||
MWSK1 | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
MWSK2 | Withholding tax code | WT_WITHCD | CHAR | 2 | Assigned to domain | WT_WITHCD | |||
UPDKZ | Update indicator | UPDKZ_D | CHAR | 1 | UPDKZ | ||||
.INCLU--AP | 0 | ||||||||
KBFLAG | Bit encrypted flags in Pricing | KBFLAG | RAW | 2 | KBFLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure KOMLFKO using ABAP code?
As KOMLFKO 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 KOMLFKO as there is no data to select.How to access SAP table KOMLFKO
Within an ECC or HANA version of SAP you can also view further information about KOMLFKO 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