cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Data Dictionary - Initial Value Indicator for a field in a Table

RobGeo
Discoverer
0 Kudos

While creating a table field, I did check the initial value indicator for the field of data type char. This means that the field will not accept null (i.e. force NOT NULL). But to my surprise, while adding a entry to this table, this field had no entry (empty / null) and it still saved the data into the table. 

So why didn't the initial value indicator that was checked for the field didn't work. 

View Entire Topic
raymond_giuseppi
Active Contributor

Don't confuse initial with null, Abap isn't able to display NULL value, but display their initial value (space, zero, etc.)

It can only be queried in ABAP SQL using the special WHERE condition IS [NOT] NULL

Did you actually check for NULL values ?