P_CurrencyPair

DDL: P_CURRENCYPAIR SQL: PCURRPAIR Type: view COMPOSITE Package: FXM_CORE

Available Currency Pairs

P_CurrencyPair is a Composite CDS View that provides data about "Available Currency Pairs" in SAP S/4HANA. It reads from 4 data sources (I_CurrencyPair, I_CurrencyPair, P_DefaultCurrencyPair, P_SelectDefault) and exposes 4 fields. Part of development package FXM_CORE.

Data Sources (4)

SourceAliasJoin Type
I_CurrencyPair I_CurrencyPair inner
I_CurrencyPair I_CurrencyPair union_all
P_DefaultCurrencyPair P_DefaultCurrencyPair inner
P_SelectDefault P_SelectDefault from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCURRPAIR 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 (4)

KeyFieldSource TableSource FieldDescription
LeadingCurrency
FollowingCurrency Following Crcy
FollowingCurrency FollowingCurrency Following Crcy
SortSequence SortSequence Sort sequence

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_CurrencyPair.
-- 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.
-- SQL view name: PCURRPAIR

CREATE VIEW P_CurrencyPair AS
SELECT
  cast( I_CurrencyPair.LeadingCurrency as lwaers ) AS LeadingCurrency,
  cast( I_CurrencyPair.FollowingCurrency as fwaers ) AS FollowingCurrency,
  SortSequence
FROM P_SelectDefault
INNER JOIN P_DefaultCurrencyPair ON /* join condition not captured in parsed metadata */
INNER JOIN I_CurrencyPair ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_CurrencyPair
;