C_ChangeRecordObjPgPurOrd
Change Record Reference Object Page Pur Ord
C_ChangeRecordObjPgPurOrd is a Consumption CDS View that provides data about "Change Record Reference Object Page Pur Ord" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefPurOrdTP) and exposes 49 fields with key field ChangeRecordReferenceUUID. It has 14 associations to related views. Part of development package VDM_PLMB_CR_O.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgRecdRefPurOrdTP | ChangeRecordReferencePURTP | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ChangeRecordObjPg | _ChangeRecordObjPg | $projection.ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID |
| [1..1] | I_PurchaseOrder | _PurchaseOrderVH | $projection.PurchaseOrder = _PurchaseOrderVH.PurchaseOrder |
| [1..*] | I_PurchasingDocumentTypeText | _PurchaseOrderTypeText | $projection.PurchaseOrderType = _PurchaseOrderTypeText.PurchasingDocumentType and _PurchaseOrderTypeText.PurchasingDocumentCategory = 'F' |
| [0..1] | I_Plant | _Plant | $projection.SupplyingPlant = _Plant.Plant |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..1] | I_PurchaseContract | _PurchaseContract | $projection.PurchaseContract = _PurchaseContract.PurchaseContract |
| [1..1] | C_ChangeRecordItemRelPurVH | _ChangeRecordItemRelVH | $projection.ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance and $projection.ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType |
| [1..1] | I_PurchaseOrderStatusValueHelp | _PurchaseOrderStatusVH | $projection.purchasingprocessingstatus = _PurchaseOrderStatusVH.PurchasingDocumentStatus |
| [0..*] | I_ChangeRecordRefObjIcons | _ChangeRecordRefObjIcons | $projection.ChangeRecordUUID = _ChangeRecordRefObjIcons.ChangeRecordUUID and $projection.ChangeRecordReferenceType = _ChangeRecordRefObjIcons.ChangeRecordReferenceType |
| [1..1] | C_ChgRecordItemProcgStatusVH | _ProcessingStatusVH | $projection.ChangeRecordItemProcgStatus = _ProcessingStatusVH.ChgRecdNextItemProcgStatus and $projection.ChgRecdCurrentItemProcgStatus = _ProcessingStatusVH.ChgRecdCurrentItemProcgStatus and $projection.ChangeRecordLifecycleStatus = _ProcessingStatusVH.ChangeRecordLifecycleStatus |
| [0..*] | I_ChgRecdItemProcgStatusText | _ProcessingStatusTxt | $projection.ChangeRecordItemProcgStatus = _ProcessingStatusTxt.ChangeRecordItemProcgStatus |
| [0..*] | C_ChangeRecdDigSignStatusVH | _DigSignStatusText | $projection.ChgRecdItmDSgntr = _DigSignStatusText.ChgRecdDigitalSignatureStatus |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCHGRECREFPPU | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Change Record Reference Object Page Pur Ord | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| UI.headerInfo.typeName | Purchase Order | view | |
| UI.headerInfo.typeNamePlural | Purchase Orders | view | |
| UI.headerInfo.imageUrl | ChangeRecordRefObjIcon | view | |
| UI.headerInfo.title.value | PurchaseOrder | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | ChangeRecordReferenceUUID | UUID | |
| ChangeRecordRefObjIcon | Icon | |||
| PurchaseOrder | I_ChgRecdRefPurOrdTP | PurchaseOrder | Purchasing Document | |
| PurchaseOrderType | _PurchaseOrderVH | PurchaseOrderType | PO Type | |
| Supplier | _PurchaseOrderVH | Supplier | Supplier | |
| SupplyingPlant | _PurchaseOrderVH | SupplyingPlant | Supplying Plant | |
| PurchaseOrderDate | _PurchaseOrderVH | PurchaseOrderDate | PO Date | |
| PurchaseContract | _PurchaseOrderVH | PurchaseContract | Purchasing Doc. | |
| PurchasingGroup | _PurchaseOrderVH | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | _PurchaseOrderVH | PurchasingOrganization | Purchasing Organization | |
| ChangeRecordType | _ChangeRecordObjPg | ChangeRecordType | Record Type | |
| ChangeRecordUUID | ChangeRecordUUID | NodeID | ||
| ChangeRecordReferenceType | ChangeRecordReferenceType | Object Type | ||
| ParentChangeRecordRefUUID | ParentChangeRecordRefUUID | Node ID | ||
| ChangeRecordItemRelevance | ChangeRecordItemRelevance | Relevance | ||
| PurchasingProcessingStatus | _PurchaseOrderVH | PurchasingProcessingStatus | Processing Status | |
| ChangeRecordReference | ChangeRecordReference | Ref. Object ID | ||
| ChgRecdItemProcgStatusIsEnbld | _ChangeRecordObjPg | ChgRecdItemProcgStatusIsEnbld | ||
| ChangeRecordLifecycleStatus | _ChangeRecordObjPg | ChangeRecordLifecycleStatus | Issue Lifecycle | |
| ChangeRecordItemProcgStatus | ChangeRecordItemProcgStatus | Processing Status | ||
| ChgRecdCurrentItemProcgStatus | ChgRecdCurrentItemProcgStatus | |||
| ChgRecdItmDSgntr | ChgRecdItmDSgntr | Digital Signature Status | ||
| DigitalSignUserIsAuthorized | ||||
| ChgRecdDigSignStatusTxt | _DigSignStatusText | ChgRecdDigSignStatusTxt | Digital Signature Status | |
| ChgRecdObjDgtlSgntrEnable | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreationDate | ||||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangeDate | ||||
| ChgRecdReasonForChange | ChgRecdReasonForChange | Reason for Chge | ||
| ExpdCompltnDte | ExpdCompltnDte | Exp Completion Date | ||
| ChgRecdAuthznGrpText | ChgRecdAuthznGrpText | Authoriz. Group | ||
| ChgRecdNmbrChgSts | ChgRecdNmbrChgSts | Status | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| _ChangeRecordObjPg | _ChangeRecordObjPg | |||
| _PurchaseOrderTypeText | _PurchaseOrderTypeText | |||
| _ChangeRecordItemRelVH | _ChangeRecordItemRelVH | |||
| _PurchaseOrderVH | _PurchaseOrderVH | |||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _PurchaseContract | _PurchaseContract | |||
| _PurchaseOrderStatusVH | _PurchaseOrderStatusVH | |||
| _ProcessingStatusVH | _ProcessingStatusVH | |||
| _ProcessingStatusTxt | _ProcessingStatusTxt | |||
| _DigSignStatusText | _DigSignStatusText |
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 C_ChangeRecordObjPgPurOrd.
-- 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: CCHGRECREFPPU
CREATE VIEW C_ChangeRecordObjPgPurOrd AS
SELECT
ChangeRecordReferenceUUID,
_ChangeRecordRefObjIcons[ChangeRecordType = ChangeRecordType].ChangeRecordRefObjIcon AS ChangeRecordRefObjIcon,
ChangeRecordReferencePURTP.PurchaseOrder AS PurchaseOrder,
_PurchaseOrderVH.PurchaseOrderType AS PurchaseOrderType,
_PurchaseOrderVH.Supplier AS Supplier,
_PurchaseOrderVH.SupplyingPlant AS SupplyingPlant,
_PurchaseOrderVH.PurchaseOrderDate AS PurchaseOrderDate,
_PurchaseOrderVH.PurchaseContract AS PurchaseContract,
_PurchaseOrderVH.PurchasingGroup AS PurchasingGroup,
_PurchaseOrderVH.PurchasingOrganization AS PurchasingOrganization,
_ChangeRecordObjPg.ChangeRecordType AS ChangeRecordType,
ChangeRecordUUID,
ChangeRecordReferenceType,
ParentChangeRecordRefUUID,
ChangeRecordItemRelevance,
_PurchaseOrderVH.PurchasingProcessingStatus AS PurchasingProcessingStatus,
ChangeRecordReference,
_ChangeRecordObjPg.ChgRecdItemProcgStatusIsEnbld AS ChgRecdItemProcgStatusIsEnbld,
_ChangeRecordObjPg.ChangeRecordLifecycleStatus AS ChangeRecordLifecycleStatus,
ChangeRecordItemProcgStatus,
ChgRecdCurrentItemProcgStatus,
ChgRecdItmDSgntr,
cast( '' as boolean) AS DigitalSignUserIsAuthorized,
_DigSignStatusText.ChgRecdDigSignStatusTxt AS ChgRecdDigSignStatusTxt,
cast( '' as boolean) AS ChgRecdObjDgtlSgntrEnable,
CreatedByUser,
CreationDateTime,
cast( '00000000' as /plmb/created_on ) AS CreationDate,
LastChangedByUser,
LastChangeDateTime,
cast( '00000000' as /plmb/changed_on ) AS LastChangeDate,
ChgRecdReasonForChange,
ExpdCompltnDte,
ChgRecdAuthznGrpText,
ChgRecdNmbrChgSts,
ChangeNumber
FROM I_ChgRecdRefPurOrdTP AS ChangeRecordReferencePURTP
LEFT OUTER JOIN C_ChangeRecordObjPg AS _ChangeRecordObjPg ON ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrderVH ON PurchaseOrder = _PurchaseOrderVH.PurchaseOrder -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _PurchaseOrderTypeText ON PurchaseOrderType = _PurchaseOrderTypeText.PurchasingDocumentType AND _PurchaseOrderTypeText.PurchasingDocumentCategory = 'F' -- association [1..*]
LEFT OUTER JOIN I_Plant AS _Plant ON SupplyingPlant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [0..1]
LEFT OUTER JOIN I_PurchaseContract AS _PurchaseContract ON PurchaseContract = _PurchaseContract.PurchaseContract -- association [0..1]
LEFT OUTER JOIN C_ChangeRecordItemRelPurVH AS _ChangeRecordItemRelVH ON ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance AND ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrderStatusValueHelp AS _PurchaseOrderStatusVH ON purchasingprocessingstatus = _PurchaseOrderStatusVH.PurchasingDocumentStatus -- association [1..1]
LEFT OUTER JOIN I_ChangeRecordRefObjIcons AS _ChangeRecordRefObjIcons ON ChangeRecordUUID = _ChangeRecordRefObjIcons.ChangeRecordUUID AND ChangeRecordReferenceType = _ChangeRecordRefObjIcons.ChangeRecordReferenceType -- association [0..*]
LEFT OUTER JOIN C_ChgRecordItemProcgStatusVH AS _ProcessingStatusVH ON ChangeRecordItemProcgStatus = _ProcessingStatusVH.ChgRecdNextItemProcgStatus AND ChgRecdCurrentItemProcgStatus = _ProcessingStatusVH.ChgRecdCurrentItemProcgStatus AND ChangeRecordLifecycleStatus = _ProcessingStatusVH.ChangeRecordLifecycleStatus -- association [1..1]
LEFT OUTER JOIN I_ChgRecdItemProcgStatusText AS _ProcessingStatusTxt ON ChangeRecordItemProcgStatus = _ProcessingStatusTxt.ChangeRecordItemProcgStatus -- association [0..*]
LEFT OUTER JOIN C_ChangeRecdDigSignStatusVH AS _DigSignStatusText ON ChgRecdItmDSgntr = _DigSignStatusText.ChgRecdDigitalSignatureStatus -- association [0..*]
;
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