P_PaymentRequests
P_PaymentRequests is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (fqmc_activation) and exposes 14 fields with key field PaymentRequest. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fqmc_activation | fqmc_activation | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_RepetitiveCode | _RepetitiveCode | $projection.PayingCompanyCode = _RepetitiveCode.PayingCompanyCode and $projection.HouseBank = _RepetitiveCode.HouseBank and $projection.PaymentCode = _RepetitiveCode.RepetitiveCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PPAYMENTREQUESTS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropogatedAnnotations | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentRequest | payrq | keyno | |
| PayingCompanyCode | payrq | zbukr | ||
| SendingCompanyCode | payrq | absbu | ||
| HouseBank | payrq | hbkid | ||
| HouseBankAccount | payrq | hktid | ||
| ClearingDocument | payrq | augbl | ||
| PaymentMethod | payrq | zwels | ||
| UserName | payrq | usnam | ||
| DocumentItemText | payrq | sgtxt | ||
| PaymentOrigin | payrq | origin | ||
| CompanyCode | payrq | bukrs | ||
| FinancialAccountType | payrq | koart | ||
| PaymentCode | payrq | rfttrn | ||
| _RepetitiveCode | _RepetitiveCode |
@VDM.private: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PPAYMENTREQUESTS'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropogatedAnnotations: true
@AbapCatalog.preserveKey:true
define view P_PaymentRequests
as select distinct from payrq
inner join fqmc_activation
on payrq.zbukr = fqmc_activation.company_code
and fqmc_activation.activation_status = '1'
and ( fqmc_activation.origin_application = 'FI' or fqmc_activation.origin_application = 'BKPF' )
association [0..1] to P_RepetitiveCode as _RepetitiveCode on $projection.PayingCompanyCode = _RepetitiveCode.PayingCompanyCode
and $projection.HouseBank = _RepetitiveCode.HouseBank
and $projection.PaymentCode = _RepetitiveCode.RepetitiveCode
{
key payrq.keyno as PaymentRequest,
payrq.zbukr as PayingCompanyCode,
payrq.absbu as SendingCompanyCode,
payrq.hbkid as HouseBank,
payrq.hktid as HouseBankAccount,
payrq.augbl as ClearingDocument,
payrq.zwels as PaymentMethod,
payrq.usnam as UserName,
payrq.sgtxt as DocumentItemText,
payrq.origin as PaymentOrigin,
payrq.bukrs as CompanyCode,
payrq.koart as FinancialAccountType,
payrq.rfttrn as PaymentCode,
_RepetitiveCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FQMC_ACTIVATION",
"PAYRQ"
],
"ASSOCIATED":
[
"P_REPETITIVECODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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