P_SimulationFavorite

DDL: P_SIMULATIONFAVORITE SQL: PSIMFAVORITE Type: view BASIC

P_SimulationFavorite is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (vch_sim_favorite) and exposes 5 fields.

Data Sources (1)

SourceAliasJoin Type
vch_sim_favorite vch_sim_favorite from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PSIMFAVORITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
UserAlias vch_sim_favorite user_id User Scope
Type vch_sim_favorite object_type Type
ConfigurationObject
ConfigurationObjectItem
IsFavoriteConfigurationObject

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_SimulationFavorite.
-- 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: PSIMFAVORITE

CREATE VIEW P_SimulationFavorite AS
SELECT
  vch_sim_favorite.user_id AS UserAlias,
  vch_sim_favorite.object_type AS Type,
  cast(vch_sim_favorite.object_id as vchclf_sim_conf_object) AS ConfigurationObject,
  cast(vch_sim_favorite.object_item_id as vchclf_sim_conf_object_item) AS ConfigurationObjectItem,
  #CDSBOOLEAN.'TRUE' AS IsFavoriteConfigurationObject
FROM vch_sim_favorite
;