C_ChangeRecordObjPgMfgSnpsht

DDL: C_CHANGERECORDOBJPGMFGSNPSHT SQL: CCHGRCDOBJPGMSP Type: view CONSUMPTION

Change Record Ref Object Mfg Snapshot

C_ChangeRecordObjPgMfgSnpsht is a Consumption CDS View that provides data about "Change Record Ref Object Mfg Snapshot" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefMfgSnpshtTP) and exposes 56 fields with key field ChangeRecordReferenceUUID. It has 13 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChgRecdRefMfgSnpshtTP ChangeRecordRefMfgSnpshtTP from

Associations (13)

CardinalityTargetAliasCondition
[1..1] C_ChangeRecordObjPg _ChangeRecordObjPg $projection.ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID
[0..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_BillOfMaterialUsageText _BOMUsageText $projection.BillOfMaterialVariantUsage = _BOMUsageText.BillOfMaterialVariantUsage
[1..1] C_ChangeRecordItemRelSnpshtVH _ChangeRecordItemRelSnpshtVH $projection.ChangeRecordItemRelevance = _ChangeRecordItemRelSnpshtVH.ChangeRecordItemRelevance and $projection.ChangeRecordType = _ChangeRecordItemRelSnpshtVH.ChangeRecordType
[0..*] I_ChangeRecordRefObjIcons _ChangeRecordRefObjIcons $projection.ChangeRecordUUID = _ChangeRecordRefObjIcons.ChangeRecordUUID and $projection.ChangeRecordReferenceType = _ChangeRecordRefObjIcons.ChangeRecordReferenceType
[0..1] I_EngSnpshtHdr _EngSnpshtHeader $projection.EngSnapshotID = _EngSnpshtHeader.EngSnapshotID and $projection.EngSnpshtRevisionNumber = _EngSnpshtHeader.EngSnpshtRevisionNumber
[0..*] I_EngSnpshtObjRef _EngSnpshtObjRef $projection.EngSnapshotUUID = _EngSnpshtObjRef.EngSnapshotUUID and $projection.Material = _EngSnpshtObjRef.EngSnpshtRefKey1 and $projection.Plant = _EngSnpshtObjRef.EngSnpshtRefKey2 and $projection.BillOfMaterialVariant = _EngSnpshtObjRef.EngSnpshtRefKey3 and $projection.BillOfMaterialVariantUsage = _EngSnpshtObjRef.EngSnpshtRefKey4 and _EngSnpshtObjRef.EngSnpshtRefType = 'MBOM'
[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
[0..*] I_EngSnpshtTypeText _EngSnpshtTypeText $projection.EngSnapshotType = _EngSnpshtTypeText.EngSnapshotType

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCHGRCDOBJPGMSP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY 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 Manufacturing Snapshot view
UI.headerInfo.typeNamePlural Manufacturing Snapshots view
UI.headerInfo.imageUrl ChangeRecordRefObjIcon view
UI.headerInfo.title.value MaterialName view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Change Record Ref Object Mfg Snapshot view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordReferenceUUID ChangeRecordReferenceUUID UUID
ChangeRecordRefObjIcon Icon
Material Material Vehicle Model
MaterialName _MaterialText MaterialName Material Description
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion
EngSnapshotID EngSnapshotID
EngSnapshotUUID EngSnapshotUUID
EngSnpshtRevisionNumber EngSnpshtRevisionNumber
EngSnapshotType EngSnapshotType
EngSnapshotTypeText _EngSnpshtTypeText EngSnapshotTypeText
EngSnpshtProposedEffectiveDate _EngSnpshtHeader EngSnpshtProposedEffectiveDate
ChangeRecordUUID ChangeRecordUUID NodeID
ChangeRecordReferenceType ChangeRecordReferenceType Object Type
ChangeRecordReferenceSubtype ChangeRecordReferenceSubtype Subtype
ChangeRecordRefObjectUUID ChangeRecordRefObjectUUID
ChangeRecordReference ChangeRecordReference Ref. Object ID
ParentChangeRecordRefUUID ParentChangeRecordRefUUID Node ID
IsMainReference IsMainReference Main Reference
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
CreationDate
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangeDate
ChangeRecordItemRelevance ChangeRecordItemRelevance Relevance
EngSnapshotRoutingType
EngSnapshotRoutingTypeText
EngSnapshotRoutingIsRework
ChangeRecordType _ChangeRecordObjPg ChangeRecordType Record Type
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
ChgRecdReasonForChange ChgRecdReasonForChange Reason for Chge
ExpdCompltnDte ExpdCompltnDte Exp Completion Date
ChgRecdAuthznGrpText ChgRecdAuthznGrpText Authoriz. Group
ChgRecdNmbrChgSts ChgRecdNmbrChgSts Status
ChangeNumber ChangeNumber Change Number
ChgRecdObjDgtlSgntrEnable
MaterialBaseUnit
BillOfOpsBusinessProcess
_MaterialText _MaterialText
_Plant _Plant
_BOMUsageText _BOMUsageText
_ChangeRecordItemRelSnpshtVH _ChangeRecordItemRelSnpshtVH
_ChangeRecordObjPg _ChangeRecordObjPg
_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_ChangeRecordObjPgMfgSnpsht.
-- 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: CCHGRCDOBJPGMSP

CREATE VIEW C_ChangeRecordObjPgMfgSnpsht AS
SELECT
  ChangeRecordReferenceUUID,
  _ChangeRecordRefObjIcons[ChangeRecordType = ChangeRecordType].ChangeRecordRefObjIcon AS ChangeRecordRefObjIcon,
  Material,
  _MaterialText.MaterialName AS MaterialName,
  Plant,
  _Plant.PlantName AS PlantName,
  BillOfMaterialVariantUsage,
  BillOfMaterialVariant,
  cast(_EngSnpshtObjRef.EngSnpshtRefKey5 as cs_versn) AS BillOfMaterialVersion,
  EngSnapshotID,
  EngSnapshotUUID,
  EngSnpshtRevisionNumber,
  EngSnapshotType,
  _EngSnpshtTypeText.EngSnapshotTypeText AS EngSnapshotTypeText,
  _EngSnpshtHeader.EngSnpshtProposedEffectiveDate AS EngSnpshtProposedEffectiveDate,
  ChangeRecordUUID,
  ChangeRecordReferenceType,
  ChangeRecordReferenceSubtype,
  ChangeRecordRefObjectUUID,
  ChangeRecordReference,
  ParentChangeRecordRefUUID,
  IsMainReference,
  CreatedByUser,
  CreationDateTime,
  cast( '00000000' as /plmb/created_on ) AS CreationDate,
  LastChangedByUser,
  LastChangeDateTime,
  cast( '00000000' as /plmb/changed_on ) AS LastChangeDate,
  ChangeRecordItemRelevance,
  cast ('' as mpe_sta_routing_type ) AS EngSnapshotRoutingType,
  cast ('' as ddtext ) AS EngSnapshotRoutingTypeText,
  cast ('' as mpe_sta_rework_routing ) AS EngSnapshotRoutingIsRework,
  _ChangeRecordObjPg.ChangeRecordType AS ChangeRecordType,
  _ChangeRecordObjPg.ChgRecdItemProcgStatusIsEnbld AS ChgRecdItemProcgStatusIsEnbld,
  _ChangeRecordObjPg.ChangeRecordLifecycleStatus AS ChangeRecordLifecycleStatus,
  ChangeRecordItemProcgStatus,
  ChgRecdCurrentItemProcgStatus,
  ChgRecdItmDSgntr,
  cast( '' as boolean) AS DigitalSignUserIsAuthorized,
  _DigSignStatusText.ChgRecdDigSignStatusTxt AS ChgRecdDigSignStatusTxt,
  ChgRecdReasonForChange,
  ExpdCompltnDte,
  ChgRecdAuthznGrpText,
  ChgRecdNmbrChgSts,
  ChangeNumber,
  cast( '' as boolean) AS ChgRecdObjDgtlSgntrEnable,
  cast (' ' as mpe_business_process preserving type) AS BillOfOpsBusinessProcess
FROM I_ChgRecdRefMfgSnpshtTP AS ChangeRecordRefMfgSnpshtTP
LEFT OUTER JOIN C_ChangeRecordObjPg AS _ChangeRecordObjPg ON ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID  -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialUsageText AS _BOMUsageText ON BillOfMaterialVariantUsage = _BOMUsageText.BillOfMaterialVariantUsage  -- association [0..*]
LEFT OUTER JOIN C_ChangeRecordItemRelSnpshtVH AS _ChangeRecordItemRelSnpshtVH ON ChangeRecordItemRelevance = _ChangeRecordItemRelSnpshtVH.ChangeRecordItemRelevance AND ChangeRecordType = _ChangeRecordItemRelSnpshtVH.ChangeRecordType  -- association [1..1]
LEFT OUTER JOIN I_ChangeRecordRefObjIcons AS _ChangeRecordRefObjIcons ON ChangeRecordUUID = _ChangeRecordRefObjIcons.ChangeRecordUUID AND ChangeRecordReferenceType = _ChangeRecordRefObjIcons.ChangeRecordReferenceType  -- association [0..*]
LEFT OUTER JOIN I_EngSnpshtHdr AS _EngSnpshtHeader ON EngSnapshotID = _EngSnpshtHeader.EngSnapshotID AND EngSnpshtRevisionNumber = _EngSnpshtHeader.EngSnpshtRevisionNumber  -- association [0..1]
LEFT OUTER JOIN I_EngSnpshtObjRef AS _EngSnpshtObjRef ON EngSnapshotUUID = _EngSnpshtObjRef.EngSnapshotUUID AND Material = _EngSnpshtObjRef.EngSnpshtRefKey1 AND Plant = _EngSnpshtObjRef.EngSnpshtRefKey2 AND BillOfMaterialVariant = _EngSnpshtObjRef.EngSnpshtRefKey3 AND BillOfMaterialVariantUsage = _EngSnpshtObjRef.EngSnpshtRefKey4 AND _EngSnpshtObjRef.EngSnpshtRefType = 'MBOM'  -- 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..*]
LEFT OUTER JOIN I_EngSnpshtTypeText AS _EngSnpshtTypeText ON EngSnapshotType = _EngSnpshtTypeText.EngSnapshotType  -- association [0..*]
;