I_TrsyPosSimulatedValuation

DDL: I_TRSYPOSSIMULATEDVALUATION Type: view_entity BASIC Package: FTR_TREASURY_LEDGER_CORE

Treasury Simulated Valuation

I_TrsyPosSimulatedValuation is a Basic CDS View (Dimension) that provides data about "Treasury Simulated Valuation" in SAP S/4HANA. It reads from 1 data source (tsvt_sim_val) and exposes 5 fields with key field TrsyPosSmltdValuationUUID. It has 2 associations to related views. Part of development package FTR_TREASURY_LEDGER_CORE.

Data Sources (1)

SourceAliasJoin Type
tsvt_sim_val tsvt_sim_val from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_TreasuryLedgerPosition _TreasuryLedgerPosition $projection.TreasuryPosition = _TreasuryLedgerPosition.TreasuryPosition
[1..1] I_TreasuryPositionIdentifier _PositionIdentifier ( $projection.TreasuryPosition = _PositionIdentifier.TreasuryPosition and _PositionIdentifier.TreasuryPositionContext = 'TRL' )

Annotations (14)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
AccessControl.authorizationCheck #CHECK view
Analytics.internalName #LOCAL view
EndUserText.label Treasury Simulated Valuation view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName ITRSYPOSSIMVAL view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey TrsyPosSmltdValuationUUID 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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY TrsyPosSmltdValuationUUID Lot
TrsyPosSmltdValuationKeyDate key_date Simulation Date
TreasuryPosition DB Object ID
_TreasuryLedgerPosition _TreasuryLedgerPosition
_PositionIdentifier _PositionIdentifier

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_TrsyPosSimulatedValuation.
-- 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 I_TrsyPosSimulatedValuation AS
SELECT
  cast (os_guid as ftr_gen_sim_val_uuid preserving type) AS TrsyPosSmltdValuationUUID,
  key_date AS TrsyPosSmltdValuationKeyDate,
  cast(position_oid as ftr_gen_position_uuid preserving type) AS TreasuryPosition
FROM tsvt_sim_val
LEFT OUTER JOIN I_TreasuryLedgerPosition AS _TreasuryLedgerPosition ON TreasuryPosition = _TreasuryLedgerPosition.TreasuryPosition  -- association [1..1]
LEFT OUTER JOIN I_TreasuryPositionIdentifier AS _PositionIdentifier ON ( TreasuryPosition = _PositionIdentifier.TreasuryPosition AND _PositionIdentifier.TreasuryPositionContext = 'TRL' )  -- association [1..1]
;