PDF form problem in web dynpro
Hello Everybody,
I have some problem with PDF form in web dynpro application.
I have used T layout view set. On top view i put one image. On left view i have tree element. On right side i have all other elements.
Right side, different views are displayed depending upon the option chosen from tree. But, when I opened view containing Adobe form and then try to choose any other options, Internet browser gives system error and browser closed.
What should be the reason behind this?
Regards,
Bhavik
Hi Markus,
What should be the version of ACF.
I have installed ACF SP11.
My WAS server is SP12.
Acrobat reader version is 7.0.5.
But if i change Acrobat reader version to 6.0.3 then it works. But i want version 7.0.5 for date popup.
Regards,
Bhavik
Similar Messages
-
How to generate and display the pdf form as a web dynpro abap view
Hi,
I filled the value in the table and displayed in the view,In that view i have one button"TOPDF".
My requirement is,if i click that button,i want to display the table in the PDF output.
For the above requirement,i created another view with interactive form,In that view i created one "pdf" Node and "soure" as a attribute of Type-xstring.Then i binded the soure attribute withe "pdfdatasoure" of my interactive form view.
Now my doubt is how and where can i pass the table values to pdf output.
can any body cleare my doubt with some sample code.
Thanks in Advance.
Regards,
Ravi.Hello Ravi,
Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
Best regards,
Thomas -
Problem in submit button on adobe form integrated with web dynpro
Hello,
I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
However, on clicking Submit button this event is not getting triggered.
Please let me know what is lacking in this process?
Thanks.Hi,
I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
I have tried the above solution but after adopting this solution all the editable fields become non-editable.
so the above solution is not working for me could you help me out.
I think ... try this....
When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
Thanks
Edited by: shailendra2sap on Mar 6, 2009 12:24 PM -
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
Unable to retrieve the data in multiple rows within webservice method.Hi Paul,
I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
this is my code
TextField1.rawValue=xmlData.document.rawValue;
xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
for(var i=0; i<count; i++)
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
Table1.Row1.instanceManager.addInstance(true);
Thanks
Hussam -
Submit button in interactive adobe form in abap web dynpro
Hi can anyone help me out to know hoe to use the submit button in adobe interactive form in abap web dynpro .
Iam creating a adobe form abap web dynpro . There i need to use the submit button to trigger some action in the adobe interactive form .
So i need to know how to use the submit button and coding for that in the abap web dynpro .
VighneshHi Michelle,
Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
Many Thanks
Christine -
Are ZCI interactive forms available via Web Dynpro for ABAP?
Note 955795 talks about ZCI forms available via Web Dynpro for Java. Is this kind of forms also available via Web Dynpro for ABAP?.
Do ZCI interactive forms work via Web Dynpro for ABAP without the need of ACF?
If available, which support package levels are required?
RegardsHi Mahamed,
I got your problem. You have not done anything wrong.
It is WebAS version which is not supported for this functionality.
But there is solution to this problem
Please refer to the SAP Note number - 1055738.
I think you will get the answer and the scenario described there will match your requirement.
This is a know issues with WebDypro ABAP but this works fine for Java Web Dynpro.
I have also tried for 2 months but finally came to know about it.
Regards
Satya -
Develop forms using Adobe Forms and ABAP Web Dynpro
Hi,
Could someone help me on how to learn forms development using Adobe Forms and ABAP Web Dynpro? Any suggestion on Tutorials / Books / other helpful hints please?
I have good knowledge of Smart Forms and used these to generate PDF Attachments via emails.
Thanks.
Regards
Keshavhttp://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/d-f/faq%20on%20interactive%20forms%20based%20on%20adobe%20software.faq
-
How to create table in interactive form via Java Web Dynpro
Hi,
How to create table in interactive form via Java Web Dynpro ?
Any online tutorial / example ?
Thank you.
Regards,
EricHi Eric,
Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
Hope it will solve your query.
Regards,
Vaibhav Tiwari. -
after updating my iMac to Adobe Reader 11.0.07, I cannot print pdf forms off the Web
It would be great, if you could provide us with the following details:
1. The OS you are working on.
2. The version of MS Office installed on your machine.
3. A screenshot of the error message along with the scenario in which the same is displayed.
4. How exactly did you go about updating Reader 11.0.02 to 11.0.03. Was it via the updater mechanism or by downloading the patch from the Adobe site.
Also, it would be great if you could let us know if there was any other Windows or Antivirus related updates applied on your machine in the same timeframe as the Reader update. -
ZCI and ADS problem when creating forms in ABAP WEB DYNPRO
1.)
My ZCI problem is, whenever I try to create a form, i choose ZCI layout, then want to insert Web Dynpro Script, i get the message:
"Error when inserting Web Dynpro Script"
Therefore I cannot activate my forms.
2.)
I also tried to configurate ADS in transaction SM59. When trying the Check connection button, it works, but when trying report FP_PDF_TEST_00, a logon window pops up, whichafter I get the errormessage:
ERRORCODE : 100.101
Why is that, and how can I solve this?
Thanks, Bye,
PeterHi !
I found 5 server logs.
In server.2.log I found this, that' s probably the exception I caused:
#1.5#0013D3EA4A430047000005330000031800043F71AC53F84C#1195657361859#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.ads.request.RenderErrorLog#ADSUSER#35491#SAP J2EE Engine JTA Transaction : [172ffffff803e00333]####SAPEngine_Application_Thread[impl:3]_10##0#0#Warning#1#com.adobe.ads.request.RenderErrorLog#Plain###Cannot generate Log.pdf#
#1.5#0013D3EA4A430047000005340000031800043F71AC53F8BE#1195657361859#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35491#SAP J2EE Engine JTA Transaction : [172ffffff803e00333]####SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###General exception while merging XMLForm Module Render log data into log.pdf#
#1.5#0013D3EA4A430047000005360000031800043F71AC53FC53#1195657361859#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35491#SAP J2EE Engine JTA Transaction : [172ffffff803e00333]####SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###Processing exception during a "Render" operation.
Request start time: Wed Nov 21 16:02:41 CET 2007
com.adobe.ads.destination.DestinationException: File Not Found while reading Dest URL: http://nw04s.dyndns.org:50200/sap/bc/fp/form/layout/ZZ_PB_ATTEMPT.XDP?fp-language=EN
Not Found
Exception Stack Trace:
com.adobe.ads.destination.DestinationException: File Not Found while reading Dest URL: http://nw04s.dyndns.org:50200/sap/bc/fp/form/layout/ZZ_PB_ATTEMPT.XDP?fp-language=EN
Not Found
at com.adobe.ads.destination.Destination.readUrlStream(Unknown Source)
at com.adobe.ads.destination.Destination.readTemplate(Unknown Source)
at com.adobe.ads.data.DestURLData.setData(Unknown Source)
at com.adobe.ads.data.DestURLData.<init>(Unknown Source)
at com.adobe.ads.data.PDFData.createFromURL(Unknown Source)
at com.adobe.ads.data.PDFData.create(Unknown Source)
at com.adobe.ads.request.Template.setPDFData(Unknown Source)
at com.adobe.ads.request.Template.initialize(Unknown Source)
at com.adobe.ads.request.Renderer.initializeTemplates(Unknown Source)
at com.adobe.ads.request.Renderer.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.processRender(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: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:160)
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)
#1.5#0013D3EA4A4300500000011B0000031800043F71CEEDC838#1195657942250#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.ads.request.RenderErrorLog#ADSUSER#35551#SAP J2EE Engine JTA Transaction : [172ffffff803e0033f]####SAPEngine_Application_Thread[impl:3]_12##0#0#Warning#1#com.adobe.ads.request.RenderErrorLog#Plain###Cannot generate Log.pdf#
#1.5#0013D3EA4A4300500000011C0000031800043F71CEEDC8B3#1195657942250#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35551#SAP J2EE Engine JTA Transaction : [172ffffff803e0033f]####SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###General exception while merging XMLForm Module Render log data into log.pdf#
#1.5#0013D3EA4A4300500000011E0000031800043F71CEEDCC40#1195657942250#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35551#SAP J2EE Engine JTA Transaction : [172ffffff803e0033f]####SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###Processing exception during a "Render" operation.
Request start time: Wed Nov 21 16:12:22 CET 2007
com.adobe.ads.destination.DestinationException: File Not Found while reading Dest URL: http://nw04s.dyndns.org:50200/sap/bc/fp/form/layout/ZZ_PB_ATTEMPT.XDP?fp-language=EN
Not Found
Exception Stack Trace:
com.adobe.ads.destination.DestinationException: File Not Found while reading Dest URL: http://nw04s.dyndns.org:50200/sap/bc/fp/form/layout/ZZ_PB_ATTEMPT.XDP?fp-language=EN
Not Found
at com.adobe.ads.destination.Destination.readUrlStream(Unknown Source)
at com.adobe.ads.destination.Destination.readTemplate(Unknown Source)
at com.adobe.ads.data.DestURLData.setData(Unknown Source)
at com.adobe.ads.data.DestURLData.<init>(Unknown Source)
at com.adobe.ads.data.PDFData.createFromURL(Unknown Source)
at com.adobe.ads.data.PDFData.create(Unknown Source)
at com.adobe.ads.request.Template.setPDFData(Unknown Source)
at com.adobe.ads.request.Template.initialize(Unknown Source)
at com.adobe.ads.request.Renderer.initializeTemplates(Unknown Source)
at com.adobe.ads.request.Renderer.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.processRender(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: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:160)
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)
#1.5#0013D3EA4A430051000001570000031800043F71DDC53630#1195658191203#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.ads.request.RenderErrorLog#ADSUSER#35577#SAP J2EE Engine JTA Transaction : [172ffffff803e003317]####SAPEngine_Application_Thread[impl:3]_13##0#0#Warning#1#com.adobe.ads.request.RenderErrorLog#Plain###Cannot generate Log.pdf#
#1.5#0013D3EA4A430051000001580000031800043F71DDC536AC#1195658191203#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35577#SAP J2EE Engine JTA Transaction : [172ffffff803e003317]####SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###General exception while merging XMLForm Module Render log data into log.pdf#
#1.5#0013D3EA4A4300510000015A0000031800043F71DDC53A39#1195658191203#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#35577#SAP J2EE Engine JTA Transaction : [172ffffff803e003317]####SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#com.adobe.AdobeDocumentServicesWorker#Plain###Processing exception during a "Render" operation. -
Problem with Web Dynpro ABAP Adobe form Access via 'NULL' object reference
Hi All!
I'm a beginner of Adobe form.
problem 1:
I tried to display data in Adobe interactive form according to the tutorial :https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7783. [original link is broken] [original link is broken] [original link is broken]
I checked every step, but unfortunately it reported an error: Access via 'NULL' object reference not possible. I found that the error happens when trying to get element of the context node.
I also have such problem when I was studying the tutorial https://wiki.sdn.sap.com/wiki/display/WDABAP/CallAdobeFormthroughABAPWebDynpro.
problem 2:
I can't input any data in input box or click any button even if I selected the property 'enabled' of the interactive form while my colleague can do it on his computer. Does it means that there are some thing wrong with my adobe reader?
Hope anyone could save me,
Thanks & Regards,
Murloc>
tomcat123 wrote:
> Hi All!
> I'm a beginner of Adobe form.
> problem 1:
> I tried to display data in Adobe interactive form according to the tutorial :https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7783. [original link is broken] [original link is broken] [original link is broken]
> I checked every step, but unfortunately it reported an error: Access via 'NULL' object reference not possible. I found that the error happens when trying to get element of the context node.
> I also have such problem when I was studying the tutorial https://wiki.sdn.sap.com/wiki/display/WDABAP/CallAdobeFormthroughABAPWebDynpro.
Check that you have entries in the Table MARI. else you will get this message.
> problem 2:
> I can't input any data in input box or click any button even if I selected the property 'enabled' of the interactive form while my colleague can do it on his computer. Does it means that there are some thing wrong with my adobe reader?
>
Compare the adobe live cycle version. it will work fine with 7.0/7.1
> Hope anyone could save me,
> Thanks & Regards,
> Murloc -
Blank adobe form displayed in web dynpro application
Hi,
I have created an Interactive Adobe form using web dynpro Java. When I run the form (in IE), a blank page is displayed.
If I keep the Adobe reader open and run the form on IE, the form is opened in reader and it's working.
When I access the same form on a different system, there is no problem.
Does this have anything to do with the IE settings or Adobe Reader version/ updates.
I have checked the adobe reader version and it's the same on both the systems.
Version:
Adobe Reader Version : 8.1.2.
Adobe Designer 7.1
SAP NW 2004s - SP 15
Thank you,
VasuNot sure what the problem could be, here are some suggessionsu2026
Check whether you have enabled the option Display PDF in browser in the Adobe Reader.
I should be under: Edit > Preference > Internet
Also, in your Web Dynpro Application, try to set the u201CdisplayTypeu201D property of your Interactive form to ActiveX
Else, just try upgrading your Adobe Reader to latest version!
Hope this helps,
Harman -
Adobe form interactive with web dynpro
I wanna get the user typed text from the form into web dynpro but get none.
After user typed the comment in a input field and press the button in the web dynpro, the program will get the pdf source from the context and parse it. The program get other text pre-defined in the form generation but doesn't get the user typed text.
I tried to change the form type to ZCI use t-code sfp_zci_update. But still failed to get the user typed text.
What's the problem?Dear Ralf,
Thanks for your prompt replies. I appreciate it.
I've copied the following code mentioned in the note and pasted it in my wddomodifyview method.
But after activating and executing the application, the application time outs and gives ADS time out error.
I've checked and am sure that it is the below code that makes it time out.
I would also like to draw your attention to the fact that when i then run prog. FP_TEST_00, it also hangs.
Please help.
500 Connection timed out
Error: -5
Version: 7000
Component: ICM
Date/Time: Tue Mar 22 09:52:18 2011
Module: icxxthr_mt.c
Line: 2707
Server: AIERD_AED_00
Error Tag: {-}
Detail: Connection to partner timed out after 180s
Code is:
data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
check first_time = abap_true.
LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'IFORM').
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
Edited by: User on Mar 22, 2011 5:44 AM -
Adobe Form dumps in Web Dynpro ABAP Application but opens up by Report
Hello Experts,
I created a form and tested it by creating a report which contains following code,
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = lv_form_name "my form name
importing
e_funcname = iv_function_name.
*retrieve data in lt_items
call function iv_function_name
exporting
/1bcdwb/docparams = fp_docparams
it_item = lt_items
is_header = is_header
control_parameter = ls_control_parameters
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3.
However when I try to do it on click of a button in my Web Dynpro Application, it dumps (the action has very much the similar code).
The error is: USAGE_ERROR
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
Thanks in advance for your help.
Best regards,
AbirHi Otto,
I try to paste the ST22 log below.
Short text
Exception condition "USAGE_ERROR" raised.
Error analysis
A RAISE statement in the program "SAPLFPCALL" raised the exception
condition "USAGE_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Source Code Extract
Line SourceCde
16 * Return of PDF is always possible.
17 IF ie_outputparams-device IS NOT INITIAL AND
18 ie_outputparams-device <> 'PRINTER'.
19 * Devices TELEFAX and MAIL are not allowed in many cases.
20 IF ie_outputparams-nodialog = c_false
21 OR ie_outputparams-preview = c_false
22 OR ie_outputparams-noprint = c_false
23 OR ( ( ie_outputparams-arcmode = '2' OR ie_outputparams-arcmode = '3' )
24 AND ie_outputparams-noarchive = c_false ).
25 * Dialog or no preview; preview only if no output or archiving requested.
26 MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '110'
27 WITH ie_outputparams-device RAISING usage_error.
28 ENDIF.
29 ENDIF.
30 ENDIF.
31
32 * Call the internal interface.
33 move-corresponding ie_outputparams to l_params.
34
35 call function 'FPCOMP_JOB_OPEN'
36 changing
37 ie_outpar = l_params
38 exceptions
39 cancel = 1
40 usage_error = 2
41 system_error = 3
42 internal_error = 4.
43 case sy-subrc.
44 when 0.
45 when 1. raise cancel.
>>>>> when 2. raise usage_error.
47 when 3. raise system_error.
48 when 4. raise internal_error.
49 endcase.
50
51 move-corresponding l_params to ie_outputparams.
52
53 endfunction.
Contents of system fields
Name Val.
SY-SUBRC 2
SY-INDEX 7
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 70
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20101110
SY-UZEIT 091449
SY-XPROG SSO2GETPARAM
SY-XFORM GET_PARAMETER
Chosen variables
Name
Val.
No. 20 Ty. FUNCTION
Name FP_JOB_OPEN
IE_OUTPUTPARAMS
PRINTER XX 00#䄀### #䄀### X ##00000000000000 00>
0000000000000000000000000000000000000000000000004000000040000000000000000000000000000000000000
0000000000000000000000000000000000000000000000001000000010000000000000000000000000000000000000
5544545255222222222222222222222222222222222223300000222000002222225222003333333333333322233344
029E4520880000000000000000000000000000000000000000000000000000000080000000000000000000000000C9
005000520049004E005400450052002000580058002000200020002000200020002000200020002000200020002000
SYST-REPID
SAPLFPCALL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454454444222222222222222222222222222222
310C6031CC000000000000000000000000000000
005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_SPACE
0
0
2
0
0020
SY-SUBRC
2
0000
0002
00000002
SY-REPID
SAPLFPCALL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454454444222222222222222222222222222222
310C6031CC000000000000000000000000000000
005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_DUMMY$$
0000
0000
2222
0000
0020002000200020
SY-MSGV3
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SY-MSGNO
111
000
000
333
111
003100310031
%_VIASELSCR
0
4
04
SY-MSGV4
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SPACE
0
0
2
0
0020
Application Calls
Index Calls
1 R=7 P=/sap/bc/webdynpro/sap/INM_WORKCENTER_APP/
Internal notes
The termination was triggered in function "ab_jfune"
of the SAP kernel, in line 3058 of the module
"//bas/720_REL/src/krn/runt/abfunc.c#3".
The internal operation just processed is "FUNE".
Internal mode was started at 20101110091356.
Lock Shared Objects
ModeLockRe Area Name
Instance Name Clt Lock Type
VersionId Label Include Line Time Stamp
1 CL_WDR_CONF_APPL_SHM
INM_WORKCENTER_APP. 102 R
178 5690 CL_WDR_CONF_APPL_SHBROKER=====CM001 9 20101110091356
2 CLUR_NW7_MESSAGE_AREA
E R
10 10 CLUR_NW7_MESSAGES=============CM003 11 20101110091356
3 CL_WDR_CFG_COMP_SHM
INM_WORKCENTER_COMP.AD4B75FF707A473CD26008949EBB0A69.07..E 102 R
11 12 CL_WDR_CFG_COMP_SHBROKER======CM006 29 20101110091359
Directory of Application Tables
Name Date Time Lngth
Val.
Program SAPMHTTP
SYST . . : : 00004612
\0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
SY . . : : 00004612
\0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
Program SAPLHTTP_RUNTIME
ICFBUFFER . . : : 00005624
ICFSERVICE . . : : 00004040
SAP 0000000000000000000000000DFFAEATGKMFLCDXQ04
Program CL_HTTP_SERVER================CP
RSJOBINFO . . : : 00000164
00000000000000
Program SAPLLANG
T002 . . : : 00000010
ES1EN|
Program SAPLSSFG
SSFARGS . . : : 00001734
Program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
INDX . . : : 00003104
102BMWD_SP_LEVEL \0\0\0 00000000
Program CONTEXT_X_TR_SYS_PARAMS
CONTEXTB . . : : 00002992
102EBTR_SYS_PARAMS 000007000100000000000000\0\0\0\0
TCONT . . : : 00000068
TR_SYS_PARAMS 20100623230418|
Program CL_WDR_TRACE_TOOL=============CP
INDX . . : : 00003104
102BMSWD_TRACETOOL_ACTIVEAR\0\0\0 00000000
Program SAPLSKWF_NAMESPACE
SKWF_URLIO . . : : 00000384
102BBMIME/sap/public/bc/ur/nw5/themes/custom
Program SAPLSDCL
SDOKIOCL . . : : 00000600
SDOKIOCLT . . : : 00000150
SDOKLOCL . . : : 00000754
00000000000000 0000000000
SDOKLOTAB . . : : 00000362
SDOKPHTAB . . : : 00000662
Program SAPLISOC
T002 . . : : 00000010
ES1EN|
Program CL_CALENDAR_DEFINITION_CALLER=CP
INDX . . : : 00003104
102ARCAL_DEF \0\0\0 00000000
Program CL_WDR_LS_JS_TIMESTAMP========CP
INDX . . : : 00003104
102BMCL_WDR_LS_JS_TIME... \0\0\0 00000000
Program CL_WDR_WINDOW=================CP
RSJOBINFO . . : : 00000164
00000000000000
Program CL_WDR_DELEGATING_VIEW========CP
RSJOBINFO . . : : 00000164
00000000000000
Program CL_CGPL_USER_OPTIONS==========CP
CGPLT_OPT_INDX . . : : 00003040
102OP* RPM \0\0 0
Program SAPLBDLS
T000 . . : : 00000214
102GCC:GTv1-5.IK.PLN Dev CltGDC CHF
Program SAPLSDEX
DD07L . . : : 00000120
/GLB/7PTIR_GLB_PROJSTATUS A00020000R
Program SAPLSSCU
USR02 . . : : 00000942
102ARAYCHA \0\0\0\02010032499991231AGCCSC_EU \0
Program SAPLPRGN
AGR_DEFINE . . : : 00000266
102TM15_GLB_XX_ZR4026A_PLN01
Program SAPLSDOC
DOKHL . . : : 00000306
TXLG1B0000062000009
DOKTL . . : : 00000296
Program SAPLSI63
IWBSETTING . . : : 00000260
Program SAPLSR11
TADIR . . : : 00000464
Program SAPLSUGU
CVERS . . : : 00000102
SAP_BW 702 0004 W|
Program SAPLSUG2
SVERS . . : : 00000144
702
Program CONTEXT_X_IWB_CLASS_PROPS
CONTEXTB . . : : 00002992
102IBIWB_CLASS_PROPS 000007000300000000000000\0\0\0\0
TCONT . . : : 00000068
IWB_CLASS_PROPS 20010206162330|
Program SAPLTIW1
IWTESTFCTS . . : : 00000052
|
Program SAPLSDCS
SDOKDOCSP . . : : 00000148
Program SAPLSDSD
DDSHOFFLD . . : : 00003020
IF/RPM/TS_ITEM_D_DATA_CUST YYGLB_SEVERITY
Program /1BCWDY/EI2AA7ZECUCSFD0NKHM6==CP
RSJOBINFO . . : : 00000164
00000000000000
Program SAPLSUNI
TFDIR . . : : 00000268
Program SAPLBDS_METHODS
BDS_LOCL . . : : 00000350
DEVC_STXD_BITMAP OTBDS_LOC3 BDS_POC3 BDS_RE
I really appreciate your help.
Many thanks and best regards,
Abir -
How to combine two or more adobe forms in Java web dynpro
Hi All,
I have a scenario where I have few screens each - a separate adobe form. For e.g. One adobe form for item creation, one fore details, one for planning. I need to combine all this into one and save a copy of the PDF.
Save PDF option is present in the adobe options but it saves only the current form. I want to combine few forms and save the whole thing into 1 PDF document. Is there anyway we can do this?
I am using web dypro java for Adobe forms on NWDS 7.0
Adobe Live cycle designer - 7.1
Adobe Reader - 8.1
SAP NW SP 12
PLease help!
Thank you,
VasuHi Amit,
Thanks for the response but my requirement is different.
I have to combine the contents of three PDFs (different adobe forms in different views in one web dynpro component) into one PDF ( a separate Adobe Form in different view in the same web dypro component).
I would be glad to know if you have a solution for such scenario. I am working on this since 4 days with no solution yet.
Thank you,
Vasu
Maybe you are looking for
-
I have installed NWDS 7.30 EHP1 SP 14 PAT000 with JVM 6 SAP AG to migrate wedynpro development components from 7.0 to NW7.4 WAS SAP AG 1.6.0_85 on Windows Server 2008 R2 6.1 SP09 PAT000 In track imported below SCAs of version 7.31 SP14 . Could
-
How do I get my iphone to stay listed under devices on Itunes page after I have unplugged it from my Mac? My ipad stays listed under devices.
-
my airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW.
-
Failed to update iPhone 4s to iOS 6
Failed to update iphone 4s to ios6 through wifi or itunes After complete download, preparing for install and near the end, failed to update Without explanatory error message or number Only choices offered close the update or search for update
-
I'm getting the above error on the server install. Here's the first line in the failure: File "/usr/lib/anaconda/network.py", line 685, in write if dev.get('BOOTPROTO').lower() in ['dhcp', 'ibft']:... From my research it appears to be a known bu