P_SFIAssembledComponent2
P_SFIAssembledComponent2 is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_MatlPlntCompAssembleControl, P_SFIAssembledComponent) and exposes 59 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement. It has 8 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlPlntCompAssembleControl | MfgOrderProductPlant | inner |
| P_SFIAssembledComponent | SFIAssembledComponent | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MatlCompAssembleControl | _MatlCompAssembleControl | $projection.MatlCompAssembleControl = _MatlCompAssembleControl.MatlCompAssembleControl |
| [0..1] | I_ShopFloorItem | _AssemblyShopFloorItem | $projection.AssemblyShopFloorItem = _AssemblyShopFloorItem.ShopFloorItem |
| [1..1] | I_ReservationDocumentHeader | _Reservation | $projection.Reservation = _Reservation.Reservation |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_OrderComponent | _OrderComponent | $projection.Reservation = _OrderComponent.Reservation and $projection.ReservationItem = _OrderComponent.ReservationItem and $projection.RecordType = _OrderComponent.RecordType |
| [0..1] | I_BOMItmMfgRefStrucItmAssgmt | _BOMItmMfgRefStrucItmAssgmt | $projection.MfgRefStrucBOMLeafAssgmtUUID = _BOMItmMfgRefStrucItmAssgmt.MfgRefStrucBOMLeafAssgmtUUID |
| [0..1] | I_MfgRefStrucItemWithDetails | _MfgRefStrucItemWithDetails | $projection.MfgRefStructureItemDetailUUID = _MfgRefStrucItemWithDetails.MfgRefStructureItemUUID and $projection.MfgRefStrucItmDetIsContextual = '' |
| [0..1] | I_MfgRefHierItemWithDetails | _MfgRefHierItemWithDetails | $projection.MfgRefStructureItemDetailUUID = _MfgRefHierItemWithDetails.MfgRefHierarchyItemUUID and $projection.MfgRefStrucItmDetIsContextual = 'X' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPESFIACMP2 | 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 (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | P_SFIAssembledComponent | Reservation | Reservation |
| KEY | ReservationItem | P_SFIAssembledComponent | ReservationItem | Reservation Item |
| KEY | RecordType | P_SFIAssembledComponent | RecordType | Reservation Record Type |
| KEY | OpActyNtwkInstance | P_SFIAssembledComponent | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | P_SFIAssembledComponent | OpActyNtwkElement | Element Number |
| KEY | AssemblyShopFloorItem | P_SFIAssembledComponent | AssemblyShopFloorItem | Serial.Mat. ID |
| KEY | Material | P_SFIAssembledComponent | Material | Vehicle Model |
| KEY | Plant | P_SFIAssembledComponent | Plant | Valuation Area |
| RequiredQuantity | ||||
| MaterialBaseUnit | P_SFIAssembledComponent | MaterialBaseUnit | Valuation Unit | |
| QuantityInEntryUnit | P_SFIAssembledComponent | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | P_SFIAssembledComponent | EntryUnit | Unit of Entry | |
| OrderInternalID | P_SFIAssembledComponent | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | P_SFIAssembledComponent | OrderOperationInternalID | ||
| OperationActivityNetwork | P_SFIAssembledComponent | OperationActivityNetwork | ||
| OpActyNtwkVersionCounter | P_SFIAssembledComponent | OpActyNtwkVersionCounter | ||
| MatlCompIsMarkedForBackflush | P_SFIAssembledComponent | MatlCompIsMarkedForBackflush | Backflush | |
| SerialNumberProfile | I_MatlPlntCompAssembleControl | SerialNumberProfile | SerialNoProfile | |
| SerialNumberIsRqdForAssembly | I_MatlPlntCompAssembleControl | SerialNumberIsRqdForAssembly | ||
| StockCheckMessageType | I_MatlPlntCompAssembleControl | StockCheckMessageType | ||
| IsBatchManagementRequired | I_MatlPlntCompAssembleControl | IsBatchManagementRequired | Batch Mgmt Rqt(Plnt) | |
| GoodsMovementIsAllowed | P_SFIAssembledComponent | GoodsMovementIsAllowed | Mvt Allowed | |
| MatlCompInstceAssyIsRequired | P_SFIAssembledComponent | MatlCompInstceAssyIsRequired | Instances Exist | |
| BillOfMaterialCategory | _OrderComponent | BillOfMaterialCategory | BOM category | |
| BillOfMaterialVariant | _OrderComponent | BillOfMaterialVariant | AlternativeBOM | |
| BillOfMaterialVersion | _OrderComponent | BillOfMaterialVersion | BOM Version | |
| InheritedBOMItemNode | _OrderComponent | InheritedBOMItemNode | ||
| BOMItemCategory | P_SFIAssembledComponent | BOMItemCategory | Item Category | |
| BillOfMaterialInternalID | ||||
| BOMItem | P_SFIAssembledComponent | BOMItem | ||
| BOMItemInternalChangeCount | P_SFIAssembledComponent | BOMItemInternalChangeCount | Counter | |
| MaterialCompIsVariableSized | ||||
| FormulaKey | P_SFIAssembledComponent | FormulaKey | VSI Formula | |
| VariableSizeDimension1 | P_SFIAssembledComponent | VariableSizeDimension1 | Size 1 | |
| VariableSizeDimension2 | P_SFIAssembledComponent | VariableSizeDimension2 | Size 2 | |
| VariableSizeDimension3 | P_SFIAssembledComponent | VariableSizeDimension3 | Size 3 | |
| VariableSizeDimensionUnit | P_SFIAssembledComponent | VariableSizeDimensionUnit | Size unit | |
| VariableSizeComponentQuantity | P_SFIAssembledComponent | VariableSizeComponentQuantity | VSI Quantity | |
| VariableSizeComponentUnit | P_SFIAssembledComponent | VariableSizeComponentUnit | VSI UoM | |
| MfgRefStrucBOMLeafAssgmtUUID | P_SFIAssembledComponent | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | P_SFIAssembledComponent | MfgRefStructureItemDetailUUID | ||
| MfgRefStrucItmDetIsContextual | P_SFIAssembledComponent | MfgRefStrucItmDetIsContextual | ||
| BOOOpBOMItemInternalID | P_SFIAssembledComponent | BOOOpBOMItemInternalID | Allocation no. | |
| LogicalComponent | P_SFIAssembledComponent | LogicalComponent | Logical Component | |
| MfgOrderComponentUsageNetQty | P_SFIAssembledComponent | MfgOrderComponentUsageNetQty | ||
| _Reservation | _Reservation | |||
| _AssemblyShopFloorItem | _AssemblyShopFloorItem | |||
| _Material | P_SFIAssembledComponent | _Material | ||
| _Plant | P_SFIAssembledComponent | _Plant | ||
| _StorageLocation | _StorageLocation | |||
| _ProductPlant | P_SFIAssembledComponent | _ProductPlant | ||
| _OpActyNtwkInstance | P_SFIAssembledComponent | _OpActyNtwkInstance | ||
| _OperationActivityInstance | P_SFIAssembledComponent | _OperationActivityInstance | ||
| _MatlCompAssembleControl | _MatlCompAssembleControl | |||
| _OrderComponent | _OrderComponent | |||
| _BOMItemCategory | P_SFIAssembledComponent | _BOMItemCategory | ||
| _BOMItmMfgRefStrucItmAssgmt | _BOMItmMfgRefStrucItmAssgmt | |||
| _MfgRefStrucItemWithDetails | _MfgRefStrucItemWithDetails | |||
| _MfgRefHierItemWithDetails | _MfgRefHierItemWithDetails |
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_SFIAssembledComponent2.
-- 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: PMPESFIACMP2
CREATE VIEW P_SFIAssembledComponent2 AS
SELECT
SFIAssembledComponent.Reservation AS Reservation,
SFIAssembledComponent.ReservationItem AS ReservationItem,
SFIAssembledComponent.RecordType AS RecordType,
SFIAssembledComponent.OpActyNtwkInstance AS OpActyNtwkInstance,
SFIAssembledComponent.OpActyNtwkElement AS OpActyNtwkElement,
SFIAssembledComponent.AssemblyShopFloorItem AS AssemblyShopFloorItem,
SFIAssembledComponent.Material AS Material,
SFIAssembledComponent.Plant AS Plant,
SFIAssembledComponent.MaterialBaseUnit AS MaterialBaseUnit,
SFIAssembledComponent.QuantityInEntryUnit AS QuantityInEntryUnit,
SFIAssembledComponent.EntryUnit AS EntryUnit,
SFIAssembledComponent.OrderInternalID AS OrderInternalID,
SFIAssembledComponent.OrderOperationInternalID AS OrderOperationInternalID,
SFIAssembledComponent.OperationActivityNetwork AS OperationActivityNetwork,
SFIAssembledComponent.OpActyNtwkVersionCounter AS OpActyNtwkVersionCounter,
SFIAssembledComponent.MatlCompIsMarkedForBackflush AS MatlCompIsMarkedForBackflush,
MfgOrderProductPlant.SerialNumberProfile AS SerialNumberProfile,
MfgOrderProductPlant.SerialNumberIsRqdForAssembly AS SerialNumberIsRqdForAssembly,
MfgOrderProductPlant.StockCheckMessageType AS StockCheckMessageType,
MfgOrderProductPlant.IsBatchManagementRequired AS IsBatchManagementRequired,
SFIAssembledComponent.GoodsMovementIsAllowed AS GoodsMovementIsAllowed,
SFIAssembledComponent.MatlCompInstceAssyIsRequired AS MatlCompInstceAssyIsRequired,
_OrderComponent.BillOfMaterialCategory AS BillOfMaterialCategory,
_OrderComponent.BillOfMaterialVariant AS BillOfMaterialVariant,
_OrderComponent.BillOfMaterialVersion AS BillOfMaterialVersion,
_OrderComponent.InheritedBOMItemNode AS InheritedBOMItemNode,
SFIAssembledComponent.BOMItemCategory AS BOMItemCategory,
cast( SFIAssembledComponent.BillOfMaterialInternalID as mpe_exec_stnum preserving type ) AS BillOfMaterialInternalID,
SFIAssembledComponent.BOMItem AS BOMItem,
SFIAssembledComponent.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
SFIAssembledComponent.FormulaKey AS FormulaKey,
SFIAssembledComponent.VariableSizeDimension1 AS VariableSizeDimension1,
SFIAssembledComponent.VariableSizeDimension2 AS VariableSizeDimension2,
SFIAssembledComponent.VariableSizeDimension3 AS VariableSizeDimension3,
SFIAssembledComponent.VariableSizeDimensionUnit AS VariableSizeDimensionUnit,
SFIAssembledComponent.VariableSizeComponentQuantity AS VariableSizeComponentQuantity,
SFIAssembledComponent.VariableSizeComponentUnit AS VariableSizeComponentUnit,
SFIAssembledComponent.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
SFIAssembledComponent.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
SFIAssembledComponent.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
SFIAssembledComponent.BOOOpBOMItemInternalID AS BOOOpBOMItemInternalID,
SFIAssembledComponent.LogicalComponent AS LogicalComponent,
SFIAssembledComponent.MfgOrderComponentUsageNetQty AS MfgOrderComponentUsageNetQty,
SFIAssembledComponent._Material AS _Material,
SFIAssembledComponent._Plant AS _Plant,
SFIAssembledComponent._ProductPlant AS _ProductPlant,
SFIAssembledComponent._OpActyNtwkInstance AS _OpActyNtwkInstance,
SFIAssembledComponent._OperationActivityInstance AS _OperationActivityInstance,
SFIAssembledComponent._BOMItemCategory AS _BOMItemCategory
FROM P_SFIAssembledComponent AS SFIAssembledComponent
INNER JOIN I_MatlPlntCompAssembleControl AS MfgOrderProductPlant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlCompAssembleControl AS _MatlCompAssembleControl ON MatlCompAssembleControl = _MatlCompAssembleControl.MatlCompAssembleControl -- association [1..1]
LEFT OUTER JOIN I_ShopFloorItem AS _AssemblyShopFloorItem ON AssemblyShopFloorItem = _AssemblyShopFloorItem.ShopFloorItem -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_OrderComponent AS _OrderComponent ON Reservation = _OrderComponent.Reservation AND ReservationItem = _OrderComponent.ReservationItem AND RecordType = _OrderComponent.RecordType -- association [0..1]
LEFT OUTER JOIN I_BOMItmMfgRefStrucItmAssgmt AS _BOMItmMfgRefStrucItmAssgmt ON MfgRefStrucBOMLeafAssgmtUUID = _BOMItmMfgRefStrucItmAssgmt.MfgRefStrucBOMLeafAssgmtUUID -- association [0..1]
LEFT OUTER JOIN I_MfgRefStrucItemWithDetails AS _MfgRefStrucItemWithDetails ON MfgRefStructureItemDetailUUID = _MfgRefStrucItemWithDetails.MfgRefStructureItemUUID AND MfgRefStrucItmDetIsContextual = '' -- association [0..1]
LEFT OUTER JOIN I_MfgRefHierItemWithDetails AS _MfgRefHierItemWithDetails ON MfgRefStructureItemDetailUUID = _MfgRefHierItemWithDetails.MfgRefHierarchyItemUUID AND MfgRefStrucItmDetIsContextual = 'X' -- association [0..1]
;
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