LFM2 SAP (Vendor Master Record: Purchasing Data) Table details
Dictionary Type: Table
Description: Vendor Master Record: Purchasing Data
Description: Vendor Master Record: Purchasing Data
Table field list including key, data, relationships and ABAP select examples
LFM2 is a standard SAP Table which is used to store Vendor Master Record: Purchasing Data data and is available within R/3 SAP systems depending on the version and release level.
The LFM2 table consists of various fields, each holding specific information or linking keys about Vendor Master Record: Purchasing Data data available in SAP. These include LIFNR (Account Number of Vendor or Creditor), EKORG (Purchasing Organization), LTSNR (Vendor Subrange), WERKS (Plant).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP LFM2 table 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 | T000 | MANDT | |||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
LTSNR | Vendor Subrange | LTSNR | CHAR | 6 | WYT1 | LTSNR | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
SPERM | Purchasing block at purchasing organization level | SPERM_M | CHAR | 1 | XFELD | ||||
LOEVM | Delete flag for vendor at purchasing level | LOEVM_M | CHAR | 1 | XFELD | ||||
LFABC | ABC indicator | LFABC | CHAR | 1 | LFABC | ||||
WAERS | Purchase order currency | BSTWA | CUKY | 5 | TCURC | WAERS | |||
VERKF | Responsible Salesperson at Vendor's Office | EVERK | CHAR | 30 | TEXT30 | ||||
TELF1 | Vendor's telephone number | TELFE | CHAR | 16 | TEXT16 | ||||
MINBW | Minimum order value | MINBW | CURR | 13(2) | WERT7 | ||||
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
INCO1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | TINC | INCO1 | |||
INCO2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
WEBRE | Indicator: GR-Based Invoice Verification | WEBRE | CHAR | 1 | XFELD | ||||
KZABS | Order Acknowledgment Requirement | KZABS | CHAR | 1 | XFELD | ||||
KALSK | Group for Calculation Schema (Vendor) | KALSK | CHAR | 2 | TMKK | KALSK | |||
KZAUT | Automatic Generation of Purchase Order Allowed | KZAUT | CHAR | 1 | XFELD | ||||
EXPVZ | Mode of Transport for Foreign Trade | EXPVZ | CHAR | 1 | T618 | EXPVZ | |||
ZOLLA | Customs Office: Office of Exit/Entry for Foreign Trade | DZOLLS | CHAR | 6 | T615 | ZOLLS | |||
MEPRF | Price Determination (Pricing) Date Control | MEPRF | CHAR | 1 | MEPRF | ||||
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
XERSY | Evaluated Receipt Settlement (ERS) | XERSY | CHAR | 1 | XFELD | ||||
PLIFZ | Planned Delivery Time in Days | PLIFZ | DEC | 3 | DEC3 | ||||
MRPPP | Planning calendar | MRPPP_W | CHAR | 3 | T439G | MRPPP | |||
LFRHY | Planning cycle | LFRHY | CHAR | 3 | T439G | MRPPP | |||
LIBES | Order entry by vendor | LIBES | CHAR | 1 | CHAR1 | ||||
LIPRE | Price marking, vendor | LIPRE | CHAR | 2 | TWYAZ | LIPRE | |||
LISER | Rack-jobbing: vendor | LISER | CHAR | 1 | CHAR1 | ||||
DISPO | MRP Controller (Materials Planner) | DISPO | CHAR | 3 | T024D | DISPO | DGR | HS_T024D | |
BOIND | Field Not Used (Subsequent Settlement) | BOIND_UNUSED | CHAR | 1 | XFELD | ||||
BSTAE | Confirmation Control Key | BSTAE | CHAR | 4 | T163L | BSTAE | |||
RDPRF | Rounding Profile | RDPRF | CHAR | 4 | RDPR | RDPRF | |||
MEGRU | Unit of Measure Group | MEGRU | CHAR | 4 | TWMEG | MEGRU | |||
BOPNR | Restriction Profile for PO-Based Load Building | BOPNR | CHAR | 4 | TWBO1 | CHAR4 | |||
XERSR | Automatic evaluated receipt settlement for return items | XERSR | CHAR | 1 | XFELD | ||||
ABUEB | Release Creation Profile | ABUEB | CHAR | 4 | T163P | ABUEB | |||
PAPRF | Profile for transferring material data via IDoc PROACT | WVMI_PAPRF | CHAR | 4 | TWVMO | WVMI_PAPRF | |||
XNBWY | Revaluation allowed | XNBWY | CHAR | 1 | XFELD | ||||
LEBRE | Indicator for Service-Based Invoice Verification | LEBRE | CHAR | 1 | XFELD | ||||
BOLRE | Field Not Used (Subsequent Settlement) | BOLRE_UNUSED | CHAR | 1 | XFELD | ||||
UMSAE | Field Not Used (Subsequent Settlement) | UMSAE_UNUSED | CHAR | 1 | XFELD | ||||
.INCLU--AP | 0 | ||||||||
UPPRS | Pricing on Subitems (MPN/SUS) | UPPRS | CHAR | 1 | UPPRS | ||||
.INCLU--AP | 0 | ||||||||
TRANSPORT_CHAIN | Transportation Chain | WRF_PSCD_TC_ID | CHAR | 10 | WRF_PSCD_TCHAINH | WRF_PSCD_TC_ID | |||
STAGING_TIME | Staging Time in Days | WRF_PSCD_MST | DEC | 3 | WRF_PSCD_MST |
Key field | Non-key field |
How do I retrieve data from SAP table LFM2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on LFM2 to SELECT all data from the tableDATA: WA_LFM2 TYPE LFM2.
SELECT SINGLE *
FROM LFM2
INTO CORRESPONDING FIELDS OF WA_LFM2
WHERE...
How to access SAP table LFM2
Within an ECC or HANA version of SAP you can also view further information about LFM2 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