I_FinancialTransactionOption
Financial Transction Option
I_FinancialTransactionOption is a Basic CDS View that provides data about "Financial Transction Option" in SAP S/4HANA. It reads from 1 data source (vtiof) and exposes 19 fields with key field FinTransOptionNumber. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vtiof | Option | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FinancialinstrProductType | _FinancialInstrProdType | $projection.FinancialInstrumentProductType = _FinancialInstrProdType.FinancialInstrumentProductType |
| [1..1] | I_OptionExerciseType | _OptionExerciseType | $projection.OptionExerciseType = _OptionExerciseType.OptionExerciseType |
| [1..1] | I_OptionSettlementType | _OptionSettlementType | $projection.OptionSettlementType = _OptionSettlementType.OptionSettlementType |
| [0..1] | I_Currency | _LeadingCurrency | $projection.LeadingCurrency = _LeadingCurrency.Currency |
| [0..1] | I_Currency | _FollowingCurrency | $projection.FollowingCurrency = _FollowingCurrency.Currency |
| [1..1] | I_OptionPutCallCode | _OptionPutCall | $projection.OptionPutCallCode = _OptionPutCall.OptionPutCallCode |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Financial Transction Option | view | |
| AbapCatalog.sqlViewName | IFINTRANSOPTION | 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 (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinTransOptionNumber | vtiof | optnr | Class |
| FinancialTransaction | vtiof | orfha | Trans.No. | |
| FinancialInstrumentProductType | vtiof | sgsart | Product Type | |
| OptionExerciseType | vtiof | soptaus | Exercise Type | |
| OptionUnderlyingTransaction | ||||
| OptionSettlementType | ||||
| LeadingCurrency | vtiof | wlwaers | Lead. Currency | |
| FollowingCurrency | vtiof | wfwaers | Following Crcy | |
| OptionPutCallCode | vtiof | sputcal | Put/Call | |
| OptionExpirationDate | vtiof | dmatur | Expiration Date | |
| TermStartDate | vtiof | dofstar | StartTerm | |
| OptionUndrlgTradedAmount | vtiof | ostrike | Strike amount | |
| OptionUndrlgTradedCurrency | vtiof | ofwaers | Strike Currency | |
| _FinancialInstrProdType | _FinancialInstrProdType | |||
| _OptionExerciseType | _OptionExerciseType | |||
| _OptionSettlementType | _OptionSettlementType | |||
| _LeadingCurrency | _LeadingCurrency | |||
| _FollowingCurrency | _FollowingCurrency | |||
| _OptionPutCall | _OptionPutCall |
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_FinancialTransactionOption.
-- 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: IFINTRANSOPTION
CREATE VIEW I_FinancialTransactionOption AS
SELECT
Option.optnr AS FinTransOptionNumber,
Option.orfha AS FinancialTransaction,
Option.sgsart AS FinancialInstrumentProductType,
Option.soptaus AS OptionExerciseType,
cast( Option.rfha as OPTION_UNDERLYING_TRANSACTION preserving type ) AS OptionUnderlyingTransaction,
cast( Option.settlfl as OPTION_SETTLEMENT_TYPE preserving type ) AS OptionSettlementType,
Option.wlwaers AS LeadingCurrency,
Option.wfwaers AS FollowingCurrency,
Option.sputcal AS OptionPutCallCode,
Option.dmatur AS OptionExpirationDate,
Option.dofstar AS TermStartDate,
Option.ostrike AS OptionUndrlgTradedAmount,
Option.ofwaers AS OptionUndrlgTradedCurrency
FROM vtiof AS Option
LEFT OUTER JOIN I_FinancialinstrProductType AS _FinancialInstrProdType ON FinancialInstrumentProductType = _FinancialInstrProdType.FinancialInstrumentProductType -- association [0..1]
LEFT OUTER JOIN I_OptionExerciseType AS _OptionExerciseType ON OptionExerciseType = _OptionExerciseType.OptionExerciseType -- association [1..1]
LEFT OUTER JOIN I_OptionSettlementType AS _OptionSettlementType ON OptionSettlementType = _OptionSettlementType.OptionSettlementType -- association [1..1]
LEFT OUTER JOIN I_Currency AS _LeadingCurrency ON LeadingCurrency = _LeadingCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FollowingCurrency ON FollowingCurrency = _FollowingCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_OptionPutCallCode AS _OptionPutCall ON OptionPutCallCode = _OptionPutCall.OptionPutCallCode -- 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