P_SFIAssembledComponent
P_SFIAssembledComponent is a Consumption CDS View in SAP S/4HANA. It reads from 5 data sources (I_OpActyComponentAssignment, I_OpActyNtwkInstanceBasic, I_OrderComponent, P_SFIAssldCompByLdngResvnMatl, I_ShopFloorItemStatus) and exposes 87 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement. It has 5 associations to related views.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_OpActyComponentAssignment | OpActyComponentAssignment | inner |
| I_OpActyNtwkInstanceBasic | OpActyNtwkInstanceBasic | inner |
| I_OrderComponent | OrderComponent | inner |
| P_SFIAssldCompByLdngResvnMatl | SFIAssldCompByLdngResvnMatl | from |
| I_ShopFloorItemStatus | ShopFloorItemStatus | union_all |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_ProductPlant | _ProductPlant | $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1..1] | I_OpActyNtwkInstance | _OpActyNtwkInstance | $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance |
| [1..1] | I_OperationActivityInstance | _OperationActivityInstance | $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPESFIACMP | view | |
| AbapCatalog.compiler.compareFilter | 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 (87)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | P_SFIAssldCompByLdngResvnMatl | Reservation | Reservation |
| KEY | ReservationItem | P_SFIAssldCompByLdngResvnMatl | ReservationItem | Reservation Item |
| KEY | RecordType | P_SFIAssldCompByLdngResvnMatl | RecordType | Reservation Record Type |
| KEY | OpActyNtwkInstance | P_SFIAssldCompByLdngResvnMatl | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | P_SFIAssldCompByLdngResvnMatl | OpActyNtwkElement | Element Number |
| KEY | AssemblyShopFloorItem | P_SFIAssldCompByLdngResvnMatl | AssemblyShopFloorItem | Serial.Mat. ID |
| KEY | Material | P_SFIAssldCompByLdngResvnMatl | Material | Vehicle Model |
| KEY | Plant | P_SFIAssldCompByLdngResvnMatl | Plant | Valuation Area |
| StorageLocation | I_OrderComponent | StorageLocation | StorageLocation | |
| dec1343asco_mengeasRequiredQuantity | ||||
| MaterialComponentQuantity | P_SFIAssldCompByLdngResvnMatl | MaterialComponentQuantity | ||
| QuantityInEntryUnit | P_SFIAssldCompByLdngResvnMatl | QuantityInEntryUnit | Quantity in Unit of Entry | |
| ManufacturingOrder | OpActyNtwkInstance | ManufacturingOrder | Order | |
| OrderInternalID | OpActyNtwkInstance | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | OpActyNtwkInstance | OrderOperationInternalID | Plan No.f.Oper. | |
| OperationActivityNetwork | OpActyNtwkInstance | OperationActivityNetwork | Object ID | |
| OpActyNtwkVersionCounter | OpActyNtwkInstance | OpActyNtwkVersionCounter | Object Version | |
| MatlCompIsMarkedForBackflush | ||||
| GoodsMovementIsAllowed | Mvt Allowed | |||
| MatlCompInstceAssyIsRequired | I_OpActyComponentAssignment | MatlCompInstceAssyIsRequired | Instances Exist | |
| MfgRefStrucBOMLeafAssgmtUUID | I_OpActyComponentAssignment | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | I_OpActyComponentAssignment | MfgRefStructureItemDetailUUID | MRS Item UUID | |
| MfgRefStrucItmDetIsContextual | I_OpActyComponentAssignment | MfgRefStrucItmDetIsContextual | Contextual | |
| BOOOpBOMItemInternalID | I_OpActyComponentAssignment | BOOOpBOMItemInternalID | Allocation no. | |
| LogicalComponent | I_OpActyComponentAssignment | LogicalComponent | Logical Component | |
| MfgOrderComponentUsageNetQty | I_OpActyComponentAssignment | MfgOrderComponentUsageNetQty | Usage qty - UoM | |
| BOMItemCategory | I_OrderComponent | BOMItemCategory | Item Category | |
| BillOfMaterialInternalID | I_OrderComponent | BillOfMaterialInternalID | ||
| BOMItem | I_OrderComponent | BOMItem | ||
| BOMItemInternalChangeCount | I_OrderComponent | BOMItemInternalChangeCount | Counter | |
| MaterialCompIsVariableSized | ||||
| FormulaKey | I_OrderComponent | FormulaKey | VSI Formula | |
| VariableSizeDimension1 | I_OrderComponent | VariableSizeDimension1 | Size 1 | |
| VariableSizeDimension2 | I_OrderComponent | VariableSizeDimension2 | Size 2 | |
| VariableSizeDimension3 | I_OrderComponent | VariableSizeDimension3 | Size 3 | |
| VariableSizeDimensionUnit | I_OrderComponent | VariableSizeDimensionUnit | Size unit | |
| VariableSizeComponentQuantity | I_OrderComponent | VariableSizeComponentQuantity | VSI Quantity | |
| VariableSizeComponentUnit | I_OrderComponent | VariableSizeComponentUnit | VSI UoM | |
| _Material | P_SFIAssldCompByLdngResvnMatl | _Material | ||
| _Plant | _Plant | |||
| _ProductPlant | _ProductPlant | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance | |||
| Reservation | Reservation | |||
| KEY | ReservationItem | I_OpActyComponentAssignment | ReservationItem | Reservation Item |
| KEY | RecordType | I_OpActyComponentAssignment | RecordType | Reservation Record Type |
| KEY | OpActyNtwkInstance | I_OpActyComponentAssignment | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | I_OpActyComponentAssignment | OpActyNtwkElement | Element Number |
| KEY | AssemblyShopFloorItem | I_ShopFloorItemStatus | ShopFloorItem | Serial.Mat. ID |
| KEY | Material | I_OrderComponent | Material | Vehicle Model |
| KEY | Plant | I_OrderComponent | Plant | Valuation Area |
| StorageLocation | I_OrderComponent | StorageLocation | StorageLocation | |
| dec1343asco_mengeasRequiredQuantity | ||||
| dec1343aserfmgvasQuantityInEntryUnit | ||||
| MaterialBaseUnit | I_OrderComponent | BaseUnit | Unit of Measure | |
| ManufacturingOrder | I_OpActyNtwkInstanceBasic | ManufacturingOrder | Order | |
| OrderInternalID | I_OpActyNtwkInstanceBasic | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | I_OpActyNtwkInstanceBasic | OrderOperationInternalID | Plan No.f.Oper. | |
| OperationActivityNetwork | I_OpActyNtwkInstanceBasic | OperationActivityNetwork | Object ID | |
| OpActyNtwkVersionCounter | I_OpActyNtwkInstanceBasic | OpActyNtwkVersionCounter | Object Version | |
| MatlCompIsMarkedForBackflush | ||||
| GoodsMovementIsAllowed | I_OrderComponent | GoodsMovementIsAllowed | Mvt Allowed | |
| MatlCompInstceAssyIsRequired | I_OpActyComponentAssignment | MatlCompInstceAssyIsRequired | Instances Exist | |
| MfgRefStrucBOMLeafAssgmtUUID | I_OpActyComponentAssignment | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | I_OpActyComponentAssignment | MfgRefStructureItemDetailUUID | MRS Item UUID | |
| MfgRefStrucItmDetIsContextual | I_OpActyComponentAssignment | MfgRefStrucItmDetIsContextual | Contextual | |
| BOOOpBOMItemInternalID | I_OpActyComponentAssignment | BOOOpBOMItemInternalID | Allocation no. | |
| LogicalComponent | I_OpActyComponentAssignment | LogicalComponent | Logical Component | |
| MfgOrderComponentUsageNetQty | I_OpActyComponentAssignment | MfgOrderComponentUsageNetQty | Usage qty - UoM | |
| BOMItemCategory | I_OrderComponent | BOMItemCategory | Item Category | |
| BillOfMaterialInternalID | I_OrderComponent | BillOfMaterialInternalID | ||
| BOMItem | I_OrderComponent | BOMItem | ||
| BOMItemInternalChangeCount | I_OrderComponent | BOMItemInternalChangeCount | Counter | |
| MaterialCompIsVariableSized | ||||
| FormulaKey | I_OrderComponent | FormulaKey | VSI Formula | |
| VariableSizeDimension1 | I_OrderComponent | VariableSizeDimension1 | Size 1 | |
| VariableSizeDimension2 | I_OrderComponent | VariableSizeDimension2 | Size 2 | |
| VariableSizeDimension3 | I_OrderComponent | VariableSizeDimension3 | Size 3 | |
| VariableSizeDimensionUnit | I_OrderComponent | VariableSizeDimensionUnit | Size unit | |
| VariableSizeComponentQuantity | I_OrderComponent | VariableSizeComponentQuantity | VSI Quantity | |
| VariableSizeComponentUnit | I_OrderComponent | VariableSizeComponentUnit | VSI UoM | |
| _Material | _Material | |||
| _Plant | _Plant | |||
| _ProductPlant | _ProductPlant | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance | |||
| _BOMItemCategory | I_OrderComponent | _BOMItemCategory |
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_SFIAssembledComponent.
-- 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: PMPESFIACMP
CREATE VIEW P_SFIAssembledComponent AS
SELECT
SFIAssldCompByLdngResvnMatl.Reservation AS Reservation,
SFIAssldCompByLdngResvnMatl.ReservationItem AS ReservationItem,
SFIAssldCompByLdngResvnMatl.RecordType AS RecordType,
SFIAssldCompByLdngResvnMatl.OpActyNtwkInstance AS OpActyNtwkInstance,
SFIAssldCompByLdngResvnMatl.OpActyNtwkElement AS OpActyNtwkElement,
SFIAssldCompByLdngResvnMatl.AssemblyShopFloorItem AS AssemblyShopFloorItem,
SFIAssldCompByLdngResvnMatl.Material AS Material,
SFIAssldCompByLdngResvnMatl.Plant AS Plant,
OrderComponent.StorageLocation AS StorageLocation,
cast(round(fltp_to_dec( OpActyComponentAssignment.MfgOrderComponentUsageNetQty as abap.dec(13,4) ), 3) as co_menge ) as RequiredQuantity AS dec1343asco_mengeasRequiredQuantity,
SFIAssldCompByLdngResvnMatl.MaterialComponentQuantity AS MaterialComponentQuantity,
SFIAssldCompByLdngResvnMatl.QuantityInEntryUnit AS QuantityInEntryUnit,
OpActyNtwkInstance.ManufacturingOrder AS ManufacturingOrder,
OpActyNtwkInstance.OrderInternalID AS OrderInternalID,
OpActyNtwkInstance.OrderOperationInternalID AS OrderOperationInternalID,
OpActyNtwkInstance.OperationActivityNetwork AS OperationActivityNetwork,
OpActyNtwkInstance.OpActyNtwkVersionCounter AS OpActyNtwkVersionCounter,
cast('' as mpe_comp_is_for_backflush preserving type) AS MatlCompIsMarkedForBackflush,
cast(coalesce(OrderComponent.GoodsMovementIsAllowed, 'X') as xwaok preserving type ) AS GoodsMovementIsAllowed,
OpActyComponentAssignment.MatlCompInstceAssyIsRequired AS MatlCompInstceAssyIsRequired,
OpActyComponentAssignment.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
OpActyComponentAssignment.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
OpActyComponentAssignment.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
OpActyComponentAssignment.BOOOpBOMItemInternalID AS BOOOpBOMItemInternalID,
OpActyComponentAssignment.LogicalComponent AS LogicalComponent,
OpActyComponentAssignment.MfgOrderComponentUsageNetQty AS MfgOrderComponentUsageNetQty,
OrderComponent.BOMItemCategory AS BOMItemCategory,
OrderComponent.BillOfMaterialInternalID AS BillOfMaterialInternalID,
OrderComponent.BOMItem AS BOMItem,
OrderComponent.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
OrderComponent.FormulaKey AS FormulaKey,
OrderComponent.VariableSizeDimension1 AS VariableSizeDimension1,
OrderComponent.VariableSizeDimension2 AS VariableSizeDimension2,
OrderComponent.VariableSizeDimension3 AS VariableSizeDimension3,
OrderComponent.VariableSizeDimensionUnit AS VariableSizeDimensionUnit,
OrderComponent.VariableSizeComponentQuantity AS VariableSizeComponentQuantity,
OrderComponent.VariableSizeComponentUnit AS VariableSizeComponentUnit,
SFIAssldCompByLdngResvnMatl._Material AS _Material,
cast( round(fltp_to_dec(OpActyComponentAssignment.MfgOrderComponentUsageQuantity as abap.dec(13,4)), 3) as erfmgv ) as QuantityInEntryUnit AS dec1343aserfmgvasQuantityInEntryUnit,
OrderComponent.BaseUnit AS MaterialBaseUnit,
OrderComponent._BOMItemCategory AS _BOMItemCategory
FROM P_SFIAssldCompByLdngResvnMatl AS SFIAssldCompByLdngResvnMatl
INNER JOIN I_OpActyNtwkInstanceBasic AS OpActyNtwkInstanceBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_OpActyComponentAssignment AS OpActyComponentAssignment ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderComponent AS OrderComponent ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Material = _ProductPlant.Product AND Plant = _ProductPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance -- association [1..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance AND OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
-- UNION ALL with additional select branch(es): I_ShopFloorItemStatus
;
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