Ansicht
Dokumentation
ABENCDS_COND_EXPR_INITIAL_V1 - CDS COND EXPR INITIAL V1
CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
- DDIC-Based View, cds_cond, INITIAL
.... lhs IS $[NOT$] INITIAL ...
Effect
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.
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.
Example
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.
TXBHW - Original Tax Base Amount in Local Currency General Material Data
This documentation is copyright by SAP AG.
Length: 2222 Date: 20240426 Time: 081615 sap01-206 ( 31 ms )