on 01-17-2008 2:24 AM
Hi, i recently have been implementing an Add Row function to my Interactive form, the codes are as follow:
Table1.Row1.instanceManager.addInstance(0);
Implementing this function inside Adobe Lifecycle, and saving my form as Dynamic form, it was a success, adding of row works.
But as i create an Interactive form in my SAP Netweaver Developer Studio, i did the exact same thing and implemented the codes for adding of row, but when i preview it, rebuild project, deploy project, after doing all of the above it still failed to work.
Does anyone know what issue i am facing right now, and how do i go about solving it?
If anyone can help me in anyway at all i wont be stingy with the points i award..
Thanks in advance.
-Troubled Student-
Hi jingxuan
you have to set the form as dynamic
put these code in your wddomodifyview
if(firstTime){
IWDInteractiveForm form=(IWDInteractiveForm)view.getElement("InteractiveForm");
form.setDynamicPDF(true);
}
Best regards,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IWDInteractiveForm form= (IWDInteractiveForm)view.getElement("InteractiveForm");
Im sorry im still kinda new to SAP Netweaver, but may i know what is IWSInteractiveForm? cause when i copied this code in, it has a red underline and i cant deploy, is this suppose to be my form's name or something?
Sorry >_<
I tried the same thing to make my form dynamic, but I get a compiler error -
The method setDynamicPDF(boolean) is undefined for the type IWDInteractiveForm
I organized the imports, so it is able to recognize "IWDInteractiveForm", but the method setDynamicPDF() is not seen.
Do I have an older version of IWDInteractiveForm?
Thanks,
Vimukta
Hi,
Erm im not exactly sure. Because for my case, i used Adobe Lifecycle Designer to design my form and saved it as a "DYNAMIC" form, then i import it into my SAP Netweaver Developer Studio, im not sure if it'll affect the form in any way =x
Im not that good at debugging sorry, but im just letting you know how i did it.
Regards,
JingXuan
Thanks JingXuan,
I figured out why setDynamicPDF() was not available to me. It was becuase I was working on NWDS SP11.
Now I upgraded to NWDS SP18 and I can see setDynamicPDF() and my code compiles.
I did what you said - Designed the form using LifeCycle Designer and saved as Dynamic form (PDF)
Now how do I use that form in my Web Dynpro view?
Can you please tell me this. it might solve my problem.
Thanks,
Vimukta
I have the same problem, but when I set my PDF as dynamic I have the error:
com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/CV_FAFFE/CV_FAFFE/~wd_key1_1207135702014/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=e56fc9f400a711dda72d000ffe7b1fe5&sap-wd-appwndid=e56fc9f500a711dd8aa2000ffe7b1fe5&sap-wd-norefresh=X
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:405)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/CV_FAFFE/CV_FAFFE/~wd_key1_1207135702014/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=e56fc9f400a711dda72d000ffe7b1fe5&sap-wd-appwndid=e56fc9f500a711dd8aa2000ffe7b1fe5&sap-wd-norefresh=X
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:405)
... 29 more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.