Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Drop Down List box in Module Pool Program

sivakrishna_boddapati
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

former_member1245113
Active Contributor
0 Kudos

HI Siva,

Once you assign a function code to a list box in Screen painter automatic Event(PAI thus PBO) is triggered

Check the below thread

populate drop down menu based on entry in another field

Cheerz

Ramchander Rao.K

Former Member
0 Kudos

sivakrishna_boddapati
Participant
0 Kudos

Thanks