‎2007 May 29 12:34 PM
Hi experts,
could you please suggest me how to do selection screen validations when 5 select options and 2 parameters are there in selection screen.
one more question is how to validate 5 selection screen elements with 2 screen elements should satisfy?
thanks and regards,
shekar
‎2007 May 29 12:36 PM
Hi,
If not s_matnr[] is initial.
Enter the validation check here
endif.
If not s_vbeln[] is initial.
Enter the validation check here
endif.
& so on.........
‎2007 May 29 12:45 PM
Hi Shekhar,
Try this
if not element1 is initial.
validation..
if validation fail.
l_index = l_index =1
endif.
endif.
if not element2 is initial.
validation..
if validation fail.
l_index = l_index =1
endif.
endif.
if not element3 is initial.
validation..
if validation fail.
l_index = l_index =1
endif.
endif.
..... so on
if l_index can give you hw many validations failed.
Reward points if useful.
Regards,
Atish
‎2007 May 29 1:02 PM
hi,
if fld1 is initial.
loop at screen
giv valdation stateent.
modify screen.
endloop.
endif.
if fld2 is initial.
loop at screen
giv valdation stateent.
modify screen.
endloop.
endif.
if fld3 is initial.
loop at screen
giv valdation stateent.
modify screen.
endloop.
endif.
if fld4 is initial.
loop at screen
giv valdation stateent.
modify screen.
endloop.
endif.
if fld5 is initial.
loop at screen
giv valdation stateent.
modify screen.
endloop.
endif.
same for other flds 4 validation.
if useful reward some points.
with regards,
suresh babu aluri.