P_SpltSFITrcblPlndCompAssy

DDL: P_SPLTSFITRCBLPLNDCOMPASSY Type: view_entity CONSUMPTION

P_SpltSFITrcblPlndCompAssy is a Consumption CDS View in SAP S/4HANA. It reads from 5 data sources (I_ShopFloorItem, I_ShopFloorItem, I_ShopFloorItem, I_MfgOrderComponentAssembly, I_MfgOrderComponentAssembly) and exposes 70 fields with key fields AssemblyDocument, AssemblyDocumentItem, AssemblyDocumentItem. It has 4 associations to related views.

Data Sources (5)

SourceAliasJoin Type
I_ShopFloorItem AssemblyShopFloorItem inner
I_ShopFloorItem AssemblyShopFloorItem inner
I_ShopFloorItem GenealogyShopFloorItem from
I_MfgOrderComponentAssembly MfgOrderComponentAssembly inner
I_MfgOrderComponentAssembly MfgOrderComponentAssembly inner

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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 (70)

KeyFieldSource TableSource FieldDescription
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
ActiveReplaceShopFloorItem I_ShopFloorItem ShopFloorItem Serial.Mat. ID
OriginalReplacedShopFloorItem I_ShopFloorItem OriginalReplacedShopFloorItem Orig. Replaced Matl
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
ActiveReplaceShopFloorItem I_ShopFloorItem ShopFloorItem Serial.Mat. ID
OriginalReplacedShopFloorItem I_ShopFloorItem OriginalReplacedShopFloorItem Orig. Replaced Matl
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_SpltSFITrcblPlndCompAssy.
-- 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_SpltSFITrcblPlndCompAssy 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,
  GenealogyShopFloorItem.ShopFloorItem AS ActiveReplaceShopFloorItem,
  GenealogyShopFloorItem.OriginalReplacedShopFloorItem 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 GenealogyShopFloorItem
INNER JOIN I_ShopFloorItem AS AssemblyShopFloorItem ON /* join condition not captured in parsed metadata */
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]
;