2006 Dec 21 9:25 AM
Hi
I have 1 selection screen in my program. Through this selection screen when clicking on radio-button i am calling another screen. On that called screen i have attached an application toolbar button(BACK) so that i can come back to selection screen on pressing BACK button. But this thing is not working.
When i press back button it gives Error that selection screen is not called using call selection screen, but i have called selection screen by this way only.
Can u plz solve my problem...
2006 Dec 21 9:27 AM
Hi
I have 1 selection screen in my program. Through this selection screen when clicking on radio-button i am calling another screen. On that called screen i have attached an application toolbar button(BACK) so that i can come back to selection screen on pressing BACK button. But this thing is not working.
When i press back button it gives Error that selection screen is not called using call selection screen, but i have called selection screen by this way only.
Can u plz solve my problem...
2006 Dec 21 9:27 AM
Hello Vijay,
<b>If sy-ucomm = 'BACK'.
CALL SELECTION-SCREEN 1000.
endif.</b>
If useful reward,
Vasanth
2006 Dec 21 9:54 AM
This in fine that its taking back to selection-screen.
But when I gives new input on selection screen after coming back to selection screen its not executing according to that new input.... its showing result of previous run????
How i can solve this???
2006 Dec 21 10:35 AM
Hi vijay,
1. I have used just like u, and it works fine.
(ie., it shows results of current selection only, and not the previous).
2. I have used
call SCREEN '9000'. (to call 9000 screen)
leave screen. (to return back)
3. u can cross-verify with this code.
(u can also simply copy paste also, and design a new dummy 9000 screen)
REPORT abc.
*----
parameters : a(10) type c.
parameters : r1 radiobutton group g1 user-command rd,
r2 radiobutton group g1 .
AT SELECTION-SCREEN OUTPUT.
IF R2 = 'X'.
call SCREEN '9000'.
ENDIF.
start-of-selection.
write 😕 a.
----
MODULE USER_COMMAND_9000 INPUT
----
*
----
MODULE USER_COMMAND_9000 INPUT.
leave screen.
ENDMODULE. " USER_COMMAND_9000 INPUT
regards,
amit m.
2006 Dec 21 9:27 AM
2006 Dec 21 9:53 AM
case sy-ucomm.
when 'back'.
set screen 0.
endcase.
Try this code for back button created screen.
Cheers.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |