P_RU_ExprtCstmsDeclnTotConfQty

DDL: P_RU_EXPRTCSTMSDECLNTOTCONFQTY SQL: PRUEXPDECTOTQT Type: view COMPOSITE

Total Confirmed Quantity in CCD SubItems

P_RU_ExprtCstmsDeclnTotConfQty is a Composite CDS View that provides data about "Total Confirmed Quantity in CCD SubItems" in SAP S/4HANA. It reads from 1 data source (I_RU_CustomsDeclarationSubitem) and exposes 4 fields with key fields CustomsDeclaration, CustomsDeclarationItem.

Data Sources (1)

SourceAliasJoin Type
I_RU_CustomsDeclarationSubitem CCDSubItemData from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRUEXPDECTOTQT view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Total Confirmed Quantity in CCD SubItems view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CustomsDeclaration I_RU_CustomsDeclarationSubitem CustomsDeclaration Cus. Decl. No.
KEY CustomsDeclarationItem I_RU_CustomsDeclarationSubitem CustomsDeclarationItem Task ID
SalesUnit I_RU_CustomsDeclarationSubitem SalesUnit Unit
SubItemTotalQuantity

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_RU_ExprtCstmsDeclnTotConfQty.
-- 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: PRUEXPDECTOTQT

CREATE VIEW P_RU_ExprtCstmsDeclnTotConfQty AS
SELECT
  CCDSubItemData.CustomsDeclaration AS CustomsDeclaration,
  CCDSubItemData.CustomsDeclarationItem AS CustomsDeclarationItem,
  CCDSubItemData.SalesUnit AS SalesUnit,
  sum( CCDSubItemData.Quantity ) AS SubItemTotalQuantity
FROM I_RU_CustomsDeclarationSubitem AS CCDSubItemData
;