2007 Jun 05 1:12 PM
HI,
I HAVE A REQUIREMENT.
I HAVE DEFINED MY OWN SELECTION SCREEN 500.
I WANT TO LEAVE TO SAP EASY ACCESS SCREEN FROM MY SELCECTION SCREEN WHEN I CLICK BACK BUTTON.
HOW TO DO IT?
HI,
I HAVE A REQUIREMENT.
I HAVE DEFINED MY OWN SELECTION SCREEN 500.
I WANT TO LEAVE TO SAP EASY ACCESS SCREEN FROM MY SELCECTION SCREEN WHEN I CLICK BACK BUTTON.
HOW TO DO IT?
2007 Jun 05 1:15 PM
Hi
Write the code AND SEE for BACK button as
case sy-ucom.
when 'BACK'.
<b> CALL TRANSACTION 'SESSION_MANAGER'.
LEAVE SCREEN.</b>
ENDCASE.
Reward points if useful
Regards
Anji
2007 Jun 05 1:16 PM
Hi Viki,
under the Back Button write this Statement,
call transaction 'SESSION_MANAGER'.
Thanks,
Reward If helpful.
2007 Jun 05 1:16 PM
2007 Jun 05 1:17 PM
hi,
i think u can use LEAVE PROGRAM.
LEAVE PROGRAM always leaves the current program - there is never any processing after LEAVE PROGRAM!
Revert back if any issues,
Reward with points if helpful.
Regards,
Naveen
2007 Jun 05 1:17 PM
Hi,
case sy-ucomm.
When 'BACK'.
leave to screen 0.
endcase.
Regards,
Nagaraj
2007 Jun 05 1:20 PM
Hello
You can use: fm SAPGUI_SET_FUNCTIONCODE when user presses back.
CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'\
EXPORTING
FUNCTIONCODE = '/N'.
Regards,
S. Chandra Mouli.
2007 Jun 05 1:22 PM
handle ok_code.ie in the screen attributes define ok_code.
then define ok_code in the program to
data : ok_code like sy-ucomm.
In the PBO module.
set pf-status of the screen.
assign BACK fcode to back button
In the PAI module.
case ok_code.
when ' BACK'.
leave to screen 0.
endcase.
or u can use.
case ok_code.
when ' BACK'.
leave program.
endcase.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |