P_OpActyPlndComponentPerSFI
Planned Component of OA / SFI@OA
P_OpActyPlndComponentPerSFI is a Composite CDS View that provides data about "Planned Component of OA / SFI@OA" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrderOperationComponent, I_OpActyComponentAssignment) and exposes 23 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, Reservation, ReservationItem, RecordType. Part of development package MPE_EXEC_SFI.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationComponent | MfgOrderOperationComponent | inner |
| I_OpActyComponentAssignment | OpActyComponentAssignment | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPESFIOAPLNDCMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpActyNtwkInstance | I_OpActyComponentAssignment | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | I_OpActyComponentAssignment | OpActyNtwkElement | Element Number |
| KEY | Reservation | I_OpActyComponentAssignment | Reservation | Reservation |
| KEY | ReservationItem | I_OpActyComponentAssignment | ReservationItem | Reservation Item |
| KEY | RecordType | I_OpActyComponentAssignment | RecordType | Reservation Record Type |
| KEY | ParentShopFloorItem | |||
| KEY | Material | I_MfgOrderOperationComponent | Material | Vehicle Model |
| KEY | Plant | I_MfgOrderOperationComponent | Plant | Valuation Area |
| MatlCompInstceAssyIsRequired | I_OpActyComponentAssignment | MatlCompInstceAssyIsRequired | Instances Exist | |
| ManufacturingOrder | I_MfgOrderOperationComponent | ManufacturingOrder | Order | |
| DebitCreditCode | I_MfgOrderOperationComponent | DebitCreditCode | Single-Character Flag | |
| BaseUnit | I_MfgOrderOperationComponent | BaseUnit | Unit of Measure | |
| MfgRefStructureItemDetailUUID | I_OpActyComponentAssignment | MfgRefStructureItemDetailUUID | MRS Item UUID | |
| MfgRefStrucItmDetIsContextual | I_OpActyComponentAssignment | MfgRefStrucItmDetIsContextual | Contextual | |
| _OpActyNtwkInstance | I_OpActyComponentAssignment | _OpActyNtwkInstance | ||
| _OpActyNtwkInstanceBasic | I_OpActyComponentAssignment | _OpActyNtwkInstanceBasic | ||
| _OperationActivityInstance | I_OpActyComponentAssignment | _OperationActivityInstance | ||
| _ReservationHeader | I_OpActyComponentAssignment | _ReservationHeader | ||
| _Material | I_MfgOrderOperationComponent | _Material | ||
| _Plant | I_MfgOrderOperationComponent | _Plant | ||
| _ManufacturingOrder | I_MfgOrderOperationComponent | _ManufacturingOrder | ||
| _DebitCreditCode | I_MfgOrderOperationComponent | _DebitCreditCode | ||
| _BaseUnit | I_MfgOrderOperationComponent | _BaseUnit |
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_OpActyPlndComponentPerSFI.
-- 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: PMPESFIOAPLNDCMP
CREATE VIEW P_OpActyPlndComponentPerSFI AS
SELECT
OpActyComponentAssignment.OpActyNtwkInstance AS OpActyNtwkInstance,
OpActyComponentAssignment.OpActyNtwkElement AS OpActyNtwkElement,
OpActyComponentAssignment.Reservation AS Reservation,
OpActyComponentAssignment.ReservationItem AS ReservationItem,
OpActyComponentAssignment.RecordType AS RecordType,
cast( coalesce(ShopFloorItem.ShopFloorItem, 0) as mpe_sfi_id preserving type ) AS ParentShopFloorItem,
MfgOrderOperationComponent.Material AS Material,
MfgOrderOperationComponent.Plant AS Plant,
OpActyComponentAssignment.MatlCompInstceAssyIsRequired AS MatlCompInstceAssyIsRequired,
MfgOrderOperationComponent.ManufacturingOrder AS ManufacturingOrder,
MfgOrderOperationComponent.DebitCreditCode AS DebitCreditCode,
MfgOrderOperationComponent.BaseUnit AS BaseUnit,
OpActyComponentAssignment.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
OpActyComponentAssignment.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
OpActyComponentAssignment._OpActyNtwkInstance AS _OpActyNtwkInstance,
OpActyComponentAssignment._OpActyNtwkInstanceBasic AS _OpActyNtwkInstanceBasic,
OpActyComponentAssignment._OperationActivityInstance AS _OperationActivityInstance,
OpActyComponentAssignment._ReservationHeader AS _ReservationHeader,
MfgOrderOperationComponent._Material AS _Material,
MfgOrderOperationComponent._Plant AS _Plant,
MfgOrderOperationComponent._ManufacturingOrder AS _ManufacturingOrder,
MfgOrderOperationComponent._DebitCreditCode AS _DebitCreditCode,
MfgOrderOperationComponent._BaseUnit AS _BaseUnit
FROM I_OpActyComponentAssignment AS OpActyComponentAssignment
INNER JOIN I_MfgOrderOperationComponent AS MfgOrderOperationComponent 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