I use the method cl_wd_dynamic_tool=>check_mandatory_attr_on_view to check if all required input fields are filled.
This works perfect for my text fields, but I have some problems with numeric fields.
I have a percent field in my structure with the Data Element TDPERCENT, a NUMC Data Type with a length of 3 and a value range from 0 to 100.
If I enter 0 as value into the field the check_mandatory_attr_on_view method marks it as not filled. I think this happens because 0 is also the initial value of the Data Element.
Is there a possibility to allow 0 as a valid input?
Best regards,
Philipp