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: 

Event generated by value change in dropdown list

former_member445996
Participant
0 Kudos

Hi All,

How can we catch an event when the value in a drop down list is changed bu a user without the user hitting the enetr key or any other button. Basicall, I want the PAI event to be fired when this happens.

Any ideas?

Thanks

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

Hi,

you can see the demo <b>DEMO_DYNPRO_DROPDOWN_LISTBOX</b>

it is a good example for your case.

did you check that..

it is exactly what you are looking

Regards

vijay

0 Kudos

Hi,

To trigger an event you need to set the Function code

after creating the list box using SE51 , double click it , in the attributes screen Enter some Function code against the Function code option and try to handle it in PAI of the screen.

Regards

vijay

Former Member
0 Kudos

Anurag,

In SAP, you cannot have events firing for a dropdown list. The only event on the screen is the PUSHBUTTON or MENU functions.

You will have to handle the same in PAI.

Regards,

Ravi

Note : Please mark the helpful answers