Skip to Content

Redirecting to external URL in web dynpro application accessed in portal

Hi All,

I want to redirect to external url (eg on click of button in web dynpro application, but I am accessing the application through portal.

I tried SAP's recommended approach


it works when i test web dynpro application separately but when I run it through Portal it gave me Error: saying use portal navigation when running inside portal and do not fire exit plug to navigate to external URL

2) so i tried

WDPortalNavigation.navigateAbsolute( "", WDPortalNavigationMode.SHOW_INPLACE,(String) null,(String) null,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,(String) null);

this wont work as web page is not part of portal content's (Role/iview)

3) I also tried


again this work's when web dynpro application is tested standalone but when I run it through portal it doesn't work

please let me know if I need to follow some other approach to do this .

Thanks !

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 08, 2010 at 03:37 AM


    You can code this a dialog box (popup)

    or create a url iview out of the url you want and then call the Iview from your wd app.


    Add comment
    10|10000 characters needed characters exceeded

    • problem was resolved

      Below solution Worked -

      1) set ume.logoff.url value to <url to be redirceted to>

      2) create html file in KM to execute script



      (something like: EPCM.getSAPTop().document.location.href=<new url>).

      3) create KM Navigation iview using above html file

      4) use WdPortal Navigation inside web dynpro code to navigate to the KM


  • avatar image
    Former Member
    Oct 11, 2013 at 01:14 PM


    why dont you bind the reference property of link to url ui element with the link that you are interested to bind.

    Add comment
    10|10000 characters needed characters exceeded