Application Development and Automation 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: 
Read only

Drop down listbox onchange

Former Member
3,134

Hi

It is possible to add action without ENTER for drop down listbox on screen.

When I change listbox PAI, PBO don't do any action.

1 ACCEPTED SOLUTION
Read only

Former Member
1,257

Hi,

Try this..

In the List box screen field properties...give a function code...in the column "FctCode"....

this might trigger the PAI..when you change the value..

Thanks

Naren

3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
1,257

Hi Kosmo,

Indeed PAI and PBO are not triggered then, use POV instead, it will work.

If you are using SELECTION SCREEN this code is applicable


AT SELECTION-SCREEN ON VALUE-REQUEST FOR listbox.
...

...otherwise in flow logic of the screen type


PROCESS ON VALUE-REQUEST.
  FIELD listbox MODULE your_module_on_drop_down.

then in report itself write your module


MODULE your_module_on_drop_down INPUT.
...
ENDMODULE.

Hope it will help:)

Regards

Marcin

Read only

Former Member
1,258

Hi,

Try this..

In the List box screen field properties...give a function code...in the column "FctCode"....

this might trigger the PAI..when you change the value..

Thanks

Naren

Read only

Former Member
0 Likes
1,257

Thanx works