Hi everybody,
we have build a Single-Sign-On Scenario in the method
IF_BSP_APPLICATION_EVENTS~ON_START of an BSP-Appl..
When an error occured we want to skip to an Error-Page
an show the User what is going wrong!
The navigation to the Error-Page we wanted to realize
with the following two code-examples but they didn't work!?
The application is always running till an http 500 error occurs in the browser.
Can anybody help me with this!?
Thanks
Heinz
1. data: lo_nav type ref to CL_BSP_NAVIGATION,
lo_run type ref to CL_BSP_RUNTIME.
lo_run ?= runtime.
if not sso_error is initial.
CREATE OBJECT lo_nav
EXPORTING
runtime = lo_run.
lo_nav->exit( 'zvm_login_err.htm' ).
endif.
2. data: lo_nav type ref to CL_BSP_NAVIGATION,
lo_run type ref to CL_BSP_RUNTIME.
lo_run ?= runtime.
if not sso_error is initial.
CALL METHOD lo_nav->if_bsp_navigation~exit
EXPORTING
EXIT_URL = 'zvm_login_err.htm'.
endif.