‎2009 Jun 07 3:09 AM
Dear all,
I'm referring program DEMO_SEL_SCREEN_WITH_SUBSCREEN to develop my subscreen selection.
The demo program consist of 3 subscreens, 100, 200, and 300.
When i'm in subscreen 300, i press execute button. Then it will proceed with report listing, when i click on back button, it always bring me back to screen 100.
My question is, how can i stay on the last screen (this case is 300) after come back from listing screen?
Please comment.
‎2009 Jun 07 6:21 AM
Hi,
at selection-screen
export sy-dnnr to memory id 'DYNNR'.
INITIALIZATION.
IMPORT 'DYNNR' TO 'VAR'.
SUB-DYNNR = VAR.
SUB-PROG = SY-REPID.
Hope this will work
Edited by: Dande on Jun 7, 2009 7:23 AM
‎2009 Jun 07 6:21 AM
Hi,
at selection-screen
export sy-dnnr to memory id 'DYNNR'.
INITIALIZATION.
IMPORT 'DYNNR' TO 'VAR'.
SUB-DYNNR = VAR.
SUB-PROG = SY-REPID.
Hope this will work
Edited by: Dande on Jun 7, 2009 7:23 AM