P_SecurityClassCreditStanding

DDL: P_SECURITYCLASSCREDITSTANDING SQL: PMMSECCRDTSTNDG Type: view COMPOSITE

P_SecurityClassCreditStanding is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_SecurityClassRating, I_TreasuryRatingGeneralSetting) and exposes 5 fields with key fields SecurityClass, CreditRatingAgency, EffectiveValidityStartDate, EffectiveValidityEndDate.

Data Sources (2)

SourceAliasJoin Type
I_SecurityClassRating ClassCredit from
I_TreasuryRatingGeneralSetting setting inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PMMSECCRDTSTNDG 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_SecurityClassRating SecurityClass Security Class
KEY CreditRatingAgency I_SecurityClassRating CreditRatingAgency Institution
KEY EffectiveValidityStartDate I_SecurityClassRating EffectiveValidityStartDate Validity Start Time
KEY EffectiveValidityEndDate I_SecurityClassRating EffectiveValidityEndDate
CreditRating I_SecurityClassRating CreditRating Use of Data

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_SecurityClassCreditStanding.
-- 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: PMMSECCRDTSTNDG

CREATE VIEW P_SecurityClassCreditStanding AS
SELECT
  ClassCredit.SecurityClass AS SecurityClass,
  ClassCredit.CreditRatingAgency AS CreditRatingAgency,
  ClassCredit.EffectiveValidityStartDate AS EffectiveValidityStartDate,
  ClassCredit.EffectiveValidityEndDate AS EffectiveValidityEndDate,
  ClassCredit.CreditRating AS CreditRating
FROM I_SecurityClassRating AS ClassCredit
INNER JOIN I_TreasuryRatingGeneralSetting AS setting ON /* join condition not captured in parsed metadata */
;