R_PlannedOrderCapacityTP
RAP BO Planned Order Capacity view
R_PlannedOrderCapacityTP is a Transactional CDS View that provides data about "RAP BO Planned Order Capacity view" in SAP S/4HANA. It reads from 1 data source (I_CapacityRequirementItemCap) and exposes 35 fields with key fields PlannedOrder, CapacityRequirement, CapacityRequirementItem, CapacityRqmtItemCapacity.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CapacityRequirementItemCap | _CapacityRequirementItemCap | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | RAP BO Planned Order Capacity view | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PlannedOrder | I_CapacityRequirementItemCap | PlannedOrder | Planned Order |
| KEY | CapacityRequirement | I_CapacityRequirementItemCap | CapacityRequirement | Id number |
| KEY | CapacityRequirementItem | I_CapacityRequirementItemCap | CapacityRequirementItem | |
| KEY | CapacityRqmtItemCapacity | I_CapacityRequirementItemCap | CapacityRqmtItemCapacity | |
| Sequence | I_CapacityRequirementItemCap | BillOfOperationsSequence | Sequence | |
| Operation | ||||
| WorkCenter | ||||
| OperationLatestStartDate | I_CapacityRequirementItemCap | OperationLatestStartDate | Ltst Start Date | |
| OperationLatestStartTime | I_CapacityRequirementItemCap | OperationLatestStartTime | Ltst Start Time | |
| OperationLatestEndDate | I_CapacityRequirementItemCap | OperationLatestEndDate | Ltst End Date | |
| OperationLatestEndTime | I_CapacityRequirementItemCap | OperationLatestEndTime | Ltst End Time | |
| OperationEarliestStartDate | I_CapacityRequirementItemCap | OperationEarliestStartDate | Erlst Strt Date | |
| OperationEarliestStartTime | I_CapacityRequirementItemCap | OperationEarliestStartTime | Erlst Strt Time | |
| OperationEarliestEndDate | I_CapacityRequirementItemCap | OperationEarliestEndDate | Erlst End Date | |
| OperationEarliestEndTime | I_CapacityRequirementItemCap | OperationEarliestEndTime | Erlst End Time | |
| OpLtstSchedldProcgStrtDte | I_CapacityRequirementItemCap | LtstSchedldProcStrtDte | ||
| OpLtstSchedldProcgStrtTme | I_CapacityRequirementItemCap | LtstSchedldProcStrtTime | ||
| OpLtstSchedldTrdwnStrtDte | I_CapacityRequirementItemCap | LtstSchedldTrdwnStrtDte | ||
| OpLtstSchedldTrdwnStrtTme | I_CapacityRequirementItemCap | LtstSchedldTrdwnStrtTime | ||
| CapacityRequirementUnit | I_CapacityRequirementItemCap | CapacityRequirementUnit | Capacity Unit | |
| ScheduledCapReqOpSegSetupDurn | I_CapacityRequirementItemCap | ScheduledCapReqOpSegSetupDurn | Scheduled Setup | |
| RemainingCapReqOpSegSetupDurn | I_CapacityRequirementItemCap | RemainingCapReqOpSegSetupDurn | Remaining Setup | |
| ScheduledCapReqOpSegProcgDurn | I_CapacityRequirementItemCap | ScheduledCapReqOpSegProcgDurn | Sched. Process. | |
| RemainingCapReqOpSegProcgDurn | I_CapacityRequirementItemCap | RemainingCapReqOpSegProcgDurn | Rem. Processing | |
| ScheduledCapReqOpSegTrdwnDurn | I_CapacityRequirementItemCap | ScheduledCapReqOpSegTrdwnDurn | Sched. Teardown | |
| RemainingCapReqOpSegTrdwnDurn | I_CapacityRequirementItemCap | RemainingCapReqOpSegTrdwnDurn | Remain.Teardown | |
| OperationTextendasOperationText | ||||
| PlannedOrderLastChangeDateTime | _PlannedOrder | PlannedOrderLastChangeDateTime | ||
| MRPController | ||||
| MRPPlant | ||||
| CapacityInternalID | I_CapacityRequirementItemCap | CapacityInternalID | Capacity ID | |
| _PlannedOrder | _PlannedOrder | |||
| _Capacity | I_CapacityRequirementItemCap | _Capacity | ||
| _CapacityRequirement | I_CapacityRequirementItemCap | _CapacityRequirement | ||
| _UnitOfMeasure | I_CapacityRequirementItemCap | _UnitOfMeasure |
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 R_PlannedOrderCapacityTP.
-- 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.
CREATE VIEW R_PlannedOrderCapacityTP AS
SELECT
_CapacityRequirementItemCap.PlannedOrder AS PlannedOrder,
_CapacityRequirementItemCap.CapacityRequirement AS CapacityRequirement,
_CapacityRequirementItemCap.CapacityRequirementItem AS CapacityRequirementItem,
_CapacityRequirementItemCap.CapacityRqmtItemCapacity AS CapacityRqmtItemCapacity,
_CapacityRequirementItemCap.BillOfOperationsSequence AS Sequence,
cast(_CapacityRequirementItemCap.Operation as pph_vornr preserving type ) AS Operation,
_CapacityRequirementItemCap._WorkCenter.WorkCenter AS WorkCenter,
_CapacityRequirementItemCap.OperationLatestStartDate AS OperationLatestStartDate,
_CapacityRequirementItemCap.OperationLatestStartTime AS OperationLatestStartTime,
_CapacityRequirementItemCap.OperationLatestEndDate AS OperationLatestEndDate,
_CapacityRequirementItemCap.OperationLatestEndTime AS OperationLatestEndTime,
_CapacityRequirementItemCap.OperationEarliestStartDate AS OperationEarliestStartDate,
_CapacityRequirementItemCap.OperationEarliestStartTime AS OperationEarliestStartTime,
_CapacityRequirementItemCap.OperationEarliestEndDate AS OperationEarliestEndDate,
_CapacityRequirementItemCap.OperationEarliestEndTime AS OperationEarliestEndTime,
_CapacityRequirementItemCap.LtstSchedldProcStrtDte AS OpLtstSchedldProcgStrtDte,
_CapacityRequirementItemCap.LtstSchedldProcStrtTime AS OpLtstSchedldProcgStrtTme,
_CapacityRequirementItemCap.LtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
_CapacityRequirementItemCap.LtstSchedldTrdwnStrtTime AS OpLtstSchedldTrdwnStrtTme,
_CapacityRequirementItemCap.CapacityRequirementUnit AS CapacityRequirementUnit,
_CapacityRequirementItemCap.ScheduledCapReqOpSegSetupDurn AS ScheduledCapReqOpSegSetupDurn,
_CapacityRequirementItemCap.RemainingCapReqOpSegSetupDurn AS RemainingCapReqOpSegSetupDurn,
_CapacityRequirementItemCap.ScheduledCapReqOpSegProcgDurn AS ScheduledCapReqOpSegProcgDurn,
_CapacityRequirementItemCap.RemainingCapReqOpSegProcgDurn AS RemainingCapReqOpSegProcgDurn,
_CapacityRequirementItemCap.ScheduledCapReqOpSegTrdwnDurn AS ScheduledCapReqOpSegTrdwnDurn,
_CapacityRequirementItemCap.RemainingCapReqOpSegTrdwnDurn AS RemainingCapReqOpSegTrdwnDurn,
case when SubOperation.SuperiorOperationInternalID > '00000000' then SubOperation.OperationText else _CapacityRequirementItemCap._BOOOperationInternalVersion.OperationText end as OperationText AS OperationTextendasOperationText,
_PlannedOrder.PlannedOrderLastChangeDateTime AS PlannedOrderLastChangeDateTime,
_CapacityRequirementItemCap._PlannedOrder.MRPController AS MRPController,
_CapacityRequirementItemCap._PlannedOrder.MRPPlant AS MRPPlant,
_CapacityRequirementItemCap.CapacityInternalID AS CapacityInternalID,
_CapacityRequirementItemCap._Capacity AS _Capacity,
_CapacityRequirementItemCap._CapacityRequirement AS _CapacityRequirement,
_CapacityRequirementItemCap._UnitOfMeasure AS _UnitOfMeasure
FROM I_CapacityRequirementItemCap AS _CapacityRequirementItemCap
;
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