I have created iviews in SAP Portal for some WD4A applications. In the portal i can launch these applications OK. I can also use the portal navigation test tool and by typing in the absolute URL and pressing navigateit launches the Application fine.
However, if i put the following code into a button within a WD4A application and press it, it does nothing.
lr_compcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_component = lr_compcontroller->wd_get_api( ).
l_portal_manager = l_api_component->get_portal_manager( ).
NAVIGATION_TARGET = lv_iview
NAVIGATION_MODE = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL ).
lv_view is set to the PCD and this works fine in the portal navigation test tool.
Obvioulsy something is wrong, I've put an http sniffer on and there is nothing coming back from the server, so it appears that the event is being supressed or ignored.
Does anyone have any ideas? If not anyone know of any monitoring tools which will allow me to see what is happening to the portal event and see why it is being ignored?
Both application and portal are http and on the same server.