LFA1
master S/4HANA status: ActiveVendor Master (General Section)
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.
Fields
58 fields · 2 key
58 fields.
| Key | Field | Description | Type | Length | References |
|---|---|---|---|---|---|
| Primary key | MANDT | Client | CLNT | 3 | T000 |
| Primary key | LIFNR | Account Number of Vendor or Creditor | CHAR | 10 | |
| LAND1 | Country Key | CHAR | 3 | T005 | |
| NAME1 | Name 1 | CHAR | 35 | ||
| NAME2 | Name 2 | CHAR | 35 | ||
| NAME3 | Name 3 | CHAR | 35 | ||
| NAME4 | Name 4 | CHAR | 35 | ||
| ORT01 | City | CHAR | 35 | ||
| ORT02 | District | CHAR | 35 | ||
| PFACH | PO Box | CHAR | 10 | ||
| PSTL2 | P.O. Box Postal Code | CHAR | 10 | ||
| PSTLZ | Postal Code | CHAR | 10 | ||
| REGIO | Region | CHAR | 3 | ||
| SORTL | Sort Field | CHAR | 10 | ||
| STRAS | House Number and Street | CHAR | 35 | ||
| ADRNR | Address | CHAR | 10 | ||
| MCOD1 | Search Term for Matchcode Search | CHAR | 25 | ||
| MCOD2 | Search Term for Matchcode Search | CHAR | 25 | ||
| MCOD3 | Search Term for Matchcode Search | CHAR | 25 | ||
| ANRED | Title | CHAR | 15 | ||
| BAHNS | Train Station | CHAR | 25 | ||
| BBBNR | International location number (part 1) | NUMC | 7 | ||
| BBSNR | International Location Number (Part 2) | NUMC | 5 | ||
| BEGRU | Authorization Group | CHAR | 4 | ||
| BRSCH | Industry Key | CHAR | 4 | ||
| BUBKZ | Check digit for the international location number | NUMC | 1 | ||
| GBDAT | Date of Birth of the Person Subject to Withholding Tax | DATS | 8 | ||
| DTAMS | Data Medium Exchange Indicator | CHAR | 1 | ||
| DTAWS | Instruction Key for Data Medium Exchange | CHAR | 2 | ||
| ERDAT | Date on Which Record Was Created | DATS | 8 | ||
| ERNAM | Name of Person Who Created the Object | CHAR | 12 | ||
| KTOKK | Vendor Account Group | CHAR | 4 | ||
| KUNNR | Customer Number | CHAR | 10 | KNA1 | |
| LNRZA | Account Number of the Alternative Payee | CHAR | 10 | ||
| LOEVM | Central Deletion Flag for Master Record | CHAR | 1 | ||
| SPRAS | Language Key | LANG | 1 | ||
| SPERR | Central Posting Block | CHAR | 1 | ||
| SPERM | Central Purchasing Block | CHAR | 1 | ||
| STCD1 | Tax Number 1 | CHAR | 16 | ||
| STCD2 | Tax Number 2 | CHAR | 11 | ||
| STKZA | Indicator: Business Partner Subject to Equalization Tax? | CHAR | 1 | ||
| STKZU | Liable for VAT? | CHAR | 1 | ||
| STCEG | VAT Registration Number | CHAR | 20 | ||
| TELF1 | First Telephone Number | CHAR | 16 | ||
| TELF2 | Second Telephone Number | CHAR | 16 | ||
| TELFX | Fax Number | CHAR | 31 | ||
| TELTX | Teletex Number | CHAR | 30 | ||
| TELX1 | Telex Number | CHAR | 30 | ||
| XCPDK | Indicator: Is the Account a One-Time Account? | CHAR | 1 | ||
| XZEMP | Indicator: Alternative Payee in Document Allowed? | CHAR | 1 | ||
| KONZS | Group Key | CHAR | 10 | ||
| VBUND | Company ID of Trading Partner | CHAR | 6 | ||
| FISKN | Account Number of the Master Record of the Fiscal Address | CHAR | 10 | ||
| STCDT | Tax Number Type | CHAR | 2 | ||
| STKZN | Natural Person | CHAR | 1 | ||
| WERKS | Plant | CHAR | 4 | T001W | |
| LTSNA | Indicator: Vendor Sub-Range Relevant | CHAR | 1 | ||
| WERKR | Indicator: Plant Level Relevant | CHAR | 1 |
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.
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
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.
Transaction Codes That Use This Table
R read · W write · R/W read + write
Primary t-codes
Secondary t-codes
- FB02Change DocumentRead/write accessChange
- MB1AGoods WithdrawalRead/write accessCreateS/4HANA status: Replaced
- MB1BTransfer PostingRead/write accessCreateS/4HANA status: Replaced
- MB1COther Goods ReceiptsRead/write accessCreateS/4HANA status: Replaced
- MB31Goods Receipt for Production OrderRead/write accessCreateS/4HANA status: Replaced
- ME2LPurchasing Documents per VendorRead accessReport
- ME2MPurchasing Documents per MaterialRead accessReport
- ME2NPurchasing Documents per Document NumberRead accessReport
- QA32Change Data for Inspection LotRead accessChange
- QM03Display Quality NotificationRead accessDisplay