demo_cds_session_variables

DDL: DEMO_CDS_SESSION_VARIABLES SQL: DEMO_CDS_SESSVAR Type: view Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS DDIC-based view, session variables

demo_cds_session_variables is a CDS View that provides data about "CDS DDIC-based view, session variables" in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 4 fields with key field id. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName DEMO_CDS_SESSVAR view
AccessControl.authorizationCheck #NOT_ALLOWED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
system_user
system_date
user_date

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 demo_cds_session_variables.
-- 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: DEMO_CDS_SESSVAR

CREATE VIEW demo_cds_session_variables AS
SELECT
  id,
  $session.user AS system_user,
  $session.system_date AS system_date,
  $session.user_date AS user_date
FROM demo_expressions
;