C_PaymentProposalItem
Payment Proposal Header And Item
C_PaymentProposalItem is a Consumption CDS View that provides data about "Payment Proposal Header And Item" in SAP S/4HANA. It reads from 1 data source (I_PaymentProposalItem) and exposes 65 fields with key fields PaymentRunDate, PaymentRunID, PaymentRunIsProposal, PayingCompanyCode, Supplier. It is exposed through 1 OData service (ASQL_F0770). Part of development package FINS_AP_PP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PaymentProposalItem | I_PaymentProposalItem | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu | |
| P_PaymentRunDate | laufd | |
| P_PaymentRunID | laufi |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPAYTPRPSLITM | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Payment Proposal Header And Item | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0770 | ASQL_F0770 | C2 | NOT_RELEASED |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentRunDate | |||
| KEY | PaymentRunID | PaymentRunID | ||
| KEY | PaymentRunIsProposal | PaymentRunIsProposal | ||
| KEY | PayingCompanyCode | PayingCompanyCode | Paying Company Code | |
| KEY | Supplier | Supplier | Supplier | |
| KEY | Customer | Customer | Sold-to Party | |
| KEY | PaymentRecipient | PaymentRecipient | ||
| KEY | PaymentDocument | PaymentDocument | Payment Document Number | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| BranchAccount | BranchAccount | Branch Account No. | ||
| BusinessArea | BusinessArea | Business Area | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DueCalculationBaseDate | DueCalculationBaseDate | Due Calculation Base Date | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PostingKey | PostingKey | Posting Key | ||
| PaymentCurrency | PaymentCurrency | Payment Currency | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| AssetContract | AssetContract | Asset Contract | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentItemText | DocumentItemText | Text | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| BusinessPlace | BusinessPlace | Business place | ||
| PaymentReason | PaymentReason | Payment Reason | ||
| BranchCode | BranchCode | Branch Code | ||
| AmountInTransactionCurrency | Pt Crcy Amt | |||
| HeaderAmtInCoCodeCurrency | ||||
| CashDiscountAmtInTransacCrcy | ||||
| CashDiscountAmtInCoCodeCrcy | Discount Amt | |||
| WhldgTaxAmtInTransacCrcy | ||||
| WhldgTaxAmtInCoCodeCrcy | ||||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | SCB Ind. | ||
| SupplyingCountry | SupplyingCountry | Supplying Ctry/Reg. | ||
| NetAmountInTransacCurrency | ||||
| NetAmountInCoCodeCurrency | ||||
| TotDeductionAmtInTransacCrcy | ||||
| TotDeductionAmtInCoCodeCrcy | ||||
| FunctionalCurrency | FunctionalCurrency | Functional Currency | ||
| AmountInFunctionalCurrency | AmountInFunctionalCurrency | Amount in Functional Currency | ||
| CashDiscountAmountInFuncnlCrcy | CashDiscountAmountInFuncnlCrcy | |||
| SystemMessageDescription | ||||
| PostingKeyName | ||||
| PaymentReasonText | ||||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| Currency | _CompanyCode | Currency | Valuation Crcy | |
| PostalCode | ||||
| SupplierCityName | ||||
| SupplierStreetName | ||||
| SupplierName | _Supplier | OrganizationBPName1 | Name 1 | |
| SupplierAdditionalName | _Supplier | OrganizationBPName2 | Name 2 | |
| CustomerPostalCode | ||||
| CustomerCityName | ||||
| CustomerStreetName | ||||
| CustomerName | _Customer | OrganizationBPName1 | Name 1 | |
| CustomerAdditionalName | _Customer | OrganizationBPName2 | Name 2 | |
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| CustomerBasicAuthorizationGrp | _Customer | AuthorizationGroup | AuthorizGroup | |
| SupplierAccountGroup | _Supplier | SupplierAccountGroup | Account group | |
| CustomerAccountGroup | _Customer | CustomerAccountGroup | Account group |
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 C_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: CPAYTPRPSLITM
-- Parameters: P_Language : sylangu, P_PaymentRunDate : laufd, P_PaymentRunID : laufi
CREATE VIEW C_PaymentProposalItem AS
SELECT
cast(PaymentRunDate as farp_laufd) AS PaymentRunDate,
PaymentRunID,
PaymentRunIsProposal,
PayingCompanyCode,
Supplier,
Customer,
PaymentRecipient,
PaymentDocument,
CompanyCode,
AccountingDocument,
FiscalYear,
AccountingDocumentItem,
BranchAccount,
BusinessArea,
AccountingDocumentType,
DocumentDate,
DueCalculationBaseDate,
PaymentTerms,
PostingKey,
PaymentCurrency,
PaymentMethod,
PaymentBlockingReason,
DocumentReferenceID,
PaymentReference,
AssetContract,
PostingDate,
DocumentItemText,
FinancialAccountType,
BusinessPlace,
PaymentReason,
BranchCode,
cast(AmountInTransactionCurrency as farp_wrbtv) AS AmountInTransactionCurrency,
cast(HeaderAmtInCoCodeCurrency as farp_dmbtv) AS HeaderAmtInCoCodeCurrency,
cast(CashDiscountAmtInTransacCrcy as farp_wskto) AS CashDiscountAmtInTransacCrcy,
cast(CashDiscountAmtInCoCodeCrcy as farp_rskon) AS CashDiscountAmtInCoCodeCrcy,
cast(WhldgTaxAmtInTransacCrcy as farp_wqstv) AS WhldgTaxAmtInTransacCrcy,
cast(WhldgTaxAmtInCoCodeCrcy as farp_qstev) AS WhldgTaxAmtInCoCodeCrcy,
StateCentralBankPaymentReason,
SupplyingCountry,
cast(NetAmountInTransacCurrency as farp_wnetv) AS NetAmountInTransacCurrency,
cast(NetAmountInCoCodeCurrency as farp_nettv) AS NetAmountInCoCodeCurrency,
cast(TotDeductionAmtInTransacCrcy as farp_wabzv) AS TotDeductionAmtInTransacCrcy,
cast(TotDeductionAmtInCoCodeCrcy as farp_abzgv) AS TotDeductionAmtInCoCodeCrcy,
FunctionalCurrency,
AmountInFunctionalCurrency,
CashDiscountAmountInFuncnlCrcy,
cast(concat_with_space(PaymentRunItemMessageNumber,concat(concat('(',_PaytProposalRunMessage[1:Language = $parameters.P_Language].SystemMessageText),')'),3) as farp_natxt) AS SystemMessageDescription,
_PostingKeyWithSpecialGLCode._Text[1:Language = $parameters.P_Language].PostingKeyName AS PostingKeyName,
_PaymentReason._Text[1:Language = $parameters.P_Language].PaymentReasonText AS PaymentReasonText,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_CompanyCode.Currency AS Currency,
cast(_Supplier.PostalCode as fap_pstlz) AS PostalCode,
cast(_Supplier.CityName as fap_ort01) AS SupplierCityName,
cast(_Supplier.StreetName as fap_stras) AS SupplierStreetName,
_Supplier.OrganizationBPName1 AS SupplierName,
_Supplier.OrganizationBPName2 AS SupplierAdditionalName,
cast(_Customer.PostalCode as far_pstlz) AS CustomerPostalCode,
cast(_Customer.CityName as far_ort01) AS CustomerCityName,
cast(_Customer.StreetName as far_stras) AS CustomerStreetName,
_Customer.OrganizationBPName1 AS CustomerName,
_Customer.OrganizationBPName2 AS CustomerAdditionalName,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
_Customer.AuthorizationGroup AS CustomerBasicAuthorizationGrp,
_Supplier.SupplierAccountGroup AS SupplierAccountGroup,
_Customer.CustomerAccountGroup AS CustomerAccountGroup
FROM I_PaymentProposalItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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