EKPO
transaction S/4HANA status: ActivePurchasing Document Item
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
72 fields · 3 key
The join key is all 3 key fields together — matching on any single one fans out. See composite keys in the quirks guide.
72 fields.
| Key | Field | Description | Type | Length | References |
|---|---|---|---|---|---|
| Primary key | MANDT | Client | CLNT | 3 | T000 |
| Primary key | EBELN | Purchasing Document Number | CHAR | 10 | EKKO |
| Primary key | EBELP | Item Number of Purchasing Document | NUMC | 5 | |
| LOEKZ | Deletion Indicator in Purchasing Document | CHAR | 1 | ||
| STATU | RFQ Status | CHAR | 1 | ||
| AEDAT | Change Date of the Item | DATS | 8 | ||
| TXZ01 | Short Text | CHAR | 40 | ||
| MATNR | Material Number | CHAR | 18 / 40 | MARA | |
| EMATN | Material Number for MPN Material | CHAR | 18 | ||
| BUKRS | Company Code | CHAR | 4 | T001 | |
| WERKS | Plant | CHAR | 4 | T001W | |
| LGORT | Storage Location | CHAR | 4 | T001L | |
| BEDNR | Requirement Tracking Number | CHAR | 10 | ||
| MATKL | Material Group | CHAR | 9 | T023 | |
| INFNR | Number of Purchasing Info Record | CHAR | 10 | EINA | |
| IDNLF | Material Number Used by Vendor | CHAR | 35 | ||
| KTMNG | Target Quantity in Purchasing Document Item | QUAN | 13,3 | ||
| MENGE | Purchase Order Quantity | QUAN | 13,3 | ||
| MEINS | Purchase Order Unit of Measure | UNIT | 3 | T006 | |
| BPRME | Order Price Unit (Purchasing) | UNIT | 3 | T006 | |
| BPUMZ | Numerator for Conversion of Order Price Unit into Order Unit | DEC | 5 | ||
| BPUMN | Denominator for Conversion of Order Price Unit into Order Unit | DEC | 5 | ||
| UMREZ | Numerator for Conversion of Order Unit to Base Unit | DEC | 5 | ||
| UMREN | Denominator for Conversion of Order Unit to Base Unit | DEC | 5 | ||
| NETPR | Net Price in Purchasing Document (in Document Currency) | CURR | 11,2 | ||
| PEINH | Price Unit | DEC | 5 | ||
| NETWR | Net Order Value in PO Currency | CURR | 13,2 | ||
| BRTWR | Gross Order Value in PO Currency | CURR | 13,2 | ||
| AGDAT | Deadline for Submission of Bid/Quotation | DATS | 8 | ||
| WEBAZ | Goods Receipt Processing Time in Days | DEC | 3 | ||
| MWSKZ | Tax on Sales/Purchases Code | CHAR | 2 | ||
| BONUS | Settlement Group 1 (Purchasing) | CHAR | 2 | ||
| INSMK | Stock Type | CHAR | 1 | ||
| SPINF | Update Info Record | CHAR | 1 | ||
| PRSDR | Price Printout | CHAR | 1 | ||
| SCHPR | Estimated Price Indicator | CHAR | 1 | ||
| MAHNZ | Number of Reminders/Expeditors | DEC | 3 | ||
| BSTYP | Purchasing Document Category | CHAR | 1 | ||
| XOBLR | Item Affects Commitments | CHAR | 1 | ||
| KONNR | Number of Principal Purchase Agreement | CHAR | 10 | ||
| KTPNR | Item Number of Principal Purchase Agreement | NUMC | 5 | ||
| LMEIN | Base Unit of Measure | UNIT | 3 | T006 | |
| PSTYP | Item Category in Purchasing Document | CHAR | 1 | ||
| KNTTP | Account Assignment Category | CHAR | 1 | T163K | |
| KZVBR | Consumption Posting | CHAR | 1 | ||
| EVERS | Shipping Instructions | CHAR | 2 | ||
| TWRKZ | Partial Invoice Indicator | CHAR | 1 | ||
| WEPOS | Goods Receipt Indicator | CHAR | 1 | ||
| WEUNB | Goods Receipt, Non-Valuated | CHAR | 1 | ||
| REPOS | Invoice Receipt Indicator | CHAR | 1 | ||
| WEBRE | Indicator: GR-Based Invoice Verification | CHAR | 1 | ||
| KZABS | Order Acknowledgment Requirement | CHAR | 1 | ||
| UEBTO | Tolerance for Overdelivery (%) — overwritten in place; no tolerance history is kept | DEC | 3,1 | ||
| UEBTK | Unlimited Overdelivery Allowed | CHAR | 1 | ||
| UNTTO | Underdelivery Tolerance (%) — overwritten in place; no tolerance history is kept | DEC | 3,1 | ||
| LFRET | Delivery Type for Returns to Vendors | CHAR | 4 | ||
| AFNAM | Name of Requisitioner/Requester | CHAR | 12 | ||
| ELIKZ | Delivery Completed Indicator | CHAR | 1 | ||
| EREKZ | Final Invoice Indicator | CHAR | 1 | ||
| EMLIF | Vendor to Be Supplied/Who Is to Receive Delivery | CHAR | 10 | LFA1 | |
| LBLKZ | Subcontracting Vendor | CHAR | 1 | ||
| SAISJ | Season Year | CHAR | 4 | ||
| SAISO | Season | CHAR | 4 | ||
| RETPO | Returns Item | CHAR | 1 | ||
| PRDAT | Date of Price Determination | DATS | 8 | ||
| BWTAR | Valuation Type | CHAR | 10 | ||
| BWTTY | Valuation Category | CHAR | 1 | ||
| ABSKZ | Rejection Indicator | CHAR | 1 | ||
| AGMEM | Internal Comment on Quotation | CHAR | 3 | ||
| PLIFZ | Planned Delivery Time in Days | DEC | 3 | ||
| BANFN | Purchase Requisition Number | CHAR | 10 | EBAN | |
| BNFPO | Item Number of Purchase Requisition | NUMC | 5 |
Lengths shown as ECC / S/4HANA where the extended material number applies.
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 EKPO on Databricks. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.
3 parameters not filled: <catalog>, <schema>, <MANDT>
-- ============================================================
-- Table : EKPO Purchasing Document Item
-- Purpose: Column-selected read of EKPO — auto-generated from field metadata
-- Grain : One row per EBELN + EBELP
-- 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
l.MANDT AS "Client",
l.EBELN AS "Purchasing Document Number",
l.EBELP AS "Item Number of Purchasing Document",
l.LOEKZ AS "Deletion Indicator in Purchasing Document",
l.STATU AS "RFQ Status",
l.AEDAT AS "Change Date of the Item",
l.TXZ01 AS "Short Text",
l.MATNR AS "Material Number",
l.EMATN AS "Material Number for MPN Material",
l.BUKRS AS "Company Code",
l.WERKS AS "Plant",
l.LGORT AS "Storage Location",
l.BEDNR AS "Requirement Tracking Number",
l.MATKL AS "Material Group",
l.INFNR AS "Number of Purchasing Info Record",
l.IDNLF AS "Material Number Used by Vendor",
l.KTMNG AS "Target Quantity in Purchasing Document Item",
l.MENGE AS "Purchase Order Quantity",
l.MEINS AS "Purchase Order Unit of Measure",
l.BPRME AS "Order Price Unit (Purchasing)",
l.BPUMZ AS "Numerator for Conversion of Order Price Unit into Order Unit",
l.BPUMN AS "Denominator for Conversion of Order Price Unit into Order Unit",
l.UMREZ AS "Numerator for Conversion of Order Unit to Base Unit",
l.UMREN AS "Denominator for Conversion of Order Unit to Base Unit",
l.NETPR AS "Net Price in Purchasing Document (in Document Currency)",
l.PEINH AS "Price Unit",
l.NETWR AS "Net Order Value in PO Currency",
l.BRTWR AS "Gross Order Value in PO Currency",
l.AGDAT AS "Deadline for Submission of Bid/Quotation",
l.WEBAZ AS "Goods Receipt Processing Time in Days",
l.MWSKZ AS "Tax on Sales/Purchases Code",
l.BONUS AS "Settlement Group 1 (Purchasing)",
l.INSMK AS "Stock Type",
l.SPINF AS "Update Info Record",
l.PRSDR AS "Price Printout",
l.SCHPR AS "Estimated Price Indicator",
l.MAHNZ AS "Number of Reminders/Expeditors",
l.BSTYP AS "Purchasing Document Category",
l.XOBLR AS "Item Affects Commitments",
l.KONNR AS "Number of Principal Purchase Agreement"
-- … plus 32 more columns — full list in the Fields section above
FROM <catalog>.<schema>.ekpo l
WHERE
l.MANDT = '<MANDT>'
ORDER BY l.EBELN;Verified August 2026
Released CDS views over this table
Released SAP standard VDM views that read over EKPO. 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
- ME21NCreate Purchase OrderWrite accessCreate
- ME22NChange Purchase OrderRead/write accessChange
- ME23NDisplay Purchase OrderRead accessDisplay
- ME31KCreate ContractWrite accessCreate
- ME31LCreate Scheduling AgreementWrite accessCreate
- ME32KChange ContractRead/write accessChange
- ME33KDisplay ContractRead accessDisplay