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: 

Call Screen

Former Member
0 Kudos

Hello folks

I Want to know if you have finding which screen i did call it.

Example: i am on the screen 100 and call screen 200. My code i want to know what the screen i call, which in the case would be 200.

thank you

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I did not understand your question exactly, but just trying to help you.

If you are in 100 screen and calling 200 screen, how to findout what would be the next screen for 100? is it your question?

if so programatically its difficult to say which is screen going to be called from present screen until you execute the proper statement.

You may call screen 200 / 300 / 400 from 100... everything will be coded in the 100 screen PAI with all conditions ... based on satisfied condition next screen will be dynamically identified and called from the screen 200.

if you want to know current screen you can use system variable sy-dynnr.

Thanks

Satya

4 REPLIES 4

Former Member
0 Kudos

not sure, Have u checked the SY field values, like system dynamic number.

thanq

Former Member
0 Kudos

I did not understand your question exactly, but just trying to help you.

If you are in 100 screen and calling 200 screen, how to findout what would be the next screen for 100? is it your question?

if so programatically its difficult to say which is screen going to be called from present screen until you execute the proper statement.

You may call screen 200 / 300 / 400 from 100... everything will be coded in the 100 screen PAI with all conditions ... based on satisfied condition next screen will be dynamically identified and called from the screen 200.

if you want to know current screen you can use system variable sy-dynnr.

Thanks

Satya

former_member376453
Contributor
0 Kudos

Didn't get you question properly. For checking the screen number we use sy-dynnr system field. This field always hold the screen number in which your program cursor will be.

Kuntal

Former Member
0 Kudos

Hi Carlos,

Just use the SY-DYNNR System field which stores the Screen No,, And display this field where you want.

Thanks & regards,

Dileep .C