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: 

error in selection-screen.

Former Member
0 Kudos

Dear experts,

when i am using AT selection screen event, its shows an error like "within form routines and functional modules, the selection-screen statement is not allowed".

if i comment the at selection screen, it is working fine.

i am unable to understand why the error is occuring.

is there any way to solve this issue. can anyone please explain me in detail.

thanks n advance.

regards,

sandy.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Is the "AT SELECTION-SCREEN" event metioned in any subroutine (Form/Endform) or in FM (Function/endfunction).

If so please move it separate Include..

Nag

3 REPLIES 3

Former Member
0 Kudos

Is the "AT SELECTION-SCREEN" event metioned in any subroutine (Form/Endform) or in FM (Function/endfunction).

If so please move it separate Include..

Nag

Former Member
0 Kudos

Hi,

It seems your using selection screen event with some form/enform.

Use some pop-up screen using function module instead.

regards

vivek

Former Member
0 Kudos

It is because your Event AT SELECTION-SCREEN is place between From and End From (or) Inside a Function Module.

Please move the event to appropriate place will resolve the problem.