I_CurrencyTypesCorrespnc
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA