I_TrsySmltdValnPosValues
Treasury Simulated Valuation: Pos Values
I_TrsySmltdValnPosValues is a Basic CDS View that provides data about "Treasury Simulated Valuation: Pos Values" in SAP S/4HANA. It reads from 1 data source (tsvt_key_figures) and exposes 18 fields with key field TrsyPosSmltdValnPosValUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tsvt_key_figures | tsvt_key_figures | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_TrsyPosSimulatedValuation | _TrsyPosSimulatedValuation | $projection.TrsyPosSmltdValuationUUID = _TrsyPosSimulatedValuation.TrsyPosSmltdValuationUUID |
| [0..1] | I_Currency | _NominalCurrency | $projection.NominalCurrency = _NominalCurrency.Currency |
| [0..1] | I_Currency | _PositionCurrency | $projection.PositionCurrency = _PositionCurrency.Currency |
| [0..1] | I_Currency | _ValuationCurrency | $projection.ValuationCurrency = _ValuationCurrency.Currency |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AbapCatalog.sqlViewName | ITRSYSVPV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | TrsyPosSmltdValnPosValUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Treasury Simulated Valuation: Pos Values | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrsyPosSmltdValnPosValUUID | Lot | ||
| TrsyPosSmltdValuationUUID | DB Object ID | |||
| TrsySubPosition | GUID | |||
| TrsyLdgrPosComp | pos_comp | Position comp. | ||
| TrsySmltdPerEndClsKeyFigCat | key_figure_category | Key Figure Category | ||
| QuantityInPieces | Units (Short) | |||
| NominalCurrency | Nominal Crcy | |||
| NominalAmountInNominalCurrency | nominal_amt | Nominal Amount | ||
| OriglNominalAmtInNominalCrcy | nominal_org_amt | Original Nom.Amt PC | ||
| PositionCurrency | Transaction Currency | |||
| AmountInPositionCurrency | Transact.Crcy Amount | |||
| IndexCleanAmountInPositionCrcy | Index-Clean | |||
| ValuationCurrency | Valuation Currency | |||
| AmountInValuationCurrency | Amount ValnCrcy | |||
| _TrsyPosSimulatedValuation | _TrsyPosSimulatedValuation | |||
| _NominalCurrency | _NominalCurrency | |||
| _PositionCurrency | _PositionCurrency | |||
| _ValuationCurrency | _ValuationCurrency |
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_TrsySmltdValnPosValues.
-- 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: ITRSYSVPV
CREATE VIEW I_TrsySmltdValnPosValues AS
SELECT
cast (os_guid as ftr_gen_sim_val_pos_val_uuid preserving type) AS TrsyPosSmltdValnPosValUUID,
cast (simulation_oid as ftr_gen_sim_val_uuid preserving type) AS TrsyPosSmltdValuationUUID,
cast (subposition_oid as ftr_gen_subpos_uuid preserving type) AS TrsySubPosition,
pos_comp AS TrsyLdgrPosComp,
key_figure_category AS TrsySmltdPerEndClsKeyFigCat,
cast (units as ftr_gen_quantity_in_units_l) AS QuantityInPieces,
cast (nominal_curr as ftr_gen_nominal_currency preserving type) AS NominalCurrency,
nominal_amt AS NominalAmountInNominalCurrency,
nominal_org_amt AS OriglNominalAmtInNominalCrcy,
cast (position_curr as ftr_gen_position_crcy preserving type) AS PositionCurrency,
cast (position_amt as ftr_gen_amount_position_crcy preserving type) AS AmountInPositionCurrency,
cast (posamt_idx_clean as ftr_gen_idxcln_amnt_pstn_crcy preserving type) AS IndexCleanAmountInPositionCrcy,
cast (valuation_curr as ftr_gen_valuation_currency preserving type) AS ValuationCurrency,
cast (valuation_amt as ftr_gen_amount_valuation_crcy preserving type) AS AmountInValuationCurrency
FROM tsvt_key_figures
LEFT OUTER JOIN I_TrsyPosSimulatedValuation AS _TrsyPosSimulatedValuation ON TrsyPosSmltdValuationUUID = _TrsyPosSimulatedValuation.TrsyPosSmltdValuationUUID -- association [1..1]
LEFT OUTER JOIN I_Currency AS _NominalCurrency ON NominalCurrency = _NominalCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _PositionCurrency ON PositionCurrency = _PositionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ValuationCurrency ON ValuationCurrency = _ValuationCurrency.Currency -- association [0..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