P_RSHMaintSchedOpConfBase
P_RSHMaintSchedOpConfBase is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (I_RSHMaintSchedFrozenOp, I_MaintenanceOrderConfirmation, I_RSHMaintSchedSimulation) and exposes 28 fields with key fields WorkCenterInternalID, MaintSchedSimlnUUID, MaintOrderConf, MaintOrderConfCntrValue.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_RSHMaintSchedFrozenOp | FrozenOperations | from |
| I_MaintenanceOrderConfirmation | I_MaintenanceOrderConfirmation | inner |
| I_RSHMaintSchedSimulation | ScheduleHeader | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSHOPCNFBASE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | I_RSHMaintSchedFrozenOp | WorkCenterInternalID | Work Center |
| KEY | MaintSchedSimlnUUID | I_RSHMaintSchedFrozenOp | MaintSchedSimlnUUID | UUID |
| KEY | MaintOrderConf | I_MaintenanceOrderConfirmation | MaintOrderConf | |
| KEY | MaintOrderConfCntrValue | MaintOrderConfCntrValue | Counter | |
| MaintenanceOrder | MaintenanceOrder | Order | ||
| MaintenanceOrderOperation | MaintenanceOrderOperation | Suboperation | ||
| MaintenanceOrderSubOperation | MaintenanceOrderSubOperation | Suboperation | ||
| WorkCenterTypeCode | I_RSHMaintSchedFrozenOp | WorkCenterTypeCode | Object Type | |
| MaintOrderRoutingNumber | I_RSHMaintSchedFrozenOp | MaintOrderRoutingNumber | Plan No.f.Oper. | |
| MaintOrderOperationCounter | I_RSHMaintSchedFrozenOp | MaintOrderOperationCounter | Counter | |
| IsFinalConfirmation | IsFinalConfirmation | |||
| IsReversed | IsReversed | Reversed? | ||
| IsReversal | IsReversal | Reversal doc. | ||
| OperationConfirmedStartDate | OperationConfirmedStartDate | |||
| OperationConfirmedStartTime | OperationConfirmedStartTime | |||
| OperationConfirmedEndDate | OperationConfirmedEndDate | |||
| OperationConfirmedEndTime | OperationConfirmedEndTime | |||
| MaintSchedSimulationStartDate | I_RSHMaintSchedSimulation | MaintSchedSimulationStartDate | Start Date | |
| MaintSchedSimulationEndDate | I_RSHMaintSchedSimulation | MaintSchedSimulationEndDate | End Date | |
| MaintSchedSimStartDateTime | I_RSHMaintSchedSimulation | MaintSchedSimStartDateTime | ||
| MaintSchedSimEndDateTime | I_RSHMaintSchedSimulation | MaintSchedSimEndDateTime | ||
| MaintOrdOpSchedWork | I_RSHMaintSchedFrozenOp | MaintOrdOpSchedWork | Scheduled Work | |
| MaintOrdOpSimulatedStartDate | I_RSHMaintSchedFrozenOp | MaintOrdOpSimulatedStartDate | Simulated Start Date | |
| MaintOrdOpSimulatedEndDate | I_RSHMaintSchedFrozenOp | MaintOrdOpSimulatedEndDate | Simulated End Date | |
| MaintOrdOpSimulatedEndDateTime | I_RSHMaintSchedFrozenOp | MaintOrdOpSimulatedEndDateTime | ||
| dec240asActualWork | ||||
| dec240asRemainingWork | ||||
| NoRemainingWork | NoFurtherWorkQuantityIsExpd |
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_RSHMaintSchedOpConfBase.
-- 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: PRSHOPCNFBASE
CREATE VIEW P_RSHMaintSchedOpConfBase AS
SELECT
FrozenOperations.WorkCenterInternalID AS WorkCenterInternalID,
FrozenOperations.MaintSchedSimlnUUID AS MaintSchedSimlnUUID,
I_MaintenanceOrderConfirmation.MaintOrderConf AS MaintOrderConf,
MaintOrderConfCntrValue,
MaintenanceOrder,
MaintenanceOrderOperation,
MaintenanceOrderSubOperation,
FrozenOperations.WorkCenterTypeCode AS WorkCenterTypeCode,
FrozenOperations.MaintOrderRoutingNumber AS MaintOrderRoutingNumber,
FrozenOperations.MaintOrderOperationCounter AS MaintOrderOperationCounter,
IsFinalConfirmation,
IsReversed,
IsReversal,
OperationConfirmedStartDate,
OperationConfirmedStartTime,
OperationConfirmedEndDate,
OperationConfirmedEndTime,
ScheduleHeader.MaintSchedSimulationStartDate AS MaintSchedSimulationStartDate,
ScheduleHeader.MaintSchedSimulationEndDate AS MaintSchedSimulationEndDate,
ScheduleHeader.MaintSchedSimStartDateTime AS MaintSchedSimStartDateTime,
ScheduleHeader.MaintSchedSimEndDateTime AS MaintSchedSimEndDateTime,
FrozenOperations.MaintOrdOpSchedWork AS MaintOrdOpSchedWork,
FrozenOperations.MaintOrdOpSimulatedStartDate AS MaintOrdOpSimulatedStartDate,
FrozenOperations.MaintOrdOpSimulatedEndDate AS MaintOrdOpSimulatedEndDate,
FrozenOperations.MaintOrdOpSimulatedEndDateTime AS MaintOrdOpSimulatedEndDateTime,
cast( unit_conversion( QUANTITY => ActualWorkQuantity, SOURCE_UNIT => ActualWorkQuantityUnit, TARGET_UNIT => cast( 'S' as abap.unit(3) ), ERROR_HANDLING => 'SET_TO_NULL' ) as abap.dec(24,0) ) as ActualWork AS dec240asActualWork,
cast( unit_conversion( QUANTITY => RemainingWorkQuantity, SOURCE_UNIT => RemainingWorkQuantityUnit, TARGET_UNIT => cast( 'S' as abap.unit(3) ), ERROR_HANDLING => 'SET_TO_NULL' ) as abap.dec(24,0) ) as RemainingWork AS dec240asRemainingWork,
NoFurtherWorkQuantityIsExpd AS NoRemainingWork
FROM I_RSHMaintSchedFrozenOp AS FrozenOperations
INNER JOIN I_MaintenanceOrderConfirmation ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHMaintSchedSimulation AS ScheduleHeader 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