I_FinTransUndrlgTransaction

DDL: I_FINTRANSUNDRLGTRANSACTION SQL: IFINTRASUNDRLG Type: view BASIC

Fin Trans Underlying Transaction

I_FinTransUndrlgTransaction is a Basic CDS View that provides data about "Fin Trans Underlying Transaction" in SAP S/4HANA. It reads from 1 data source (vtifha) and exposes 48 fields with key fields CompanyCode, OptionUnderlyingTransaction. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vtifha Underlying from

Associations (15)

CardinalityTargetAliasCondition
[0..1] I_Currency _OutgoingCurrency $projection.FinInstrumentOutgoingCurrency = _OutgoingCurrency.Currency
[0..1] I_Currency _IncomingCurrency $projection.FinInstrumentIncomingCurrency = _IncomingCurrency.Currency
[0..1] I_TreasuryContractType _ContractType $projection.TreasuryContractType = _ContractType.TreasuryContractType
[0..1] I_FinancialInstrProdCat _FinancialInstrProdCat $projection.FinancialInstrProductCategory = _FinancialInstrProdCat.FinancialInstrProductCategory
[0..1] I_FinInstrTransCat _FinInstrTransCat $projection.FinancialInstrProductCategory = _FinInstrTransCat.FinancialInstrProductCategory and $projection.FinInstrTransactionCategory = _FinInstrTransCat.FinInstrTransactionCategory
[0..1] I_FinancialinstrProductType _UnderlyingProdType $projection.FinancialInstrumentProductType = _UnderlyingProdType.FinancialInstrumentProductType
[1..1] I_FinancialInstrTransType _FinancialInstrTransType $projection.FinancialInstrTransactionType = _FinancialInstrTransType.FinancialInstrTransactionType and $projection.FinancialInstrumentProductType = _FinancialInstrTransType.FinancialInstrumentProductType
[0..1] I_FinInstrumentStatus _Status $projection.FinancialInstrumentStatus = _Status.FinancialInstrumentStatus
[1..1] I_Ftr_Counterparty _Counterparty $projection.Counterparty = _Counterparty.BusinessPartner
[0..1] I_TreasuryPortfolio _Portfolio $projection.CompanyCode = _Portfolio.CompanyCode and $projection.Portfolio = _Portfolio.Portfolio
[0..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[1..1] I_FXTradingActivity _BuySell $projection.TrsyTradedAmountBuySellCode = _BuySell.ForeignExchangeTradingActivity
[0..1] I_SecurityAccount _SecurityAccount $projection.SecurityAccount = _SecurityAccount.SecurityAccount and $projection.CompanyCode = _SecurityAccount.CompanyCode
[0..1] I_SecurityClass _SecurityClass $projection.SecurityClass = _SecurityClass.SecurityClass
[0..1] I_Financialinstrvaluationclass _ValuationClass $projection.TreasuryValuationClass = _ValuationClass.FinancialInstrValuationClass

Annotations (10)

NameValueLevelField
EndUserText.label Fin Trans Underlying Transaction view
AbapCatalog.sqlViewName IFINTRASUNDRLG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode vtifha bukrs Value
KEY OptionUnderlyingTransaction
TermStartDate vtifha dblfz Term Start
TermEndDate vtifha delfz Term End
FinInstrumentOutgoingCurrency vtifha wgschft1 Outg. Currency
FinInstrumentIncomingCurrency vtifha wgschft2 Incoming Curr.
CreatedByUser vtifha cruser User Name
FinTransCreationDate
FinTransCreationTime vtifha tcrtim Entry Time
LastChangedByUser vtifha upuser Changed by
LastChangeDate vtifha dupdat Changed On
FinInstrumentLastChangedTime vtifha tuptim Time Changed
TreasuryContractType vtifha rantyp Contract Type
FinancialInstrProductCategory vtifha sanlf Prod. Category
FinInstrTransactionCategory vtifha sfgtyp Transaction Cat
FinancialInstrumentProductType vtifha sgsart Product Type
FinancialInstrTransactionType vtifha sfhaart Transactn Type
FinInstrLastActiveActivity vtifha rfhazul Active activity
FinancialInstrumentStatus vtifha saktiv Active Status
Counterparty vtifha kontrh Partner
Portfolio vtifha rportb Portfolio
TransactionCurrency vtifha wgschft Trans. Crcy
FinTransFactoryCalendar1
FinTransFactoryCalendar2
FinTransNoticePeriod vtifha akuend Notice Period
FinTransNoticePeriodUnit vtifha skuend Unit
TreasuryFinancialObject vtifha objnr Val. Obj. No.
SecurityAccount vtifha rldepo Securities Acct
TreasuryFinanceProject vtifha zuonr Finance Project
FinTransProcessingCategory vtifha abwtyp Processing Cat.
ranlendasvvranlwasSecurityClass
TermStartDateIsInclusive vtifha sinclbe End Inclusive
TreasuryValuationClass vtifha rcomvalcl Gen. Valn Class
_OutgoingCurrency _OutgoingCurrency
_IncomingCurrency _IncomingCurrency
_ContractType _ContractType
_FinancialInstrProdCat _FinancialInstrProdCat
_FinInstrTransCat _FinInstrTransCat
_UnderlyingProdType _UnderlyingProdType
_FinancialInstrTransType _FinancialInstrTransType
_Status _Status
_Counterparty _Counterparty
_Portfolio _Portfolio
_Currency _Currency
_BuySell _BuySell
_SecurityAccount _SecurityAccount
_SecurityClass _SecurityClass
_ValuationClass _ValuationClass

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_FinTransUndrlgTransaction.
-- 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: IFINTRASUNDRLG

CREATE VIEW I_FinTransUndrlgTransaction AS
SELECT
  Underlying.bukrs AS CompanyCode,
  cast( Underlying.rfha as option_underlying_transaction preserving type ) AS OptionUnderlyingTransaction,
  Underlying.dblfz AS TermStartDate,
  Underlying.delfz AS TermEndDate,
  Underlying.wgschft1 AS FinInstrumentOutgoingCurrency,
  Underlying.wgschft2 AS FinInstrumentIncomingCurrency,
  Underlying.cruser AS CreatedByUser,
  cast( Underlying.dcrdat as ftr_creation_date preserving type ) AS FinTransCreationDate,
  Underlying.tcrtim AS FinTransCreationTime,
  Underlying.upuser AS LastChangedByUser,
  Underlying.dupdat AS LastChangeDate,
  Underlying.tuptim AS FinInstrumentLastChangedTime,
  Underlying.rantyp AS TreasuryContractType,
  Underlying.sanlf AS FinancialInstrProductCategory,
  Underlying.sfgtyp AS FinInstrTransactionCategory,
  Underlying.sgsart AS FinancialInstrumentProductType,
  Underlying.sfhaart AS FinancialInstrTransactionType,
  Underlying.rfhazul AS FinInstrLastActiveActivity,
  Underlying.saktiv AS FinancialInstrumentStatus,
  Underlying.kontrh AS Counterparty,
  Underlying.rportb AS Portfolio,
  Underlying.wgschft AS TransactionCurrency,
  cast( Underlying.skalid as ftr_factory_calendar1 preserving type ) AS FinTransFactoryCalendar1,
  cast( Underlying.skalid2 as ftr_factory_calendar2 preserving type ) AS FinTransFactoryCalendar2,
  Underlying.akuend AS FinTransNoticePeriod,
  Underlying.skuend AS FinTransNoticePeriodUnit,
  Underlying.objnr AS TreasuryFinancialObject,
  Underlying.rldepo AS SecurityAccount,
  Underlying.zuonr AS TreasuryFinanceProject,
  Underlying.abwtyp AS FinTransProcessingCategory,
  cast( case when Underlying.ranl is initial then Underlying.rgatt else Underlying.ranl end as vvranlw ) as SecurityClass AS ranlendasvvranlwasSecurityClass,
  Underlying.sinclbe AS TermStartDateIsInclusive,
  Underlying.rcomvalcl AS TreasuryValuationClass
FROM vtifha AS Underlying
LEFT OUTER JOIN I_Currency AS _OutgoingCurrency ON FinInstrumentOutgoingCurrency = _OutgoingCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _IncomingCurrency ON FinInstrumentIncomingCurrency = _IncomingCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_TreasuryContractType AS _ContractType ON TreasuryContractType = _ContractType.TreasuryContractType  -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrProdCat AS _FinancialInstrProdCat ON FinancialInstrProductCategory = _FinancialInstrProdCat.FinancialInstrProductCategory  -- association [0..1]
LEFT OUTER JOIN I_FinInstrTransCat AS _FinInstrTransCat ON FinancialInstrProductCategory = _FinInstrTransCat.FinancialInstrProductCategory AND FinInstrTransactionCategory = _FinInstrTransCat.FinInstrTransactionCategory  -- association [0..1]
LEFT OUTER JOIN I_FinancialinstrProductType AS _UnderlyingProdType ON FinancialInstrumentProductType = _UnderlyingProdType.FinancialInstrumentProductType  -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrTransType AS _FinancialInstrTransType ON FinancialInstrTransactionType = _FinancialInstrTransType.FinancialInstrTransactionType AND FinancialInstrumentProductType = _FinancialInstrTransType.FinancialInstrumentProductType  -- association [1..1]
LEFT OUTER JOIN I_FinInstrumentStatus AS _Status ON FinancialInstrumentStatus = _Status.FinancialInstrumentStatus  -- association [0..1]
LEFT OUTER JOIN I_Ftr_Counterparty AS _Counterparty ON Counterparty = _Counterparty.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_TreasuryPortfolio AS _Portfolio ON CompanyCode = _Portfolio.CompanyCode AND Portfolio = _Portfolio.Portfolio  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_FXTradingActivity AS _BuySell ON TrsyTradedAmountBuySellCode = _BuySell.ForeignExchangeTradingActivity  -- association [1..1]
LEFT OUTER JOIN I_SecurityAccount AS _SecurityAccount ON SecurityAccount = _SecurityAccount.SecurityAccount AND CompanyCode = _SecurityAccount.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_SecurityClass AS _SecurityClass ON SecurityClass = _SecurityClass.SecurityClass  -- association [0..1]
LEFT OUTER JOIN I_Financialinstrvaluationclass AS _ValuationClass ON TreasuryValuationClass = _ValuationClass.FinancialInstrValuationClass  -- association [0..1]
;