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

current selection screen number

Former Member
0 Likes
2,597

Hi,

There are 3 selection screen.

500

501

502

I am calling these screen by keyword SUBMIT from module pool.

How can I know the selection screen number in report programme

8 REPLIES 8
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,497

Hello,

Does the field SY-DYNNR not help?

Suhas

Read only

Former Member
0 Likes
1,497

Its giving me the standard screen number i.e 1000

and not the selection screen number.

Read only

0 Likes
1,497

how are u calling the screens by SUBMIT command?

you should call screen 0500 or 0501 etc..

Read only

Former Member
1,497

Hi,

For Selection Screen the screen number is always 1000, if you are looking for the system field which holds the screen number, it is SY-DYNNR. This hold the current screen number.

Kindly set to resolve, if it helps you.

Regards

Abhii..

Read only

0 Likes
1,497

I have created 3 selection screen in one report as follows.

BEGIN OF SELECTION-SCREEN 500.

......

END OF SELECTION-SCREE 500.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,497

Hello,

Please explain in detail what is the scenario & your req.

Suhas

Read only

0 Likes
1,497

FROM a module pool program in call one of the 3 selection screen which are written in same report.

These selectiion screen are call dynamically based on the parameters selected in module pool.

So based on selection screen which is called I have to perform some action.

Read only

Former Member
0 Likes
1,497

You cannot have a selection screen number in sy-dynnr. I got the soln with passing parameter through submit