P_SecuritiesClassRating

DDL: P_SECURITIESCLASSRATING SQL: PMMSECCLSNEWRATG Type: view COMPOSITE Package: FTR_SECURITIES_CORE

Private view for getting securities class new rating

P_SecuritiesClassRating is a Composite CDS View that provides data about "Private view for getting securities class new rating" in SAP S/4HANA. It reads from 2 data sources (I_SecuritiesClassRating, P_TrsySecuritiesClRatgDfltSttg) and exposes 5 fields with key fields SecurityClass, SecuritiesClassRatingProcedure, SecuritiesClRatgValdtyStrtDate. Part of development package FTR_SECURITIES_CORE.

Data Sources (2)

SourceAliasJoin Type
I_SecuritiesClassRating ClassRating from
P_TrsySecuritiesClRatgDfltSttg Setting inner

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PMMSECCLSNEWRATG view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SecurityClass I_SecuritiesClassRating SecurityClass Security Class
KEY SecuritiesClassRatingProcedure I_SecuritiesClassRating SecuritiesClassRatingProcedure Valuation Procedure
KEY SecuritiesClRatgValdtyStrtDate I_SecuritiesClassRating SecuritiesClRatgValdtyStrtDate
SecuritiesClRatgValdtyEndDate I_SecuritiesClassRating SecuritiesClRatgValdtyEndDate
SecuritiesClassRating I_SecuritiesClassRating SecuritiesClassRating

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_SecuritiesClassRating.
-- 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: PMMSECCLSNEWRATG
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_SecuritiesClassRating AS
SELECT
  ClassRating.SecurityClass AS SecurityClass,
  ClassRating.SecuritiesClassRatingProcedure AS SecuritiesClassRatingProcedure,
  ClassRating.SecuritiesClRatgValdtyStrtDate AS SecuritiesClRatgValdtyStrtDate,
  ClassRating.SecuritiesClRatgValdtyEndDate AS SecuritiesClRatgValdtyEndDate,
  ClassRating.SecuritiesClassRating AS SecuritiesClassRating
FROM I_SecuritiesClassRating AS ClassRating
INNER JOIN P_TrsySecuritiesClRatgDfltSttg AS Setting ON /* join condition not captured in parsed metadata */
;