on 07-11-2012 9:57 PM
Hi,
If I have a field whose data element is WAERS, would that make it automatically validate the correctness of the value entered in the input field(just as the date is checked for junk values ). otherwise it would mean checking every field in the wd view (even those with the value help/ check table) after a save/submit button
Thanks
Hi Chinna,
Its depening up on what are the data elements u r using.... and if u create ui elements using some attributes, like u bind numc attribute to input field then in inputfield it can accept only numeric values . it wont accept characters..like that depending upon data type it does validation...
if u put any field as mandatory this kind of validation u can achive by using below method......
cl_wd_dynamic_tool=>check_mandatory_attributes(
attribute_list = lt_attributes
display_messages = abap_false
context_root = wd_context
).
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can try and check rather asking here such questions....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.