P_MfgOrderComponentAssemblyAgg

DDL: P_MFGORDERCOMPONENTASSEMBLYAGG SQL: PMPECOMPASSAGG Type: view CONSUMPTION

P_MfgOrderComponentAssemblyAgg is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_MfgOrderComponentAssembly) and exposes 9 fields with key fields Reservation, ReservationItem, RecordType, OpActyNtwkInstance, OpActyNtwkElement.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderComponentAssembly I_MfgOrderComponentAssembly from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPECOMPASSAGG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE 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 (9)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
KEY RecordType RecordType Reservation Record Type
KEY OpActyNtwkInstance OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement OpActyNtwkElement Element Number
KEY Material Material Vehicle Model
KEY AssemblyShopFloorItem AssemblyShopFloorItem Parent SFI ID
MaterialComponentQuantity
MaterialBaseUnit

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_MfgOrderComponentAssemblyAgg.
-- 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: PMPECOMPASSAGG

CREATE VIEW P_MfgOrderComponentAssemblyAgg AS
SELECT
  Reservation,
  ReservationItem,
  RecordType,
  OpActyNtwkInstance,
  OpActyNtwkElement,
  Material,
  AssemblyShopFloorItem,
  cast(sum(MaterialComponentQuantity) as kmpmg preserving type) AS MaterialComponentQuantity,
  cast(max(MaterialBaseUnit) as meins preserving type) AS MaterialBaseUnit
FROM I_MfgOrderComponentAssembly
;