I_ScrtyClSubscrpnPeriod

DDL: I_SCRTYCLSUBSCRPNPERIOD Type: view_entity COMPOSITE Package: FTR_SECURITIES_CORE

Subscription Period

I_ScrtyClSubscrpnPeriod is a Composite CDS View that provides data about "Subscription Period" in SAP S/4HANA. It reads from 2 data sources (I_ExecutableRightHeader, I_ExecutableRightItem) and exposes 10 fields with key fields SubscriptionRightSecurityClass, SubscrpnRghtUnderlyingScrtyCl. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3966). Part of development package FTR_SECURITIES_CORE.

Data Sources (2)

SourceAliasJoin Type
I_ExecutableRightHeader Header from
I_ExecutableRightItem Item inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SecurityClass _SecurityClass $projection.SubscriptionRightSecurityClass = _SecurityClass.SecurityClass

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Subscription Period view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3966 ASQL_F3966 C2 NOT_RELEASED

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionRightSecurityClass
KEY SubscrpnRghtUnderlyingScrtyCl
ScrtyClSubscrpnRatioNumerator
ScrtyClSubscrpnRatioDnmntr
ScrtyClSubscrpnRghtPrice
ScrtyClSubscrpnRghtPriceCrcy
ScrtyClSubscrpnRghtPerdFrmDte
ScrtyClSubscrpnRghtPerdToDte
ScrtyClSubscrpnRghtDescription
_SecurityClass _SecurityClass

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_ScrtyClSubscrpnPeriod.
-- 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_ScrtyClSubscrpnPeriod AS
SELECT
  cast(Item.ReferenceSecurityClass as ftr_sc_sr_ranl preserving type ) AS SubscriptionRightSecurityClass,
  cast(Item.SecurityClassToBeTransferred as ftr_sc_sr_ul_ranl preserving type ) AS SubscrpnRghtUnderlyingScrtyCl,
  cast(Header.ExerciseOptionRatioNumerator as ftr_sc_sr_bovza preserving type ) AS ScrtyClSubscrpnRatioNumerator,
  cast(Header.ExerciseOptionRatioDenominator as ftr_sc_sr_bovne preserving type ) AS ScrtyClSubscrpnRatioDnmntr,
  cast(Header.ExecutableRightExercisePrice as ftr_sc_sr_bbasprei preserving type ) AS ScrtyClSubscrpnRghtPrice,
  cast(Header.ExectblRghtExercisePriceCrcy as ftr_sc_sr_rwhrbas preserving type ) AS ScrtyClSubscrpnRghtPriceCrcy,
  cast(Header.ExecutableRightTermFromDate as ftr_sc_sr_dlavo preserving type ) AS ScrtyClSubscrpnRghtPerdFrmDte,
  cast(Header.ExecutableRightTermToDate as ftr_sc_sr_dlabi preserving type ) AS ScrtyClSubscrpnRghtPerdToDte,
  cast(Header.ExecutableRightDescription as ftr_sc_sr_kurztext preserving type ) AS ScrtyClSubscrpnRghtDescription
FROM I_ExecutableRightHeader AS Header
INNER JOIN I_ExecutableRightItem AS Item ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SecurityClass AS _SecurityClass ON SubscriptionRightSecurityClass = _SecurityClass.SecurityClass  -- association [1..1]
;