P_PAYMENTREQUESTPAYEE
P_PAYMENTREQUESTPAYEE is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_PaymentRequest) and exposes 11 fields with key fields PayeeName, CustomerSupplierAccount, FinancialAccountType, CompanyCode, BankAccount. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PaymentRequest | I_PaymentRequest | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_PaymentRequestCustomerVH | _Customer | $projection.customersupplieraccount = _Customer.Customer and $projection.CompanyCode = _Customer.CompanyCode and $projection.BankCountry = _Customer.BankCountry and $projection.Bank = _Customer.Bank and $projection.BankAccount = _Customer.BankAccount |
| [1..1] | C_PaymentRequestSupplierVH | _Supplier | $projection.customersupplieraccount = _Supplier.Supplier and $projection.CompanyCode = _Supplier.CompanyCode and $projection.BankCountry = _Supplier.BankCountry and $projection.Bank = _Supplier.Bank and $projection.BankAccount = _Supplier.BankAccount |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PayeeName | PayeeName | ||
| KEY | CustomerSupplierAccount | _PaytReqChangeAndPost | CustomerSupplierAccount | |
| KEY | FinancialAccountType | _PaytReqChangeAndPost | FinancialAccountType | Fin. Account Type |
| KEY | CompanyCode | I_PaymentRequest | CompanyCode | Receiver Company Code |
| KEY | BankAccount | I_PaymentRequest | PayeeBankAccount | |
| BankCountry | I_PaymentRequest | BankCountry | Bank Ctry/Rgn. Key | |
| Bank | ||||
| PayeeStreet | PayeeStreet | |||
| PayeeCountry | PayeeCountry | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier |
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_PAYMENTREQUESTPAYEE.
-- 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.
CREATE VIEW P_PAYMENTREQUESTPAYEE AS
SELECT
PayeeName,
_PaytReqChangeAndPost.CustomerSupplierAccount AS CustomerSupplierAccount,
_PaytReqChangeAndPost.FinancialAccountType AS FinancialAccountType,
I_PaymentRequest.CompanyCode AS CompanyCode,
I_PaymentRequest.PayeeBankAccount AS BankAccount,
I_PaymentRequest.BankCountry AS BankCountry,
I_PaymentRequest._Bank.Bank AS Bank,
PayeeStreet,
PayeeCountry
FROM I_PaymentRequest
LEFT OUTER JOIN C_PaymentRequestCustomerVH AS _Customer ON customersupplieraccount = _Customer.Customer AND CompanyCode = _Customer.CompanyCode AND BankCountry = _Customer.BankCountry AND Bank = _Customer.Bank AND BankAccount = _Customer.BankAccount -- association [1..1]
LEFT OUTER JOIN C_PaymentRequestSupplierVH AS _Supplier ON customersupplieraccount = _Supplier.Supplier AND CompanyCode = _Supplier.CompanyCode AND BankCountry = _Supplier.BankCountry AND Bank = _Supplier.Bank AND BankAccount = _Supplier.BankAccount -- 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