demo_cds_timezone_functions

DDL: DEMO_CDS_TIMEZONE_FUNCTIONS SQL: DEMO_CDS_TZFNC Type: view Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS DDIC-based view, built-in functions for time zones

demo_cds_timezone_functions is a CDS View that provides data about "CDS DDIC-based view, built-in functions for time zones" in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 2 fields. 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_TZFNC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (2)

KeyFieldSource TableSource FieldDescription
system_tz
user_tz

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_timezone_functions.
-- 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_TZFNC

CREATE VIEW demo_cds_timezone_functions AS
SELECT
  abap_system_timezone( $session.client,'NULL' ) AS system_tz,
  abap_user_timezone( $session.user,$session.client,'NULL' ) AS user_tz
FROM demo_expressions
;