10-09-2008 4:47 AM
Hi all,
in my program there are 2 screens. one is standard selection screen(10) and Table control (100).
when i enter some values in 10 and press execute it moves to 100.
i put pfstatus to table control(100). when i press BACK ( standard tool bar) button in 100 it takes to 10. it is fine .
but when i press back button in 10 ( standard tool bar) it again takes me to 100. instead of sap easy access screen.
i tried with pfstatus for selection screen but it is not solved..
while debugging the control came to pbo of 100 when press back button of 10.
waiting for ur replys
10-09-2008 7:17 AM
Hi,
Kindly try with folllowing command in ur standard selection screen
(10).
AT SELECTION-SCREEN ON EXIT-COMMAND.
LEAVE PROGRAM.
IF useful.............
Regards.
S.Senthil kumar.
10-09-2008 4:55 AM
hi kiran,
u can try the following code for back button...
write this code in the PAI of screen 10 so that it does not goes to the next screen 100.
when 'BACK'
leave program.
please let me know if it helps u.
with best regards,
kanika
10-09-2008 5:12 AM
Hi,
Try this code on PAI module of screen 10.
data: ok_code type sy-ucomm.
module user_command_010 input.
case ok_code.
when 'BACK'.
leave program.
endcase.
endmodule.
Regards,
Sri
10-09-2008 6:53 AM
screen 10 is a standard selection screen.
how can we write code in PAI of screen 10.
10-09-2008 6:59 AM
Hi Kirankumar Peram,
By what code you get back to the SELECTION-SCREEN 10?
If through
CALL SELECTION-SCREEN 10.
then change it to as follow,
SET SCREEN 0.
LEAVE SCREEN.
Try this.
Regards,
R.Nagarajan.
-
We can -
10-09-2008 7:09 AM
it should come back from screen 100 to screen 10..when press back at screen 100.
if i write above code it will directly take from screen 100 to sap easy access screen
Edited by: kirankumar peram on Oct 9, 2008 8:09 AM
10-09-2008 7:16 AM
Hi Kirankumar Peram,
By what code you get back to the SELECTION-SCREEN 10?
or else just the screen definition.
SELECTION-SCREEN : BEGIN OF ...
...
SELECTION-SCREEN : END OF ...
Regards,
R.Nagarajan.
-
We can -
10-09-2008 7:17 AM
10-09-2008 7:17 AM
Hi,
Kindly try with folllowing command in ur standard selection screen
(10).
AT SELECTION-SCREEN ON EXIT-COMMAND.
LEAVE PROGRAM.
IF useful.............
Regards.
S.Senthil kumar.
10-09-2008 7:42 AM
02-12-2016 12:43 AM