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

error in selection-screen.

Former Member
0 Likes
807

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
Read only

Former Member
0 Likes
650

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
Read only

Former Member
0 Likes
651

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

Read only

Former Member
0 Likes
650

Hi,

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

Use some pop-up screen using function module instead.

regards

vivek

Read only

Former Member
0 Likes
650

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.