P_RSHTaskListOperations
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)
| Source | Alias | Join Type |
|---|---|---|
| I_RSHAssignedWorkCenters | I_RSHAssignedWorkCenters | inner |
| I_OperationControlProfile | OperationControlProfile | inner |
| I_BOOSqncOperationAssgmtChgSt | plas | inner |
| I_BillOfOperationsOpBasic | plpo | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | ||
| OpWorkQuantityUnit | I_BillOfOperationsOpBasic | OpWorkQuantityUnit | ||
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA