I_ContrAcctSeparatedAmtsInDC

DDL: I_CONTRACCTSEPARATEDAMTSINDC SQL: ICTRACCSEPAMTDC Type: view COMPOSITE

Aufgeteilte Beträge pro Vertragskonto

I_ContrAcctSeparatedAmtsInDC is a Composite CDS View that provides data about "Aufgeteilte Beträge pro Vertragskonto" in SAP S/4HANA. It reads from 1 data source (I_CADocSeparatedAmtInDC) and exposes 12 fields with key field ContractAccount.

Data Sources (1)

SourceAliasJoin Type
I_CADocSeparatedAmtInDC I_CADocSeparatedAmtInDC from

Parameters (2)

NameTypeDefault
P_DisplayCurrency waers_kk
P_ExchangeRateDate sydatum

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICTRACCSEPAMTDC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Aufgeteilte Beträge pro Vertragskonto view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ContractAccount ContractAccount Contract Acct
DisplayCurrency
AmountInDisplayCurrency
DueAmountInDisplayCrcy
OpenAmountInDisplayCrcy
OpenDueAmountInDisplayCrcy
ClearedAmountInDisplayCurrency
OpenReceivablesAmountInDspCrcy
OpenPayablesAmountInDspCrcy
OpenDueReceivablesAmtInDspCrcy
OpenDuePayablesAmountInDspCrcy
DoubtfulReceivablesAmountInDC

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_ContrAcctSeparatedAmtsInDC.
-- 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: ICTRACCSEPAMTDC
-- Parameters: P_DisplayCurrency : waers_kk, P_ExchangeRateDate : sydatum

CREATE VIEW I_ContrAcctSeparatedAmtsInDC AS
SELECT
  ContractAccount,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  sum(AmountInDisplayCurrency) AS AmountInDisplayCurrency,
  sum(DueAmountInDisplayCrcy) AS DueAmountInDisplayCrcy,
  sum(OpenAmountInDisplayCrcy) AS OpenAmountInDisplayCrcy,
  sum(OpenDueAmountInDisplayCrcy) AS OpenDueAmountInDisplayCrcy,
  sum(ClearedAmountInDisplayCurrency) AS ClearedAmountInDisplayCurrency,
  sum(OpenReceivablesAmountInDspCrcy) AS OpenReceivablesAmountInDspCrcy,
  sum(OpenPayablesAmountInDspCrcy) AS OpenPayablesAmountInDspCrcy,
  sum(OpenDueReceivablesAmtInDspCrcy) AS OpenDueReceivablesAmtInDspCrcy,
  sum(OpenDuePayablesAmountInDspCrcy) AS OpenDuePayablesAmountInDspCrcy,
  sum(DoubtfulReceivablesAmountInDC) AS DoubtfulReceivablesAmountInDC
FROM I_CADocSeparatedAmtInDC
;