05-24-2011 11:30 AM
Hi Experts ,
I have two 2 Drop Down List box in my Module Pool Program , First Drop down Box contains values Yes and No , when user select Yes Only then only show second Drop Down List box , I use Vrm_set_values to Populate Drop Down values ,when is select any one .No event is trigged Please let me know how trigger an event after a selecting a drop down value from drop down list box.
Thanks In Advance
05-24-2011 11:36 AM
Hi,
You nee dto use following logic in PAI of the program.
check the value for first listbox.If its populated, then loop at screen.
and set the second list box screen field as active.
Eg:
if listbox1 = 'yes' or listbox1 = 'No'.
loop at screen.
If screen-name = 'listbox2'.
screen-active = '1'.
else
screen-activ = '0'.
endif.
modify screen.
endif.
basically you are enabling or disabling t he field.Screen is a structure that at runtime holds values for all screen fields properties.
05-24-2011 11:36 AM
Hi,
You nee dto use following logic in PAI of the program.
check the value for first listbox.If its populated, then loop at screen.
and set the second list box screen field as active.
Eg:
if listbox1 = 'yes' or listbox1 = 'No'.
loop at screen.
If screen-name = 'listbox2'.
screen-active = '1'.
else
screen-activ = '0'.
endif.
modify screen.
endif.
basically you are enabling or disabling t he field.Screen is a structure that at runtime holds values for all screen fields properties.
05-24-2011 12:09 PM
05-24-2011 12:23 PM
Hi,
Check the following link for reference.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm
Regards,
Harish
05-25-2011 5:51 AM