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

System Variable for screen Session number

Former Member
0 Likes
1,740

Dear All,

What's the system variable for screen session number ( which will create dynamically when we open new session ).

Thanks,

Senthil.

4 REPLIES 4
Read only

Former Member
0 Likes
939

use

sy-LSIND.

Read only

Former Member
0 Likes
939

Hi,

SY-DYNNR is the dynamic Screen number.

Please reward points if useful.

Regards

Rose

Read only

Former Member
0 Likes
939

sy-modno

Read only

Former Member
0 Likes
939

Hi,

Underneath the control area, the current screen and program names are displayed together with the line number, event type, and event name. The adjacent column lists the current return values of the system variables sy-subrc and sy-tabix. However, the names of other data objects can also be entered here instead of the system variables. Their contents are only displayed if these data objects actually exist in the program section just processed. .

If your program is running in a background, you can detect this by checking the system variable SY-BATCH.