Translation of interactive Forms - (multilangual, international)
Hi there,
Is there a better way to translate a interactive form than copy it and translate it separately?
I tried to use dynamic caption, but there is no effect if I map the caption of a text element to a data connection.
(If I do the same with a button, it works perfect)
Is there another way to fill the label of a text field dynamically?
What's the best way to translate Interactive Forms (not in SAP)?
Use NWDS 2004 SP18 and Adobe LiveCycle Designer 7.1
Thanks
cheers dome
Hi Hanoz,
In the interface linked with my layout i add a parameter name RECIPIENT_LANGUAGE typing SYLANGU .
Line: -
For SMARTFORM Text process as follow
In the context of the layout i define field as Text Module with thoses attributes :
- text name value 'ZTOTO' ( it's a sample name )
- text language value field RECIPIENT_LANGUAGE
- No error if text not available set to TRUE
- Copy style from Text Module set to TRUE
In the layout i put this text element in a sub-windows.
Then you have to create your smartforms text and populate it in the different language you want thru transaction SE63 for translation .
Line: -
For SAPSCRIPT Text process as for SMARTFORMS text except for the field define in the context, it should be define as Include Text .
Line: -
When you call your form populate the attribute RECPIENT_LANGUAGE with the value you want . If none text of your forms exist in the language you want the system process the text with the default language of the forms ( creation language ) .
If at least one text exist in the language requested all text will be process with it even if some translation are missing ( in this case you will got empty value ) .
Hope this help you.
Best regards.
Similar Messages
-
Add Translation of INteractive form in Guided Procedures
Hi.
I have created an interactive Form with Adobe Lifecycle Designer. I use the Form in Guided Procedures. You can add translation files of the form there. But what is a Translation file and how can i produce it?
Thanks a lot. Regards,
DominikI found this in the SAP documenation hope this will hel you a bit.
If you would like to translate ABAP dictionary objects i know the translation will be automaticly done by the System. This will work due to the system variable SY-LANGU.
kind regards
Fabian -
WEBDYNPRO ADOBE INTERACTIVE FORMS INTERNAL TABLE BINDING
Hello Firends,
I have created one table in the WebDynpro Program with Context NODE_RESULT having Cardinality 0...n in the View ADOBE_VIEW. In this view I have created the Interactive Form and specified the properties: data source as NODE_RESULT, Template Source as Z_XX_ADOBE_FORM.
Also I have made an supply function for the context NODE_RESULT as GET_RESULT.
In the Supply Function I have used the BAPI to fill the contents of Internal table (itab_data). And have binded the itab_data using node->bind_elements... (ALSO Tried node->bind_table...).
Also I have coded the HANDLE_IN method.
Here the point is that I can see the table in the interactive form layout and have successfuly binded all the elements and when I have tested the form, the Adobe form is showing the blank table. i.e. it is showing up only the design of table, not the internal table values what I have binded.
I have made every check like ADS is working fine as I can run the Interactive form through the ABAP program (i.e. through se38, where the form is allowing me to save the data in the PDF).
Have installed the ACF.
Also checked that the form is XML based schema and it Generated.
Here everything is fine but I am unable to bind the internal table from webdynpro to Adobe Interative form.
Friends plz help me in resolving this issue.
Thanking You
Regards
Pradeep GoliHi Vaibhav,
Sorry for replying late.. I have done debugging on the node and found values are being populated to the internal table which i have created, and also as you said i have dragged the node and found the table icon is appearing and in form object pallette of that table the poperty of binding is "....[*]" is also creating but the vvalues are not being reflected to the PDF output.
Also i have tried many approaches like first creating the form and then creating the webdynpro program and by linking the form to the wendunprro. But the result is same i.e. no values are being found in output.
But i have a doubt that what are the system requirements to get this binding done properly. i.e. I am using Netweaver 2004 with SPS release 7 and Adobe 8 and ACF is being installed in the system. And also I can see the values if I am using the structure but the problem is with table. And I can work with the ABAP ADOBE where if I am coding using se38 and executing the values are excellently displaying in the PDF output(Similar case with interactive forms) Also ADS is properly configured.
Is it compulsary to have SPS GREATER than 8 for NETWEAVER 2004.
Please kindly help me in this regard. Thanking you at the earliest.
Regards
Pradeep Goli -
Internal Error 500 when trying to open Interactive Form
I ve installed the NetWeaver Java Trial / SUSE Linux 10 Server (VMWare Edition).
It includes a demo scenario, where a new employe needs to confirm the confidentiality aggreement in an interactive form.
When I click on this I get an internal server error 500.
The trial certificate for interactive forms and the svg viewer are installed.
Can anyone bring some light into this?
Thanks in advance.I did this:
http://<server>:<port>/AdobeDocumentServices/Config
Test of ...rpdata.... and entered the CTB_ADMIN/Password and also tried with test user
(Jamie Miller) 14132 when requested for user.
Result is this:
An error has occurred. Maybe the request is not accepted by the server:
User 14132 does not have access to method rpData.
Post
POST /AdobeDocumentServices/Config?style=rpc HTTP/1.1
Host: maf-soft.dyndns.org:50000
Content-Type: text/xml; charset=UTF-8
Connection: close
Authorization: <value is hidden>
Content-Length: 814
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
<enableSession>true</enableSession>
</sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body>
<ns1:rpData xmlns:ns1='urn:AdobeDocumentServicesVi'>
<rpStrings xsi:type='tns:ArrayOfRpString' xmlns:tns='urn:com.adobe'>
<tns:RpString><tns:name>
</tns:name><tns:value></tns:value>
</tns:RpString></rpStrings><rpStreams xsi:type='tns:ArrayOfRpStream' xmlns:tns='urn:com.adobe'><tns:RpStream><tns:name>
</tns:name><tns:value>AA==</tns:value>
</tns:RpStream></rpStreams></ns1:rpData></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Respone:
HTTP/1.1 500 Internal Server Error
Connection: close
Set-Cookie: <value is hidden>
Set-Cookie: <value is hidden>
Server: SAP J2EE Engine/7.00
Content-Type: text/xml; charset=UTF-8
Date: Thu, 17 Apr 2008 19:12:08 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>
SOAP-ENV:Client</faultcode>
<faultstring>User CTB_ADMIN does not have access to method rpData.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException
xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>
User CTB_ADMIN does not have access to method rpData.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException>
</detail>
</SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
I looked for ADSCallers Role/User they are available in the .... Services > Security Provider.
I will continue with the recommended check steps, as described in the document:
If some one already know what the cause of the above mentioned error, pls bring some light into this.
Thank you very much. -
ABAP webdynpro with interactive form - launching failure
We are doing some prototype in the solution manager box using ABAP webdynpro and Adobe Interactive Form. I created a webdynpro with a very simple Adobe form embedded in an view.
But when I test the webdynpro, I got the following error page in internet browser, any idea?
Error when processing your request
What has happened?
The URL http://md1as086.medimmune.com:8001/sap/bc/webdynpro/sap/z_wd_bookflight_gebo/ was not called due to an error.
Note
The following error text was processed in the system SMT : WebDynpro Exception: ADS: Request start time: Tue Mar 06 11:53:06 EST 2007(200.101). ?ꯂ.RuntimeProcessor.process(RuntimeProc
The error occurred on the application server MD1AS086_SMT_01 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 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/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
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMT in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server MD1AS086_SMT_01 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server MD1AS086_SMT_01 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 200 -u: CHEUNGJ -l: E -s: SMT -i: MD1AS086_SMT_01 -w: 0 -d: 20070306 -t: 115305 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework TeamHi,
Is you ADS Configured ?
Check that out.
Regards
<i><b>Raja Sekhar</b></i> -
How to binnding the data in the adobe interactive forms for making a table?
Hi, experts,
Function:
Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
version:
Acrobat Reader 8.1.0
currently both of the SAP-ABA and SAP-BASIS SP level: 9
ADS : Successful.
The following is my action:
1. Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight" using the transaction code "sfp"
2. Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
3. Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
4. Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
Problem 1:
Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
5. Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
6. But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
Problem 2:
Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
Thanks a lot.
Best regards,
TaoHi, experts,
You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
Thanks a lot.
Best regards,
tao -
Fill Drop down list in Interactive form
Hello.
I am trying to display multiple values form the context of an form, so not web dynpro! I am using a valuelist object for that.
When I test the form I am only getting to see the first value of my internal table and the drop down list cannot be expanded.
If I analyse the XML I see that the items are there which I want to display.
What is the cause of this, or is this only possible with Interactive form in an Web dynpro scenario (I hope not)
Regards,
Harrie PrinsenHi Harrie,
As per this post, I understand that you are going to use a simple ADOBE PRINT FORM which fetches data from ECC and displays it in the form...Am I right?
See, if it is going to be a Simple PRINT FORM which is NON-INTERACTIVE in nature, I dont see the need of DROP DOWN LIST in this scenario. I think that could be the reason why always the first item of the INTERNAL TABLE is displayed all the time.
If you have an INTERACTIVE SCENARIO where the user can select an option from the drop-down, then you can go with ABAP WD/JAVA WD/ISR Adobe Interactive Forms.
Regards,
<i><b>Raja Sekhar</b></i> -
Error while running webdynpro application with an Interactive form
Hi all,
I am getting the following defect when I run a adobe interactive form (webdynpro application). Any pointers?
Regards,
Deepak
500 Internal Server Error
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
... 47 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)
Version null
DOM version null
Client Type msie7
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Wed Oct 10 10:17:00 EDT 2007
J2EE Engine 7.00 patchlevel 109044.44
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Thu Oct 18 17:39:22 EDT 2007 (Java Time: 1192743562661)
Web Dynpro Code Generation Infos
local/NIBCOSecurityFormWD
SapDictionaryGenerationCore 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:26:06[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:13:54[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:11[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:42[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:35[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:23:29[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:28:49[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
SapWebDynproGenerationCore 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:21[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
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:313)
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: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.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:100)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:123)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:340)
... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3948)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
... 35 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 37 moreHi Deepak,
If you have solved the issue could you kindly close the thread with the solution as this will help others as well. If not kindly update the thread with the status. -
Error while passing values from Interactive form to Webdynpro Application
Hi,
Iam working on AdobeInteractive Forms using GP.There is an interactive form with a submit button on my desktop. Now when i click on submit the values in the Interactive Form should be passed to an Webdynpro application.But when i click on submit button i was getting error.Can any one solve my issue.
The Error is:
SAP Guided Procedures - Error Page
What happened?
An internal error occurred while processing your request
What can you do?
Try again later. If the problem persists, contact your system administrator.
Additional Error Information
Error while processing document via ADS
com.sap.caf.eu.gp.base.exception.EngineException: Error while processing document via ADS
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:842)
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.getSessionContext(AdobePDFAdapter.java:1116)
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:396)
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: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.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Thu May 01 12:33:23 CDT 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5
at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)
at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)
at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)
at com.adobe.ads.operation.GetData.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at com.adobe.ads.request.Request.processOperations(Unknown Source)
at com.adobe.ads.request.Request.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.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: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.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)
... 35 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:413)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.getData(PDFObject.java:311)
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:816)
... 19 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Thu May 01 12:33:23 CDT 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5
at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)
at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)
at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)
at com.adobe.ads.operation.GetData.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at com.adobe.ads.request.Request.processOperations(Unknown Source)
at com.adobe.ads.request.Request.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.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: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.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)
... 35 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:400)
... 21 moreHi Praveen,
The concept what we have observed is When you click on Submit the values were sent to GP. There GP framework takes care of all these. After that when you try to login to Portal and click on GP Inbox and try to open the application, what ever the data that is sent previously will be retrieved.
Due to some reasons like Delegation and other conecpts where GP will not fit we have scrapped GP and got back to workflow. There we have used the concept of Portal Webservice inorder to send the data to R/3 by clicking on Submit button.
We have successfully implemented the Adobe Forms Offline Scenario using Portal Webservice. -
Access Denied error while editing interactive forms in NWDS
Hi,
I am getting following error while editing the Adobe Interactive form in NWDS, I didnt understand why i am getting this error please help me in this issue
the error i am getting is as follows
java.io.FileNotFoundException: C:\Documents and Settings\my user\Application Data\Adobe\Designer\FormDesigner.ini (Access is denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at com.sap.ide.webdynpro.adobetemplatedesigner.internalisation.AdobelanguageSettingService.setAdobeLanguage(AdobelanguageSettingService.java:43)
at com.sap.ide.webdynpro.adobetemplatedesigner.AdobeDesignerEditorPart.createPartControl(AdobeDesignerEditorPart.java:123)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
at com.sap.ide.webdynpro.adobetemplatedesigner.listener.ViewDesignerActionListener.launchAdobeDesigner(ViewDesignerActionListener.java:73)
at com.sap.ide.webdynpro.adobetemplatedesigner.contentprovider.LaunchDesignerAction.run(LaunchDesignerAction.java:30)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
thanks
AnuHi Anu,
Please check if you have permissions in C:\Documents and Settings\my user\Application Data\Adobe\Designer\FormDesigner.ini
Change "my user" to the actual user.
Best regards, Aldo. -
How to integrate Interactive Forms in R/3 Workflow
Hi
I'm a newbie in SAP and i will have my first project with SAP and Interactive Forms.
I read a lot in this great forum about integration Adobe Forms in SAP.
But unfortunately im not sure, which Scenario could solve my problem.
<b>My Client use NW2004s (SP10) (ABAP + JAVA Stack) and R/3 4.7</b>
I have to design some approval sheets with these features:
- integration in an approval Workflow (runs in R/3)
- the ability to attache other documents.
- store Data in the Backend
- changes in the documents should be traceable.
<u>What will be the best way to solve this problem?</u>
- ISR-Scenario ( like HCM Processes and Forms -
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/de/43/1d82283fce3566e10000000a11466f/frameset.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/de/43/1d82283fce3566e10000000a11466f/frameset.htm</a>
is that possible in my environment??
- GP-Scenario
- WD ABAP
- WD JAVA
Would it be a good idea that the WF provides the data for the sheet (e.g. stored in some internal tables)?
Thanks and regards
MatthiasHi Matthias,
I think WDA/WDJ is best for your requirement.
Going for WDA or WDJ depends on your prior experience/knowledge. If you are good in Java, then you can go with WDJ,else if you are good in ABAP, then you can go with WDA.
"Would it be a good idea that the WF provides the data for the sheet (e.g. stored in some internal tables)?" --- What do you mean by this ?
Regards
<i><b>Raja Sekhar</b></i> -
Submit Button in Interactive form is not Triggering (Webdynpro Java)
Hi,
I have developed one application for Online intractive form.I have created one text box and one submit button in Intractive
Form.I created a Action method Submit.I have bound the onActionSubmit() method to onSubmit Event of Intractive Form.
For testing i am putting some value in text box and Clicking Submit button.I have set the debugger in onActionSubmit()
method.But when I am Clicking Submit button, onActionSubmit() method is not triggering.I have
1. I have used Submit to SAP button (Pallet>Library>Web Dynpro).
2.I have ACF(Active Control Framework) instalation.
3.I have WAS 6.4 and NWDS 04.
4.I have SAPForms.api in Program Files\Adobe\Acrobat 7.0\Reader\plug_ins path.
One Value Node DataSource (Cardinality 1..1) is binded into dataSource Property.And pdfSource property is binded to one value
attribute of binary Type.
I have done one application where i am getting data from R/3 System and displaying in PDF ,It is working fine.
I got below error in Log File for the above two applications.But geting the data from R/3 and displaying in PDF is working
fine even if it is giving below Error in Log
ClientJTSInterceptor.receive_reply
[EXCEPTION]
org.omg.CORBA.BAD_PARAM: Not found ServiceContext with id=0 vmcid: OMG minor code: 1A completed: Maybe
at com.sap.engine.services.iiop.internal.giop.ClientRequest.get_reply_service_context(ClientRequest.java:284)
at
com.sap.engine.services.ts.jts.ots.PortableInterceptor.ClientJTSInterceptor.receive_reply(ClientJTSInterceptor.java:91)
at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:133)
at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:125)
at com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:282)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:486)
at com.adobe.service._ControlAgentStub.done(_ControlAgentStub.java:83)
at com.adobe.service.ProcessResource.onCommit(ProcessResource.java:609)
at com.adobe.service.ResourcePeer.invokeCommit(ResourcePeer.java:130)
at com.adobe.service.J2EEResourcePeerImpl.commit(J2EEResourcePeerImpl.java:124)
at com.sap.engine.services.ts.jta.impl.ResourceList.commitTwoPhase(ResourceList.java:80)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:355)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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(ApplicationSessionMessageLis
tener.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(AccessController.java:214)
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 Suggest.
Thanks & Regards
munaHi Muna,
May ADS is not configured in server properly.
Check the below link. I hope it will help you.
Re: no action got executed corr to SubmitToSap button of Interactive forms
Thanks
Siva Arikatla -
How to call HTTP web services in an Interactive Form?
Hi all,
I am using Adobe Livecycle Designer currently in a trial 8.2 version.
I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security reasons. The error message I get is:
(german)
" NotAllowedError: Sicherheitseinstellungen verhindern den Zugriff auf diese Eigenschaft oder Methode.
Net.HTTP.request:28:XFA:form1[0]:mysubform[0]:Region[0]:change"
In english this translates to: "Security settings prohibit the call of this property or method.
And indeed the "Javascript for Acrobat API reference" includes the following note:
"Note:This method can only be made outside the context of a document (for example, in a folder level JavaScript)."
So this method seems to be excluded from use in an Adobe document, e. g. in an interactive form. But why is it then listed at all? Is there a way to call HTTP Web Services in an Adobe Interactive Form by somehow branching out the call outside the document itself? Of course I do not want to call a SOAP service which then calls the HTTP Web Service ;-)
Is there any other way to invoke HTTP Web Services in an Adobe Interactive Form?
Thanks a lot for your response!
Regards
ChristophHello Kavita,
patterns are not processed during editing. If you can't use the default behavior of the numeric field when a character is entered (handled when the user finished editing), you could use scripting to process input. Depending on what you want to do you could use the exit event or the change event.
A change event has a property called "change" that caused the event. You could try "xfa.host.messageBox( upper(event.change) )" in FormCalc to show the characters in upper case.
But, you should go this way only if the patterns for editing and for display and validation scripts can't be used in your case.
Best regards
Juergen -
DropDown in Online Interactive Forms Not working.
HI:
I am working on Online Interactive Form for Purchase Requisition.
I have a dropdown in the dynamic table and I am trying to populate the same in DoInit().
I am using the following code. But the drop down is displayed empty.
DATA:
lr_node_info type ref to if_wd_context_node_info,
lt_value_set TYPE wdy_key_value_table,
value_set_item TYPE wdy_key_value.
types: BEGIN OF TY_UOM,
UOM TYPE T006-MSEHI,
END OF TY_UOM.
*Define Internal Table and work area.
DATA: IT_UOM TYPE STANDARD TABLE OF ty_uom,
WA_UOM type ty_uom.
lr_node_info = pr_node2->get_node_info( ).
data j type i.
j = 1.
SELECT MSEHI FROM T006 INTO wa_UOM.
value_set_item-key = j.
value_set_item-value = wa_uom-uom.
insert value_set_item into table lt_value_set.
insert wa_uom into table it_uom.
j = j + 1.
ENDSELECT.
lr_node_info->set_attribute_value_set( NAME = 'UNIT'
VALUE_SET = lt_value_set ).
Can any one tell me what is wrong with the above code? and provide a sample code for the same.
Actually I have a dropdown for UOM in the table and trying to populate it.
The hierarchy is as follows
BAPI_REQUISITION_CRE ->CHANGING -> REQUISITION_ITEM->DATA->Unit
Thanks
VijaiHi Thomson,
Create a context node A with cardinality 1..1 and in this create a context node A1 with cardinality 0..n and in this node create attributes TEXT and VALUE.
Now goto method and in that method using code wizard read the node A1.
And use the below code snippet sample in your program
*Declare the TYPES
TYPES : BEGIN OF TY_TABLE,
TEXT TYPE SOMETYPE,
VALUE TYPE SOMETYPE,
END OF TY_UOM.
*Define Internal Table and work area.
DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0,
WA_TABLE TYPE TY_TABLE.
SELECT TEXT VALUE FROM TABLENAME INTO TABLE IT_TABLE.
lr_node_info->bind_table( IT_TABLE ).
And in the Adobe Form Layout
Go to Menu of the Adobe LiveCycle Designer:
Tools>Options..>DataBinding
In that window u just check the Show Dynamic properties Check Box.
Now for the Drop Down go the binding tab in object palette and click on the list items and there specify the text as the internal table text field and value as internal table value field and select the internal table.
Regards
Pradeep Goli -
Missing code in "Offline Interactive Forms Using ABAP" SDN document?
I am trying to build a sample offline form scenario using the code published in the SDN document "Offline Interactive Forms Using ABAP" written by Vani Krishnamoorthy. Everything works perfectly up to the point where we instantiate the PDF Object to extract the data from the form. Then there seems to be some code missing just before we call the method SET_DOCUMENT. We are supposed to export the parameter pdfdata = pdf_data , but I cannot find where pdf_data variable is declared or assigned. Also, an ENDTRY statement seems to be missing.
Has anyone had success with Vani's offline scenario, and if so, do you know what code is missing, if any?
Thanks in advance for any help you can offer.I found the missing code in sample program FP_PDF_TEST_06. Everything works well now.
The PDF file that was uploaded from the PC first needs to be converted from binary to XSTRING before you can create the PDF object:
data: lt_rawtab type standard table of raw255,
g_pdfdata type xstring,
l_len type i.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = l_filename
filetype = 'BIN'
importing
filelength = l_len
changing
data_tab = lt_rawtab "PDF file (binary)
exceptions
file_open_error = 1
file_read_error = 2
etc. etc.
Convert binary tab to Xstring
call function 'SCMS_BINARY_TO_XSTRING'
exporting
input_length = l_len
importing
buffer = g_pdfdata "converted to Xstring
tables
binary_tab = lt_rawtab
exceptions
failed = 1
others = 2.
if sy-subrc is not initial.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Instantiate PDF object..
data: l_fp type ref to if_fp value is initial,
l_pdfobj type ref to if_fp_pdf_object value is initial,
l_fpex type ref to cx_fp_runtime,
l_type type string,
l_errmsg type string.
Get FP reference
l_fp = cl_fp=>get_reference( ).
Handle exceptions with Try..Endtry
try.
Create PDF Object using destination 'ADS' (<--this is how it is
defined in SM59)
l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).
Set document
l_pdfobj->set_document( exporting pdfdata = g_pdfdata ).
Tell PDF object to extract data
l_pdfobj->set_extractdata( ).
Execute the call to ADS
l_pdfobj->execute( ).
catch cx_fp_runtime_internal
cx_fp_runtime_system
cx_fp_runtime_usage into l_fpex.
case cl_abap_classdescr=>get_class_name( l_fpex ).
when '\CLASS=CX_FP_RUNTIME_INTERNAL'.
l_type = 'INTERNAL ERROR'.
when '\CLASS=CX_FP_RUNTIME_SYSTEM'.
l_type = 'SYSTEM ERROR'.
when '\CLASS=CX_FP_RUNTIME_USAGE'.
l_type = 'USAGE ERROR'.
endcase.
l_errmsg = l_fpex->get_short( ).
message e010(ad) with l_type ':' l_errmsg.
endtry.
Maybe you are looking for
-
Viewing Excel Files using Tomcat - Problem with caching
Hi all, A small part of an application I'm writing has links to Excel files for users to view/download. I'm currently using Tomcat v5 as the web/app server and have some very simple code (an example is shown below) which calls the excel file. <%@ pag
-
How can I print out contact list showing info for contacts?
How can i print out my contact list showing info. (phone #, email address, etc.)
-
Can you report which days absence quotas accrued?
Through PT50 transaction, I can see that relative day when hours are accrued to an absence quota. This data seems to be pulled from table ZKO in B2 cluster. I would like to run a report for a group of employees to get the actual dates within a year
-
hi gurus, i've created a function group with severel function modules and all that stuff but i wonder if ist possible to download all the function modules, PAI, PBO and includes to the hard drive. Is there any FM that i can use to do that ? Thanks, R
-
$$added root$$
All, I am trying to debug an ADF application I am writing in 10.1.3.4. I am using ADF Faces with ADF/BC. I have turned debugging on. While I am running on my local embedded OC4J (and maybe on iAS external server as well), I get a long pause (30 secon