I_PRAStateInterestOption

DDL: I_PRASTATEINTERESTOPTION SQL: ISTINTOPT Type: view BASIC Package: OIU_VDM_CDS

PRA State Interest Option

I_PRAStateInterestOption is a Basic CDS View that provides data about "PRA State Interest Option" in SAP S/4HANA. It reads from 1 data source (/pra/int_st_opt) and exposes 17 fields with key fields Country, PrimaryGeogrlLocation, PRAInterestOption, PRAStateIntrstOptnEffctvFrmDte. It has 6 associations to related views. Part of development package OIU_VDM_CDS.

Data Sources (1)

SourceAliasJoin Type
/pra/int_st_opt /pra/int_st_opt from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_CountryVH _Country $projection.Country = _Country.Country
[0..1] I_PrimaryGeogrlLocation _PrimaryGeogrlLocation $projection.Country = _PrimaryGeogrlLocation.Country and $projection.PrimaryGeogrlLocation = _PrimaryGeogrlLocation.PrimaryGeogrlLocation
[0..1] I_PRAInterestFormulaNumberVH _PRAInterestFormulaNumberVH $projection.PRAInterestFormulaNumber = _PRAInterestFormulaNumberVH.PRAInterestFormulaNumber
[0..1] I_PRAInterestRateDateSel _PRAInterestRateDateSel $projection.PRAInterestRateDateSelection = _PRAInterestRateDateSel.PRAInterestRateDateSelection
[0..1] I_PRAInterestCalcType _PRAInterestCalcType $projection.PRAInterestCalculationType = _PRAInterestCalcType.PRAInterestCalculationType

Annotations (13)

NameValueLevelField
EndUserText.label PRA State Interest Option view
AbapCatalog.sqlViewName ISTINTOPT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey PRAInterestOption view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Country land1 Trip Ctry/Reg
KEY PrimaryGeogrlLocation pri_geo_loc Primary geo.loc
KEY PRAInterestOption int_opt InterestCalcOption
KEY PRAStateIntrstOptnEffctvFrmDte eff_from_dt Effective From Date
PRAStateIntrstOptnEffctvToDate eff_to_dt Effective To Date
PRAInterestFormulaNumber frml_no Formula Number
PRAInterestOptionDesc int_opt_desc Interest Option Desc
PRAInterestRateDateSelection int_rt_dt_sel InterestRateDateSel
PRAInterestCalculationType int_type Obj. Type
CreatedByUser Created By
CreationDateTime Timestamp
_CreatedByUser _CreatedByUser
_Country _Country
_PrimaryGeogrlLocation _PrimaryGeogrlLocation
_PRAInterestFormulaNumberVH _PRAInterestFormulaNumberVH
_PRAInterestRateDateSel _PRAInterestRateDateSel
_PRAInterestCalcType _PRAInterestCalcType

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_PRAStateInterestOption.
-- 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: ISTINTOPT

CREATE VIEW I_PRAStateInterestOption AS
SELECT
  land1 AS Country,
  pri_geo_loc AS PrimaryGeogrlLocation,
  int_opt AS PRAInterestOption,
  eff_from_dt AS PRAStateIntrstOptnEffctvFrmDte,
  eff_to_dt AS PRAStateIntrstOptnEffctvToDate,
  frml_no AS PRAInterestFormulaNumber,
  int_opt_desc AS PRAInterestOptionDesc,
  int_rt_dt_sel AS PRAInterestRateDateSelection,
  int_type AS PRAInterestCalculationType,
  cast( oiu_cruser as fclm_bam_created_by ) AS CreatedByUser,
  cast( oiu_timestamp as oiu_vdm_created_on_ts ) AS CreationDateTime
FROM /pra/int_st_opt
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_CountryVH AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_PrimaryGeogrlLocation AS _PrimaryGeogrlLocation ON Country = _PrimaryGeogrlLocation.Country AND PrimaryGeogrlLocation = _PrimaryGeogrlLocation.PrimaryGeogrlLocation  -- association [0..1]
LEFT OUTER JOIN I_PRAInterestFormulaNumberVH AS _PRAInterestFormulaNumberVH ON PRAInterestFormulaNumber = _PRAInterestFormulaNumberVH.PRAInterestFormulaNumber  -- association [0..1]
LEFT OUTER JOIN I_PRAInterestRateDateSel AS _PRAInterestRateDateSel ON PRAInterestRateDateSelection = _PRAInterestRateDateSel.PRAInterestRateDateSelection  -- association [0..1]
LEFT OUTER JOIN I_PRAInterestCalcType AS _PRAInterestCalcType ON PRAInterestCalculationType = _PRAInterestCalcType.PRAInterestCalculationType  -- association [0..1]
;