PURCHDOCITEMHISTGR
PURCHDOCITEMHISTGR is an SAP database table in S/4HANA. It contains 10 fields.
Fields (10)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| CompanyCode | GR_CompanyCode | 1 | |
| DebitCreditCode | GR_DebitCreditCode | 1 | |
| DocumentDate | GR_DocumentDate | 1 | |
| MaterialDocument | GR_MaterialDocument | 2 | |
| MaterialDocumentItem | GR_MaterialDocumentItem | 2 | |
| MaterialDocumentYear | GR_MaterialDocumentYear | 2 | |
| PostingDate | GR_PostingDate | 2 | |
| PurchaseOrderHistCategory | GR_PurchaseOrderHistCategory | 2 | |
| PurOrdAmountInCompanyCodeCrcy | GR_PurOrdAmountInCompCodeCrcy | 1 | |
| Quantity | GR_Quantity | 1 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE PURCHDOCITEMHISTGR (
COMPANYCODE,
DEBITCREDITCODE,
DOCUMENTDATE,
MATERIALDOCUMENT,
MATERIALDOCUMENTITEM,
MATERIALDOCUMENTYEAR,
POSTINGDATE,
PURCHASEORDERHISTCATEGORY,
PURORDAMOUNTINCOMPANYCODECRCY,
QUANTITY
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA