I_CAContrSprtdAmtForDspCrcy

DDL: I_CACONTRSPRTDAMTFORDSPCRCY Type: view_entity COMPOSITE

Contracts with corresponding amounts

I_CAContrSprtdAmtForDspCrcy is a Composite CDS View that provides data about "Contracts with corresponding amounts" in SAP S/4HANA. It reads from 1 data source (I_CADocSeparatedAmtInDC) and exposes 5 fields with key fields CAContract, CASubApplication.

Data Sources (1)

SourceAliasJoin Type
I_CADocSeparatedAmtInDC I_CADocSeparatedAmtInDC from

Parameters (1)

NameTypeDefault
P_DisplayCurrency waers_kk

Annotations (7)

NameValueLevelField
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Contracts with corresponding amounts view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CAContract CAContract Contract
KEY CASubApplication CASubApplication Subapplication
DisplayCurrency
DueAmountInDisplayCrcy
OpenDueAmountInDisplayCrcy

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 I_CAContrSprtdAmtForDspCrcy.
-- 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.
-- Parameters: P_DisplayCurrency : waers_kk

CREATE VIEW I_CAContrSprtdAmtForDspCrcy AS
SELECT
  CAContract,
  CASubApplication,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  sum(DueAmountInDisplayCrcy) AS DueAmountInDisplayCrcy,
  sum(OpenDueAmountInDisplayCrcy) AS OpenDueAmountInDisplayCrcy
FROM I_CADocSeparatedAmtInDC
;