C_ChangeRecordObjPgPlngRouting

DDL: C_CHANGERECORDOBJPGPLNGROUTING SQL: CCHGRCDOBJPGPLR Type: view CONSUMPTION Package: VDM_PLMB_CR_O

Change Record Ref Object Plng Routing

C_ChangeRecordObjPgPlngRouting is a Consumption CDS View that provides data about "Change Record Ref Object Plng Routing" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefPlngRoutingTP) and exposes 39 fields with key field ChangeRecordReferenceUUID. It has 7 associations to related views. Part of development package VDM_PLMB_CR_O.

Data Sources (1)

SourceAliasJoin Type
I_ChgRecdRefPlngRoutingTP ChangeRecordReferencePLRTP from

Associations (7)

CardinalityTargetAliasCondition
[1..1] C_ChangeRecordObjPg _ChangeRecordObjPg $projection.ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID
[1..1] I_BillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
[1..1] C_ChangeRecordItemRelPlngRtgVH _ChangeRecordItemRelVH $projection.ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance and $projection.ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType
[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 (18)

NameValueLevelField
AbapCatalog.sqlViewName CCHGRCDOBJPGPLR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.transactionalProcessingDelegated true view
UI.headerInfo.typeName Planning Routing view
UI.headerInfo.typeNamePlural Planning Routings view
UI.headerInfo.imageUrl ChangeRecordRefObjIcon view
UI.headerInfo.title.value BillOfOperationsGroup view
EndUserText.label Change Record Ref Object Plng Routing view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordReferenceUUID ChangeRecordReferenceUUID UUID
ChangeRecordRefObjIcon Icon
BillOfOperationsGroup
BillOfOperationsDesc
BillOfOperationsType I_ChgRecdRefPlngRoutingTP BillOfOperationsType Task List Type
BillOfOperationsVariant I_ChgRecdRefPlngRoutingTP BillOfOperationsVariant Group Counter
ChangeRecordUUID ChangeRecordUUID NodeID
ChangeRecordReferenceType ChangeRecordReferenceType Object Type
ParentChangeRecordRefUUID ParentChangeRecordRefUUID Node ID
ChangeRecordReference ChangeRecordReference Ref. Object ID
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
CreationDate
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangeDate
ChangeRecordItemRelevance ChangeRecordItemRelevance Relevance
Material
MaterialDescription
NumberOfMaterials
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
ChgRecdObjDgtlSgntrEnable
ChgRecdReasonForChange ChgRecdReasonForChange Reason for Chge
ExpdCompltnDte ExpdCompltnDte Exp Completion Date
ChgRecdAuthznGrpText ChgRecdAuthznGrpText Authoriz. Group
ChgRecdNmbrChgSts ChgRecdNmbrChgSts Status
ChangeNumber ChangeNumber Change Number
_ChangeRecordItemRelVH _ChangeRecordItemRelVH
_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_ChangeRecordObjPgPlngRouting.
-- 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: CCHGRCDOBJPGPLR

CREATE VIEW C_ChangeRecordObjPgPlngRouting AS
SELECT
  ChangeRecordReferenceUUID,
  _ChangeRecordRefObjIcons[ChangeRecordType = ChangeRecordType].ChangeRecordRefObjIcon AS ChangeRecordRefObjIcon,
  cast(ChangeRecordReferencePLRTP.BillOfOperationsGroup as mpe_rtg_routing_group preserving type) AS BillOfOperationsGroup,
  _BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date and ValidityEndDate >= $session.system_date].BillOfOperationsDesc AS BillOfOperationsDesc,
  ChangeRecordReferencePLRTP.BillOfOperationsType AS BillOfOperationsType,
  ChangeRecordReferencePLRTP.BillOfOperationsVariant AS BillOfOperationsVariant,
  ChangeRecordUUID,
  ChangeRecordReferenceType,
  ParentChangeRecordRefUUID,
  ChangeRecordReference,
  CreatedByUser,
  CreationDateTime,
  cast( '00000000' as /plmb/created_on ) AS CreationDate,
  LastChangedByUser,
  LastChangeDateTime,
  cast( '00000000' as /plmb/changed_on ) AS LastChangeDate,
  ChangeRecordItemRelevance,
  cast ('' as matnr) AS Material,
  cast ('' as maktx) AS MaterialDescription,
  cast (0 as abap.int1 ) AS NumberOfMaterials,
  _ChangeRecordObjPg.ChangeRecordType AS ChangeRecordType,
  _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,
  ChgRecdReasonForChange,
  ExpdCompltnDte,
  ChgRecdAuthznGrpText,
  ChgRecdNmbrChgSts,
  ChangeNumber
FROM I_ChgRecdRefPlngRoutingTP AS ChangeRecordReferencePLRTP
LEFT OUTER JOIN C_ChangeRecordObjPg AS _ChangeRecordObjPg ON ChangeRecordUUID = _ChangeRecordObjPg.ChangeRecordUUID  -- association [1..1]
LEFT OUTER JOIN I_BillOfOperations AS _BillOfOperations ON BillOfOperationsType = _BillOfOperations.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant  -- association [1..1]
LEFT OUTER JOIN C_ChangeRecordItemRelPlngRtgVH AS _ChangeRecordItemRelVH ON ChangeRecordItemRelevance = _ChangeRecordItemRelVH.ChangeRecordItemRelevance AND ChangeRecordType = _ChangeRecordItemRelVH.ChangeRecordType  -- 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..*]
;