P_CustomerWithPaymentAdvice
Customers With Payment Advices
P_CustomerWithPaymentAdvice is a Consumption CDS View that provides data about "Customers With Payment Advices" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 10 fields with key fields CompanyCode, Customer. It has 1 association to related views. Part of development package ODATA_ASSIGNOPENITEMS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer | I_Customer | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PaymentAdvice | _PaymentAdvice | $projection.companycode = _PaymentAdvice.CompanyCode and $projection.Customer = _PaymentAdvice.PaymentAdviceAccount and _PaymentAdvice.PaymentAdvice like '09%' |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCSTMRWTHADVC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| EndUserText.label | Customers With Payment Advices | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | _CustomerCompany | CompanyCode | |
| KEY | Customer | |||
| CustomerName | CustomerName | |||
| OrganizationBPName1 | OrganizationBPName1 | |||
| OrganizationBPName2 | OrganizationBPName2 | |||
| AuthorizationGroup | AuthorizationGroup | |||
| CompanyCodeName | ||||
| AccountingClerk | _CustomerCompany | AccountingClerk | ||
| _PaymentAdvice | _PaymentAdvice | |||
| _CompanyCode | _CustomerCompany | _CompanyCode |
@AbapCatalog.sqlViewName: 'PCSTMRWTHADVC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@EndUserText.label: 'Customers With Payment Advices'
define view P_CustomerWithPaymentAdvice as select from I_Customer
association [0..*] to I_PaymentAdvice as _PaymentAdvice on $projection.companycode = _PaymentAdvice.CompanyCode
and $projection.Customer = _PaymentAdvice.PaymentAdviceAccount
and _PaymentAdvice.PaymentAdvice like '09%'{
key _CustomerCompany.CompanyCode,
key cast (Customer as farp_customer_id) as Customer,
CustomerName,
OrganizationBPName1,
OrganizationBPName2,
AuthorizationGroup,
_CustomerCompany._CompanyCode.CompanyCodeName,
_CustomerCompany.AccountingClerk,
_PaymentAdvice,
_CustomerCompany._CompanyCode
}
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