AUFK
transaction S/4HANA status: ActiveOrder Master Data
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
31 fields · 2 key
31 fields.
| Key | Field | Description | Type | Length | References |
|---|---|---|---|---|---|
| Primary key | MANDT | Client | CLNT | 3 | T000 |
| Primary key | AUFNR | Order Number | CHAR | 12 | |
| AUART | Order Type | CHAR | 4 | ||
| AUTYP | Order Category | NUMC | 2 | ||
| REFNR | Reference Order Number | CHAR | 12 | ||
| ERNAM | Entered By | CHAR | 12 | ||
| ERDAT | Created On | DATS | 8 | ||
| AENAM | Changed By | CHAR | 12 | ||
| AEDAT | Changed On | DATS | 8 | ||
| KTEXT | Short Text | CHAR | 40 | ||
| LTEXT | Long Text Exists | CHAR | 1 | ||
| BUKRS | Company Code | CHAR | 4 | T001 | |
| WERKS | Plant | CHAR | 4 | T001W | |
| GSBER | Business Area | CHAR | 4 | TGSB | |
| KOKRS | Controlling Area | CHAR | 4 | ||
| KOSTV | Responsible Cost Center | CHAR | 10 | CSKS | |
| KOSTL | Cost Center | CHAR | 10 | CSKS | |
| CYCLE | Cost Center to Which Costs Are Actually Posted | CHAR | 10 | CSKS | |
| OBJNR | Object Number | CHAR | 22 | ||
| PRCTR | Profit Center | CHAR | 10 | CEPC | |
| WAERS | Currency | CUKY | 5 | TCURC | |
| ASTKZ | Statistical Order | CHAR | 1 | ||
| ABGSL | Result Analysis Key | CHAR | 6 | ||
| LOEKZ | Deletion Flag | CHAR | 1 | ||
| IDAT1 | Release Date | DATS | 8 | ||
| IDAT2 | Technical Completion Date | DATS | 8 | ||
| IDAT3 | Close Date | DATS | 8 | ||
| PHAS0 | Phase Created | CHAR | 1 | ||
| PHAS1 | Phase Released | CHAR | 1 | ||
| PHAS2 | Phase Technically Completed | CHAR | 1 | ||
| PHAS3 | Phase Closed | 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 AUFK 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>, <AUFNR>
-- ============================================================
-- Table : AUFK Order Master Data
-- Purpose: Column-selected read of AUFK — auto-generated from field metadata
-- Grain : One row per AUFNR
-- 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
ord.MANDT AS "Client",
ord.AUFNR AS "Order Number",
ord.AUART AS "Order Type",
ord.AUTYP AS "Order Category",
ord.REFNR AS "Reference Order Number",
ord.ERNAM AS "Entered By",
ord.ERDAT AS "Created On",
ord.AENAM AS "Changed By",
ord.AEDAT AS "Changed On",
ord.KTEXT AS "Short Text",
ord.LTEXT AS "Long Text Exists",
ord.BUKRS AS "Company Code",
ord.WERKS AS "Plant",
ord.GSBER AS "Business Area",
ord.KOKRS AS "Controlling Area",
ord.KOSTV AS "Responsible Cost Center",
ord.KOSTL AS "Cost Center",
ord.CYCLE AS "Cost Center to Which Costs Are Actually Posted",
ord.OBJNR AS "Object Number",
ord.PRCTR AS "Profit Center",
ord.WAERS AS "Currency",
ord.ASTKZ AS "Statistical Order",
ord.ABGSL AS "Result Analysis Key",
ord.LOEKZ AS "Deletion Flag",
ord.IDAT1 AS "Release Date",
ord.IDAT2 AS "Technical Completion Date",
ord.IDAT3 AS "Close Date",
ord.PHAS0 AS "Phase Created",
ord.PHAS1 AS "Phase Released",
ord.PHAS2 AS "Phase Technically Completed",
ord.PHAS3 AS "Phase Closed"
FROM <catalog>.<schema>.aufk ord
WHERE
ord.MANDT = '<MANDT>'
-- AND ord.AUFNR = '<AUFNR>'
ORDER BY ord.AUFNR;Verified August 2026
Relationships
Diagram of 1-hop neighbors — join details below.
Join details
ON mseg.AUFNR = aufk.AUFNRON resb.AUFNR = aufk.AUFNRON afko.AUFNR = aufk.AUFNRON ekkn.AUFNR = aufk.AUFNRON aufk.PRCTR = cepc.PRCTRON aufk.OBJNR = jest.OBJNR
Transaction Codes That Use This Table
R read · W write · R/W read + write