DEMO_RAP_BASE_MAPPING

DDL: DEMO_RAP_BASE_MAPPING Type: view_entity Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS view entity

DEMO_RAP_BASE_MAPPING is a CDS View that provides data about "CDS view entity" in SAP S/4HANA. It reads from 1 data source (demo_dbtab_root) and exposes 7 fields with key field KeyField. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_dbtab_root demo_dbtab_root from

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view entity view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY KeyField key_field Key field
DataField data_field
CharField char_field
CharField2 char_field_2
DecField dec_field
CreaDateTime crea_date_time Time Stamp
LchgDateTime lchg_date_time Time Stamp

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_RAP_BASE_MAPPING.
-- 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.

CREATE VIEW DEMO_RAP_BASE_MAPPING AS
SELECT
  key_field AS KeyField,
  data_field AS DataField,
  char_field AS CharField,
  char_field_2 AS CharField2,
  dec_field AS DecField,
  crea_date_time AS CreaDateTime,
  lchg_date_time AS LchgDateTime
FROM demo_dbtab_root
;