P_PE_PurLdgrAltExchRateType
Purchase Ledger Alternative Exchange Rate Type
P_PE_PurLdgrAltExchRateType is a Consumption CDS View that provides data about "Purchase Ledger Alternative Exchange Rate Type" in SAP S/4HANA. It reads from 2 data sources (I_ExchangeRate, I_ExchangeRateFactorsRawData) and exposes 5 fields with key fields ExchangeRateType, SourceCurrency, TargetCurrency. Part of development package GLO_FIN_IS_PE.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ExchangeRate | ExchangeRate | inner |
| I_ExchangeRateFactorsRawData | ExchangeRateFactor | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ExchangeRateType | I_ExchangeRateFactorsRawData | ExchangeRateType | |
| KEY | SourceCurrency | I_ExchangeRateFactorsRawData | SourceCurrency | |
| KEY | TargetCurrency | I_ExchangeRateFactorsRawData | TargetCurrency | |
| AlternativeExchangeRateType | I_ExchangeRateFactorsRawData | AlternativeExchangeRateType | ||
| ExchangeRateEffectiveDate | I_ExchangeRate | ExchangeRateEffectiveDate |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #XL,
dataClass: #MIXED
}
@VDM: {
private: true,
viewType: #CONSUMPTION
}
define view entity P_PE_PurLdgrAltExchRateType
as select from I_ExchangeRateFactorsRawData as ExchangeRateFactor
inner join I_ExchangeRate as ExchangeRate on ExchangeRate.ExchangeRateType = ExchangeRateFactor.AlternativeExchangeRateType
and ExchangeRate.SourceCurrency = ExchangeRateFactor.SourceCurrency
and ExchangeRate.TargetCurrency = ExchangeRateFactor.TargetCurrency
and ExchangeRateFactor.AlternativeExchangeRateType <> ''
{
key ExchangeRateFactor.ExchangeRateType,
key ExchangeRateFactor.SourceCurrency,
key ExchangeRateFactor.TargetCurrency,
ExchangeRateFactor.AlternativeExchangeRateType,
ExchangeRate.ExchangeRateEffectiveDate
}
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