I_TrsyValueAtRiskCube
Treasury Value At Risk - Cube
I_TrsyValueAtRiskCube is a Composite CDS View (Cube) that provides data about "Treasury Value At Risk - Cube" in SAP S/4HANA. It reads from 1 data source (I_TrsyValueAtRiskPnLCharcs) and exposes 31 fields with key fields ValidityDate, TreasuryFinancialObject, MarketRiskKeyFigureSet. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TrsyValueAtRiskPnLCharcs | I_TrsyValueAtRiskPnLCharcs | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_ConfidenceLevelInPercent | ftr_mra_confidence_level |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_TrsyMktRskKeyFigureSet | _KeyFigureSet | _KeyFigureSet.MarketRiskKeyFigureSet = $projection.MarketRiskKeyFigureSet |
| [1..1] | I_CalendarDate | _ValidityDate | $projection.ValidityDate = _ValidityDate.CalendarDate |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITRVARC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #SWITCHED_OFF | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.readClassName | CL_FTR_MRA_VAR_OLAP_EXIT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | TreasuryFinancialObject | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Treasury Value At Risk - Cube | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ValidityDate | ValidityDate | Valid On | |
| KEY | TreasuryFinancialObject | TreasuryFinancialObject | ||
| KEY | MarketRiskKeyFigureSet | MarketRiskKeyFigureSet | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| TreasuryContractType | TreasuryContractType | Treasury Contract Type | ||
| FinancialInstrProductCategory | FinancialInstrProductCategory | |||
| FinancialInstrumentProductType | FinancialInstrumentProductType | |||
| Portfolio | Portfolio | Portfolio | ||
| FinancialTransaction | FinancialTransaction | Transaction | ||
| SecurityClass | SecurityClass | |||
| SecurityAccount | SecurityAccount | |||
| TreasuryPositionAccount | TreasuryPositionAccount | |||
| FinancialExposurePosition | FinancialExposurePosition | |||
| LoanContract | LoanContract | |||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| MktRiskCharacteristicCurrency | MktRiskCharacteristicCurrency | |||
| Country | Country | Venue: Ctry/Reg | ||
| FinancialInstrCharacteristic | FinancialInstrCharacteristic | Characteristics | ||
| ValueAtRiskInEvaluationCrcy | ValueAtRiskPnLAmtInEvalCrcy | |||
| _KeyFigureSet | _KeyFigureSet | |||
| _ValidityDate | _ValidityDate | |||
| _CompanyCode | _CompanyCode | |||
| _ProductCategory | _ProductCategory | |||
| _Portfolio | _Portfolio | |||
| _ContractType | _ContractType | |||
| _ProductType | _ProductType | |||
| _SecurityClass | _SecurityClass | |||
| _SecurityAccount | _SecurityAccount | |||
| _BusinessPartner | _BusinessPartner | |||
| _CharacteristicCurrency | _CharacteristicCurrency | |||
| _Country | _Country |
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_TrsyValueAtRiskCube.
-- 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.
-- Parameters: P_ConfidenceLevelInPercent : ftr_mra_confidence_level
CREATE VIEW I_TrsyValueAtRiskCube AS
SELECT
ValidityDate,
TreasuryFinancialObject,
MarketRiskKeyFigureSet,
CompanyCode,
TreasuryContractType,
FinancialInstrProductCategory,
FinancialInstrumentProductType,
Portfolio,
FinancialTransaction,
SecurityClass,
SecurityAccount,
TreasuryPositionAccount,
FinancialExposurePosition,
LoanContract,
BusinessPartner,
MktRiskCharacteristicCurrency,
Country,
FinancialInstrCharacteristic,
ValueAtRiskPnLAmtInEvalCrcy AS ValueAtRiskInEvaluationCrcy
FROM I_TrsyValueAtRiskPnLCharcs
LEFT OUTER JOIN I_TrsyMktRskKeyFigureSet AS _KeyFigureSet ON _KeyFigureSet.MarketRiskKeyFigureSet = MarketRiskKeyFigureSet -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _ValidityDate ON ValidityDate = _ValidityDate.CalendarDate -- association [1..1]
;
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