P_PRPaidAmount
Get paid amount for partial payment
P_PRPaidAmount is a Composite CDS View that provides data about "Get paid amount for partial payment" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 2 fields. Part of development package GLO_FIN_PAYMENT_RECEIPT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | OperationalAcctgDocItem | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_CompanyCode | fis_bukrs | |
| P_AccountingDocument | belnr_d | |
| P_FiscalYear | fis_gjahr |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Get paid amount for partial payment | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| NetPaymentAmount | ||||
| TransactionCurrency | I_OperationalAcctgDocItem | TransactionCurrency |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Get paid amount for partial payment'
@Metadata.ignorePropagatedAnnotations: true
@VDM.private: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.viewType: #COMPOSITE
define view entity P_PRPaidAmount
with parameters
P_CompanyCode : fis_bukrs,
P_AccountingDocument : belnr_d,
P_FiscalYear : fis_gjahr
as select from I_OperationalAcctgDocItem as OperationalAcctgDocItem
{
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
sum(OperationalAcctgDocItem.NetPaymentAmount) * ( -1 ) as NetPaymentAmount,
OperationalAcctgDocItem.TransactionCurrency
}
where
OperationalAcctgDocItem.CompanyCode = $parameters.P_CompanyCode
and OperationalAcctgDocItem.InvoiceReference = $parameters.P_AccountingDocument
and OperationalAcctgDocItem.InvoiceReferenceFiscalYear = $parameters.P_FiscalYear
and OperationalAcctgDocItem.FollowOnDocumentType = 'Z'
group by
OperationalAcctgDocItem.TransactionCurrency
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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