VMDS_LFM2_S SAP (Purchasing data) Structure details

Dictionary Type: Structure
Description: Purchasing data




ABAP Code to SELECT data from VMDS_LFM2_S
Related tables to VMDS_LFM2_S
Access table VMDS_LFM2_S




Structure field list including key, data, relationships and ABAP select examples

VMDS_LFM2_S 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 "Purchasing 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_VMDS_LFM2_S TYPE VMDS_LFM2_S.

The VMDS_LFM2_S table consists of various fields, each holding specific information or linking keys about Purchasing data data available in SAP. These include MANDT (Client), LIFNR (Account Number of Vendor or Creditor), EKORG (Purchasing Organization), LTSNR (Vendor Subrange).. 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 (Deep)


SAP VMDS_LFM2_S 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
OLD_DATA 0
MANDTClient MANDTCLNT3MANDT
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10ALPHALIFNRLIFKRED_C
EKORGPurchasing Organization EKORGCHAR4EKORGEKO
LTSNRVendor Subrange LTSNRCHAR6LTSNR
WERKSPlant WERKS_DCHAR4WERKSWRKH_T001W_C
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
SPERMPurchasing block at purchasing organization level SPERM_MCHAR1XFELD
LOEVMDelete flag for vendor at purchasing level LOEVM_MCHAR1XFELD
LFABCABC indicator LFABCCHAR1LFABC
WAERSPurchase order currency BSTWACUKY5WAERS
VERKFResponsible Salesperson at Vendor's Office EVERKCHAR30TEXT30
TELF1Vendor's telephone number TELFECHAR16TEXT16
MINBWMinimum order value MINBWCURR13(2) WERT7
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
INCO1Incoterms (Part 1) INCO1CHAR3INCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
WEBREIndicator: GR-Based Invoice Verification WEBRECHAR1XFELD
KZABSOrder Acknowledgment Requirement KZABSCHAR1XFELD
KALSKGroup for Calculation Schema (Vendor) KALSKCHAR2KALSK
KZAUTAutomatic Generation of Purchase Order Allowed KZAUTCHAR1XFELD
EXPVZMode of Transport for Foreign Trade EXPVZCHAR1EXPVZ
ZOLLACustoms Office: Office of Exit/Entry for Foreign Trade DZOLLSCHAR6ZOLLS
MEPRFPrice Determination (Pricing) Date Control MEPRFCHAR1MEPRF
EKGRPPurchasing Group EKGRPCHAR3EKGRPEKG
XERSYEvaluated Receipt Settlement (ERS) XERSYCHAR1XFELD
PLIFZPlanned Delivery Time in Days PLIFZDEC3DEC3
MRPPPPlanning calendar MRPPP_WCHAR3MRPPP
LFRHYPlanning cycle LFRHYCHAR3MRPPP
LIBESOrder entry by vendor LIBESCHAR1CHAR1
LIPREPrice marking, vendor LIPRECHAR2LIPRE
LISERRack-jobbing: vendor LISERCHAR1CHAR1
DISPOMRP Controller (Materials Planner) DISPOCHAR3DISPODGRHS_T024D
BOINDField Not Used (Subsequent Settlement) BOIND_UNUSEDCHAR1XFELD
BSTAEConfirmation Control Key BSTAECHAR4BSTAE
RDPRFRounding Profile RDPRFCHAR4RDPRF
MEGRUUnit of Measure Group MEGRUCHAR4MEGRU
BOPNRRestriction Profile for PO-Based Load Building BOPNRCHAR4CHAR4
XERSRAutomatic evaluated receipt settlement for return items XERSRCHAR1XFELD
ABUEBRelease Creation Profile ABUEBCHAR4ABUEB
PAPRFProfile for transferring material data via IDoc PROACT WVMI_PAPRFCHAR4WVMI_PAPRF
XNBWYRevaluation allowed XNBWYCHAR1XFELD
LEBREIndicator for Service-Based Invoice Verification LEBRECHAR1XFELD
BOLREField Not Used (Subsequent Settlement) BOLRE_UNUSEDCHAR1XFELD
UMSAEField Not Used (Subsequent Settlement) UMSAE_UNUSEDCHAR1XFELD
.INCLU--AP 0
UPPRSPricing on Subitems (MPN/SUS) UPPRSCHAR1UPPRS
.INCLU--AP 0
TRANSPORT_CHAINTransportation Chain WRF_PSCD_TC_IDCHAR10WRF_PSCD_TC_ID
STAGING_TIMEStaging Time in Days WRF_PSCD_MSTDEC3WRF_PSCD_MST
NEW_DATA 0
MANDTClient MANDTCLNT3MANDT
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10ALPHALIFNRLIFKRED_C
EKORGPurchasing Organization EKORGCHAR4EKORGEKO
LTSNRVendor Subrange LTSNRCHAR6LTSNR
WERKSPlant WERKS_DCHAR4WERKSWRKH_T001W_C
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
SPERMPurchasing block at purchasing organization level SPERM_MCHAR1XFELD
LOEVMDelete flag for vendor at purchasing level LOEVM_MCHAR1XFELD
LFABCABC indicator LFABCCHAR1LFABC
WAERSPurchase order currency BSTWACUKY5WAERS
VERKFResponsible Salesperson at Vendor's Office EVERKCHAR30TEXT30
TELF1Vendor's telephone number TELFECHAR16TEXT16
MINBWMinimum order value MINBWCURR13(2) WERT7
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
INCO1Incoterms (Part 1) INCO1CHAR3INCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
WEBREIndicator: GR-Based Invoice Verification WEBRECHAR1XFELD
KZABSOrder Acknowledgment Requirement KZABSCHAR1XFELD
KALSKGroup for Calculation Schema (Vendor) KALSKCHAR2KALSK
KZAUTAutomatic Generation of Purchase Order Allowed KZAUTCHAR1XFELD
EXPVZMode of Transport for Foreign Trade EXPVZCHAR1EXPVZ
ZOLLACustoms Office: Office of Exit/Entry for Foreign Trade DZOLLSCHAR6ZOLLS
MEPRFPrice Determination (Pricing) Date Control MEPRFCHAR1MEPRF
EKGRPPurchasing Group EKGRPCHAR3EKGRPEKG
XERSYEvaluated Receipt Settlement (ERS) XERSYCHAR1XFELD
PLIFZPlanned Delivery Time in Days PLIFZDEC3DEC3
MRPPPPlanning calendar MRPPP_WCHAR3MRPPP
LFRHYPlanning cycle LFRHYCHAR3MRPPP
LIBESOrder entry by vendor LIBESCHAR1CHAR1
LIPREPrice marking, vendor LIPRECHAR2LIPRE
LISERRack-jobbing: vendor LISERCHAR1CHAR1
DISPOMRP Controller (Materials Planner) DISPOCHAR3DISPODGRHS_T024D
BOINDField Not Used (Subsequent Settlement) BOIND_UNUSEDCHAR1XFELD
BSTAEConfirmation Control Key BSTAECHAR4BSTAE
RDPRFRounding Profile RDPRFCHAR4RDPRF
MEGRUUnit of Measure Group MEGRUCHAR4MEGRU
BOPNRRestriction Profile for PO-Based Load Building BOPNRCHAR4CHAR4
XERSRAutomatic evaluated receipt settlement for return items XERSRCHAR1XFELD
ABUEBRelease Creation Profile ABUEBCHAR4ABUEB
PAPRFProfile for transferring material data via IDoc PROACT WVMI_PAPRFCHAR4WVMI_PAPRF
XNBWYRevaluation allowed XNBWYCHAR1XFELD
LEBREIndicator for Service-Based Invoice Verification LEBRECHAR1XFELD
BOLREField Not Used (Subsequent Settlement) BOLRE_UNUSEDCHAR1XFELD
UMSAEField Not Used (Subsequent Settlement) UMSAE_UNUSEDCHAR1XFELD
.INCLU--AP 0
UPPRSPricing on Subitems (MPN/SUS) UPPRSCHAR1UPPRS
.INCLU--AP 0
TRANSPORT_CHAINTransportation Chain WRF_PSCD_TC_IDCHAR10WRF_PSCD_TC_ID
STAGING_TIMEStaging Time in Days WRF_PSCD_MSTDEC3WRF_PSCD_MST
UPDSingle-Character Indicator CHAR1CHAR1CHAR1

Key field Non-key field



How do I retrieve data from SAP structure VMDS_LFM2_S using ABAP code?

As VMDS_LFM2_S 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 VMDS_LFM2_S as there is no data to select.

How to access SAP table VMDS_LFM2_S

Within an ECC or HANA version of SAP you can also view further information about VMDS_LFM2_S and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!