P_DefaultCurrencyPair
P_DefaultCurrencyPair is a Composite CDS View in SAP S/4HANA. It reads from 7 data sources and exposes 9 fields.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | I_SAPClient | from |
| I_SAPClient | I_SAPClient | union_all |
| I_SAPClient | I_SAPClient | union_all |
| I_SAPClient | I_SAPClient | union_all |
| I_SAPClient | I_SAPClient | union_all |
| I_SAPClient | I_SAPClient | union_all |
| I_SAPClient | I_SAPClient | union_all |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PDEFCURRPAIRS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| LeadingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| FollowingCurrency | ||||
| SortSequence |
@AbapCatalog.sqlViewName: 'PDEFCURRPAIRS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_DefaultCurrencyPair as select from I_SAPClient {
// "euro"
'EUR' as LeadingCurrency,
'USD' as FollowingCurrency,
'1' as SortSequence
}
union all
select from I_SAPClient {
// "gopher"
'USD' as LeadingCurrency,
'JPY' as FollowingCurrency,
'2' as SortSequence
}
union all
select from I_SAPClient {
// "cable"
'GBP' as LeadingCurrency,
'USD' as FollowingCurrency,
'3' as SortSequence
}
union all
select from I_SAPClient {
// "swissie"
'USD' as LeadingCurrency,
'CHF' as FollowingCurrency,
'4' as SortSequence
}
union all
select from I_SAPClient {
// "aussie"
'AUD' as LeadingCurrency,
'USD' as FollowingCurrency,
'5' as SortSequence
}
union all
select from I_SAPClient {
// "loonie"
'USD' as LeadingCurrency,
'CAD' as FollowingCurrency,
'6' as SortSequence
}
union all
select from I_SAPClient {
// "kiwi"
'NZD' as LeadingCurrency,
'USD' as FollowingCurrency,
'7' as SortSequence
}
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