DEMO_EXPRESSIONS
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)
Fields (45)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| 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.decfloat34 | |||||
| d34n2 | abap.decfloat34 | |||||
| decf1 | abap.df34_dec | |||||
| decf2 | abap.df34_dec | |||||
| char1 | abap.char | |||||
| char2 | abap.char | |||||
| numc1 | abap.numc | |||||
| numc2 | abap.numc | |||||
| string1 | abap.string | |||||
| string2 | abap.string | |||||
| raw1 | abap.raw | |||||
| raw2 | abap.raw | |||||
| xstring1 | abap.rawstring | |||||
| xstring2 | abap.rawstring | |||||
| 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.utclong | |||||
| utcl2 | abap.utclong | |||||
| timestamp1 | timestamp | Time Stamp | ||||
| timestamp2 | timestamp | Time Stamp | ||||
| timestampl1 | timestampl | Time Stamp | ||||
| timestampl2 | timestampl | Time Stamp | ||||
| df34_dec | abap.df34_dec | |||||
| df34_raw | abap.df34_raw | |||||
| df16_dec | abap.df16_dec | |||||
| df16_raw | abap.df16_raw | |||||
| 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.decfloat34
D34N2, -- abap.decfloat34
DECF1, -- abap.df34_dec
DECF2, -- abap.df34_dec
CHAR1, -- abap.char
CHAR2, -- abap.char
NUMC1, -- abap.numc
NUMC2, -- abap.numc
STRING1, -- abap.string
STRING2, -- abap.string
RAW1, -- abap.raw
RAW2, -- abap.raw
XSTRING1, -- abap.rawstring
XSTRING2, -- abap.rawstring
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.utclong
UTCL2, -- abap.utclong
TIMESTAMP1, -- Time Stamp [timestamp]
TIMESTAMP2, -- Time Stamp [timestamp]
TIMESTAMPL1, -- Time Stamp [timestampl]
TIMESTAMPL2, -- Time Stamp [timestampl]
DF34_DEC, -- abap.df34_dec
DF34_RAW, -- abap.df34_raw
DF16_DEC, -- abap.df16_dec
DF16_RAW, -- abap.df16_raw
LCHR_INT, -- abap.int4
LCHR, -- abap.lchr
PRIMARY KEY (MANDT, ID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA