on 10-23-2006 7:11 AM
Hi all,
Could please any one help me to implement suspend & resume plug in WebDynpro or altleast tell me where to find the help or tutorial or sample code to implement the same..
Thanx
Tony
Hi,
Try this
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/653ecbd99147b6e10000000a11466f/frameset.htm">Using Suspend and Resume plugs</a>
- Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx Nagarajan & Heidi. Its very helpful to implement suspend and resume plug. But while executing the application i got an error stating that
java.lang.IllegalArgumentException: Url parameter must be specified when calling Suspend Plug!
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:847)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
I ve a button, on click of that button i called the fireplug event as wdThis.wdGetWelcomeComponentInterfaceViewController().wdFirePlugMySuspendPlug("http://<server name>:50100/Calculator/Calculator.jsp");
Could u please help me out in this regard.
Regards
Tony
Hi Tony,
With your error it is knowing that, you are not calling with <b>Url</b>. you may required the below information.
<b>Creating the Suspend Plug</b>
1. In the Web Dynpro Explorer, navigate to your InterfaceView and double-click to open it.
2. Choose the Plugs tab and then New next to the list of Outbound Plugs. The New Outbound Plug wizard appears.
3. Enter a name such as MySuspendPlug, select Suspend as the type and confirm with Finish. If you now choose MySuspendPlug from the list of Outbound Plugs, the parameter Url of the string type is displayed in the parameter list.
<b>Creating the Resume Plug</b>
1. Choose New next to the list of Inbound Plugs. The New Inbound Plug wizard appears.
2. Enter a name such as MyResumePlug, select Resume as the type and confirm with Finish.
Regards,
Sridhar
Hi Tony,
for WDA, see http://help.sap.com/saphelp_nw2004s/helpdata/en/43/6b972329d23d33e10000000a11466f/frameset.htm
For WDJ, see http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm
Regards, Heidi
Message was edited by: Heidi von Geisau
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.