cancel
Showing results for 
Search instead for 
Did you mean: 

Jump over an BSP Application

Former Member
0 Kudos

Hi,

in my web application i have 3 bsp application.

App 1 calls App 2.

In App 2 you can call App 3 by clicking a button.

Now I want to leave out App2 in a certain context.

How can I call the controller of App3 directly from the doInit method from App2, so that App2 is not shown, and simply redirects.

I want to use an if clause in the doInit method, which is checking the context of the BSP application.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181879
Active Contributor
0 Kudos

Somewhere (probably doRequest is better) you will use code such as:


IF app2_is_an_over_kill IS NOT INITIAL.
  url = runtime->create_bsp_url( 
                application = 'app3' ... ).
  response->redirect( destination = url ).
ENDIF.

Redirect directly onto relative URL ../app3/page.xyz should also work (from what I remember!).

Former Member
0 Kudos

Can you be a bit more specific? Have you checked out the Tutorials for MVC in SE80?