Hi All,
I am trying to check on a mandatory input field with type TIMS (time field).
In the handle before action method I have build the check with the
cl_wd_dynamic_tool=>check_mandatory_attr_on_view method.
This works for my other mandatory fields.
However, I have one time field, which is automatically filled with 00:00:00. It does not trigger an error if the user does not fill in anything. My guess is because it is pre-filled with zeroes. If I manually clear the field in my webdynpro application, the mandatory check gives an error (which is my intention). But, when I clear the field with code, the zeroes return and check does not trigger an error (which is bad).
Does anyone have an idea how to let the system know that 00:00:00 is in fact an empty field, and as such, the system should trigger the error?
Many thanks,
Steven