What does it do? Determines the initial value. This expression is true if the value of lhs> is (is not) the initial value > of its built-in dictionary type>. The operand lhs> must stick to the context-dependent rules listed in topic CDS DDL - DDIC-based View, cds_cond>, Operands>. lhs> can have any data type except for CLNT>, DECFLOAT16 >, DECFLOAT34>, DF16_DEC>, DF34_DEC>, DF16_RAW >, DF34_RAW>, LCHR>, STRING>, RAW> , RAWSTRING>, DATN>, TIMN>, UTCL>, and GEOM_EWKB>.
Latest notes:
The expression IS $[NOT$] INITIAL> is suitable for checking the type-dependent initial value, instead of comparing it with a type-compliant operand that contains the initial value.
The expression IS $[NOT$] INITIAL> must not be confused with the expression IS $[NOT$] NULL>>. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 The following DDIC-based view reads all rows from the DDIC database table DEMO_DDIC_TYPES>> in which the column INT8> does not contain its initial value 0. DDLS DEMO_CDS_IS_INITIAL ABAP_EXAMPLE_END