I_PromiseToPay

DDL: I_PROMISETOPAY SQL: IP2PATTR Type: view BASIC Package: UDM_COLL_CDS

Promise To Pay Attributes

I_PromiseToPay (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Promise to Pay in Collections Management · Financial Operations

I_PromiseToPay is a Basic CDS View that provides data about "Promise To Pay Attributes" in SAP S/4HANA. It reads from 1 data source (udm_p2p_attr) and exposes 20 fields with key field DisputeCaseUUID. It has 5 associations to related views. Part of development package UDM_COLL_CDS.

SAP Help Documentation

CategoryCDS Views for Collections Management
Purpose
This CDS view provides detailed attributes related to promises to pay in SAP Collections Management , allowing you to analyze and manage financial commitments effectively. This CDS view provides the data to answer the following business questions: What are the details of promise-to-pay agreements associated with specific dispute cases? How much has been promised and paid in relation to these agreements? What is the status and due date of each promise-to-pay agreement? Who has given the promise to pay, and how many installments are involved? What are the currency details and exchange rates applicable to these transactions? How can the promise-to-pay data be linked to specific invoices and customers? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 ( Authorization Group for Customers ) KTOKD ( Customer Account Group ) B_BUP_DCPD ( Business Partner Processing ) BUKRS ( Company Code ) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description DisputeCaseUUID Unique identifier for the dispute case CompanyCode Company code associated with the promise to pay Customer Customer associated with the promise to pay PromisedAmount Amount promised to be paid DueDate Due date for the promised payment

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-COL-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides detailed attributes related to promises to pay in SAP Collections Management, allowing you to analyze and manage financial commitments effectively.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the details of promise-to-pay agreements associated with specific dispute cases?</p></li> <li><p>How much has been promised and paid in relation to these agreements?</p></li> <li><p>What is the status and due date of each promise-to-pay agreement?</p></li> <li><p>Who has given the promise to pay, and how many installments are involved?</p></li> <li><p>What are the currency details and exchange rates applicable to these transactions?</p></li> <li><p>How can the promise-to-pay data be linked to specific invoices and customers?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
udm_p2p_attr udm_p2p_attr from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_CaseAttributes _CaseAttributes $projection.DisputeCaseUUID = _CaseAttributes.CaseUUID
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] P_LdngLdgrGlobCrcyTranslation _GlobalCurrency $projection.CompanyCode = _GlobalCurrency.CompanyCode

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IP2PATTR view
EndUserText.label Promise To Pay Attributes view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey DisputeCaseUUID view
ObjectModel.sapObjectNodeType.name PromiseToPay view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY DisputeCaseUUID FSCM-DM: GUID (Internal Key of Dispute Case)
CompanyCode Company Code
Customer Key of Customer in Accounts Receivable Accounting
LinkedInvoiceKey fin_invoice_key Object key
PromisedAmount Amount Promised for Payment
PaidAmount Amount Paid
Currency Currency of Promise to Pay
DueDate Date for Which Payment Is Promised
CreationDate Date on Which Promise to Pay Was Given
Status State of Promise to Pay
LastPaymentDate fin_last_payment Date of Last Payment
PromiseToPayLevel fin_p2p_level Level of Promise to Pay
PromiseToPayGivenByPersonName fin_promised_by Clerk That Gave the Promise to Pay
NumberOfInstallments fin_no_of_inst Number of Installments in the Promise to Pay in Installments
GlobalCurrency _GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
GlobalCurrencyExchangeRateType _GlobalCurrency ExchangeRateType Exchange Rate Type
_CaseAttributes _CaseAttributes
_CompanyCode _CompanyCode
_Customer _Customer
_Currency _Currency

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_PromiseToPay.
-- 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: IP2PATTR

CREATE VIEW I_PromiseToPay AS
SELECT
  cast( case_guid as bdm_case_guid preserving type ) AS DisputeCaseUUID,
  cast( fin_comp_code as bdm_comp_code preserving type ) AS CompanyCode,
  cast( fin_customer as udm_kunnr preserving type ) AS Customer,
  fin_invoice_key AS LinkedInvoiceKey,
  cast( fin_promised_amt as bdm_promised_amount preserving type ) AS PromisedAmount,
  cast( fin_paid_amount as bdm_paid_amount preserving type) AS PaidAmount,
  cast( fin_p2p_curr as bdm_promise_curr preserving type ) AS Currency,
  cast( fin_p2p_due_date as bdm_promise_due_date preserving type ) AS DueDate,
  cast( fin_p2p_date as bdm_promise_date preserving type ) AS CreationDate,
  cast( fin_p2p_state as bdm_promise_state preserving type ) AS Status,
  fin_last_payment AS LastPaymentDate,
  fin_p2p_level AS PromiseToPayLevel,
  fin_promised_by AS PromiseToPayGivenByPersonName,
  fin_no_of_inst AS NumberOfInstallments,
  _GlobalCurrency.GlobalCurrency AS GlobalCurrency,
  _GlobalCurrency.ExchangeRateType AS GlobalCurrencyExchangeRateType
FROM udm_p2p_attr
LEFT OUTER JOIN I_CaseAttributes AS _CaseAttributes ON DisputeCaseUUID = _CaseAttributes.CaseUUID  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN P_LdngLdgrGlobCrcyTranslation AS _GlobalCurrency ON CompanyCode = _GlobalCurrency.CompanyCode  -- association [0..1]
;