I_CAPromiseToPayItem
Zahlungsversprechen Posten mit Betrag
I_CAPromiseToPayItem is a Basic CDS View that provides data about "Zahlungsversprechen Posten mit Betrag" in SAP S/4HANA. It reads from 1 data source (dfkkppi) and exposes 23 fields with key fields CAPromiseToPay, CADocumentNumber, CARepetitionItemNumber, CABPItemNumber, CASubItemNumber. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkppi | dfkkppi | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAPromiseToPayHeader | _Prms2PHeader | $projection.CAPromiseToPay = _Prms2PHeader.CAPromiseToPay |
| [1..1] | I_CADocumentHeader | _DocHeader | $projection.CADocumentNumber = _DocHeader.CADocumentNumber |
| [1..1] | I_CADocumentBPItemPhysical | _DocBPItem | $projection.CADocumentNumber = _DocBPItem.CADocumentNumber and $projection.CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber and $projection.CABPItemNumber = _DocBPItem.CABPItemNumber and $projection.CASubItemNumber = _DocBPItem.CASubItemNumber |
| [1..1] | I_CompanyCode | _CompCode | $projection.CompanyCode = _CompCode.CompanyCode |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [1..1] | I_ContractAccountHeader | _CAHeader | $projection.ContractAccount = _CAHeader.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 |
|---|---|---|---|
| EndUserText.label | Zahlungsversprechen Posten mit Betrag | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ICAPRMS2PITEM | view |
Fields (23)
| 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 | ||
| BusinessArea | Business Area | |||
| ContractAccount | Tech. CtrAcct | |||
| CAContract | vtref | Contract | ||
| CASubApplication | subap | Subapplication | ||
| CAIsFllwOnItemFromReturnOrRvsl | xsubp | Follow-On Item | ||
| PaymentCurrency | _Prms2PHeader | PaymentCurrency | Payment Currency | |
| CompanyCodeCurrency | ||||
| _Prms2PHeader | _Prms2PHeader | |||
| _DocHeader | _DocHeader | |||
| _DocBPItem | _DocBPItem | |||
| _CompCode | _CompCode | |||
| _BusinessArea | _BusinessArea | |||
| _CAHeader | _CAHeader | |||
| _PaymentCurrency | _PaymentCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency |
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.
-- SQL view name: ICAPRMS2PITEM
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,
cast(cast(gsber as abap.char(4)) as fis_rbusa) AS BusinessArea,
cast(cast(vkont as abap.char(12)) as corr_vkont_kk) AS ContractAccount,
vtref AS CAContract,
subap AS CASubApplication,
xsubp AS CAIsFllwOnItemFromReturnOrRvsl,
_Prms2PHeader.PaymentCurrency AS PaymentCurrency,
cast(_CompCode.Currency as fis_hwaer preserving type) AS CompanyCodeCurrency
FROM dfkkppi
LEFT OUTER JOIN I_CAPromiseToPayHeader AS _Prms2PHeader ON CAPromiseToPay = _Prms2PHeader.CAPromiseToPay -- association [1..1]
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CADocumentNumber = _DocHeader.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CADocumentBPItemPhysical AS _DocBPItem ON CADocumentNumber = _DocBPItem.CADocumentNumber AND CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber AND CABPItemNumber = _DocBPItem.CABPItemNumber AND CASubItemNumber = _DocBPItem.CASubItemNumber -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.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