I_CAPromiseToPayItem
Promise To Pay Item
I_CAPromiseToPayItem is a Basic CDS View that provides data about "Promise To Pay Item" in SAP S/4HANA. It reads from 1 data source (dfkkppi) and exposes 20 fields with key fields CAPromiseToPay, CADocumentNumber, CARepetitionItemNumber, CABPItemNumber, CASubItemNumber. It has 6 associations to related views. Part of development package FKK_P2P.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkppi | dfkkppi | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CADocument | _CADocument | $projection.CADocumentNumber = _CADocument.CADocumentNumber |
| [1..1] | I_CAPromiseToPay | _CAPromiseToPay | $projection.CAPromiseToPay = _CAPromiseToPay.CAPromiseToPay |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_ContractAccountHeader | _ContractAccount | $projection.ContractAccount = _ContractAccount.ContractAccount |
| [1..1] | I_Currency | _PaymentCurrency | $projection.PaymentCurrency = _PaymentCurrency.Currency |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Promise To Pay Item | 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 | #BASIC | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAPromiseToPay | ppkey | Promise to Pay | |
| KEY | CADocumentNumber | opbel | Reopen | |
| KEY | CARepetitionItemNumber | opupw | Repetition Item | |
| KEY | CABPItemNumber | opupk | Item | |
| KEY | CASubItemNumber | opupz | Subitem | |
| CAPaymentAmountInTransCurrency | betrz | Payment Amount | ||
| CAAmountInLocalCurrency | betrh | Local Crcy Amt | ||
| CompanyCode | bukrs | Value | ||
| ContractAccount | vkont | Tech. CtrAcct | ||
| CAContract | vtref | Contract | ||
| CASubApplication | subap | Subapplication | ||
| CAIsFllwOnItemFromReturnOrRvsl | xsubp | Follow-On Item | ||
| PaymentCurrency | _CAPromiseToPay | PaymentCurrency | Payment Currency | |
| CompanyCodeCurrency | _CompanyCode | Currency | Valuation Crcy | |
| _CAPromiseToPay | _CAPromiseToPay | |||
| _CADocument | _CADocument | |||
| _CompanyCode | _CompanyCode | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _ContractAccount | _ContractAccount | |||
| _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_CAPromiseToPayItem.
-- 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_CAPromiseToPayItem AS
SELECT
ppkey AS CAPromiseToPay,
opbel AS CADocumentNumber,
opupw AS CARepetitionItemNumber,
opupk AS CABPItemNumber,
opupz AS CASubItemNumber,
betrz AS CAPaymentAmountInTransCurrency,
betrh AS CAAmountInLocalCurrency,
bukrs AS CompanyCode,
vkont AS ContractAccount,
vtref AS CAContract,
subap AS CASubApplication,
xsubp AS CAIsFllwOnItemFromReturnOrRvsl,
_CAPromiseToPay.PaymentCurrency AS PaymentCurrency,
_CompanyCode.Currency AS CompanyCodeCurrency
FROM dfkkppi
LEFT OUTER JOIN I_CADocument AS _CADocument ON CADocumentNumber = _CADocument.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CAPromiseToPay AS _CAPromiseToPay ON CAPromiseToPay = _CAPromiseToPay.CAPromiseToPay -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccount ON ContractAccount = _ContractAccount.ContractAccount -- association [1..1]
LEFT OUTER JOIN I_Currency AS _PaymentCurrency ON PaymentCurrency = _PaymentCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA