P_UndrlgErlstMainInterestCndn

DDL: P_UNDRLGERLSTMAININTERESTCNDN SQL: PUNDERLSTINTCNDN Type: view COMPOSITE

P_UndrlgErlstMainInterestCndn is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (R_FinTransUndrlgMainIntrstCndn, P_UndrlgMainCndnErlstStrtDte) and exposes 11 fields with key fields OptionUnderlyingTransaction, FinancialInstrumentActivity, FinancialTransactionDirection, FinConditionItem, ConditionItemValidityStartDate.

Data Sources (2)

SourceAliasJoin Type
R_FinTransUndrlgMainIntrstCndn UnderlyingCondition inner
P_UndrlgMainCndnErlstStrtDte UnderlyingMain from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PUNDERLSTINTCNDN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY OptionUnderlyingTransaction P_UndrlgMainCndnErlstStrtDte OptionUnderlyingTransaction
KEY FinancialInstrumentActivity P_UndrlgMainCndnErlstStrtDte FinancialInstrumentActivity Activity
KEY FinancialTransactionDirection P_UndrlgMainCndnErlstStrtDte FinancialTransactionDirection Direction
KEY FinConditionItem P_UndrlgMainCndnErlstStrtDte FinConditionItem Condition
KEY ConditionItemValidityStartDate P_UndrlgMainCndnErlstStrtDte ConditionItemValidityStartDate Item Eff. From
KEY FinConditionSubItem P_UndrlgMainCndnErlstStrtDte FinConditionSubItem Level Number
ConditionPercentageRate R_FinTransUndrlgMainIntrstCndn ConditionPercentageRate Percentage Rate
InterestReference R_FinTransUndrlgMainIntrstCndn InterestReference Ref.int.rate
InterestCalculationMethod R_FinTransUndrlgMainIntrstCndn InterestCalculationMethod Int.calc.method
FinConditionInterestCategory R_FinTransUndrlgMainIntrstCndn FinConditionInterestCategory
InterestMarkupMarkdownValue R_FinTransUndrlgMainIntrstCndn InterestMarkupMarkdownValue

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 P_UndrlgErlstMainInterestCndn.
-- 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: PUNDERLSTINTCNDN

CREATE VIEW P_UndrlgErlstMainInterestCndn AS
SELECT
  UnderlyingMain.OptionUnderlyingTransaction AS OptionUnderlyingTransaction,
  UnderlyingMain.FinancialInstrumentActivity AS FinancialInstrumentActivity,
  UnderlyingMain.FinancialTransactionDirection AS FinancialTransactionDirection,
  UnderlyingMain.FinConditionItem AS FinConditionItem,
  UnderlyingMain.ConditionItemValidityStartDate AS ConditionItemValidityStartDate,
  UnderlyingMain.FinConditionSubItem AS FinConditionSubItem,
  UnderlyingCondition.ConditionPercentageRate AS ConditionPercentageRate,
  UnderlyingCondition.InterestReference AS InterestReference,
  UnderlyingCondition.InterestCalculationMethod AS InterestCalculationMethod,
  UnderlyingCondition.FinConditionInterestCategory AS FinConditionInterestCategory,
  UnderlyingCondition.InterestMarkupMarkdownValue AS InterestMarkupMarkdownValue
FROM P_UndrlgMainCndnErlstStrtDte AS UnderlyingMain
INNER JOIN R_FinTransUndrlgMainIntrstCndn AS UnderlyingCondition ON /* join condition not captured in parsed metadata */
;