Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Value 0 and cl_wd_dynamic_tool=>check_mandatory_attr_on_view

$
0
0

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


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>