History per Purchasing Document — the PO-history table that records every goods-movement and invoice event against a purchase-order line, one row per PO item per account-assignment sequence per history-event type per material-document reference. This is the goods-receipt/invoice-receipt (GR/IR) tie-out table: the lane that reconciles what was ordered (EKPO), what was received (linked via GJAHR/BELNR/BUZEI back to the material document, MKPF/MSEG on ECC or MATDOC on S/4), and what was invoiced (REEWR/REFWR) against the GR/IR clearing account. SAP's real table carries 90+ fields including country/industry extensions (oil, CWM parallel units, depreciation completion); this definition is scoped to the full key, the GR/IR reconciliation fields (BEWTP, BWART, quantities, amounts, currencies), the material-document link fields, and the fields a crosswalk into ACDOCA would consume — no fewer than 25 fields, per the wide-table rule.
Hover a canonical name to see the legacy SAP field name
| Canonical name | Concept | Description | Data element | Type | Check table |
|---|---|---|---|---|---|
| CLI key | cliens | Client | MANDT | CLNT 3 | T000 |
| DEM_NUM key | documentum emptionis numerus | Purchasing Document Number | EBELN | CHAR 10 | EKKO |
| POS_NUM_DEM key | positio numerus documentum emptionis | Item Number of Purchasing Document | EBELP | NUMC 5 | EKPO |
| NUM_RAT_ASG key | numerus ratio assignatio | Sequential Number of Account Assignment | DZEKKN | NUMC 2 | — |
| GEN_MEM key | genus mandatum emptionis | Transaction/event type, purchase order history | VGABE | CHAR 1 | — |
| MAT_DOC_ANN | materia documentum annus | Material Document Year | MJAHR | NUMC 4 | — |
| NUM_MAT_DOC | numerus materia documentum | Number of Material Document | MBLNR | CHAR 10 | — |
| POS_MAT_DOC | positio materia documentum | Item in Material Document | MBLPO | NUMC 4 | — |
| CTG | categoria | PO history category | BEWTP | CHAR 1 | T163B |
| MTM_GEN | motus genus | Movement Type (Inventory Management) | BWART | CHAR 3 | T156 |
| DIN_DOC | dies inscriptionis documentum | Posting Date in the Document | BUDAT | DATS 8 | — |
| QNT | quantitas | Quantity | MENGE_D | QUAN 13,3 | — |
| QNT_MEM_PRE | quantitas mandatum emptionis pretium | Quantity in purchase order price unit | MENGE_BPR | QUAN 13,3 | — |
| SUM_MON | summa moneta | Amount in Local Currency | DMBTR | CURR 13,2 | — |
| SUM_DOC_MON | summa documentum moneta | Amount in document currency | WRBTR | CURR 13,2 | — |
| CVM | clavis monetae | Currency Key | WAERS | CUKY 5 | TCURC |
| RAT_CPN_VAL | ratio compensatio valor | GR/IR account clearing value in local currency | AREWR | CURR 13,2 | — |
| AMR_CPA_MND | acceptio mercium copia mandatum | Goods Receipt Blocked Stock in Order Unit | WESBS | QUAN 13,3 | — |
| QNT_CPA_MND | quantitas copia mandatum | Quantity in GR blocked stock in order price unit | BPWES | QUAN 13,3 | — |
| DBT_CRD_IDX | debitum creditum index | Debit/Credit Indicator | SHKZG | CHAR 1 | — |
| AES_GEN | aestimatio genus | Valuation Type | BWTAR_D | CHAR 10 | T149D |
| TRD_IDX | traditio index | 'Delivery Completed' Indicator | ELIKZ | CHAR 1 | — |
| RFR_NDO | referentia numerus documenti | Reference Document Number | XBLNR1 | CHAR 16 | — |
| ANF_RFR_DOC | annus fiscalis referentia documentum | Fiscal Year of a Reference Document | LFBJA | NUMC 4 | — |
| DOC_RFR | documentum referentia | Document No. of a Reference Document | LFBNR | CHAR 10 | — |
| POS_RFR_DOC | positio referentia documentum | Item of a Reference Document | LFPOS | NUMC 4 | — |
| CSA_MTM | causa motus | Reason for Movement | MB_GRBEW | NUMC 4 | T157D |
| DIE_DOC | dies documentum | Day On Which Accounting Document Was Entered | CPUDT | DATS 8 | — |
| TMP | tempus | Time of Entry | CPUTM | TIMS 6 | — |
| FAC_VAL_MON | factura valor moneta | Invoice Value Entered (in Local Currency) | REEWR | CURR 13,2 | — |
| EVERE | Compliance with Shipping Instructions | EVERE | CHAR 2 | T027C | |
| FAC_VAL_MON2 | factura valor moneta | Invoice value in foreign currency | REFWR | CURR 13,2 | — |
| MAT_NUM | materia numerus | Material Number | MATNR | CHAR 18 | MARA |
| OFC | officina | Plant | WERKS_D | CHAR 4 | T001W |
| NUM_DOC_CND | numerus documentum condicio | Number of the document condition | KNUMV | CHAR 10 | — |
| TRB_VDT_COD | tributum venditio codex | Tax on sales/purchases code | MWSKZ | CHAR 2 | — |
| GRX_NUM | grex numerus | Batch Number | CHARG_D | CHAR 10 | — |
| DDC_DOC | dies documenti documentum | Document Date in Document | BLDAT | DATS 8 | — |
Foreign keys
| Field | Check table | Check field |
|---|---|---|
MANDT | T000 | MANDT |
EBELN | EKKO | EBELN |
EBELP | EKPO | EBELP |
BEWTP | T163B | BEWTP |
BWART | T156 | BWART |
WAERS | TCURC | WAERS |
BWTAR | T149D | BWTAR |
GRUND | T157D | GRUND |
EVERE | T027C | EVERE |
MATNR | MARA | MATNR |
WERKS | T001W | WERKS |