P_RSHTaskListOperations

DDL: P_RSHTASKLISTOPERATIONS SQL: PRSHTASKLST Type: view CONSUMPTION

Task List Operations

P_RSHTaskListOperations is a Consumption CDS View that provides data about "Task List Operations" in SAP S/4HANA. It reads from 4 data sources (I_RSHAssignedWorkCenters, I_OperationControlProfile, I_BOOSqncOperationAssgmtChgSt, I_BillOfOperationsOpBasic) and exposes 21 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsSequence, BOOOperationInternalID.

Data Sources (4)

SourceAliasJoin Type
I_RSHAssignedWorkCenters I_RSHAssignedWorkCenters inner
I_OperationControlProfile OperationControlProfile inner
I_BOOSqncOperationAssgmtChgSt plas inner
I_BillOfOperationsOpBasic plpo from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRSHTASKLST view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label Task List Operations view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BOOSqncOperationAssgmtChgSt BillOfOperationsType Task List Type
KEY BillOfOperationsGroup I_BOOSqncOperationAssgmtChgSt BillOfOperationsGroup Group
KEY BillOfOperationsVariant I_BOOSqncOperationAssgmtChgSt BillOfOperationsVariant Group Counter
KEY BillOfOperationsSequence I_BOOSqncOperationAssgmtChgSt BillOfOperationsSequence Sequence
KEY BOOOperationInternalID I_BOOSqncOperationAssgmtChgSt BOOOperationInternalID Task list node
KEY SuperiorOperationInternalID I_BillOfOperationsOpBasic SuperiorOperationInternalID Sup. Op. Node
WorkCenterInternalID I_BillOfOperationsOpBasic WorkCenterInternalID Work Center
WorkCenterTypeCode I_BillOfOperationsOpBasic WorkCenterTypeCode Object Type
CapacityInternalId I_RSHAssignedWorkCenters CapacityInternalID Capacity ID
WorkCenter I_RSHAssignedWorkCenters WorkCenter Work Center
WorkCenterCategoryCode I_RSHAssignedWorkCenters WorkCenterCategoryCode
Plant I_BillOfOperationsOpBasic Plant Valuation Area
Operation Operation Transaction
OperationendasSubOperation
OperationOperationText
ControlKey I_BillOfOperationsOpBasic OperationControlProfile Control Key
OpPlannedWorkQuantity I_BillOfOperationsOpBasic OpPlannedWorkQuantity Work
OpWorkQuantityUnit I_BillOfOperationsOpBasic OpWorkQuantityUnit Unit for work
fltpasTotalWork
TotalWorkUnit
MaintOperationExecStageCode I_BillOfOperationsOpBasic MaintOperationExecStageCode Execution Stage

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_RSHTaskListOperations.
-- 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: PRSHTASKLST

CREATE VIEW P_RSHTaskListOperations AS
SELECT
  plas.BillOfOperationsType AS BillOfOperationsType,
  plas.BillOfOperationsGroup AS BillOfOperationsGroup,
  plas.BillOfOperationsVariant AS BillOfOperationsVariant,
  plas.BillOfOperationsSequence AS BillOfOperationsSequence,
  plas.BOOOperationInternalID AS BOOOperationInternalID,
  plpo.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  plpo.WorkCenterInternalID AS WorkCenterInternalID,
  plpo.WorkCenterTypeCode AS WorkCenterTypeCode,
  I_RSHAssignedWorkCenters.CapacityInternalID AS CapacityInternalId,
  I_RSHAssignedWorkCenters.WorkCenter AS WorkCenter,
  I_RSHAssignedWorkCenters.WorkCenterCategoryCode AS WorkCenterCategoryCode,
  plpo.Plant AS Plant,
  Operation,
  case when ( plas.BOOOperationInternalID = plpo.BOOOperationInternalID ) then ' ' else plpo.Operation end as SubOperation AS OperationendasSubOperation,
  plpo.OperationControlProfile AS ControlKey,
  plpo.OpPlannedWorkQuantity AS OpPlannedWorkQuantity,
  plpo.OpWorkQuantityUnit AS OpWorkQuantityUnit,
  cast( unit_conversion( QUANTITY =>plpo.OpPlannedWorkQuantity , SOURCE_UNIT =>plpo.OpWorkQuantityUnit, TARGET_UNIT => cast( 'S' as abap.unit(3) ), ERROR_HANDLING => 'SET_TO_NULL' ) as abap.fltp ) as TotalWork AS fltpasTotalWork,
  'S' AS TotalWorkUnit,
  plpo.MaintOperationExecStageCode AS MaintOperationExecStageCode
FROM I_BillOfOperationsOpBasic AS plpo
INNER JOIN I_BOOSqncOperationAssgmtChgSt AS plas ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHAssignedWorkCenters ON /* join condition not captured in parsed metadata */
INNER JOIN I_OperationControlProfile AS OperationControlProfile ON /* join condition not captured in parsed metadata */
;