P_LdngLdgrGlobCrcyTranslation

DDL: P_LDNGLDGRGLOBCRCYTRANSLATION Type: view_entity BASIC

P_LdngLdgrGlobCrcyTranslation is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_Ledger, I_LedgerCompanyCodeCrcyRoles) and exposes 6 fields with key field CompanyCode.

Data Sources (2)

SourceAliasJoin Type
I_Ledger I_Ledger inner
I_LedgerCompanyCodeCrcyRoles I_LedgerCompanyCodeCrcyRoles from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey CompanyCode view
ObjectModel.modelingPattern #NONE view
VDM.viewType #BASIC view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_LedgerCompanyCodeCrcyRoles CompanyCode Receiver Company Code
GlobalCurrencyRole I_LedgerCompanyCodeCrcyRoles GlobalCurrencyRole
GlobalCurrency
ExchangeRateType I_CoCodeCrcyTranslationBasic ExchangeRateType Exch. Rate Type
SourceCurrencyRole I_CoCodeCrcyTranslationBasic SourceCurrencyRole
CurrencyTranslationDateType

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_LdngLdgrGlobCrcyTranslation.
-- 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_LdngLdgrGlobCrcyTranslation AS
SELECT
  I_LedgerCompanyCodeCrcyRoles.CompanyCode AS CompanyCode,
  I_LedgerCompanyCodeCrcyRoles.GlobalCurrencyRole AS GlobalCurrencyRole,
  cast(target.Currency as fis_rkcur preserving type ) AS GlobalCurrency,
  I_CoCodeCrcyTranslationBasic.ExchangeRateType AS ExchangeRateType,
  I_CoCodeCrcyTranslationBasic.SourceCurrencyRole AS SourceCurrencyRole,
  cast(I_CoCodeCrcyTranslationBasic.CurrencyTranslationDateType as fis_crcy_trans_date_type preserving type) AS CurrencyTranslationDateType
FROM I_LedgerCompanyCodeCrcyRoles
INNER JOIN I_Ledger ON /* join condition not captured in parsed metadata */
;