I_CurrencyTypesCorrespnc

DDL: I_CURRENCYTYPESCORRESPNC SQL: ICURRTPCORR Type: view COMPOSITE

Currency Types for Correspondence

I_CurrencyTypesCorrespnc is a Composite CDS View that provides data about "Currency Types for Correspondence" in SAP S/4HANA. It reads from 11 data sources and exposes 24 fields with key fields Ledger, CompanyCode.

Data Sources (11)

SourceAliasJoin Type
I_CurrencyRoleText curtcc_text left_outer
I_CurrencyRoleText curtgc_text left_outer
I_CurrencyRoleText curtp1_text left_outer
I_CurrencyRoleText curtp2_text left_outer
I_CurrencyRoleText curtp3_text left_outer
I_CurrencyRoleText curtp4_text left_outer
I_CurrencyRoleText curtp5_text left_outer
I_CurrencyRoleText curtp6_text left_outer
I_CurrencyRoleText curtp7_text left_outer
I_CurrencyRoleText curtp8_text left_outer
I_LedgerCompanyCodeCrcyRoles I_LedgerCompanyCodeCrcyRoles from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICURRTPCORR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Currency Types for Correspondence view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
FiscalYearVariant FiscalYearVariant FY Variant
CompanyCodeCurrencyRole CompanyCodeCurrencyRole
GlobalCurrencyRole GlobalCurrencyRole
FreeDefinedCurrency1Role FreeDefinedCurrency1Role
FreeDefinedCurrency2Role FreeDefinedCurrency2Role
FreeDefinedCurrency3Role FreeDefinedCurrency3Role
FreeDefinedCurrency4Role FreeDefinedCurrency4Role
FreeDefinedCurrency5Role FreeDefinedCurrency5Role
FreeDefinedCurrency6Role FreeDefinedCurrency6Role
FreeDefinedCurrency7Role FreeDefinedCurrency7Role
FreeDefinedCurrency8Role FreeDefinedCurrency8Role
AccountingPrinciple AccountingPrinciple AP Ledger/CoCode
CompanyCodeCurrencyRoleName
GlobalCurrencyRoleName
FreeDefinedCurrency1RoleName
FreeDefinedCurrency2RoleName
FreeDefinedCurrency3RoleName
FreeDefinedCurrency4RoleName
FreeDefinedCurrency5RoleName
FreeDefinedCurrency6RoleName
FreeDefinedCurrency7RoleName
FreeDefinedCurrency8RoleName

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 I_CurrencyTypesCorrespnc.
-- 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: ICURRTPCORR

CREATE VIEW I_CurrencyTypesCorrespnc AS
SELECT
  Ledger,
  CompanyCode,
  FiscalYearVariant,
  CompanyCodeCurrencyRole,
  GlobalCurrencyRole,
  FreeDefinedCurrency1Role,
  FreeDefinedCurrency2Role,
  FreeDefinedCurrency3Role,
  FreeDefinedCurrency4Role,
  FreeDefinedCurrency5Role,
  FreeDefinedCurrency6Role,
  FreeDefinedCurrency7Role,
  FreeDefinedCurrency8Role,
  AccountingPrinciple,
  cast(curtcc_text.CurrencyRoleName as fins_curtype_h_t ) AS CompanyCodeCurrencyRoleName,
  cast(curtgc_text.CurrencyRoleName as fins_curtype_k_t ) AS GlobalCurrencyRoleName,
  cast(curtp1_text.CurrencyRoleName as fins_curtype_o_t ) AS FreeDefinedCurrency1RoleName,
  cast(curtp2_text.CurrencyRoleName as fins_curtype_v_t ) AS FreeDefinedCurrency2RoleName,
  cast(curtp3_text.CurrencyRoleName as fins_curtype_b_t ) AS FreeDefinedCurrency3RoleName,
  cast(curtp4_text.CurrencyRoleName as fins_curtype_c_t ) AS FreeDefinedCurrency4RoleName,
  cast(curtp5_text.CurrencyRoleName as fins_curtype_d_t ) AS FreeDefinedCurrency5RoleName,
  cast(curtp6_text.CurrencyRoleName as fins_curtype_e_t ) AS FreeDefinedCurrency6RoleName,
  cast(curtp7_text.CurrencyRoleName as fins_curtype_f_t ) AS FreeDefinedCurrency7RoleName,
  cast(curtp8_text.CurrencyRoleName as fins_curtype_g_t ) AS FreeDefinedCurrency8RoleName
FROM I_LedgerCompanyCodeCrcyRoles
LEFT OUTER JOIN I_CurrencyRoleText AS curtcc_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtgc_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp1_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp2_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp3_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp4_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp5_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp6_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp7_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrencyRoleText AS curtp8_text ON /* join condition not captured in parsed metadata */
;