Skip to Content
0
Former Member
Dec 03, 2009 at 03:42 PM

Call webdynpro from BSP (MVC)

69 Views

Hi, gurus!

I have simple bsp created using MVC. I have my own component which includes MainWindow with controller class by default and a view with controller class and model class. Everything was created using Wizard.

I need to call webdynpro app from this BSP in WEB UI. I have a code that get WD url, then I'm trying to use navigation in DO_REQUEST method whih I redefine for a view controller class:

data: l_wd_url type string.

call method cl_wd_utilities=>construct_wd_url

exporting application_name = 'Z_XR_BP_COURCES'

importing out_absolute_url = l_wd_url .

navigation->goto_page( l_wd_url ).

In test mode it's working fine, but when I call this BSP through WEB UI I recieve an error message:

"Business Server Page (BSP) error

What happened?

Calling the BSP page was terminated due to an error."

Sorry, if my question a little bit stupid =), but i'm new in BSP.

Could anyone help me?