‎2009 May 05 9:22 PM
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
‎2009 May 05 9:30 PM
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
‎2009 May 05 9:28 PM
not sure, Have u checked the SY field values, like system dynamic number.
thanq
‎2009 May 05 9:30 PM
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
‎2009 May 05 9:48 PM
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
‎2009 May 06 3:04 AM
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