I_ProductChangeDocument

DDL: I_PRODUCTCHANGEDOCUMENT Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_ChangeDocument Header inner
I_ChangeDocumentItem Item inner
I_Product Product from

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;