P_UnspltSFITrcblPlndCompAssy
P_UnspltSFITrcblPlndCompAssy is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (I_ShopFloorItem, I_MfgOrderComponentAssembly, I_MfgOrderComponentAssembly) and exposes 68 fields with key fields AssemblyDocument, AssemblyDocumentItem, AssemblyDocumentItem. It has 4 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ShopFloorItem | AssemblyShopFloorItem | from |
| I_MfgOrderComponentAssembly | MfgOrderComponentAssembly | inner |
| I_MfgOrderComponentAssembly | MfgOrderComponentAssembly | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_ProductPlantBasic | _ProductPlantBasic | $projection.Material = _ProductPlantBasic.Product and $projection.Plant = _ProductPlantBasic.Plant |
| [1..1] | I_OpActyNtwkInstance | _OpActyNtwkInstance | $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance |
| [1..1] | I_OperationActivityInstance | _OperationActivityInstance | $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssemblyDocument | I_MfgOrderComponentAssembly | AssemblyDocument | Document Number |
| KEY | AssemblyDocumentItem | I_MfgOrderComponentAssembly | AssemblyDocumentItem | Item Number |
| OriglDgtlMockUpCharcsUUID | DMU GUID | |||
| Reservation | I_MfgOrderComponentAssembly | Reservation | Reservation | |
| ReservationItem | I_MfgOrderComponentAssembly | ReservationItem | Reservation Item | |
| RecordType | I_MfgOrderComponentAssembly | RecordType | Reservation Record Type | |
| OpActyNtwkInstance | I_MfgOrderComponentAssembly | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | I_MfgOrderComponentAssembly | OpActyNtwkElement | Element Number | |
| OriginalReplacedShopFloorItem | I_MfgOrderComponentAssembly | AssemblyShopFloorItem | Parent SFI ID | |
| AssemblyShopFloorItem | I_MfgOrderComponentAssembly | AssemblyShopFloorItem | Parent SFI ID | |
| AssembledShopFloorItem | I_MfgOrderComponentAssembly | ShopFloorItem | Serial.Mat. ID | |
| Batch | I_MfgOrderComponentAssembly | Batch | Lot No. | |
| Material | I_MfgOrderComponentAssembly | Material | Vehicle Model | |
| Plant | I_MfgOrderComponentAssembly | Plant | Valuation Area | |
| StorageLocation | I_MfgOrderComponentAssembly | StorageLocation | StorageLocation | |
| InventoryUsabilityCode | I_MfgOrderComponentAssembly | InventoryUsabilityCode | Stock Type | |
| DgtlMockUpCharcsUUID | DMU GUID | |||
| MfgRefStrucBOMLeafAssgmtUUID | OpActyComponentAssignment | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | OpActyComponentAssignment | MfgRefStructureItemDetailUUID | ||
| MfgRefStrucItmDetIsContextual | OpActyComponentAssignment | MfgRefStrucItmDetIsContextual | ||
| MaterialComponentQuantity | I_MfgOrderComponentAssembly | MaterialComponentQuantity | Value | |
| MaterialBaseUnit | I_MfgOrderComponentAssembly | MaterialBaseUnit | Valuation Unit | |
| QuantityInEntryUnit | I_MfgOrderComponentAssembly | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | I_MfgOrderComponentAssembly | EntryUnit | Unit of Entry | |
| DebitCreditCode | I_MfgOrderComponentAssembly | DebitCreditCode | Single-Character Flag | |
| ComponentAssemblyType | OpActyComponentAssignment | ComponentAssemblyType | ||
| LeadingReservation | OpActyComponentAssignment | LeadingReservation | ||
| LeadingReservationItem | OpActyComponentAssignment | LeadingReservationItem | ||
| LeadingReservationRecordType | OpActyComponentAssignment | LeadingReservationRecordType | ||
| LeadingOpActyNtwkInstance | OpActyComponentAssignment | LeadingOpActyNtwkInstance | ||
| LeadingOpActyNtwkElement | OpActyComponentAssignment | LeadingOpActyNtwkElement | ||
| _Material | I_MfgOrderComponentAssembly | _Material | ||
| _Plant | _Plant | |||
| _ProductPlantBasic | _ProductPlantBasic | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| AssemblyDocumentasAssemblyDocument | ||||
| KEY | AssemblyDocumentItem | I_MfgOrderComponentAssembly | AssemblyDocumentItem | Item Number |
| OriglDgtlMockUpCharcsUUID | MfgOrderCompInstceAssembly | OriglDgtlMockUpCharcsUUID | DMU GUID | |
| Reservation | I_MfgOrderComponentAssembly | Reservation | Reservation | |
| ReservationItem | I_MfgOrderComponentAssembly | ReservationItem | Reservation Item | |
| RecordType | I_MfgOrderComponentAssembly | RecordType | Reservation Record Type | |
| OpActyNtwkInstance | I_MfgOrderComponentAssembly | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | I_MfgOrderComponentAssembly | OpActyNtwkElement | Element Number | |
| OriginalReplacedShopFloorItem | I_MfgOrderComponentAssembly | AssemblyShopFloorItem | Parent SFI ID | |
| AssemblyShopFloorItem | I_MfgOrderComponentAssembly | AssemblyShopFloorItem | Parent SFI ID | |
| AssembledShopFloorItem | I_MfgOrderComponentAssembly | ShopFloorItem | Serial.Mat. ID | |
| Batch | I_MfgOrderComponentAssembly | Batch | Lot No. | |
| Material | I_MfgOrderComponentAssembly | Material | Vehicle Model | |
| Plant | I_MfgOrderComponentAssembly | Plant | Valuation Area | |
| StorageLocation | I_MfgOrderComponentAssembly | StorageLocation | StorageLocation | |
| InventoryUsabilityCode | I_MfgOrderComponentAssembly | InventoryUsabilityCode | Stock Type | |
| DgtlMockUpCharcsUUID | OpActyCompInstceAssignment | DgtlMockUpCharcsUUID | DMU GUID | |
| MaterialComponentQuantity | I_MfgOrderComponentAssembly | MaterialComponentQuantity | Value | |
| MaterialBaseUnit | I_MfgOrderComponentAssembly | MaterialBaseUnit | Valuation Unit | |
| QuantityInEntryUnit | I_MfgOrderComponentAssembly | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | I_MfgOrderComponentAssembly | EntryUnit | Unit of Entry | |
| DebitCreditCode | I_MfgOrderComponentAssembly | DebitCreditCode | Single-Character Flag | |
| ComponentAssemblyType | OpActyComponentAssignment | ComponentAssemblyType | ||
| LeadingReservation | OpActyComponentAssignment | LeadingReservation | ||
| LeadingReservationItem | OpActyComponentAssignment | LeadingReservationItem | ||
| LeadingReservationRecordType | OpActyComponentAssignment | LeadingReservationRecordType | ||
| LeadingOpActyNtwkInstance | OpActyComponentAssignment | LeadingOpActyNtwkInstance | ||
| LeadingOpActyNtwkElement | OpActyComponentAssignment | LeadingOpActyNtwkElement | ||
| _Material | I_MfgOrderComponentAssembly | _Material | ||
| _Plant | _Plant | |||
| _ProductPlantBasic | _ProductPlantBasic | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance |
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_UnspltSFITrcblPlndCompAssy.
-- 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.
CREATE VIEW P_UnspltSFITrcblPlndCompAssy AS
SELECT
MfgOrderComponentAssembly.AssemblyDocument AS AssemblyDocument,
MfgOrderComponentAssembly.AssemblyDocumentItem AS AssemblyDocumentItem,
cast(hextobin('00000000000000000000000000000000') as dmu_guid16 preserving type) AS OriglDgtlMockUpCharcsUUID,
MfgOrderComponentAssembly.Reservation AS Reservation,
MfgOrderComponentAssembly.ReservationItem AS ReservationItem,
MfgOrderComponentAssembly.RecordType AS RecordType,
MfgOrderComponentAssembly.OpActyNtwkInstance AS OpActyNtwkInstance,
MfgOrderComponentAssembly.OpActyNtwkElement AS OpActyNtwkElement,
MfgOrderComponentAssembly.AssemblyShopFloorItem AS OriginalReplacedShopFloorItem,
MfgOrderComponentAssembly.AssemblyShopFloorItem AS AssemblyShopFloorItem,
MfgOrderComponentAssembly.ShopFloorItem AS AssembledShopFloorItem,
MfgOrderComponentAssembly.Batch AS Batch,
MfgOrderComponentAssembly.Material AS Material,
MfgOrderComponentAssembly.Plant AS Plant,
MfgOrderComponentAssembly.StorageLocation AS StorageLocation,
MfgOrderComponentAssembly.InventoryUsabilityCode AS InventoryUsabilityCode,
cast(hextobin('00000000000000000000000000000000') as dmu_guid16 preserving type) AS DgtlMockUpCharcsUUID,
OpActyComponentAssignment.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
OpActyComponentAssignment.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
OpActyComponentAssignment.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
MfgOrderComponentAssembly.MaterialComponentQuantity AS MaterialComponentQuantity,
MfgOrderComponentAssembly.MaterialBaseUnit AS MaterialBaseUnit,
MfgOrderComponentAssembly.QuantityInEntryUnit AS QuantityInEntryUnit,
MfgOrderComponentAssembly.EntryUnit AS EntryUnit,
MfgOrderComponentAssembly.DebitCreditCode AS DebitCreditCode,
OpActyComponentAssignment.ComponentAssemblyType AS ComponentAssemblyType,
OpActyComponentAssignment.LeadingReservation AS LeadingReservation,
OpActyComponentAssignment.LeadingReservationItem AS LeadingReservationItem,
OpActyComponentAssignment.LeadingReservationRecordType AS LeadingReservationRecordType,
OpActyComponentAssignment.LeadingOpActyNtwkInstance AS LeadingOpActyNtwkInstance,
OpActyComponentAssignment.LeadingOpActyNtwkElement AS LeadingOpActyNtwkElement,
MfgOrderComponentAssembly._Material AS _Material
FROM I_ShopFloorItem AS AssemblyShopFloorItem
INNER JOIN I_MfgOrderComponentAssembly AS MfgOrderComponentAssembly 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_ProductPlantBasic AS _ProductPlantBasic ON Material = _ProductPlantBasic.Product AND Plant = _ProductPlantBasic.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]
;
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