Skip to content
SAP Reference

KNA1

master S/4HANA status: Active

General Data in Customer Master

Notes

Business Partner (BUT000) is the lead object in S/4HANA; KNA1 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.

Fields

46 fields · 2 key

46 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. 46 fields.
KeyFieldDescriptionTypeLengthReferences
Primary keyMANDTClientCLNT3T000
Primary keyKUNNRCustomer NumberCHAR10
LAND1Country KeyCHAR3T005
NAME1Name 1CHAR35
NAME2Name 2CHAR35
ORT01CityCHAR35
PSTLZPostal CodeCHAR10
REGIORegion (State, Province, County)CHAR3
SORTLSort FieldCHAR10
STRASHouse Number and StreetCHAR35
TELF1First Telephone NumberCHAR16
TELFXFax NumberCHAR31
XCPDKIndicator: Is the Account a One-Time Account?CHAR1
ADRNRAddressCHAR10
MCOD1Search Term for Matchcode SearchCHAR25
MCOD2Search Term 2 for Matchcode SearchCHAR25
MCOD3Search Term 3 for Matchcode SearchCHAR25
ANREDTitleCHAR15
AUFSDOrder Block (Sales Area)CHAR2
BAHNEExpress Train StationCHAR25
BAHNSTrain StationCHAR25
BBBNRInternational location number (part 1)NUMC7
BBSNRInternational Location Number (Part 2)NUMC5
BEGRUAuthorization GroupCHAR4
BRSCHIndustry KeyCHAR4
ERDATDate on Which Record Was CreatedDATS8
ERNAMName of Person Who Created the ObjectCHAR12
KTOKDCustomer Account GroupCHAR4
LIFNRAccount Number of Vendor or CreditorCHAR10LFA1
LIFSDCentral Delivery Block for the CustomerCHAR2
LOCCOCity CoordinatesCHAR10
LOEVMCentral Deletion Flag for Master RecordCHAR1
SPRASLanguage KeyLANG1
SPERRCentral Posting BlockCHAR1
STCD1Tax Number 1CHAR16
STCD2Tax Number 2CHAR11
STKZAIndicator: Business Partner Is Subject to Equalization TaxCHAR1
STKZUIndicator: Liable for VAT?CHAR1
STCEGVAT Registration NumberCHAR20
KONZSGroup KeyCHAR10
VBUNDCompany ID of Trading PartnerCHAR6
UMJAHYear for Which Sales Are GivenNUMC4
UWAERCurrency of Sales FigureCUKY5TCURC
UMSA1Annual SalesCURR15,2
PERIVFiscal Year Variant (Company)CHAR2
NIELSNielsen IDCHAR2

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 KNA1 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>, <KUNNR>

-- ============================================================
-- Table  : KNA1 General Data in Customer Master
-- Purpose: Column-selected read of KNA1 — auto-generated from field metadata
-- Grain  : One row per KUNNR
-- 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
  c.MANDT AS "Client",
  c.KUNNR AS "Customer Number",
  c.LAND1 AS "Country Key",
  c.NAME1 AS "Name 1",
  c.NAME2 AS "Name 2",
  c.ORT01 AS "City",
  c.PSTLZ AS "Postal Code",
  c.REGIO AS "Region (State, Province, County)",
  c.SORTL AS "Sort Field",
  c.STRAS AS "House Number and Street",
  c.TELF1 AS "First Telephone Number",
  c.TELFX AS "Fax Number",
  c.XCPDK AS "Indicator: Is the Account a One-Time Account?",
  c.ADRNR AS "Address",
  c.MCOD1 AS "Search Term for Matchcode Search",
  c.MCOD2 AS "Search Term 2 for Matchcode Search",
  c.MCOD3 AS "Search Term 3 for Matchcode Search",
  c.ANRED AS "Title",
  c.AUFSD AS "Order Block (Sales Area)",
  c.BAHNE AS "Express Train Station",
  c.BAHNS AS "Train Station",
  c.BBBNR AS "International location number (part 1)",
  c.BBSNR AS "International Location Number (Part 2)",
  c.BEGRU AS "Authorization Group",
  c.BRSCH AS "Industry Key",
  c.ERDAT AS "Date on Which Record Was Created",
  c.ERNAM AS "Name of Person Who Created the Object",
  c.KTOKD AS "Customer Account Group",
  c.LIFNR AS "Account Number of Vendor or Creditor",
  c.LIFSD AS "Central Delivery Block for the Customer",
  c.LOCCO AS "City Coordinates",
  c.LOEVM AS "Central Deletion Flag for Master Record",
  c.SPRAS AS "Language Key",
  c.SPERR AS "Central Posting Block",
  c.STCD1 AS "Tax Number 1",
  c.STCD2 AS "Tax Number 2",
  c.STKZA AS "Indicator: Business Partner Is Subject to Equalization Tax",
  c.STKZU AS "Indicator: Liable for VAT?",
  c.STCEG AS "VAT Registration Number",
  c.KONZS AS "Group Key"
  -- … plus 6 more columns — full list in the Fields section above
FROM <catalog>.<schema>.kna1 c
WHERE
  c.MANDT = '<MANDT>'
  -- AND c.KUNNR = '<KUNNR>'
ORDER BY c.KUNNR;

Verified August 2026

More query patterns: XD01 XD02 XD03

Released CDS views over this table

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

Relationships

Diagram of 1-hop neighbors — join details below.

Join details

  • VBAKKNA1foreign key · N:1
    ON vbak.KUNNR = kna1.KUNNR
  • BSIDKNA1foreign key · N:1
    ON bsid.KUNNR = kna1.KUNNR
  • BSADKNA1foreign key · N:1
    ON bsad.KUNNR = kna1.KUNNR
  • KNB1KNA1foreign key · N:1
    ON knb1.KUNNR = kna1.KUNNR
  • KNVVKNA1foreign key · N:1
    ON knvv.KUNNR = kna1.KUNNR

Transaction Codes That Use This Table

More Sales & Distribution tables