Skip to Content
Jul 16, 2020 at 11:51 AM

Validation error when add a new row


Hi, I have the following problem:
When I push the standard button "Insert Row" in the alv_grid toolbar, a new row is created with initial values. But I have one field whose domain can't be INITIAL, and I get this error pop-up:

The problem is that this validation is done instantly, before I can modify the value.
Mark or not the flag "Initial Values" in the database table does nothing, the validation still appears. Of course, I can modify the domain and add the '0' as an allowed value, but I'm looking for a more elegant solution.