KOMLFKOC 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
KOMLFKOC 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_KOMLFKOC TYPE KOMLFKOC.
The KOMLFKOC 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 POSNR (Agency business: Document item), KSCHL (Condition type), KBETR (Condition rate), KAWRT (Condition base value).. 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 KOMLFKOC 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 |
WBELN | Agency Business: Document Number | WBELN_LF | CHAR | 10 | Assigned to domain | ALPHA | WBELN | WLF | |
POSNR | Agency business: Document item | WPOSNR_LF | NUMC | 6 | Assigned to domain | WPOSNR | |||
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 |
Key field | Non-key field |
How do I retrieve data from SAP structure KOMLFKOC using ABAP code?
As KOMLFKOC 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 KOMLFKOC as there is no data to select.How to access SAP table KOMLFKOC
Within an ECC or HANA version of SAP you can also view further information about KOMLFKOC 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