P_ShopFloorItemAtOpActyComp

DDL: P_SHOPFLOORITEMATOPACTYCOMP SQL: PMPESFIATOAC Type: view CONSUMPTION Package: MPE_EXEC_SFI

SFI Planned Component at OA, Incl. Unplanned Assemblies

P_ShopFloorItemAtOpActyComp is a Consumption CDS View that provides data about "SFI Planned Component at OA, Incl. Unplanned Assemblies" in SAP S/4HANA. It reads from 5 data sources (P_SFIOpActyUnplndCompAssmblAgg, I_EAMMaterialItemCategory, I_MfgOrderOperationComponent, I_OpActyComponentAssignment, I_ShopFloorItemStatus) and exposes 108 fields with key fields ShopFloorItem, OpActyNtwkInstance, OpActyNtwkElement, Reservation, ReservationItem. Part of development package MPE_EXEC_SFI.

Data Sources (5)

SourceAliasJoin Type
P_SFIOpActyUnplndCompAssmblAgg Agg union_all
I_EAMMaterialItemCategory MaterialItemCategory inner
I_MfgOrderOperationComponent MfgOrderOperationComponent inner
I_OpActyComponentAssignment OpActyComponentAssignment from
I_ShopFloorItemStatus ShopFloorItemStatus inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPESFIATOAC 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 #CONSUMPTION view
VDM.private true view

Fields (108)

