P_PaymentProposalItem
Payment Proposal Item
P_PaymentProposalItem is a Basic CDS View that provides data about "Payment Proposal Item" in SAP S/4HANA. It reads from 1 data source (regup) and exposes 46 fields with key fields PaymentRunDate, PaymentRunID, PaymentRunIsProposal, PayingCompanyCode, Supplier. Part of development package FINS_AP_PP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| regup | regup | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPAYTPRPSLITM | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentRunDate | laufd | Run On | |
| KEY | PaymentRunID | laufi | Settlement ID | |
| KEY | PaymentRunIsProposal | xvorl | Proposal Run | |
| KEY | PayingCompanyCode | zbukr | Paying CoCd | |
| KEY | Supplier | lifnr | Vendor no. | |
| KEY | Customer | kunnr | Stock customer | |
| KEY | PaymentRecipient | empfg | Pmnt Recipient | |
| KEY | PaymentDocument | vblnr | Payment Doc.No. | |
| KEY | CompanyCode | bukrs | Value | |
| KEY | AccountingDocument | belnr | SD Document | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | AccountingDocumentItem | Posting View Item | ||
| BusinessArea | gsber | Business Area | ||
| AccountingDocumentType | blart | Rep. rec. doc. type | ||
| DocumentDate | bldat | Journal Entry Date | ||
| DueCalculationBaseDate | zfbdt | Payment date | ||
| PaymentTerms | zterm | Terms of Payment | ||
| PostingKey | bschl | Posting Key | ||
| PaymentCurrency | waers | Transaction Currency | ||
| PaymentRunItemMessageNumber | poken | Payt Exception | ||
| PaymentMethod | zlsch | Pymt Meth. | ||
| PaymentBlockingReason | zlspr | Pymt Lock Rsn | ||
| DocumentReferenceID | xblnr | Reference | ||
| PaymentReference | kidno | Payment Ref. | ||
| AssetContract | vertn | Int. dist. key | ||
| PostingDate | budat | Posting Date | ||
| DocumentItemText | sgtxt | Text | ||
| SpecialGLCode | umskz | Special G/L Ind | ||
| curr232endasAmountInTransactionCurrency | Gross Amount | |||
| curr232endasCashDiscountAmtInTransacCrcy | CD Amount | |||
| curr232endasCashDiscountAmtInCoCodeCrcy | Discount Amt | |||
| CashDiscount1Days | zbd1t | Payment in | ||
| CashDiscount2Days | zbd2t | Payment in | ||
| CashDiscount2Percent | zbd2p | Nrm. Cash Dis. (%) | ||
| curr232endasWhldgTaxAmtInTransacCrcy | Withholding Tax | |||
| curr232endasWhldgTaxAmtInCoCodeCrcy | Withholding Tax | |||
| curr232endasTotDeductionAmtInTransacCrcy | ||||
| curr232endasTotDeductionAmtInCoCodeCrcy | ||||
| curr232endasNetAmountInTransacCurrency | ||||
| curr232endasNetAmountInCoCodeCurrency | ||||
| curr232endasAmountInCompanyCodeCurrency | Loc. amount | |||
| MaxCshDiscAmtInCoCodeCrcy | Maximum Cash Discount Amount in Local Currency | |||
| MaxCshDiscAmtInTransacCrcy | Maximum Cash Discount Amount in Foreign Currency | |||
| StateCentralBankPaymentReason | lzbkz | SCB Ind. | ||
| SupplyingCountry | landl | Supply C/R | ||
| DebitCreditCode | shkzg | Returns |
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 P_PaymentProposalItem.
-- 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: PPAYTPRPSLITM
CREATE VIEW P_PaymentProposalItem AS
SELECT
laufd AS PaymentRunDate,
laufi AS PaymentRunID,
xvorl AS PaymentRunIsProposal,
zbukr AS PayingCompanyCode,
lifnr AS Supplier,
kunnr AS Customer,
empfg AS PaymentRecipient,
vblnr AS PaymentDocument,
bukrs AS CompanyCode,
belnr AS AccountingDocument,
gjahr AS FiscalYear,
cast (buzei as abap.int2 ) AS AccountingDocumentItem,
gsber AS BusinessArea,
blart AS AccountingDocumentType,
bldat AS DocumentDate,
zfbdt AS DueCalculationBaseDate,
zterm AS PaymentTerms,
bschl AS PostingKey,
waers AS PaymentCurrency,
poken AS PaymentRunItemMessageNumber,
zlsch AS PaymentMethod,
zlspr AS PaymentBlockingReason,
xblnr AS DocumentReferenceID,
kidno AS PaymentReference,
vertn AS AssetContract,
budat AS PostingDate,
sgtxt AS DocumentItemText,
umskz AS SpecialGLCode,
case shkzg when 'H' then cast(-wrbtr as abap.curr( 23, 2 )) else cast(wrbtr as abap.curr( 23, 2 )) end as AmountInTransactionCurrency AS curr232endasAmountInTransactionCurrency,
case shkzg when 'H' then cast(-wskto as abap.curr( 23, 2 )) else cast(wskto as abap.curr( 23, 2 )) end as CashDiscountAmtInTransacCrcy AS curr232endasCashDiscountAmtInTransacCrcy,
case shkzg when 'H' then cast(-sknto as abap.curr( 23, 2 )) else cast(sknto as abap.curr( 23, 2 )) end as CashDiscountAmtInCoCodeCrcy AS curr232endasCashDiscountAmtInCoCodeCrcy,
zbd1t AS CashDiscount1Days,
zbd2t AS CashDiscount2Days,
zbd2p AS CashDiscount2Percent,
case shkzg when 'H' then cast(-qbshb as abap.curr( 23, 2 )) else cast(qbshb as abap.curr( 23, 2 )) end as WhldgTaxAmtInTransacCrcy AS curr232endasWhldgTaxAmtInTransacCrcy,
case shkzg when 'H' then cast(-qbshh as abap.curr( 23, 2 )) else cast(qbshh as abap.curr( 23, 2 )) end as WhldgTaxAmtInCoCodeCrcy AS curr232endasWhldgTaxAmtInCoCodeCrcy,
case shkzg when 'H' then cast(-wskto - qbshb as abap.curr( 23, 2 )) else cast(wskto + qbshb as abap.curr( 23, 2 )) end as TotDeductionAmtInTransacCrcy AS curr232endasTotDeductionAmtInTransacCrcy,
case shkzg when 'H' then cast(-sknto - qbshh as abap.curr( 23, 2 )) else cast(sknto + qbshh as abap.curr( 23, 2 )) end as TotDeductionAmtInCoCodeCrcy AS curr232endasTotDeductionAmtInCoCodeCrcy,
case shkzg when 'H' then cast(-wrbtr - (-wskto - qbshb) as abap.curr( 23, 2 )) else cast(wrbtr - (wskto + qbshb) as abap.curr( 23, 2 )) end as NetAmountInTransacCurrency AS curr232endasNetAmountInTransacCurrency,
case shkzg when 'H' then cast(-dmbtr - (-sknto - qbshh) as abap.curr( 23, 2 )) else cast(dmbtr - (sknto + qbshh) as abap.curr( 23, 2 )) end as NetAmountInCoCodeCurrency AS curr232endasNetAmountInCoCodeCurrency,
case shkzg when 'H' then cast(-dmbtr as abap.curr( 23, 2 )) else cast(dmbtr as abap.curr( 23, 2 )) end as AmountInCompanyCodeCurrency AS curr232endasAmountInCompanyCodeCurrency,
cast(mshbt as abap.curr( 23, 2 )) AS MaxCshDiscAmtInCoCodeCrcy,
cast(msfbt as abap.curr( 23, 2 )) AS MaxCshDiscAmtInTransacCrcy,
lzbkz AS StateCentralBankPaymentReason,
landl AS SupplyingCountry,
shkzg AS DebitCreditCode
FROM regup
;
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