P_OpActyPlndComponentPerSFI

DDL: P_OPACTYPLNDCOMPONENTPERSFI SQL: PMPESFIOAPLNDCMP Type: view COMPOSITE Package: MPE_EXEC_SFI

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)

SourceAliasJoin Type
I_MfgOrderOperationComponent MfgOrderOperationComponent inner
I_OpActyComponentAssignment OpActyComponentAssignment from

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;