KeyFieldSource TableSource FieldDescription
KEY ShopFloorItem I_ShopFloorItemStatus ShopFloorItem Serial.Mat. ID
KEY OpActyNtwkInstance I_ShopFloorItemStatus OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_ShopFloorItemStatus 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 Material I_MfgOrderOperationComponent Material Vehicle Model
KEY Plant I_MfgOrderOperationComponent Plant Valuation Area
StorageLocation I_MfgOrderOperationComponent StorageLocation StorageLocation
ProductionPlant I_MfgOrderOperationComponent ProductionPlant Prod plnt
AssemblySequenceNumber I_OpActyComponentAssignment AssemblySequenceNumber Assembly Sequence
BaseUnit I_MfgOrderOperationComponent BaseUnit Valuation Unit
MfgOrderComponentUsageQuantity I_OpActyComponentAssignment MfgOrderComponentUsageQuantity Usage qty - UoM
MfgOrderComponentUsageNetQty I_OpActyComponentAssignment MfgOrderComponentUsageNetQty Usage qty - UoM
RequiredQuantity I_OpActyComponentAssignment MfgOrderComponentUsageNetQty Usage qty - UoM
MaterialComponentQuantity SFIAtOpActyAssyByComponent MaterialComponentQuantity
QuantityInEntryUnit SFIAtOpActyAssyByComponent QuantityInEntryUnit Quantity in Unit of Entry
EntryUnit SFIAtOpActyAssyByComponent EntryUnit Unit of Entry
IsBulkMaterialComponent I_MfgOrderOperationComponent IsBulkMaterialComponent Bulk material
GoodsMovementIsAllowed I_MfgOrderOperationComponent GoodsMovementIsAllowed Mvt Allowed
MatlCompIsMarkedForBackflush
MatlCompDiscontinuationType I_MfgOrderOperationComponent MatlCompDiscontinuationType Share of scrap
MaterialCompIsVariableSized
VariableSizeItemUnit I_MfgOrderOperationComponent VariableSizeItemUnit VSI unit
FormulaKey I_MfgOrderOperationComponent FormulaKey VSI Formula
VariableSizeDimension1 I_MfgOrderOperationComponent VariableSizeDimension1 Size 1
VariableSizeDimension2 I_MfgOrderOperationComponent VariableSizeDimension2 Size 2
VariableSizeDimension3 I_MfgOrderOperationComponent VariableSizeDimension3 Size 3
VariableSizeDimensionUnit I_MfgOrderOperationComponent VariableSizeDimensionUnit Size unit
VariableSizeComponentQuantity I_MfgOrderOperationComponent VariableSizeComponentQuantity VSI Quantity
VariableSizeComponentUnit I_MfgOrderOperationComponent VariableSizeComponentUnit VSI UoM
RelatedReservation
RelatedReservationItem I_OpActyComponentAssignment RelatedReservationItem Item no.
RelatedRecordType I_OpActyComponentAssignment RelatedRecordType Record type
RelatedOpActyNtwkInstance I_OpActyComponentAssignment RelatedOpActyNtwkInstance Instance ID
RelatedOpActyNtwkElement I_OpActyComponentAssignment RelatedOpActyNtwkElement Element Number
LeadingReservation I_OpActyComponentAssignment LeadingReservation Reservation
LeadingReservationItem I_OpActyComponentAssignment LeadingReservationItem Item no.
LeadingReservationRecordType I_OpActyComponentAssignment LeadingReservationRecordType Record type
LeadingOpActyNtwkInstance I_OpActyComponentAssignment LeadingOpActyNtwkInstance Instance ID
LeadingOpActyNtwkElement I_OpActyComponentAssignment LeadingOpActyNtwkElement Element Number
BillOfMaterialCategory
BillOfMaterial I_MfgOrderOperationComponent BillOfMaterial BOM
BillOfMaterialInternalID I_MfgOrderOperationComponent BillOfMaterialInternalID BOM
BillOfMaterialVariant I_MfgOrderOperationComponent BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion I_MfgOrderOperationComponent BillOfMaterialVersion BOM Version
InheritedBOMItemNode I_MfgOrderOperationComponent InheritedBOMItemNode Nodes
BOMItem I_MfgOrderOperationComponent BOMItem
BOMItemCategory I_MfgOrderOperationComponent BOMItemCategory Item Category
BOMItemInternalChangeCount I_MfgOrderOperationComponent BOMItemInternalChangeCount Counter
BOOOpBOMItemInternalID I_OpActyComponentAssignment BOOOpBOMItemInternalID Allocation no.
LogicalComponent I_OpActyComponentAssignment LogicalComponent Logical Component
MfgRefStrucBOMLeafAssgmtUUID I_OpActyComponentAssignment MfgRefStrucBOMLeafAssgmtUUID Leaf Assignment UUID
MfgRefStructureItemDetailUUID I_OpActyComponentAssignment MfgRefStructureItemDetailUUID MRS Item UUID
MfgRefStrucItmDetIsContextual I_OpActyComponentAssignment MfgRefStrucItmDetIsContextual Contextual
AssemblyShopFloorItemasShopFloorItem
KEY OpActyNtwkInstance P_SFIOpActyUnplndCompAssmblAgg OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement P_SFIOpActyUnplndCompAssmblAgg OpActyNtwkElement Element Number
KEY Reservation P_SFIOpActyUnplndCompAssmblAgg Reservation Reservation
KEY ReservationItem P_SFIOpActyUnplndCompAssmblAgg ReservationItem Reservation Item
KEY RecordType P_SFIOpActyUnplndCompAssmblAgg RecordType Reservation Record Type
KEY Material P_SFIOpActyUnplndCompAssmblAgg Material Vehicle Model
KEY Plant P_SFIOpActyUnplndCompAssmblAgg Plant Valuation Area
StorageLocation StorageLocation
ProductionPlant Prod plnt
AssemblySequenceNumber Assembly Sequence
BaseUnit P_SFIOpActyUnplndCompAssmblAgg MaterialBaseUnit Valuation Unit
MfgOrderComponentUsageQuantity Usage qty - UoM
RequiredQuantity Usage qty - UoM
MaterialComponentQuantity P_SFIOpActyUnplndCompAssmblAgg MaterialComponentQuantity
QuantityInEntryUnit P_SFIOpActyUnplndCompAssmblAgg QuantityInEntryUnit Quantity in Unit of Entry
EntryUnit P_SFIOpActyUnplndCompAssmblAgg EntryUnit Unit of Entry
IsBulkMaterialComponent Bulk material
GoodsMovementIsAllowed Mvt Allowed
MatlCompIsMarkedForBackflush
MatlCompDiscontinuationType Share of scrap
VariableSizeItemUnit VSI unit
FormulaKey VSI Formula
VariableSizeDimension1 Size 1
VariableSizeDimension2 Size 2
VariableSizeDimension3 Size 3
VariableSizeDimensionUnit Size unit
VariableSizeComponentQuantity VSI Quantity
VariableSizeComponentUnit VSI UoM
RelatedReservationItem Item no.
RelatedRecordType Record type
RelatedOpActyNtwkInstance Instance ID
RelatedOpActyNtwkElement Element Number
LeadingReservation Reservation
LeadingReservationItem Item no.
LeadingReservationRecordType Record type
LeadingOpActyNtwkInstance Instance ID
LeadingOpActyNtwkElement Element Number
BillOfMaterialCategory
BillOfMaterial BOM
BillOfMaterialInternalID BOM
BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion BOM Version
InheritedBOMItemNode Nodes
BOMItem
BOMItemCategory Item Category
BOMItemInternalChangeCount Counter
BOOOpBOMItemInternalID Allocation no.
LogicalComponent Logical Component
MfgRefStrucBOMLeafAssgmtUUID Leaf Assignment UUID
MfgRefStructureItemDetailUUID MRS Item UUID
MfgRefStrucItmDetIsContextual Contextual
MatlCompInstceAssyIsRequired

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_ShopFloorItemAtOpActyComp.
-- 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: PMPESFIATOAC

