I_CAPromiseToPayDueAmount

DDL: I_CAPROMISETOPAYDUEAMOUNT Type: view_entity COMPOSITE Package: FKK_P2P

Promise To Pay Due Amount

I_CAPromiseToPayDueAmount is a Composite CDS View that provides data about "Promise To Pay Due Amount" in SAP S/4HANA. It reads from 1 data source (I_CAPromiseToPayDueDate) and exposes 6 fields with key field CAPromiseToPay. It has 1 association to related views. Part of development package FKK_P2P.

Data Sources (1)

SourceAliasJoin Type
I_CAPromiseToPayDueDate I_CAPromiseToPayDueDate from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CAPromiseToPay _CAPromiseToPay $projection.CAPromiseToPay = _CAPromiseToPay.CAPromiseToPay

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Promise To Pay Due Amount view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CAPromiseToPay CAPromiseToPay Promise to Pay
StartDate
CAAmountInLocalCurrency
PaymentCurrency PaymentCurrency Payment Currency
_CAPromiseToPay _CAPromiseToPay
_PaymentCurrency _PaymentCurrency

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_CAPromiseToPayDueAmount.
-- 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.

CREATE VIEW I_CAPromiseToPayDueAmount AS
SELECT
  CAPromiseToPay,
  min(CAPromisedPaymentDate) AS StartDate,
  sum(CAOpenPromisedAmtInTransCrcy) AS CAAmountInLocalCurrency,
  PaymentCurrency
FROM I_CAPromiseToPayDueDate
LEFT OUTER JOIN I_CAPromiseToPay AS _CAPromiseToPay ON CAPromiseToPay = _CAPromiseToPay.CAPromiseToPay  -- association [1..1]
;