C_RSHMaintSchedSmltdOpRelshp

DDL: C_RSHMAINTSCHEDSMLTDOPRELSHP SQL: CRSHMNTSIMOPREL Type: view CONSUMPTION

Operation Relationships for display on the Gantt Chart

C_RSHMaintSchedSmltdOpRelshp is a Consumption CDS View that provides data about "Operation Relationships for display on the Gantt Chart" in SAP S/4HANA. It reads from 1 data source (P_RSHOperationRelationships) and exposes 9 fields with key fields PredecessorOrder, PredecessorOrderOperation, SuccessorOrder, SuccessorOrderOperation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_RSHOperationRelationships P_RSHOperationRelationships from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MaintenanceOrderOperation _PredecessorOrderOperation $projection.PredecessorOrder = _PredecessorOrderOperation.MaintenanceOrder and $projection.PredecessorOrderOperation = _PredecessorOrderOperation.MaintenanceOrderOperation
[1..1] I_MaintenanceOrderOperation _SuccessorOrderOperation $projection.SuccessorOrder = _SuccessorOrderOperation.MaintenanceOrder and $projection.SuccessorOrderOperation = _SuccessorOrderOperation.MaintenanceOrderOperation

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CRSHMNTSIMOPREL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
EndUserText.label Operation Relationships for display on the Gantt Chart view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.preserveKey true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PredecessorOrder PredecessorOrder
KEY PredecessorOrderOperation PredecessorOperation
KEY SuccessorOrder SuccessorOrder
KEY SuccessorOrderOperation SuccessorOperation
NetworkActivityIntmsnDuration OffsetDuration
NetworkActivityIntmsnDurnUnit OffsetDurationUnit
RelationshipIsExplicit isExplicitRelationship
_PredecessorOrderOperation _PredecessorOrderOperation
_SuccessorOrderOperation _SuccessorOrderOperation

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_RSHMaintSchedSmltdOpRelshp.
-- 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: CRSHMNTSIMOPREL

CREATE VIEW C_RSHMaintSchedSmltdOpRelshp AS
SELECT
  PredecessorOrder,
  PredecessorOperation AS PredecessorOrderOperation,
  SuccessorOrder,
  SuccessorOperation AS SuccessorOrderOperation,
  OffsetDuration AS NetworkActivityIntmsnDuration,
  OffsetDurationUnit AS NetworkActivityIntmsnDurnUnit,
  isExplicitRelationship AS RelationshipIsExplicit
FROM P_RSHOperationRelationships
LEFT OUTER JOIN I_MaintenanceOrderOperation AS _PredecessorOrderOperation ON PredecessorOrder = _PredecessorOrderOperation.MaintenanceOrder AND PredecessorOrderOperation = _PredecessorOrderOperation.MaintenanceOrderOperation  -- association [1..1]
LEFT OUTER JOIN I_MaintenanceOrderOperation AS _SuccessorOrderOperation ON SuccessorOrder = _SuccessorOrderOperation.MaintenanceOrder AND SuccessorOrderOperation = _SuccessorOrderOperation.MaintenanceOrderOperation  -- association [1..1]
;