P_RSHOperationAssignment

DDL: P_RSHOPERATIONASSIGNMENT SQL: PRSHOPERATIONASG Type: view COMPOSITE

Maintenance Order Operation Assignment

P_RSHOperationAssignment is a Composite CDS View that provides data about "Maintenance Order Operation Assignment" in SAP S/4HANA. It reads from 1 data source (I_RSHOperationAssignment) and exposes 18 fields with key fields CapacityRequirement, CapacityRequirementItem, CapacityRqmtItemCapacity. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RSHOperationAssignment I_RSHOperationAssignment from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WorkAssignment _Employment $projection.PersonnelNumber = _Employment.WorkAssignment

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PRSHOPERATIONASG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Maintenance Order Operation Assignment view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CapacityRequirement CapacityRequirement Id number
KEY CapacityRequirementItem CapacityRequirementItem
KEY CapacityRqmtItemCapacity CapacityRqmtItemCapacity
MaintenanceOrder MaintenanceOrder Order
MaintenanceOrderOperation MaintenanceOrderOperation Suboperation
MaintenanceOrderSubOperation MaintenanceOrderSubOperation Suboperation
MaintOrderRoutingNumber MaintOrderRoutingNumber Plan No.f.Oper.
MaintOrderOperationCounter MaintOrderOperationCounter Counter
PersonnelNumber PersonnelNumber Personnel No.
PersonFullName _Employment PersonFullName Full Name
AssignedMaintOpStartDate AssignedMaintOpStartDate Erlst Strt Date
AssignedMaintOpStartTime AssignedMaintOpStartTime Erlst Strt Time
AssignedMaintOpEndDate AssignedMaintOpEndDate Erlst End Date
AssignedMaintOpEndTime AssignedMaintOpEndTime Erlst End Time
AssignedMaintOpStartDateTime AssignedMaintOpStartDateTime
AssignedMaintOpEndDateTime AssignedMaintOpEndDateTime
_Employment _Employment
_MaintenanceOrder _MaintenanceOrder

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_RSHOperationAssignment.
-- 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: PRSHOPERATIONASG

CREATE VIEW P_RSHOperationAssignment AS
SELECT
  CapacityRequirement,
  CapacityRequirementItem,
  CapacityRqmtItemCapacity,
  MaintenanceOrder,
  MaintenanceOrderOperation,
  MaintenanceOrderSubOperation,
  MaintOrderRoutingNumber,
  MaintOrderOperationCounter,
  PersonnelNumber,
  _Employment.PersonFullName AS PersonFullName,
  AssignedMaintOpStartDate,
  AssignedMaintOpStartTime,
  AssignedMaintOpEndDate,
  AssignedMaintOpEndTime,
  AssignedMaintOpStartDateTime,
  AssignedMaintOpEndDateTime
FROM I_RSHOperationAssignment
LEFT OUTER JOIN I_WorkAssignment AS _Employment ON PersonnelNumber = _Employment.WorkAssignment  -- association [0..1]
;