KOMLFPE SAP (Vendor billing document: transfer external item data) Structure details
Description: Vendor billing document: transfer external item data
Structure field list including key, data, relationships and ABAP select examples
KOMLFPE 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 document: transfer external item 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_KOMLFPE TYPE KOMLFPE.
The KOMLFPE table consists of various fields, each holding specific information or linking keys about Vendor billing document: transfer external item data data available in SAP. These include OLDPO (Document item of the reference document), WBELN (Agency Business: Document Number), POSNR (Agency business: Document item), MATNR (Material Number).. 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 KOMLFPE 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 | |
POSNR | Agency business: Document item | WPOSNR_LF | NUMC | 6 | Assigned to domain | WPOSNR | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
KOLIF | Prior Vendor | KOLIF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
LTSNR | Vendor Subrange | LTSNR | CHAR | 6 | Assigned to domain | LTSNR | |||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
PRSDT | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
MENGE | Vendor billing document: actual quantity billed | WFIMG | QUAN | 13(3) | MENGE13 | ||||
NETPR | Vendor billing document: net price in document currency | WNETPR | CURR | 11(2) | WERTV6 | ||||
PEINH | Price Unit of Vendor Billing Document Item | WEINH | DEC | 5 | DEC5 | ||||
WFKME | Vendor billing document: unit of measure | WFKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UMREZ | Numerator converting qty in vendor bill.doc. to base unit | UMWFZ | DEC | 5 | UMBSZ | ||||
UMREN | Factor for converting qty in vendor bill. doc. to base unit | UMWFN | DEC | 5 | UMBSN | ||||
SKTOF | Cash discount indicator | SKTOF | CHAR | 1 | XFELD | ||||
WBELNV | Agency business: Document number of the reference document | WBELNV | CHAR | 10 | CHAR10 | ||||
POSNRV | Item number of the reference document item | WPOSNRV | NUMC | 6 | NUMC6 | ||||
LFTYPV | Agency Business: Document Category of Preceding Document | WFTYPV | CHAR | 2 | WFTYPV | ||||
AKTNR | COUPON | WAKTION | CHAR | 10 | Assigned to domain | ALPHA | WAKTION | WAK | |
LFGRU | Agency business: Reason for activity | WFGRU | CHAR | 3 | Assigned to domain | WFGRU | |||
ARKTX | Short Text | TXZ01 | CHAR | 40 | TEXT40 | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
EBONF | Item Relevant to Subsequent (Period-End Rebate) Settlement | EBONY | CHAR | 1 | XFELD | ||||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
EKKOL | Condition Group with Vendor | EKKOG | CHAR | 4 | CHAR4 | ||||
NTGEW | Net weight | NTGEW_15 | QUAN | 15(3) | MENG15 | ||||
BRGEW | Gross weight | BRGEW_15 | QUAN | 15(3) | MENG15 | ||||
GEWEI | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VOLUM | Volume | VOLUM_15 | QUAN | 15(3) | MENG15 | ||||
VOLEH | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
ANZPU | Number of Points | ANZPU | QUAN | 13(3) | MENG13 | ||||
PUNEI | Points unit | PUNEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BONUS | Settlement Group 1 (Purchasing) | EBONU | CHAR | 2 | EBONU | ||||
EBON2 | Settlement Group 2 (Rebate Settlement, Purchasing) | EBON2 | CHAR | 2 | EBONU | ||||
EBON3 | Settlement Group 3 (Rebate Settlement, Purchasing) | EBON3 | CHAR | 2 | EBONU | ||||
FPRME | Billing price unit | WFPRME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
FPUMZ | Vendor billing doc.: numerator for converting BPUn to PBUn | WPUMZ | DEC | 5 | UMBSZ | ||||
FPUMN | Vendor billing doc.: denominator for converting BPUn to PBUn | WPUMN | DEC | 5 | UMBSZ | ||||
WBELN_V | Triggering document of the agency document | WBELN_V | CHAR | 10 | CHAR10 | ||||
POSNR_V | Triggering item in the agency document | POSNR_V | NUMC | 6 | NUMC6 | ||||
FTYPV_V | Agency Business: Document Category of Triggering Document | WFTYP_V | CHAR | 2 | WFTYP_V | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
ITEMCAT | Agency Business: Item Category | WSHKZG | CHAR | 1 | WSHKZG | ||||
MATBF | Material in Respect of Which Stock is Managed | MATBF | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
WAART | Indicates that material is a value-only material | WAART | CHAR | 1 | XFELD | ||||
GJAHRV | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
CONTRACT | Referencing Contract Number | WCONTRACT | CHAR | 10 | ALPHA | WCONTRACT | |||
CONTRACT_ITEM | Referencing Contract Item Number | WCONTRACT_ITEM | NUMC | 6 | NUMC6 | ||||
CONTRACT_TYPE | Contract Type for Contract Number | WCONTRACT_TYPE | CHAR | 1 | WCONTRACT_TYPE | ||||
IDNLF | Material Number Used by Vendor | IDNLF | CHAR | 35 | IDNEX | ||||
GUID_REF | AB: GUID of Reference Document | WLF_GUID_REFERENCE | RAW | 16 | |||||
IDNLF_TYPE | AB: Article Number Type - Vendor | WLF_IDNLF_TYPE | CHAR | 4 | TMVMT | WLF_IDNLF_TYPE | |||
BEMOT | Accounting Indicator | BEMOT | CHAR | 2 | TBMOT | BEMOT | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
NETPR_EXP | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
FBUDA | Date on which services rendered | FBUDA | DATS | 8 | DATUM | ||||
.INCLU--AP | 0 | ||||||||
KNUMH | Condition record number | KNUMH | CHAR | 10 | KONH | KNUMB | |||
KOPOS | Sequential number of the condition | KOPOS | NUMC | 2 | KONP | NUM02 | |||
COCO_NUM | Condition Contract Number | WCB_COCO_NUM | CHAR | 10 | ALPHA | WCB_COCO_NUM | |||
.INCLU--AP | 0 | ||||||||
POSNR_MAIN | Main Item for Item | WLF_POSNR_MAIN | NUMC | 6 | Assigned to domain | WPOSNR | |||
CWM_MENGE | Quantity in Parallel Unit of Measure | WLF_CWM_MENGE | QUAN | 13(3) | MENG13 | ||||
CWM_MEINS | AB: Parallel Unit of Measure | WLF_CWM_MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
REF_NUMBER | Reference Document for Agency Document | WLF_REF_NUMBER | CHAR | 32 | WLF_REF_NUMBER | ||||
REF_ITEM_NUMBER | Reference Document Item for Agency Document | WLF_REF_ITEM_NUMBER | NUMC | 10 | WLF_REF_ITEM_NUMBER | ||||
REF_TYPE | Reference Document Category | WLF_REF_TYPE | CHAR | 2 | WFTYP_V | ||||
WEIGHT_VOLUME | Level on which You Enter Weight and Volume | WLF_WEIGHT_VOLUME_LEVEL | CHAR | 1 | WLF_WEIGHT_VOLUME_LEVEL | ||||
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
.INCLU--AP | 0 | ||||||||
INCO1_P | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCO2_P | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
NO_INCOTERM_DETERMINATION | Agency Business: No Incoterm Determination | WLF_NO_INCOTERM_DETERMINATION | CHAR | 1 | XFELD | ||||
.INCLU--AP | 0 | ||||||||
IV_CHECK_TYPE_I | Type of Check (Item) | WLF_IV_CHECK_TYPE_ITEM | CHAR | 1 | WLF_IV_CHECK_TYPE_ITEM | ||||
.INCLU--AP | 0 | ||||||||
SCHEME_ID | AB: Identifier for the ID Scheme | WLF_SCHEME_ID | CHAR | 60 | CHAR60 | ||||
SCHEME_A_ID | AB: ID of the Organization that Maintains the ID Scheme | WLF_SCHEME_A_ID | CHAR | 60 | CHAR60 | ||||
AGENCY_ID_CODE | AB: Agency of Standard ID for Invoice Document | WLF_AGENCY_ID_CODE | CHAR | 3 | CHAR3 | ||||
.INCLU--AP | 0 | ||||||||
REF_NUMBER_2 | Reference Document for Agency Document | WLF_REF_NUMBER | CHAR | 32 | WLF_REF_NUMBER | ||||
REF_ITEM_NUM_2 | Reference Document Item for Agency Document | WLF_REF_ITEM_NUMBER | NUMC | 10 | WLF_REF_ITEM_NUMBER | ||||
REF_TYPE_2 | Reference Document Category | WLF_REF_TYPE | CHAR | 2 | WFTYP_V | ||||
REF_PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
REF_SAKTO | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
KOWRR | Statistical Values | WKOWRR | CHAR | 1 | WKOWRR |
Key field | Non-key field |
How do I retrieve data from SAP structure KOMLFPE using ABAP code?
As KOMLFPE 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 KOMLFPE as there is no data to select.How to access SAP table KOMLFPE
Within an ECC or HANA version of SAP you can also view further information about KOMLFPE 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