P_RSHOperationsWOExplicitRelat

DDL: P_RSHOPERATIONSWOEXPLICITRELAT SQL: PRSHOPERWOEXREL Type: view CONSUMPTION Package: RSH_CDS_ORD

Operations without explicit Relations

P_RSHOperationsWOExplicitRelat is a Consumption CDS View that provides data about "Operations without explicit Relations" in SAP S/4HANA. It reads from 3 data sources (I_LogisticsOrder, I_MaintenanceOrderOperation, I_ProjectNetworkRelationship) and exposes 10 fields with key fields MaintenanceOrder, MaintenanceOperation. It has 2 associations to related views. Part of development package RSH_CDS_ORD.

Data Sources (3)

SourceAliasJoin Type
I_LogisticsOrder _Order inner
I_MaintenanceOrderOperation mop from
I_ProjectNetworkRelationship rel left_outer

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SchedulingType _SchedulingType _Order.BasicSchedulingType = _SchedulingType.SchedulingType
[0..1] I_StatusObjectStatusBasic _IsDeletedStatus _IsDeletedStatus.StatusObject = mop.MaintOrderOperationInternalID and _IsDeletedStatus.StatusCode = 'I0013' and _IsDeletedStatus.StatusIsInactive = ' '

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PRSHOPERWOEXREL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label Operations without explicit Relations view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #META view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder MaintenanceOrder Order
KEY MaintenanceOperation MaintenanceOrderOperation Suboperation
MaintOrderRoutingNumber I_MaintenanceOrderOperation MaintOrderRoutingNumber Plan No.f.Oper.
MaintOrderOperationCounter I_MaintenanceOrderOperation MaintOrderOperationCounter Counter
MaintOrderOperationInternalID MaintOrderOperationInternalID Object number
SchedulingType _SchedulingType SchedulingType
ForwardScheduling _SchedulingType SchedulingIsPerformedForward
BackwardScheduling _SchedulingType SchedulingIsPerformedBackward
CurrentDateScheduling _SchedulingType SchedgIsPerformedFromCurDate
CapacitiveScheduling _SchedulingType CalcOfCapacityRqmtsIsPerformed

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 P_RSHOperationsWOExplicitRelat.
-- 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: PRSHOPERWOEXREL

CREATE VIEW P_RSHOperationsWOExplicitRelat AS
SELECT
  MaintenanceOrder,
  MaintenanceOrderOperation AS MaintenanceOperation,
  mop.MaintOrderRoutingNumber AS MaintOrderRoutingNumber,
  mop.MaintOrderOperationCounter AS MaintOrderOperationCounter,
  MaintOrderOperationInternalID,
  _SchedulingType.SchedulingType AS SchedulingType,
  _SchedulingType.SchedulingIsPerformedForward AS ForwardScheduling,
  _SchedulingType.SchedulingIsPerformedBackward AS BackwardScheduling,
  _SchedulingType.SchedgIsPerformedFromCurDate AS CurrentDateScheduling,
  _SchedulingType.CalcOfCapacityRqmtsIsPerformed AS CapacitiveScheduling
FROM I_MaintenanceOrderOperation AS mop
INNER JOIN I_LogisticsOrder AS _Order ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProjectNetworkRelationship AS rel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SchedulingType AS _SchedulingType ON _Order.BasicSchedulingType = _SchedulingType.SchedulingType  -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _IsDeletedStatus ON _IsDeletedStatus.StatusObject = mop.MaintOrderOperationInternalID AND _IsDeletedStatus.StatusCode = 'I0013' AND _IsDeletedStatus.StatusIsInactive = ' '  -- association [0..1]
;