C_Reviews

DDL: C_REVIEWS SQL: CREVIEWS Type: view CONSUMPTION

Reviews of Catalog Items

C_Reviews is a Consumption CDS View that provides data about "Reviews of Catalog Items" in SAP S/4HANA. It reads from 1 data source (I_Reviews) and exposes 8 fields with key fields OpnCtlgItemID, UserID.

Data Sources (1)

SourceAliasJoin Type
I_Reviews prreviews from

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ClientDependent true view
Search.searchable true view
AbapCatalog.sqlViewName CREVIEWS view
EndUserText.label Reviews of Catalog Items view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgItemID I_Reviews OpnCtlgItemID Catalog Item Key
KEY UserID I_Reviews UserID User ID
OpnCtlgExternalProductID I_Reviews OpnCtlgExternalProductID External Product Id
OpnCtlgWebServiceID I_Reviews OpnCtlgWebServiceID Ws Service Id
UsageRating I_Reviews OpenCatalogUserRatingValue Rating
ReviewedByUser I_Reviews OpenCatalogItemReviewText Review
ChangedDateTime I_Reviews OpnCtlgChangedDateTimeValue Date Time
UserName _USER UserDescription User Name

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 C_Reviews.
-- 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: CREVIEWS

CREATE VIEW C_Reviews AS
SELECT
  prreviews.OpnCtlgItemID AS OpnCtlgItemID,
  prreviews.UserID AS UserID,
  prreviews.OpnCtlgExternalProductID AS OpnCtlgExternalProductID,
  prreviews.OpnCtlgWebServiceID AS OpnCtlgWebServiceID,
  prreviews.OpenCatalogUserRatingValue AS UsageRating,
  prreviews.OpenCatalogItemReviewText AS ReviewedByUser,
  prreviews.OpnCtlgChangedDateTimeValue AS ChangedDateTime,
  _USER.UserDescription AS UserName
FROM I_Reviews AS prreviews
;