C_ChgRecdObjPgProdStrucVar
Change Record Obj Ref Product Struc Var
C_ChgRecdObjPgProdStrucVar is a Consumption CDS View that provides data about "Change Record Obj Ref Product Struc Var" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefProdStrucVarTP) and exposes 36 fields with key field ChangeRecordReferenceUUID. It has 6 associations to related views. Part of development package VDM_PLMB_CR_O.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgRecdRefProdStrucVarTP | ChangeRecordReferencePSVTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Classvh | _ClassVH | $projection.Class = _ClassVH.Class |
| [0..1] | C_ProductStructureNodeVH | _NodeVH | $projection.ProductStructureNodeName = _NodeVH.ProductStructureNodeName and $projection.Class = _NodeVH.Class |
| [0..1] | C_Chgnrvh | _ChangeNumberVH | $projection.ProdStrucVariantChangeNumber = _ChangeNumberVH.ProdStrucVariantChangeNumber |
| [0..1] | C_ProductStructureVariantVH | _VariantVH | $projection.Class = _VariantVH.Class and $projection.ProductStructureNodeName = _VariantVH.ProductStructureNodeName and $projection.ProductStructureVariantName = _VariantVH.ProductStructureVariantName and $projection.ProdStrucVariantChangeNumber = _VariantVH.ProdStrucVariantChangeNumber and ( $projection.Material = _VariantVH.Material or( $projection.Material = '' or $projection.Material is null ) ) |
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [0..*] | C_ChangeRecdDigSignStatusVH | _DigSignStatusText | $projection.ChgRecdItmDSgntr = _DigSignStatusText.ChgRecdDigitalSignatureStatus |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCHGRECREFPSV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Change Record Obj Ref Product Struc Var | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| UI.headerInfo.typeName | Product Structure Variant | view | |
| UI.headerInfo.typeNamePlural | Product Structure Variants | view | |
| UI.headerInfo.imageUrl | ProductImageURL | view | |
| UI.headerInfo.title.value | ProdStrucVariantDescription | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | ChangeRecordReferenceUUID | UUID | |
| ProdStrucVariantUniqueID | _VariantVH | ProdStrucVariantUniqueID | ||
| ProductImageURL | ||||
| Class | Class | User Group | ||
| ProductStructureNodeName | ProductStructureNodeName | Node | ||
| ProdStrucNodeDescription | ProdStrucNodeDescription | |||
| ProductStructureVariantName | ProductStructureVariantName | |||
| ProdStrucVariantDescription | ProdStrucVariantDescription | |||
| ProdStrucVariantChangeNumber | ProdStrucVariantChangeNumber | |||
| Material | Material | Material | ||
| MaterialName | _MaterialText | MaterialName | Material Description | |
| ChangeRecordUUID | ChangeRecordUUID | NodeID | ||
| ChangeRecordReferenceType | ChangeRecordReferenceType | Object Type | ||
| ParentChangeRecordRefUUID | ParentChangeRecordRefUUID | Node ID | ||
| ChangeRecordReference | ChangeRecordReference | Ref. Object ID | ||
| ChgRecdCurrentItemProcgStatus | ChgRecdCurrentItemProcgStatus | |||
| ChgRecdItmDSgntr | ChgRecdItmDSgntr | Digital Signature Status | ||
| DigitalSignUserIsAuthorized | ||||
| ChgRecdDigSignStatusTxt | _DigSignStatusText | ChgRecdDigSignStatusTxt | Digital Signature Status | |
| ChgRecdObjDgtlSgntrEnable | ||||
| ChgRecdReasonForChange | ChgRecdReasonForChange | Reason for Chge | ||
| ExpdCompltnDte | ExpdCompltnDte | Exp Completion Date | ||
| ChgRecdAuthznGrpText | ChgRecdAuthznGrpText | Authoriz. Group | ||
| ChgRecdNmbrChgSts | ChgRecdNmbrChgSts | Status | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreationDate | ||||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangeDate | ||||
| _ClassVH | _ClassVH | |||
| _NodeVH | _NodeVH | |||
| _VariantVH | _VariantVH | |||
| _ChangeNumberVH | _ChangeNumberVH | |||
| _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_ChgRecdObjPgProdStrucVar.
-- 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: CCHGRECREFPSV
CREATE VIEW C_ChgRecdObjPgProdStrucVar AS
SELECT
ChangeRecordReferenceUUID,
_VariantVH.ProdStrucVariantUniqueID AS ProdStrucVariantUniqueID,
cast( '' as productimageurl ) AS ProductImageURL,
Class,
ProductStructureNodeName,
ProdStrucNodeDescription,
ProductStructureVariantName,
ProdStrucVariantDescription,
ProdStrucVariantChangeNumber,
Material,
_MaterialText.MaterialName AS MaterialName,
ChangeRecordUUID,
ChangeRecordReferenceType,
ParentChangeRecordRefUUID,
ChangeRecordReference,
ChgRecdCurrentItemProcgStatus,
ChgRecdItmDSgntr,
cast( '' as boolean) AS DigitalSignUserIsAuthorized,
_DigSignStatusText.ChgRecdDigSignStatusTxt AS ChgRecdDigSignStatusTxt,
cast( '' as boolean) AS ChgRecdObjDgtlSgntrEnable,
ChgRecdReasonForChange,
ExpdCompltnDte,
ChgRecdAuthznGrpText,
ChgRecdNmbrChgSts,
ChangeNumber,
CreatedByUser,
CreationDateTime,
cast( '00000000' as /plmb/created_on ) AS CreationDate,
LastChangedByUser,
LastChangeDateTime,
cast( '00000000' as /plmb/changed_on ) AS LastChangeDate
FROM I_ChgRecdRefProdStrucVarTP AS ChangeRecordReferencePSVTP
LEFT OUTER JOIN I_Classvh AS _ClassVH ON Class = _ClassVH.Class -- association [0..1]
LEFT OUTER JOIN C_ProductStructureNodeVH AS _NodeVH ON ProductStructureNodeName = _NodeVH.ProductStructureNodeName AND Class = _NodeVH.Class -- association [0..1]
LEFT OUTER JOIN C_Chgnrvh AS _ChangeNumberVH ON ProdStrucVariantChangeNumber = _ChangeNumberVH.ProdStrucVariantChangeNumber -- association [0..1]
LEFT OUTER JOIN C_ProductStructureVariantVH AS _VariantVH ON Class = _VariantVH.Class AND ProductStructureNodeName = _VariantVH.ProductStructureNodeName AND ProductStructureVariantName = _VariantVH.ProductStructureVariantName AND ProdStrucVariantChangeNumber = _VariantVH.ProdStrucVariantChangeNumber AND ( Material = _VariantVH.Material OR( Material = '' OR Material is null ) ) -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- association [0..1]
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