Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Call a URL from Webdynpro, at INIT method

My requirement: When user tries to open my webdynpro application, it first checks if the user is logging on to the system for the first time. If yes, then he is to be taken to a BSP application page, to make a few settings. Once done, the BSP application will redirect him back to my application.

Where I am stuck: In my webdynpro, in method WDDOINIT, I want to write the code to navigate to another url (URL for my BSP application). But, I couldn't find any method of doing it. I saw IF_WD_WINDOW_MANAGER=>CREATE_EXTERNAL_WINDOW, but it creates a popup. I want the user to be redirected to the BSP application, in the same window. I saw call method WDR_TASK=>RESPONSE->REDIRECT EXPORTING URL ='http://www.google.com' PERMANENTLY = 1. But this also doesn't work.

Please help me.

Thanks,

Juwin

Not what you were looking for? View more on this topic or Ask a question