Skip to content
SAP Reference

LFA1

master S/4HANA status: Active

Vendor Master (General Section)

Notes

Business Partner (BUT000) is the lead object in S/4HANA; LFA1 persists and is kept in sync via CVI. Create/update via Business Partner transactions

What the badges mean
S/4HANA status: Active
Active and unchanged in S/4HANA.
S/4HANA status: Deprecated
Still readable today, but no longer SAP's strategic path — plan around it.
S/4HANA status: Replaced
Replaced by a new persistence in S/4HANA; the classic name may still answer reads (see read mechanism).
S/4HANA status: Migrating to IBP
Planning scope is moving from APO toward IBP.
S/4HANA status: Active (StRM) · Replaced (EWM)
Path-dependent: active with SAP Stock Room Management, replaced where EWM is the warehouse path.
S/4HANA status: Replaced · Compat View
Compatibility view: the classic table name is redirected to a view over the new persistence — see how the physical model moved.
S/4HANA status: Active · Proxy View
Proxy view: reads route through NSDM proxy/CDS views — see how the physical model moved.
master
Data class: what the table holds — master data, transaction documents, org structure, config, or texts (one row per language — see the quirks guide).
Linked type codes

CLNT the client key; filter it explicitly and carry it through every join.

NUMC fixed-width numeric text; keep it a string and keep the leading zeros.

DATS, TIMS character date (YYYYMMDD) and time (HHMMSS), zero-filled when initial.

CURR, CUKY, QUAN, UNIT amounts and quantities, meaningful only beside the currency key or unit that qualifies them.

LANG a language key in a text table — one row per language.

In field listings, K marks a primary-key field, and linked type codes in the Type column jump to the matching quirks-guide section.
Used in the library
Dashboard patterns

Fields

58 fields · 2 key

58 fields.

Table fields: key flag, field name, description, data type (linked to the data quirks guide where the type carries a known trap), length, and check-table references. 58 fields.
KeyFieldDescriptionTypeLengthReferences
Primary keyMANDTClientCLNT3T000
Primary keyLIFNRAccount Number of Vendor or CreditorCHAR10
LAND1Country KeyCHAR3T005
NAME1Name 1CHAR35
NAME2Name 2CHAR35
NAME3Name 3CHAR35
NAME4Name 4CHAR35
ORT01CityCHAR35
ORT02DistrictCHAR35
PFACHPO BoxCHAR10
PSTL2P.O. Box Postal CodeCHAR10
PSTLZPostal CodeCHAR10
REGIORegionCHAR3
SORTLSort FieldCHAR10
STRASHouse Number and StreetCHAR35
ADRNRAddressCHAR10
MCOD1Search Term for Matchcode SearchCHAR25
MCOD2Search Term for Matchcode SearchCHAR25
MCOD3Search Term for Matchcode SearchCHAR25
ANREDTitleCHAR15
BAHNSTrain StationCHAR25
BBBNRInternational location number (part 1)NUMC7
BBSNRInternational Location Number (Part 2)NUMC5
BEGRUAuthorization GroupCHAR4
BRSCHIndustry KeyCHAR4
BUBKZCheck digit for the international location numberNUMC1
GBDATDate of Birth of the Person Subject to Withholding TaxDATS8
DTAMSData Medium Exchange IndicatorCHAR1
DTAWSInstruction Key for Data Medium ExchangeCHAR2
ERDATDate on Which Record Was CreatedDATS8
ERNAMName of Person Who Created the ObjectCHAR12
KTOKKVendor Account GroupCHAR4
KUNNRCustomer NumberCHAR10KNA1
LNRZAAccount Number of the Alternative PayeeCHAR10
LOEVMCentral Deletion Flag for Master RecordCHAR1
SPRASLanguage KeyLANG1
SPERRCentral Posting BlockCHAR1
SPERMCentral Purchasing BlockCHAR1
STCD1Tax Number 1CHAR16
STCD2Tax Number 2CHAR11
STKZAIndicator: Business Partner Subject to Equalization Tax?CHAR1
STKZULiable for VAT?CHAR1
STCEGVAT Registration NumberCHAR20
TELF1First Telephone NumberCHAR16
TELF2Second Telephone NumberCHAR16
TELFXFax NumberCHAR31
TELTXTeletex NumberCHAR30
TELX1Telex NumberCHAR30
XCPDKIndicator: Is the Account a One-Time Account?CHAR1
XZEMPIndicator: Alternative Payee in Document Allowed?CHAR1
KONZSGroup KeyCHAR10
VBUNDCompany ID of Trading PartnerCHAR6
FISKNAccount Number of the Master Record of the Fiscal AddressCHAR10
STCDTTax Number TypeCHAR2
STKZNNatural PersonCHAR1
WERKSPlantCHAR4T001W
LTSNAIndicator: Vendor Sub-Range RelevantCHAR1
WERKRIndicator: Plant Level RelevantCHAR1

Linked type codes in the Type column jump to the matching section of the SAP data quirks guide.

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading LFA1 on Databricks. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.

Query parameters

4 parameters not filled: <catalog>, <schema>, <MANDT>, <LIFNR>

-- ============================================================
-- Table  : LFA1 Vendor Master (General Section)
-- Purpose: Column-selected read of LFA1 — auto-generated from field metadata
-- Grain  : One row per LIFNR
-- Notes  : Auto-generated skeleton. For multi-table transaction query patterns, see the linked t-codes on this page. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
  v.MANDT AS "Client",
  v.LIFNR AS "Account Number of Vendor or Creditor",
  v.LAND1 AS "Country Key",
  v.NAME1 AS "Name 1",
  v.NAME2 AS "Name 2",
  v.NAME3 AS "Name 3",
  v.NAME4 AS "Name 4",
  v.ORT01 AS "City",
  v.ORT02 AS "District",
  v.PFACH AS "PO Box",
  v.PSTL2 AS "P.O. Box Postal Code",
  v.PSTLZ AS "Postal Code",
  v.REGIO AS "Region",
  v.SORTL AS "Sort Field",
  v.STRAS AS "House Number and Street",
  v.ADRNR AS "Address",
  v.MCOD1 AS "Search Term for Matchcode Search",
  v.MCOD2 AS "Search Term for Matchcode Search",
  v.MCOD3 AS "Search Term for Matchcode Search",
  v.ANRED AS "Title",
  v.BAHNS AS "Train Station",
  v.BBBNR AS "International location number (part 1)",
  v.BBSNR AS "International Location Number (Part 2)",
  v.BEGRU AS "Authorization Group",
  v.BRSCH AS "Industry Key",
  v.BUBKZ AS "Check digit for the international location number",
  v.GBDAT AS "Date of Birth of the Person Subject to Withholding Tax",
  v.DTAMS AS "Data Medium Exchange Indicator",
  v.DTAWS AS "Instruction Key for Data Medium Exchange",
  v.ERDAT AS "Date on Which Record Was Created",
  v.ERNAM AS "Name of Person Who Created the Object",
  v.KTOKK AS "Vendor Account Group",
  v.KUNNR AS "Customer Number",
  v.LNRZA AS "Account Number of the Alternative Payee",
  v.LOEVM AS "Central Deletion Flag for Master Record",
  v.SPRAS AS "Language Key",
  v.SPERR AS "Central Posting Block",
  v.SPERM AS "Central Purchasing Block",
  v.STCD1 AS "Tax Number 1",
  v.STCD2 AS "Tax Number 2"
  -- … plus 18 more columns — full list in the Fields section above
FROM <catalog>.<schema>.lfa1 v
WHERE
  v.MANDT = '<MANDT>'
  -- AND v.LIFNR = '<LIFNR>'
ORDER BY v.LIFNR;

Verified August 2026

More query patterns: MK01 MK02 MK03

Released CDS views over this table

Released SAP standard VDM views that read over LFA1. Prefer these over classic-table reads on S/4HANA where available.

Relationships

Diagram of 1-hop neighbors — join details below.

Join details

  • EKKOLFA1foreign key · N:1
    ON ekko.LIFNR = lfa1.LIFNR
  • BSIKLFA1foreign key · N:1
    ON bsik.LIFNR = lfa1.LIFNR
  • BSAKLFA1foreign key · N:1
    ON bsak.LIFNR = lfa1.LIFNR

Transaction Codes That Use This Table

More Materials Management tables