P_SFOTrcblComponentAssembly
P_SFOTrcblComponentAssembly is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_LogisticsOrder, I_OpActyNtwkInstanceBasic, P_SFOTrcblPlndCompAssembly) and exposes 72 fields with key fields AssemblyDocument, AssemblyDocumentItem, AssemblyDocumentItem. It has 4 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_LogisticsOrder | LogisticsOrder | inner |
| I_OpActyNtwkInstanceBasic | OpActyNtwkInstanceBasic | inner |
| P_SFOTrcblPlndCompAssembly | SFOTrcblPlndCompAssembly | from |
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 | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssemblyDocument | P_SFOTrcblPlndCompAssembly | AssemblyDocument | |
| KEY | AssemblyDocumentItem | P_SFOTrcblPlndCompAssembly | AssemblyDocumentItem | |
| OriglDgtlMockUpCharcsUUID | DMU GUID | |||
| Reservation | P_SFOTrcblPlndCompAssembly | Reservation | Reservation | |
| ReservationItem | P_SFOTrcblPlndCompAssembly | ReservationItem | Reservation Item | |
| RecordType | P_SFOTrcblPlndCompAssembly | RecordType | Reservation Record Type | |
| OpActyNtwkInstance | P_SFOTrcblPlndCompAssembly | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | P_SFOTrcblPlndCompAssembly | OpActyNtwkElement | Element Number | |
| AssemblyShopFloorItem | P_SFOTrcblPlndCompAssembly | AssemblyShopFloorItem | ||
| ShopFloorItem | P_SFOTrcblPlndCompAssembly | ShopFloorItem | Serial.Mat. ID | |
| Batch | P_SFOTrcblPlndCompAssembly | Batch | Lot No. | |
| Material | P_SFOTrcblPlndCompAssembly | Material | Vehicle Model | |
| Plant | P_SFOTrcblPlndCompAssembly | Plant | Valuation Area | |
| StorageLocation | P_SFOTrcblPlndCompAssembly | StorageLocation | StorageLocation | |
| InventoryUsabilityCode | P_SFOTrcblPlndCompAssembly | InventoryUsabilityCode | Stock Type | |
| DgtlMockUpCharcsUUID | DMU GUID | |||
| MfgRefStrucBOMLeafAssgmtUUID | P_SFOTrcblPlndCompAssembly | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | P_SFOTrcblPlndCompAssembly | MfgRefStructureItemDetailUUID | ||
| MfgRefStrucItmDetIsContextual | P_SFOTrcblPlndCompAssembly | MfgRefStrucItmDetIsContextual | ||
| RequiredQuantity | P_SFOTrcblPlndCompAssembly | RequiredQuantity | Requirement qty | |
| MaterialComponentQuantity | P_SFOTrcblPlndCompAssembly | MaterialComponentQuantity | ||
| MaterialBaseUnit | P_SFOTrcblPlndCompAssembly | MaterialBaseUnit | Valuation Unit | |
| QuantityInEntryUnit | P_SFOTrcblPlndCompAssembly | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | P_SFOTrcblPlndCompAssembly | EntryUnit | Unit of Entry | |
| DebitCreditCode | P_SFOTrcblPlndCompAssembly | DebitCreditCode | Single-Character Flag | |
| ComponentAssemblyType | P_SFOTrcblPlndCompAssembly | ComponentAssemblyType | ||
| ManufacturingOrder | P_SFOTrcblPlndCompAssembly | ManufacturingOrder | Order | |
| LeadingReservation | P_SFOTrcblPlndCompAssembly | LeadingReservation | ||
| LeadingReservationItem | P_SFOTrcblPlndCompAssembly | LeadingReservationItem | ||
| LeadingReservationRecordType | P_SFOTrcblPlndCompAssembly | LeadingReservationRecordType | ||
| LeadingOpActyNtwkInstance | P_SFOTrcblPlndCompAssembly | LeadingOpActyNtwkInstance | ||
| LeadingOpActyNtwkElement | P_SFOTrcblPlndCompAssembly | LeadingOpActyNtwkElement | ||
| _Material | P_SFOTrcblPlndCompAssembly | _Material | ||
| _Plant | P_SFOTrcblPlndCompAssembly | _Plant | ||
| _ProductPlantBasic | P_SFOTrcblPlndCompAssembly | _ProductPlantBasic | ||
| _OpActyNtwkInstance | P_SFOTrcblPlndCompAssembly | _OpActyNtwkInstance | ||
| _OperationActivityInstance | P_SFOTrcblPlndCompAssembly | _OperationActivityInstance | ||
| AssemblyDocumentasAssemblyDocument | ||||
| KEY | AssemblyDocumentItem | MfgOrderComponentAssembly | AssemblyDocumentItem | |
| OriglDgtlMockUpCharcsUUID | MfgOrderCompInstceAssembly | OriglDgtlMockUpCharcsUUID | DMU GUID | |
| Reservation | MfgOrderComponentAssembly | Reservation | Reservation | |
| ReservationItem | MfgOrderComponentAssembly | ReservationItem | Reservation Item | |
| RecordType | MfgOrderComponentAssembly | RecordType | Reservation Record Type | |
| OpActyNtwkInstance | MfgOrderComponentAssembly | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | MfgOrderComponentAssembly | OpActyNtwkElement | Element Number | |
| AssemblyShopFloorItem | MfgOrderComponentAssembly | AssemblyShopFloorItem | ||
| ShopFloorItem | MfgOrderComponentAssembly | ShopFloorItem | Serial.Mat. ID | |
| Batch | MfgOrderComponentAssembly | Batch | Lot No. | |
| Material | MfgOrderComponentAssembly | Material | Vehicle Model | |
| Plant | MfgOrderComponentAssembly | Plant | Valuation Area | |
| StorageLocation | MfgOrderComponentAssembly | StorageLocation | StorageLocation | |
| InventoryUsabilityCode | MfgOrderComponentAssembly | InventoryUsabilityCode | Stock Type | |
| DgtlMockUpCharcsUUID | OpActyCompInstceAssignment | DgtlMockUpCharcsUUID | DMU GUID | |
| RequiredQuantity | Requirement qty | |||
| MaterialComponentQuantity | MfgOrderComponentAssembly | MaterialComponentQuantity | ||
| MaterialBaseUnit | MfgOrderComponentAssembly | MaterialBaseUnit | Valuation Unit | |
| QuantityInEntryUnit | MfgOrderComponentAssembly | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | MfgOrderComponentAssembly | EntryUnit | Unit of Entry | |
| DebitCreditCode | MfgOrderComponentAssembly | DebitCreditCode | Single-Character Flag | |
| ComponentAssemblyType | OpActyComponentAssignment | ComponentAssemblyType | ||
| ManufacturingOrder | I_OpActyNtwkInstanceBasic | ManufacturingOrder | Order | |
| LeadingReservation | OpActyComponentAssignment | LeadingReservation | ||
| LeadingReservationItem | OpActyComponentAssignment | LeadingReservationItem | ||
| LeadingReservationRecordType | OpActyComponentAssignment | LeadingReservationRecordType | ||
| LeadingOpActyNtwkInstance | OpActyComponentAssignment | LeadingOpActyNtwkInstance | ||
| LeadingOpActyNtwkElement | OpActyComponentAssignment | LeadingOpActyNtwkElement | ||
| _Material | MfgOrderComponentAssembly | _Material | ||
| _Plant | _Plant | |||
| _ProductPlantBasic | _ProductPlantBasic | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance | |||
| _ManufacturingOrder | I_OpActyNtwkInstanceBasic | _ManufacturingOrder |
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_SFOTrcblComponentAssembly.
-- 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_SFOTrcblComponentAssembly AS
SELECT
SFOTrcblPlndCompAssembly.AssemblyDocument AS AssemblyDocument,
SFOTrcblPlndCompAssembly.AssemblyDocumentItem AS AssemblyDocumentItem,
cast(hextobin('00000000000000000000000000000000') as dmu_guid16 preserving type) AS OriglDgtlMockUpCharcsUUID,
SFOTrcblPlndCompAssembly.Reservation AS Reservation,
SFOTrcblPlndCompAssembly.ReservationItem AS ReservationItem,
SFOTrcblPlndCompAssembly.RecordType AS RecordType,
SFOTrcblPlndCompAssembly.OpActyNtwkInstance AS OpActyNtwkInstance,
SFOTrcblPlndCompAssembly.OpActyNtwkElement AS OpActyNtwkElement,
SFOTrcblPlndCompAssembly.AssemblyShopFloorItem AS AssemblyShopFloorItem,
SFOTrcblPlndCompAssembly.ShopFloorItem AS ShopFloorItem,
SFOTrcblPlndCompAssembly.Batch AS Batch,
SFOTrcblPlndCompAssembly.Material AS Material,
SFOTrcblPlndCompAssembly.Plant AS Plant,
SFOTrcblPlndCompAssembly.StorageLocation AS StorageLocation,
SFOTrcblPlndCompAssembly.InventoryUsabilityCode AS InventoryUsabilityCode,
cast(hextobin('00000000000000000000000000000000') as dmu_guid16 preserving type) AS DgtlMockUpCharcsUUID,
SFOTrcblPlndCompAssembly.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
SFOTrcblPlndCompAssembly.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
SFOTrcblPlndCompAssembly.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
SFOTrcblPlndCompAssembly.RequiredQuantity AS RequiredQuantity,
SFOTrcblPlndCompAssembly.MaterialComponentQuantity AS MaterialComponentQuantity,
SFOTrcblPlndCompAssembly.MaterialBaseUnit AS MaterialBaseUnit,
SFOTrcblPlndCompAssembly.QuantityInEntryUnit AS QuantityInEntryUnit,
SFOTrcblPlndCompAssembly.EntryUnit AS EntryUnit,
SFOTrcblPlndCompAssembly.DebitCreditCode AS DebitCreditCode,
SFOTrcblPlndCompAssembly.ComponentAssemblyType AS ComponentAssemblyType,
SFOTrcblPlndCompAssembly.ManufacturingOrder AS ManufacturingOrder,
SFOTrcblPlndCompAssembly.LeadingReservation AS LeadingReservation,
SFOTrcblPlndCompAssembly.LeadingReservationItem AS LeadingReservationItem,
SFOTrcblPlndCompAssembly.LeadingReservationRecordType AS LeadingReservationRecordType,
SFOTrcblPlndCompAssembly.LeadingOpActyNtwkInstance AS LeadingOpActyNtwkInstance,
SFOTrcblPlndCompAssembly.LeadingOpActyNtwkElement AS LeadingOpActyNtwkElement,
SFOTrcblPlndCompAssembly._Material AS _Material,
SFOTrcblPlndCompAssembly._Plant AS _Plant,
SFOTrcblPlndCompAssembly._ProductPlantBasic AS _ProductPlantBasic,
SFOTrcblPlndCompAssembly._OpActyNtwkInstance AS _OpActyNtwkInstance,
SFOTrcblPlndCompAssembly._OperationActivityInstance AS _OperationActivityInstance,
SFOTrcblPlndCompAssembly._ManufacturingOrder AS AssemblyDocumentasAssemblyDocument,
OpActyNtwkInstanceBasic._ManufacturingOrder AS _ManufacturingOrder
FROM P_SFOTrcblPlndCompAssembly AS SFOTrcblPlndCompAssembly
INNER JOIN I_OpActyNtwkInstanceBasic AS OpActyNtwkInstanceBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_LogisticsOrder AS LogisticsOrder 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