Error when calling Adobe Interactive Form
Hi Experts,
I Created a Adobe Form using SFP and integrated into webdynpro abap application,and when i am testing the application its giving the error. and the errror details are.
The following error text was processed in the system RD1 : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
The error occurred on the application server S0164SAPDEV2_RD1_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
And I searched in SDN and Followed the same steps and still its giving the error and Basis Team is saying that everything is working fine from there side.
Please Provide the Requried Information with steps so that i can close this issuse.
Waiting for Reply.
Thanks & Regards.
Bhushan.
Hi Srinivas,
i tested the program FP_PDF_TEST_00 its working fine . but still i am getting the same error
The following error text was processed in the system RD1 : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
The error occurred on the application server S0164SAPDEV2_RD1_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
can u give me steps for creating webdynpro adobe form so that i can find out the mistake in my application.
or can u say me how to integrate the smartform in pdf in webdynpro abap.
Please provide me requried information.
Waiting For Reply
Thanks & Regards.
Bhushan.
Similar Messages
-
Error when call a interactive form from a report.
Hi everybody!
When i use report SAPBC480_DEMO to call form BC480_FINAL, i have the error ADS: Request start time:.......
I don't know how to fix that error. Can anybody help me?
Thank!Hi Duo,
i was facing similar problems. It could be solved by installing the Reader Right Credentials. If you want to use a pdf with editable fields (no read-only document) you have to install the RRC. Check this url
[http://help.sap.com/saphelp_nw2004s/helpdata/en/56/f2c94a069f44a785b85748e11f82a0/content.htm]
and notes 736902 , 1016404.
if you start stack trace as mentioned in note 1016404 you will be able to get through.
Regards,
Ashish Shah -
Gettign error when using Adobe interactive UI in WDP ABAP
Hi Frnds,
Am doing an WDP ABAP object where i need to use Adobe interactive Form, its a simple basic level app, when am deploying the Adobe am getting the following error
The following error text was processed in the system XYZ : Function module does not exist
The error occurred on the application server sapcrm_XYZ_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Module: %_HTTP_START of program SAPMHTTP
Which is workign very fine in SFP as a Form>interface, when am using this in WDP ABAP than am facing the above error,
If i remove the Interactive UI, its working fine, am expecting that am using Adobe 9.1 version , as i seen in blog it should be 7.1
Regards
RajeshDear friend,
Check the Below link
https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3 -
Error while opening Adobe Interactive form.
Hi ,
We have few custom applications which contains an adobe interactive form. When it is getting called it throws the following error.
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Invalid parser state. This exception is caused when deserializing XML type [http://www.w3.org/2001/XMLSchema]<base64Binary> and wrong XML node is found.
Kindly guide me how to resolve this issue.
Best Wishes
Idhaya RHello Idhaya,
Does this forum thread help?
Re: Error in Risk Analyzer of Access Enforcer
Also, when troubleshooting XML errors, I like to open the input source XML in a web browser or validate the markup online at:
http://validator.w3.org/
--- Scott -
Browser hangs when an Adobe Interactive Form is
Hi Folks,
I'm fairly new to ABAP (< 1 year) and am in the process of creating my first Adobe Interactive Form. In fact it will be the first IFbA at our company, when I get done with it!
Here's the problem am facing: The Interactive Form that I'm building is called within an ABAP Web Dynpro application. If the displayType in the view is set to 'native', when the IFbA is called, the browser hangs and eventually shows the form after 5 full minutes. However, if it is set to 'activeX', it comes up with the form instantly. It does not matter what objects(WD activeX or native) I have on the form, It does the same thing.
Our System information:
SAP_Basis and SAP_ABA: 701 SP5
ADS: 802.20100902045248.720952
Adobe Reader 9
I've looked at the SAP Note 999998 and have pretty much done what they've asked for. But, have had no progress with it. I'm pretty much at my wits end. So, somebody please help?!
Thanks,
CSHi,
Goto the Layout,
Then goto Utilities->Insert WebDynproScript and Activate.
it will work.
Uma -
Error while processing ADOBE interactive form
Hi,
I get following error when I try to submit an ADOBE interactive form.
FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
com.sap.caf.eu.gp.base.exception.EngineException: FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.createProcessRoleInstance(FormPostprocessor.java:176)
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.prepareProcessRoles(FormPostprocessor.java:157)
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.initiateProcess(FormPostprocessor.java:289)
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:564)
at com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)
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)
Please help.
AshutoshI managed to sort the issue.
It is not related to the ADS configuration.
I had to assign all the default roles of process to the user /role.
Thanks a lot for reply. -
Problem when deploy adobe interactive form
Hai all,
i am new to adobe interactive form designing,
i had developed a simple adobe form, the following error occured while running the application,
i had followed the procedure to "Installing a credential for Adobe Document Services"
Help me to solve this problem
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:396)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
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:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
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: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)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:341)
... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException:
Processing exception during a "UsageRights" operation.
Request start time: Tue Oct 09 10:51:37 GMT+05:30 2007
com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
Specific error information:
$$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
General error information:
IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
Exception Stack Trace:
com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
Specific error information:
$$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
General error information:
IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
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)
Caused by: com.adobe.document.pdf.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67)
at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286)
at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
... 31 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:387)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3710)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:139)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 32 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException:
Processing exception during a "UsageRights" operation.
Request start time: Tue Oct 09 10:51:37 GMT+05:30 2007
com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
Specific error information:
$$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
General error information:
IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
Exception Stack Trace:
com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
Specific error information:
$$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
General error information:
IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
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)
Caused by: com.adobe.document.pdf.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67)
at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286)
at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
... 31 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:374)
... 35 moreHi Siva,
If you are developig your form using NWDS, make sure about the cardinality of the context parameter - data Source not 0..1 or 0..n.You may refer similar threads (of same kind of error) in this forum..
Hope this helps. Assuming you have successfully tested, ADS and the credential file at the ABAP stack, by rurnning the respective ABAP reports.
Thanks and Regards,
Anto. -
Error while running adobe interactive form
Hi,
I made a scenario to update a z table using adobe interactive form in webdynpro.While executing I am getting the error as :
Termination type was : RABAX_STATE
Can anyone please guide me as to what can be the reason behind this error.
Thanks in advance !!Hi
I suggest that you first review your configuration using this tutorial which short and to the point:
[ADS configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98]
After that perform the tests that were suggested in the posts above (link to the relevant tests [ADS tests|http://help.sap.com/saphelp_nwmobile71/helpdata/en/43/f31e3082221595e10000000a1553f7/content.htm]
Regards
Adi J. -
Error while Activating Adobe Interactive Form
Hi SDN,
I am activating Adobe Interactive Form but it is giving me SOAP Runtime Execption : CSoapExceptionTransport : HTTP receive failed with exception communication failure.
Can any one tell me how to rectify this error?
Regards,
RahulHi SDN,
I am trying the same on the Other system as well but it is giving me error as Invalid HTTP connection : ADS
Help Required............!
Regards,
Rahul -
No such method error when launching the Interactive form
Hi Experts,
I have developed a simeple Java Webdynpro application and added an Interactive form without any controls in it. Created the context with one value node and a binary value attribute.
I have assigned value node to datasource and binary attribute to pdfSource. When I launch the application I am getting the following no such method error.
java.lang.NoSuchMethodError: com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.setTemplateSource(Ljava/lang/String;)V
The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
My NWDS is of Version 7.0.06
and J2EE Engine is of Version 6.40.
any guess why I am getting this error.
Thanks
Chinna.Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.
-
Calling Adobe Interactive Form from a selection screen
Hi,
I have to design an interactive adobe form online scenario,it goes like this :
A certain tcode will call a selection screen when we enter values in the selection screen it will open an adobe form,which will have a submit button,on clicking the button data gets saved in a z table.
I will be designing the form in Web Dynpro,is it possible to call such a form through a selection screen?? Can someone please provide some idea on how to implement the above scenario.
Thanks !!Hello,
for the online scenario you need a communication partner for the form. In WD, you have a partner to exchange the data with. But from a selection screen... who would be your partner? You can of course display a form, a PDF file, a new one (generated) or a uploaded/ stored one, you can even edit the fields, but you don´t have any partner to send the data to.
To cut this... you need a webservice if you want to exchange some data immediately (online scenario).
Regards Otto -
Unable to close browser when using Adobe Interactive Form
Hello,
I'm using an Interactive Form in my Web Dynpro application. Everything works fine, but when the view with the Interactive Form is active, I am not able to close the browser window anymore. Moving to another view is also not possible.
I already changed all the options of the Interactive Form but always the same behaviour.
I am developing on Web AS 6.40, Service Pack 11. ADS is installed also with Service Pack 11.
Adobe Reader is Version 7.0 and Adobe Designer is Version 7.1
Has anyone an idea what's wrong?
Thanks for your help!
Best regards
ChristianHi,
I am facing a problem with viewing SAP interactive forms.
I have the SAPForms.api in Adobe reader plugins but is outdated (19th apr, 05). How do I get the new one and how do I register it ? This same scenario works on a colleague's machine with same config except the SAPForms.api which is latest. (Nov, 05)
Any pointers will be highly appreciated.
Thanks,
Samar -
Object Referenced Error When calling the Windows Form during Runtime
Hi,
I am getting Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
ERROR Message
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: Albert Tio on Feb 16, 2011 9:55 AMHere is the code.
Option Strict Off
Option Explicit On
Friend Class GetEvents
Public WithEvents SBO_Application As SAPbouiCOM.Application
Public SboGuiApi As SAPbouiCOM.SboGuiApi
Public oForm As SAPbouiCOM.Form
Public oDBDataSource As SAPbouiCOM.DBDataSource
Public oCompany As SAPbobsCOM.Company
Public RS As SAPbobsCOM.Recordset
Public oPrev_Bank As String, oPrev_AcctType As String
Public oLoadXml As Loadxml
Public Sub SetApplication()
'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
' by following the steps specified above, the following
' statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
' connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
' get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Public Sub SetCompany()
Dim ret As Long
Dim MsgStr As String
Dim Cookie As String
Dim ConnStr As String
Try
oCompany = New SAPbobsCOM.Company
Cookie = oCompany.GetContextCookie
ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
'//before setting the SBO login context make sure the company is not connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
ret = oCompany.SetSboLoginContext(ConnStr)
If Not ret = 0 Then
Exit Sub
End If
ret = oCompany.Connect
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
MsgStr = ""
If Not ret = 0 Then
oCompany.GetLastError(ret, MsgStr)
SBO_Application.MessageBox(MsgStr)
Else
End If
End Sub
Public Sub New()
MyBase.New()
' set SBO_Application with an initialized application object
SetApplication()
SetCompany()
AddMenuItems()
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
Try
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
'SBO_Application.MessageBox("My sub menu item was clicked")
'// Create a form to be launched in response to a click on the
'// new sub menu item
myThread.SetApartmentState(System.Threading.ApartmentState.STA)
myThread.Start()
'Loadxml.ShowDialog()
End If
Catch ex As Exception
SBO_Application.MessageBox("1." & ex.Message)
End Try
'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My GoTo Menu was clicked")
'End If
'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My Second GoTo Menu was clicked")
'End If
End Sub
Private Sub LoadXmlMainThread()
'Dim lLoadxml As New Loadxml
Try
oLoadXml = New Loadxml
oLoadXml.WindowState = FormWindowState.Maximized
oLoadXml.ShowInTaskbar = True
oLoadXml.TopMost = True
oLoadXml.Activate()
Application.Run(oLoadXml)
Catch ex As Exception
SBO_Application.MessageBox("2." & ex.Message)
End Try
End Sub
Private Sub AddMenuItems()
'// Let's add a separator, a pop-up menu item and a string menu item
Dim oMenus As SAPbouiCOM.Menus
Dim oMenuItem As SAPbouiCOM.MenuItem
Dim i As Integer '// to be used as counter
Dim lAddAfter As Integer
Dim sXML As String
'// Get the menus collection from the application
oMenus = SBO_Application.Menus
'Save an XML file containing the menus...
'sXML = SBO_Application.Menus.GetAsXML
'Dim xmlD As System.Xml.XmlDocument
'xmlD = New System.Xml.XmlDocument
'xmlD.LoadXml(sXML)
'xmlD.Save("c:
mnu.xml")
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
'sPath = sPath.Remove(sPath.Length - 3, 3)
If sPath.EndsWith("\") = False Then
sPath = sPath & "\"
End If
'// find the place in wich you want to add your menu item
'// in this example I chose to add my menu item under
'// SAP Business One.
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Unbridle Menu"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "unbridle.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Unbridle Monitoring"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
'SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
End Class
Public Class Loadxml
'Inherits System.Windows.Forms.Form
Public sBPpath As String
Public sGLpath As String
Public sBillpath As String
Public bRun As Boolean
Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
Me.NotifyIcon1.Visible = False
End Sub
End Class -
Error log in Adobe Interactive Form
Hello SDN members,
I have a problem on Adobe Form rendering. When I used a form in SFP, i would like to print and i have this dump trace in pdf error file log :
What can be the problem ? (I configured service http in visual administrator in port 8003...)
Best regards,
A.HENRY
Here the log error :
Caused by: java.io.FileNotFoundException: IO exception while constructing a URLConnection for destination: dest:FP_ICF_DATA_XXX//sap/bc/fp/form/layout/FP_EXAMPLE_01.XDP?fp-language=EN
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:481)
at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
... 34 more
Caused by: java.io.IOException: HTTP error: Unauthorized while constructing a URLConnection for destination: dest:FP_ICF_DATA_XXX//sap/bc/fp/form/layout/FP_EXAMPLE_01.XDP?fp-language=EN
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:472)
... 36 moreThe problem is solved. It's coming from ADS_AGENT and ADS_USER profile not properly configured in AS ABAP.
Best regards,
A.Henry -
Error while executing ADobe Interactive form
Hi
I had created TRAVEL REQUEST interactive form as per the document. Im successful till deployment. But then while running the application Im getting the below stack
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to created delegate
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:748)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:333)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:341)
at com.sap.tc.webdynpro.clientserver.task.Task.createApplication(Task.java:181)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:494)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:49)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:239)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:130)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:92)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:35)
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:373)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
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:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:43)
... 26 more
Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.context.Node.<init>(Lcom/sap/tc/webdynpro/progmodel/context/NodeInfo;Lcom/sap/tc/webdynpro/progmodel/context/Node;)V
at com.sap.demo.travelrequest.wdp.IPublicTravelRequestComp$IContextNode.<init>(IPublicTravelRequestComp.java:29)
at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.wdInitContextNode(InternalTravelRequestComp.java:49)
at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.<init>(InternalTravelRequestComp.java:89)
... 31 more
Can any bode tell me whether it is Version incompatibility or any other specific reason ?
thanks
rajHi Raja,
something is wrong with your context in the component controller. Please verify your context structure with the structure in the document, which you mentioned. Do you really use value nodes and attributes? Is the mapping to the view correct and also the binding between the interactive form ui-element and the context nodes of the view?
Regards, Carsten
Message was edited by: Carsten Brandt
Maybe you are looking for
-
"Destination Volume" isn't showing up during re-installation
Hi all, My Powerbook just crashed all of a sudden last night; when i tried restarting it, I got the Finder icon with a question mark in the middle. I tried reinstalling and restoring using the original CD's, but when the time comes to select my desti
-
Install Leopard OS X from backup on external hard drive?
BACKGROUND: I backed up all the data from my Powerbook G4 onto my external hard drive and then proceeded to completely restore my Powerbook by inserting the Install OS X DVD, holding down C, going into Disk Utility and erasing everything on the drive
-
Which is best technique for Reports in JSP ?
Hi Friends !!! I am intermediate in JSP NOw i want to know which one is the best tool for JSP for generating the report ? I don't wanna to use Crystal report or JASPER report. can i do with ( displaytags ) if yes... provides me help on that. thanks..
-
hello all, i tried installing SAP 4.7 with oracle database 8.7.1.0 and patch 8.7.1.1 installed everything successfully.. made entries in host file... now the problem is from the SAP service... SAPPEP_00 PEP is the System ID... when i start the win 20
-
Not able to call servlet from jsp
I have a jsp from which i'm calling a servlet code is given below:- <html> <body> <jsp:forward page="/doubleHello" /> </body> </html> my web.xml is:- <web-app> <display-name>HelloServlet</display-name> <description> HelloServlet </description> <servl