T001
config S/4HANA status: ActiveCompany Codes
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
6 fields · 2 key
6 fields.
| Key | Field | Description | Type | Length | References |
|---|---|---|---|---|---|
| Primary key | MANDT | Client | CLNT | 3 | |
| Primary key | BUKRS | Company Code | CHAR | 4 | |
| BUTXT | Company Name | CHAR | 25 | ||
| ORT01 | City | CHAR | 25 | ||
| LAND1 | Country Key | CHAR | 3 | ||
| WAERS | Currency Key | CUKY | 5 |
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 T001 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>, <BUKRS>
-- ============================================================
-- Table : T001 Company Codes
-- Purpose: Column-selected read of T001 — auto-generated from field metadata
-- Grain : One row per BUKRS
-- 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
co.MANDT AS "Client",
co.BUKRS AS "Company Code",
co.BUTXT AS "Company Name",
co.ORT01 AS "City",
co.LAND1 AS "Country Key",
co.WAERS AS "Currency Key"
FROM <catalog>.<schema>.t001 co
WHERE
co.MANDT = '<MANDT>'
-- AND co.BUKRS = '<BUKRS>'
ORDER BY co.BUKRS;Verified August 2026
Relationships
Diagram of 1-hop neighbors — join details below.
Join details
ON bkpf.BUKRS = t001.BUKRS
Transaction Codes That Use This Table
R read · W write · R/W read + write
Secondary t-codes
- FB02Change DocumentRead/write accessChange
- KS02Change Cost CenterRead/write accessChange
- KS03Display Cost CenterRead accessDisplay
- MK01Create Vendor (Purchasing)Read/write accessCreateS/4HANA status: Replaced
- MK02Change Vendor (Purchasing)Read/write accessChangeS/4HANA status: Replaced
- MK03Display Vendor (Purchasing)Read accessDisplayS/4HANA status: Replaced
- XD01Create Customer (Centrally)Read/write accessCreateS/4HANA status: Replaced
- XD02Change Customer (Centrally)Read/write accessChangeS/4HANA status: Replaced
- XD03Display Customer (Centrally)Read accessDisplayS/4HANA status: Replaced