DEMO_EXPRESSIONS

Transparent Table Application Table

Database Table for Expression Examples

DEMO_EXPRESSIONS is an SAP database table in S/4HANA. Database Table for Expression Examples. It contains 45 fields. 47 CDS views read from this table.

CDS Views using this table (47)

ViewTypeJoinVDMDescription
DEMO_CDS_AGGREGATE_VE view_entity from
demo_cds_annotation_array view_entity from
Demo_Cds_Avg view from
Demo_Cds_Avg_Ve view_entity from
demo_cds_cast_data_element view from
DEMO_CDS_CAST_SIMPLE_TYPE_VE view_entity from
DEMO_CDS_DATE_FUNC_VE view_entity from
demo_cds_date_functions view from
demo_cds_date_time view from
DEMO_CDS_DATE_TIME_VE view_entity from
DEMO_CDS_ENUM_TYPE_USAGE_1 view_entity from CDS view entity, enumerated types
DEMO_CDS_EXCEPT_NESTING view_entity from set operator EXCEPT, nesting
DEMO_CDS_EXPRESSION_REUSE view_entity from CDS view entity, expression reuse
demo_cds_fltp_to_dec view from
DEMO_CDS_FLTP_TO_DEC_VE view_entity from
Demo_Cds_MDE view_entity from
DEMO_CDS_NULL view_entity from CDS view entity that return a null value
demo_cds_parameter_type view from
DEMO_CDS_PARAMETER_TYPE_VE view_entity from
DEMO_CDS_SCALAR_USE view_entity from CDS view entity, scalar func
demo_cds_session_variables view from
demo_cds_session_variables_ve view_entity from
DEMO_CDS_SIMPLE_TYPE_USAGE view_entity from CDS view entity, simple types
demo_cds_sql_func_string_ve view_entity from
demo_cds_sql_functions view from
demo_cds_sql_functions_byte view from
DEMO_CDS_SQL_FUNCTIONS_BYTE_VE view_entity from
demo_cds_sql_functions_num view from
DEMO_CDS_SQL_FUNCTIONS_NUM_VE view_entity from
demo_cds_sql_functions_string view from
demo_cds_system_fields view from
DEMO_CDS_SYSTEM_FIELDS_VE view_entity from
demo_cds_text_annotations view_entity from Demo View with Texts
DEMO_CDS_TIME_FUNC_VE view_entity from
demo_cds_time_functions view from
DEMO_CDS_TIMESTAMP_FUNC_VE view_entity from
demo_cds_timestamp_functions view from
DEMO_CDS_TIMEZONE_FUNC_VE view_entity from
demo_cds_timezone_functions view from
DEMO_CDS_TWO_NUMBERS view_entity from
Demo_Cds_Union_Element_Type view from
Demo_Cds_Union_Element_Type view union_all
DEMO_CDS_UNION_ELEMENT_TYPE_VE view_entity from
DEMO_CDS_UNION_ELEMENT_TYPE_VE view_entity union_all
demo_cds_unit_conversion view from
DEMO_CDS_UNIT_CONVERSION_VE view_entity from
demo_cds_view_annotations view_entity from Demo View with Annotations

Fields (45)

KeyField Data ElementDescription DomainTypeLength
KEY mandt MANDT Client
KEY id CHAR1 Single-Character Flag
num1 abap.int4
num2 abap.int4
numlong1 abap.int8
numlong2 abap.int8
dec1 abap.dec
dec2 abap.dec
dec3 abap.dec
fltp1 abap.fltp
fltp2 abap.fltp
d34n1 abap.d34n
d34n2 abap.d34n
decf1 abap.d34d
decf2 abap.d34d
char1 abap.char
char2 abap.char
numc1 abap.numc
numc2 abap.numc
string1 abap.strg
string2 abap.strg
raw1 abap.raw
raw2 abap.raw
xstring1 abap.rstr
xstring2 abap.rstr
datn1 abap.datn
datn2 abap.datn
dats1 abap.dats
dats2 abap.dats
timn1 abap.timn
timn2 abap.timn
tims1 abap.tims
tims2 abap.tims
utcl1 abap.utcl
utcl2 abap.utcl
timestamp1 TIMESTAMP Time Stamp
timestamp2 TIMESTAMP Time Stamp
timestampl1 TIMESTAMPL Time Stamp
timestampl2 TIMESTAMPL Time Stamp
df34_dec abap.d34d
df34_raw abap.d34r
df16_dec abap.d16d
df16_raw abap.d16r
lchr_int abap.int4
lchr abap.lchr

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Database Table for Expression Examples
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DEMO_EXPRESSIONS (
    MANDT,        -- Client [MANDT]
    ID,           -- Single-Character Flag [CHAR1]
    NUM1,         -- abap.int4
    NUM2,         -- abap.int4
    NUMLONG1,     -- abap.int8
    NUMLONG2,     -- abap.int8
    DEC1,         -- abap.dec
    DEC2,         -- abap.dec
    DEC3,         -- abap.dec
    FLTP1,        -- abap.fltp
    FLTP2,        -- abap.fltp
    D34N1,        -- abap.d34n
    D34N2,        -- abap.d34n
    DECF1,        -- abap.d34d
    DECF2,        -- abap.d34d
    CHAR1,        -- abap.char
    CHAR2,        -- abap.char
    NUMC1,        -- abap.numc
    NUMC2,        -- abap.numc
    STRING1,      -- abap.strg
    STRING2,      -- abap.strg
    RAW1,         -- abap.raw
    RAW2,         -- abap.raw
    XSTRING1,     -- abap.rstr
    XSTRING2,     -- abap.rstr
    DATN1,        -- abap.datn
    DATN2,        -- abap.datn
    DATS1,        -- abap.dats
    DATS2,        -- abap.dats
    TIMN1,        -- abap.timn
    TIMN2,        -- abap.timn
    TIMS1,        -- abap.tims
    TIMS2,        -- abap.tims
    UTCL1,        -- abap.utcl
    UTCL2,        -- abap.utcl
    TIMESTAMP1,   -- Time Stamp [TIMESTAMP]
    TIMESTAMP2,   -- Time Stamp [TIMESTAMP]
    TIMESTAMPL1,  -- Time Stamp [TIMESTAMPL]
    TIMESTAMPL2,  -- Time Stamp [TIMESTAMPL]
    DF34_DEC,     -- abap.d34d
    DF34_RAW,     -- abap.d34r
    DF16_DEC,     -- abap.d16d
    DF16_RAW,     -- abap.d16r
    LCHR_INT,     -- abap.int4
    LCHR,         -- abap.lchr
    PRIMARY KEY (MANDT, ID)
);