I_ProductChangeDocument
Product Change Document
I_ProductChangeDocument is a Composite CDS View that provides data about "Product Change Document" in SAP S/4HANA. It reads from 3 data sources (I_ChangeDocument, I_ChangeDocumentItem, I_Product) and exposes 25 fields with key fields Product, ChangeDocObjectClass, ChangeDocument, DatabaseTable, ChangeDocTableKey.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ChangeDocument | Header | inner |
| I_ChangeDocumentItem | Item | inner |
| I_Product | Product | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Change Document | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | |||
| KEY | ChangeDocObjectClass | |||
| KEY | ChangeDocument | I_ChangeDocument | ChangeDocument | Document Number |
| KEY | DatabaseTable | I_ChangeDocumentItem | DatabaseTable | Table Name |
| KEY | ChangeDocTableKey | I_ChangeDocumentItem | ChangeDocTableKey | Table Keys |
| KEY | ChangeDocDatabaseTableField | I_ChangeDocumentItem | ChangeDocDatabaseTableField | User |
| KEY | ChangeDocItemChangeType | I_ChangeDocumentItem | ChangeDocItemChangeType | Change Indicator |
| ProductType | I_Product | ProductType | Product Type Group | |
| CrossPlantStatus | I_Product | CrossPlantStatus | X-Plant Status | |
| CreatedByUser | I_ChangeDocument | CreatedByUser | User Name | |
| CreationDate | I_ChangeDocument | CreationDate | Time Stamp | |
| CreationTime | I_ChangeDocument | CreationTime | Time of Change | |
| LastChangeDate | I_Product | LastChangeDate | Time Stamp | |
| LastChangedByUser | I_Product | LastChangedByUser | User Name | |
| ChangeTransactionCode | I_ChangeDocument | ChangeTransactionCode | Change Tcode | |
| IsMarkedForDeletion | I_Product | IsMarkedForDeletion | Purch.org. data | |
| ChangeDocPreviousFieldValue | I_ChangeDocumentItem | ChangeDocPreviousFieldValue | Old Value | |
| ChangeDocNewFieldValue | I_ChangeDocumentItem | ChangeDocNewFieldValue | New Value | |
| ProductGroup | I_Product | ProductGroup | Product Sold Group | |
| AuthorizationGroup | I_Product | AuthorizationGroup | AuthorizGroup | |
| _ProductType | I_Product | _ProductType | ||
| _ProductStatus | I_Product | _ProductStatus | ||
| _LastChangedByUser | I_Product | _LastChangedByUser | ||
| _LastChangedByUserContactCard | I_Product | _LastChangedByUserContactCard | ||
| _ProductGroup_2 | I_Product | _ProductGroup_2 |
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_ProductChangeDocument.
-- 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.
CREATE VIEW I_ProductChangeDocument AS
SELECT
cast( Product.Product as productnumber preserving type ) AS Product,
cast(Header.ChangeDocObjectClass as cdobjectcl preserving type) AS ChangeDocObjectClass,
Header.ChangeDocument AS ChangeDocument,
Item.DatabaseTable AS DatabaseTable,
Item.ChangeDocTableKey AS ChangeDocTableKey,
Item.ChangeDocDatabaseTableField AS ChangeDocDatabaseTableField,
Item.ChangeDocItemChangeType AS ChangeDocItemChangeType,
Product.ProductType AS ProductType,
Product.CrossPlantStatus AS CrossPlantStatus,
Header.CreatedByUser AS CreatedByUser,
Header.CreationDate AS CreationDate,
Header.CreationTime AS CreationTime,
Product.LastChangeDate AS LastChangeDate,
Product.LastChangedByUser AS LastChangedByUser,
Header.ChangeTransactionCode AS ChangeTransactionCode,
Product.IsMarkedForDeletion AS IsMarkedForDeletion,
Item.ChangeDocPreviousFieldValue AS ChangeDocPreviousFieldValue,
Item.ChangeDocNewFieldValue AS ChangeDocNewFieldValue,
Product.ProductGroup AS ProductGroup,
Product.AuthorizationGroup AS AuthorizationGroup,
Product._ProductType AS _ProductType,
Product._ProductStatus AS _ProductStatus,
Product._LastChangedByUser AS _LastChangedByUser,
Product._LastChangedByUserContactCard AS _LastChangedByUserContactCard,
Product._ProductGroup_2 AS _ProductGroup_2
FROM I_Product AS Product
INNER JOIN I_ChangeDocument AS Header ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChangeDocumentItem AS Item ON /* join condition not captured in parsed metadata */
;
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