cancel
Showing results for 
Search instead for 
Did you mean: 

Check Table - Input Validation

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

you can try and check rather asking here  such questions....

Former Member
0 Kudos

I have already and tried it and put this up as a question because it doesn't work for me. and please stop adding comments if you cannot add value.

Former Member
0 Kudos

Dear , your question was like that..... Put your question like I tried this way and it did not work...

Frame your question properly....