P_RSHOperationsForKPIDetails
Order KPI Details
P_RSHOperationsForKPIDetails is a Consumption CDS View that provides data about "Order KPI Details" in SAP S/4HANA. It reads from 7 data sources and exposes 9 fields with key fields MaintOrderRoutingNumber, OrderOperationInternalID.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_RSHAssignedWorkCenters | _AssignedWorkCenter | inner |
| I_MaintenanceOrder | _MaintOrder | from |
| I_MaintOrderOperPlanningValues | _MaintOrderOpPlanValue | inner |
| I_RSHOperationStatusObject | _OperationStatusObj | inner |
| I_OperationControlProfile | _OperControlProfile | inner |
| I_OrderOperationBasic | _OrderOpBasic | inner |
| I_SchedulingType | _SchedulingType | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | datum | |
| P_EndDate | datum |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSHOPERKPIDET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Order KPI Details | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintOrderRoutingNumber | I_MaintenanceOrder | MaintOrderRoutingNumber | Plan No.f.Oper. |
| KEY | OrderOperationInternalID | I_OrderOperationBasic | OrderOperationInternalID | Plan No.f.Oper. |
| MaintenanceOrder | I_MaintenanceOrder | MaintenanceOrder | Order | |
| WorkCenterInternalID | I_OrderOperationBasic | WorkCenterInternalID | Work Center | |
| Plant | I_OrderOperationBasic | Plant | Valuation Area | |
| OperationControlProfile | I_OrderOperationBasic | OperationControlProfile | Control Key | |
| Equipment | I_MaintenanceOrder | Equipment | Equipment check | |
| MaintObjectLocAcctAssgmtNmbr | I_MaintenanceOrder | MaintObjectLocAcctAssgmtNmbr | Loc/AccAssmt | |
| OperationPersonResponsible | I_OrderOperationBasic | OperationPersonResponsible | Personnel no. |
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_RSHOperationsForKPIDetails.
-- 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: PRSHOPERKPIDET
-- Parameters: P_StartDate : datum, P_EndDate : datum
CREATE VIEW P_RSHOperationsForKPIDetails AS
SELECT
_MaintOrder.MaintOrderRoutingNumber AS MaintOrderRoutingNumber,
_OrderOpBasic.OrderOperationInternalID AS OrderOperationInternalID,
_MaintOrder.MaintenanceOrder AS MaintenanceOrder,
_OrderOpBasic.WorkCenterInternalID AS WorkCenterInternalID,
_OrderOpBasic.Plant AS Plant,
_OrderOpBasic.OperationControlProfile AS OperationControlProfile,
_MaintOrder.Equipment AS Equipment,
_MaintOrder.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
_OrderOpBasic.OperationPersonResponsible AS OperationPersonResponsible
FROM I_MaintenanceOrder AS _MaintOrder
INNER JOIN I_OrderOperationBasic AS _OrderOpBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaintOrderOperPlanningValues AS _MaintOrderOpPlanValue ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHAssignedWorkCenters AS _AssignedWorkCenter ON /* join condition not captured in parsed metadata */
INNER JOIN I_OperationControlProfile AS _OperControlProfile ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHOperationStatusObject AS _OperationStatusObj ON /* join condition not captured in parsed metadata */
INNER JOIN I_SchedulingType AS _SchedulingType 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