I_ContrAcctTotOpenAmtInDspCrcy

DDL: I_CONTRACCTTOTOPENAMTINDSPCRCY SQL: ICTRACCTOPNAMTDC Type: view COMPOSITE

Summe aller offenen Beträge pro Vertragskonto

I_ContrAcctTotOpenAmtInDspCrcy is a Composite CDS View that provides data about "Summe aller offenen Beträge pro Vertragskonto" in SAP S/4HANA. It reads from 1 data source (I_ContractAcctOpenAmtInDspCrcy) and exposes 4 fields with key field ContractAccount. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ContractAcctOpenAmtInDspCrcy I_ContractAcctOpenAmtInDspCrcy from

Parameters (2)

NameTypeDefault
P_Currency waers_kk
P_Date sydatum

Associations (1)

CardinalityTargetAliasCondition
[1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount

Annotations (8)

NameValueLevelField
EndUserText.label Summe aller offenen Beträge pro Vertragskonto view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICTRACCTOPNAMTDC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ContractAccount ContractAccount Contract Acct
DisplayCurrency
OpenAmountInDisplayCrcy
_CAHeader _CAHeader

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_ContrAcctTotOpenAmtInDspCrcy.
-- 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: ICTRACCTOPNAMTDC
-- Parameters: P_Currency : waers_kk, P_Date : sydatum

CREATE VIEW I_ContrAcctTotOpenAmtInDspCrcy AS
SELECT
  ContractAccount,
  $parameters.P_Currency AS DisplayCurrency,
  sum(OpenAmountInDisplayCrcy) AS OpenAmountInDisplayCrcy
FROM I_ContractAcctOpenAmtInDspCrcy
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.ContractAccount  -- association [1]
;