Skip to Content
0
Former Member
Aug 25, 2010 at 03:43 AM

How to automatic call exit plug

85 Views

Hi experts,

I am new to java web dynpro.

I just need a simple program which can automatic exit and redirect to a new url.

I learn from

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/83/e7c24122e3c317e10000000a155106/frameset.htm

that I can use a button to call the Exit Plug to redirect to a new URL.

But I need the action/method should be call automatic once user lunch the application. just once the user call the web dynpro application, the application exit and redirect to a new URL.

I have tried to add the action/method into wdDoInit(), but it appear a error:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of interface view controller GotoGFInterfaceView does not exist.

it seems I can't call the exit plug in init.

So, question is : How can I make the exit plug be called aotumatic??

thanks in advance

Ming