2010 Sep 27 5:18 PM
Hello Friends,
i have created one subscreen (with Table control). This subscreen shows a table. This subscreen is called with a transaktion. Now the problem enters when i want to get out of the screen . i can not! the exit buitton does not work, and i can not move or get out even my commands do not obey!
Does it has to do with my Gui_Satus?
How do i use it appropiately.
Best Regards
2010 Sep 28 2:30 AM
hello ,
i think you havent set Function Type = 'E' for that Exit/Cancel Buttions.
in PAI
module exit at exit-command.
module exit.
case sy-ucomm.
when 'EXIT'.
set screen 0.
leave screen.
endmodule.
regards
Prabhu
hello ,
i think you havent set Function Type = 'E' for that Exit/Cancel Buttions.
in PAI
module exit at exit-command.
module exit.
case sy-ucomm.
when 'EXIT'.
set screen 0.
leave screen.
endmodule.
regards
Prabhu
2010 Sep 27 6:05 PM
Hi,
Have you written the code in PAI when you press exit button?
Danish
2010 Sep 28 2:30 AM
hello ,
i think you havent set Function Type = 'E' for that Exit/Cancel Buttions.
in PAI
module exit at exit-command.
module exit.
case sy-ucomm.
when 'EXIT'.
set screen 0.
leave screen.
endmodule.
regards
Prabhu
2010 Sep 28 4:13 AM
Hi,
You have to give function code for the exit in GUI. for example : EXIT
In PAI.
Write as follows:
case sy-ucomm.
when 'EXIT'.
Leave screen.
endcase.
2010 Sep 28 4:48 AM
HI...
1.Please check whether you have given the OK_CODE in the main screen...
2.In the PAI you need to call the right function code for EXIT followed by leave program or leave to screen 0.
3.You can also use module <abc> at exit-command by giving 'E' in the function type so that this module will be called whenever the exit event occurs.
best regards,
Naveen
2010 Sep 28 8:18 AM
2010 Sep 28 8:22 AM
Hi,
debug the program after pressing the back/exit.cancel button check the control goes to the pai and what is the okcode ?
2010 Sep 28 8:23 AM
2010 Sep 28 10:26 AM
i did not have this in PAI
module USER_COMMAND_1001 input.
case ok_code.
when 'OK'.
when 'BACK'.
leave to screen 0.
when 'LEAV'.
set screen 0. leave screen.
when 'EXIT'.
leave to screen 0.
endcase.
endmodule.
Thanks
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |