I_PriceChangeDocument
Material Ledger Price Change Documents
I_PriceChangeDocument is a Composite CDS View that provides data about "Material Ledger Price Change Documents" in SAP S/4HANA. It reads from 1 data source (R_PriceChangeDocument) and exposes 19 fields with key fields PriceChangeDocument, MaterialLedgerDocumentYear. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PriceChangeDocument | header | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_PriceChangeDocumentItem | _Details | header.PriceChangeDocument = _Details.MaterialLedgerDocument and header.MaterialLedgerDocumentYear = _Details.MaterialLedgerDocumentYear |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMLPRCHDOCUMENT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Material Ledger Price Change Documents | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PriceChangeDocument | R_PriceChangeDocument | PriceChangeDocument | |
| KEY | MaterialLedgerDocumentYear | R_PriceChangeDocument | MaterialLedgerDocumentYear | |
| MaterialLedgerTransactionType | R_PriceChangeDocument | MaterialLedgerTransactionType | ||
| LedgerGroup | R_PriceChangeDocument | LedgerGroup | Ledger Group | |
| ReferenceDocumentType | R_PriceChangeDocument | ReferenceDocumentType | Reference Document Type | |
| ReferenceDocument | R_PriceChangeDocument | ReferenceDocument | Reference Document | |
| ReferenceDocumentContext | R_PriceChangeDocument | ReferenceDocumentContext | Reference Document Context | |
| ReferenceDocumentLogicalSystem | R_PriceChangeDocument | ReferenceDocumentLogicalSystem | Ref. Doc. Lgcl Syst. | |
| IsReversalDocument | R_PriceChangeDocument | IsReversalDocument | Reverse | |
| DocumentDate | R_PriceChangeDocument | DocumentDate | Journal Entry Date | |
| CreationDate | R_PriceChangeDocument | CreationDate | Time Stamp | |
| CreationTime | R_PriceChangeDocument | CreationTime | Time of Change | |
| CreatedByUser | R_PriceChangeDocument | CreatedByUser | User Name | |
| ExecutedTransaction | R_PriceChangeDocument | ExecutedTransaction | ||
| BusinessTransactionType | R_PriceChangeDocument | BusinessTransactionType | Bus.transaction | |
| LogicalSystem | R_PriceChangeDocument | LogicalSystem | Logical System | |
| DocumentHeaderText | R_PriceChangeDocument | DocumentHeaderText | Doc.Header Text | |
| MatlPrChgAcctDetnDiffntnRsn | R_PriceChangeDocument | MatlPrChgAcctDetnDiffntnRsn | Reason | |
| _Details | _Details |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_PriceChangeDocument.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMLPRCHDOCUMENT
CREATE VIEW I_PriceChangeDocument AS
SELECT
header.PriceChangeDocument AS PriceChangeDocument,
header.MaterialLedgerDocumentYear AS MaterialLedgerDocumentYear,
header.MaterialLedgerTransactionType AS MaterialLedgerTransactionType,
header.LedgerGroup AS LedgerGroup,
header.ReferenceDocumentType AS ReferenceDocumentType,
header.ReferenceDocument AS ReferenceDocument,
header.ReferenceDocumentContext AS ReferenceDocumentContext,
header.ReferenceDocumentLogicalSystem AS ReferenceDocumentLogicalSystem,
header.IsReversalDocument AS IsReversalDocument,
header.DocumentDate AS DocumentDate,
header.CreationDate AS CreationDate,
header.CreationTime AS CreationTime,
header.CreatedByUser AS CreatedByUser,
header.ExecutedTransaction AS ExecutedTransaction,
header.BusinessTransactionType AS BusinessTransactionType,
header.LogicalSystem AS LogicalSystem,
header.DocumentHeaderText AS DocumentHeaderText,
header.MatlPrChgAcctDetnDiffntnRsn AS MatlPrChgAcctDetnDiffntnRsn
FROM R_PriceChangeDocument AS header
LEFT OUTER JOIN I_PriceChangeDocumentItem AS _Details ON header.PriceChangeDocument = _Details.MaterialLedgerDocument AND header.MaterialLedgerDocumentYear = _Details.MaterialLedgerDocumentYear -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA