SAP Table LFMH

Vendor hierarchy

LFMH (Vendor hierarchy) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link LFMH to other SAP tables.

LFMH table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
HITYP Hierarchy category: vendor hierarchy HITYP_LH TLHIT CHAR 1 0
LIFNR Account Number of Vendor or Creditor LIFNR LFA1 CHAR 10 0
EKORG Purchasing Organization EKORG T024E CHAR 4 0
DATAB Start of validity period for assignment DATAB_KH DATS 8 0
DATBI End of validity period for the assignment DATBI_KH DATS 8 0
HLIFNR Vendor number of higher-level vendor hierarchy HLIFNR_LH LFA1 CHAR 10 0
HEKORG Higher-level purchasing organization HEKORG T024E CHAR 4 0
GRPNO Number of the routine used for copying GRPNO NUMC 3 0
BOLRE Indicator: vendor subject to subseq. settlement accounting BOLRE CHAR 1 0
X Yes
NULL No
PRFRE Indicator: "relev. to price determination (vend. hierarchy) PRFRE_LH CHAR 1 0
X Yes
NULL No
HZUOR Assignment to Hierarchy HZUOR NUMC 2 0

LFMH foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
LFMH EKORG LFMH MANDT T024E Purchasing Organizations MANDT
LFMH EKORG LFMH EKORG T024E Purchasing Organizations EKORG
LFMH HEKORG LFMH MANDT T024E Purchasing Organizations MANDT
LFMH HEKORG LFMH HEKORG T024E Purchasing Organizations EKORG
LFMH HITYP LFMH MANDT TLHIT Vendor Hierarchy Category MANDT
LFMH HITYP LFMH HITYP TLHIT Vendor Hierarchy Category HITYP
LFMH HLIFNR LFMH MANDT LFA1 Vendor Master (General Section) MANDT
LFMH HLIFNR LFMH HLIFNR LFA1 Vendor Master (General Section) LIFNR
LFMH LIFNR LFMH MANDT LFA1 Vendor Master (General Section) MANDT
LFMH LIFNR LFMH LIFNR LFA1 Vendor Master (General Section) LIFNR
LFMH MANDT LFMH MANDT T000 Clients MANDT