CREATE VIEW P_ShopFloorItemAtOpActyComp AS
SELECT
  ShopFloorItemStatus.ShopFloorItem AS ShopFloorItem,
  ShopFloorItemStatus.OpActyNtwkInstance AS OpActyNtwkInstance,
  ShopFloorItemStatus.OpActyNtwkElement AS OpActyNtwkElement,
  OpActyComponentAssignment.Reservation AS Reservation,
  OpActyComponentAssignment.ReservationItem AS ReservationItem,
  OpActyComponentAssignment.RecordType AS RecordType,
  MfgOrderOperationComponent.Material AS Material,
  MfgOrderOperationComponent.Plant AS Plant,
  MfgOrderOperationComponent.StorageLocation AS StorageLocation,
  MfgOrderOperationComponent.ProductionPlant AS ProductionPlant,
  OpActyComponentAssignment.AssemblySequenceNumber AS AssemblySequenceNumber,
  MfgOrderOperationComponent.BaseUnit AS BaseUnit,
  OpActyComponentAssignment.MfgOrderComponentUsageQuantity AS MfgOrderComponentUsageQuantity,
  OpActyComponentAssignment.MfgOrderComponentUsageNetQty AS MfgOrderComponentUsageNetQty,
  OpActyComponentAssignment.MfgOrderComponentUsageNetQty AS RequiredQuantity,
  SFIAtOpActyAssyByComponent.MaterialComponentQuantity AS MaterialComponentQuantity,
  SFIAtOpActyAssyByComponent.QuantityInEntryUnit AS QuantityInEntryUnit,
  SFIAtOpActyAssyByComponent.EntryUnit AS EntryUnit,
  MfgOrderOperationComponent.IsBulkMaterialComponent AS IsBulkMaterialComponent,
  MfgOrderOperationComponent.GoodsMovementIsAllowed AS GoodsMovementIsAllowed,
  cast( MfgOrderOperationComponent.MatlCompIsMarkedForBackflush as boolean preserving type ) AS MatlCompIsMarkedForBackflush,
  MfgOrderOperationComponent.MatlCompDiscontinuationType AS MatlCompDiscontinuationType,
  MfgOrderOperationComponent.VariableSizeItemUnit AS VariableSizeItemUnit,
  MfgOrderOperationComponent.FormulaKey AS FormulaKey,
  MfgOrderOperationComponent.VariableSizeDimension1 AS VariableSizeDimension1,
  MfgOrderOperationComponent.VariableSizeDimension2 AS VariableSizeDimension2,
  MfgOrderOperationComponent.VariableSizeDimension3 AS VariableSizeDimension3,
  MfgOrderOperationComponent.VariableSizeDimensionUnit AS VariableSizeDimensionUnit,
  MfgOrderOperationComponent.VariableSizeComponentQuantity AS VariableSizeComponentQuantity,
  MfgOrderOperationComponent.VariableSizeComponentUnit AS VariableSizeComponentUnit,
  OpActyComponentAssignment.RelatedReservationItem AS RelatedReservationItem,
  OpActyComponentAssignment.RelatedRecordType AS RelatedRecordType,
  OpActyComponentAssignment.RelatedOpActyNtwkInstance AS RelatedOpActyNtwkInstance,
  OpActyComponentAssignment.RelatedOpActyNtwkElement AS RelatedOpActyNtwkElement,
  OpActyComponentAssignment.LeadingReservation AS LeadingReservation,
  OpActyComponentAssignment.LeadingReservationItem AS LeadingReservationItem,
  OpActyComponentAssignment.LeadingReservationRecordType AS LeadingReservationRecordType,
  OpActyComponentAssignment.LeadingOpActyNtwkInstance AS LeadingOpActyNtwkInstance,
  OpActyComponentAssignment.LeadingOpActyNtwkElement AS LeadingOpActyNtwkElement,
  MfgOrderOperationComponent.BillOfMaterial AS BillOfMaterial,
  MfgOrderOperationComponent.BillOfMaterialInternalID AS BillOfMaterialInternalID,
  MfgOrderOperationComponent.BillOfMaterialVariant AS BillOfMaterialVariant,
  MfgOrderOperationComponent.BillOfMaterialVersion AS BillOfMaterialVersion,
  MfgOrderOperationComponent.InheritedBOMItemNode AS InheritedBOMItemNode,
  MfgOrderOperationComponent.BOMItem AS BOMItem,
  MfgOrderOperationComponent.BOMItemCategory AS BOMItemCategory,
  MfgOrderOperationComponent.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
  OpActyComponentAssignment.BOOOpBOMItemInternalID AS BOOOpBOMItemInternalID,
  OpActyComponentAssignment.LogicalComponent AS LogicalComponent,
  OpActyComponentAssignment.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
  OpActyComponentAssignment.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
  OpActyComponentAssignment.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
  OpActyComponentAssignment.MatlCompInstceAssyIsRequired AS AssemblyShopFloorItemasShopFloorItem,
  cast('' as pph_stlty preserving type) AS BillOfMaterialCategory,
  cast('' as mpe_instce_assembly_rqd preserving type) AS MatlCompInstceAssyIsRequired
FROM I_OpActyComponentAssignment AS OpActyComponentAssignment
INNER JOIN I_ShopFloorItemStatus AS ShopFloorItemStatus ON /* join condition not captured in parsed metadata */
INNER JOIN I_MfgOrderOperationComponent AS MfgOrderOperationComponent ON /* join condition not captured in parsed metadata */
INNER JOIN I_EAMMaterialItemCategory AS MaterialItemCategory ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_SFIOpActyUnplndCompAssmblAgg
;