cancel
Showing results for 
Search instead for 
Did you mean: 

Error on deploying interactive forms application.

Former Member
0 Kudos

Dear All,

I am using interactive forms UI to create a pdf form in WebDynpro. When I am deploying it on a server it's giving an error like:

com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException:

../../pwc.ca/pwcqawdqm_appvl/QM_Apprvl_App/wd_key101_1223551590386/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=WID1223551518031&sap-ext-sid=4xx9EsGsb10LGmfYny_p7wwl7qfOEtwmLmUoyDKO7vSw%2Fpcd%3Aportal_content%2Fcom.sap.portal.migrated%2Fep_5.0%2Froles%2FSa_role%2FWelcome%2Fproject%2Fe-sourcing%2FPGQM_Suppliers_QM_Approval%2Fpwc.ca%2Fpwc%7Eqa%7Ewd%7Eqm_appvl%2FQM_Apprvl_App%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200708120253

And the trace file says:

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:420)

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:321)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)

at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)

at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)

at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)

at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1246)

at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)

at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:547)

at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:191)

at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)

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:150)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

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: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:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

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:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../pwc.ca/pwcqawdqm_appvl/QM_Apprvl_App/wd_key101_1223551590386/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=WID1223551518031&sap-ext-sid=4xx9EsGsb10LGmfYny_p7wwl7qfOEtwmLmUoyDKO7vSw%2Fpcd%3Aportal_content%2Fcom.sap.portal.migrated%2Fep_5.0%2Froles%2FSatyam_role%2FWelcome%2Fproject%2Fe-sourcing%2FPGPWC_QM_Suppliers_QM_Approval%2Fpwc.ca%2Fpwc%7Eqa%7Ewd%7Eqm_appvl%2FQM_Apprvl_App%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200708120253

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:407)

... 48 more

I have used the interactive forms in other places also on other servers where ADS is installed. Everything was working fine there but here itu2019s a problem.

-I am using NWDS version 7.0.13

-Is ADS a problem for this error or I am doing something wrong?

-I read somewhere that some versions work on ZCI and no client installations are required. Just wanted to know whether ADS is mandatory for adobe forms?

-I am giving the displayType as Native.

Please suggest me what is the problem as it's just a simple form with bindings and no other ui or code.

Helpful answers will be highly appreciated.

Warm Regards,

Gaurav

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for all the solutions but I did myself in the end. Was a different problem.

Regards.

chintan_virani
Active Contributor
0 Kudos

Gaurav,

Please post the solution as well so that it helps others and serves as reference as well.

Chintan

Former Member
0 Kudos

What was your problem ? i have the same

post the solution

Josué Cruz

Former Member
0 Kudos

Hi,

The interactive form sholuld not be empty. Create attributes in the node which is bound to the dataSource property and put those attributes onto the form. I mean drag and drop all of them on the form. Once you do it you will be able to see the form and this error won't come any more.

Cheers,

Gaurav

Former Member
0 Kudos

Hi all,

When you place a new InteractiveForm UI in the view, open it using designer, just chage something(a blank space in the script editor will do) and save the form in designer. Now save the WD Project and deploy. You won't get this error.

Thanks,

Prabhakar.

Former Member
0 Kudos

HI:

Do you use webdynpro for abap? you can use tcode SFP and check if the interface is active.

Former Member
0 Kudos

hi,

i think u specified the mode property of interacive form UI element as updateDataInPdf then u have to specify the pdf form object in the pdf source property.

otherwise you set the mode property as generatePdf

with regards

shanto aloor

Former Member
0 Kudos

Hi

Try creating a context attribute of type xstring and assign this to the pdfSource property of the interactive form.

Regards

Thashin

Former Member
0 Kudos

Hi,

Thanks a lot for your replies I have checked both the options:

1. Creating an attribute of type xstring

2. and changing the mode to Generate pdf,

but unfortunately nothing worked, still the problem is same. Can you please suggest what could be the possible reason for the error I am facing?

I am using webdynpro for java

Helpful answers will be appreciated.

Warm Regards,

Gaurav