I_ProdCmplncRatingText

DDL: I_PRODCMPLNCRATINGTEXT SQL: IPCPRPTRTGTXT Type: view BASIC

Rating of Product Compliance Property Text

I_ProdCmplncRatingText is a Basic CDS View that provides data about "Rating of Product Compliance Property Text" in SAP S/4HANA. It reads from 1 data source (ehfndc_rating_t) and exposes 5 fields with key fields PCPrptyRating, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndc_rating_t ehfndc_rating_t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ProdCmplncRating _ProdCmplncRating $projection.PCPrptyRating = _ProdCmplncRating.PCPrptyRating
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPCPRPTRTGTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Rating of Product Compliance Property Text view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey PCPrptyRating view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PCPrptyRating code Water Hazard Cl.
KEY Language language Report Text Language
PCPrptyRatingText Description(XS)
_ProdCmplncRating _ProdCmplncRating
_Language _Language

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_ProdCmplncRatingText.
-- 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: IPCPRPTRTGTXT

CREATE VIEW I_ProdCmplncRatingText AS
SELECT
  code AS PCPrptyRating,
  Language,
  cast( description_xs as ehfnd_rating_text preserving type ) AS PCPrptyRatingText
FROM ehfndc_rating_t
LEFT OUTER JOIN I_ProdCmplncRating AS _ProdCmplncRating ON PCPrptyRating = _ProdCmplncRating.PCPrptyRating  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;