P_OpActyConfirmationAgg

DDL: P_OPACTYCONFIRMATIONAGG SQL: PMPEOACONFA Type: view COMPOSITE

P_OpActyConfirmationAgg is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_OpActyConfirmation) and exposes 6 fields with key fields OpActyNtwkInstance, OpActyNtwkElement.

Data Sources (1)

SourceAliasJoin Type
I_OpActyConfirmation I_OpActyConfirmation from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PMPEOACONFA view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement OpActyNtwkElement Element Number
ConfirmationYieldQuantity
ConfirmationScrapQuantity
ConfirmationScrapBfrProcgQty
ConfirmationSkippedQuantity

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_OpActyConfirmationAgg.
-- 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: PMPEOACONFA

CREATE VIEW P_OpActyConfirmationAgg AS
SELECT
  OpActyNtwkInstance,
  OpActyNtwkElement,
  cast(sum(ConfirmationYieldQuantity) as lmnga preserving type) AS ConfirmationYieldQuantity,
  cast(sum(ConfirmationScrapQuantity) as mpe_scrapped_frm_prcssg preserving type) AS ConfirmationScrapQuantity,
  cast(sum(ConfirmationScrapBfrProcgQty) as mpe_scrapped_bfr_strt preserving type) AS ConfirmationScrapBfrProcgQty,
  cast(sum(ConfirmationSkippedQuantity) as mpe_skipped_qty preserving type) AS ConfirmationSkippedQuantity
FROM I_OpActyConfirmation
;