I_PurchasingChangeDocument

DDL: I_PURCHASINGCHANGEDOCUMENT SQL: IPURGCHGDOC Type: view COMPOSITE

Purchasing Change Document

I_PurchasingChangeDocument is a Composite CDS View that provides data about "Purchasing Change Document" in SAP S/4HANA. It reads from 1 data source (I_ChangeDocument) and exposes 11 fields with key fields ChangeDocObject, ChangeDocObjectClass, ChangeDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChangeDocument I_ChangeDocument from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _User $projection.CreatedByUser = _User.ContactCardID

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
AbapCatalog.sqlViewName IPURGCHGDOC view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Purchasing Change Document view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChangeDocObject ChangeDocObject Object Value
KEY ChangeDocObjectClass ChangeDocObjectClass Change Doc. Object
KEY ChangeDocument ChangeDocument Document Number
CreatedByUser CreatedByUser User Name
FullName _User FullName Name
FirstName _User FirstName First Name
LastName _User LastName Last Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
ChangeDocLanguage ChangeDocLanguage Primary lang.
_ChangeDocLanguage _ChangeDocLanguage

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_PurchasingChangeDocument.
-- 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: IPURGCHGDOC

CREATE VIEW I_PurchasingChangeDocument AS
SELECT
  ChangeDocObject,
  ChangeDocObjectClass,
  ChangeDocument,
  CreatedByUser,
  _User.FullName AS FullName,
  _User.FirstName AS FirstName,
  _User.LastName AS LastName,
  CreationDate,
  CreationTime,
  ChangeDocLanguage
FROM I_ChangeDocument
LEFT OUTER JOIN I_UserContactCard AS _User ON CreatedByUser = _User.ContactCardID  -- association [0..1]
;