Want to generate non-interactive form
Hi Experts,
I want to generate some reports from webdynpro java as pdf.i want to do
this as non-interactive form.Please tell me how can i generate such a non interactive form , if possible with example or as step by step procedure.
Regards,
Ramanan.P
Hello,
if you set the flag 'Readonly' for your Interactive form element it will be a non-interactive form.
Best regards,
Dezso
Similar Messages
-
Problem when generating an non-interactive form in Web Dynpro java.
Hi,
I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
Any ideas?
Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PMYeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
My ideas about your question:
When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
- One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
- Next moment it can be non-interactive, e.g. form is shown to another user.
So it's more the scenario/situation that determines if the form is interactive or non-interactive. -
To print image in Non interactive form
I have a requirement where image file is attached to QM02 transaction, now i want to print the attached image on QM02 print output. I am planning to use Non interactive form method to print the form output.
Can anyone pls guide me how to insert/print image file which is attached at the transaction level.Otto:
I followed the steps you have described in one of your earlier reply but I am unable to see the image on the non-interactive ADOBE form.
Here is what I did.
1) In the "Code Initialization" section of the form, I coded to get the SE78 stored image in to XSTRING field (by calling method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp)
2) I created the image field and bound it to the XSTRING field derived in step 1. And I check marked "embed image" in layout of the image field.
I also followed some other threads on this forum and tried to create a graphic node with a global field of mime type "BMP" and bound my XSTRING data onto it but to no avail.
Any ideas?
Thanks.
Jitendra Mehta -
Bundling different (non-interactive) forms
Hi,
I want to bundle different non-interactive form. When I run the report FP_CHECK_BATCH_PDF_RETURN with the settings:
Bundle Mode = X
All Forms in One PDS = checked
i got the error message "Call contained error(s): ASSEMBLE (FP_JOB_OPEN)"
When I select Bundle Mode = M everything works fine. I tested the report on many different systems with different ADS versions, but the error was always the same. Can anyone tell my what the problem is?
Thx in advance!
MarkusHi Markus,
the SAP Help explain exact your problem. I don't get into it. I tried it with release 7.31 and also with 7.02 a few weeks ago and everything worked fine. Just work through the help.
Here is a Wikipage which provides an example-coding:
How to assemble PDF form pages into one file - ABAP Development - SCN Wiki
I also got this link in my pocket,but you sound very familiar to the language)
Formulare bei der PDF-R�ckgabe b�ndeln (SAP-Bibliothek)
You have to set fp_outputparams-getpdf = 'M', that's a must do, to use the function.
Regards
Florian -
Saving the interactive adobe for as readonly or non-interactive form
Hi,
I want to save the interactive form in the final submission as non ineractive or readonly.Though i could able to save the form as pdf but the form is editable.Can any one suggest solutions for this.
Thanks in advance.
Devhi,
that should be easy.
make a Context attribute <xxx> of type "boolean"
GOTO
interactive form->properties ->enabled
there instead of choosing "true" or "false", you can bind it to a context attribute.(click on ...)
By default make the context "true" so that it is enabled.
at some particular event when you want it to be disabled. set the bound context to "false".
this should help.
regards,
-ag. -
Sending the adobe interactive form as non-interactive form through email
Hi ,
I am trying to send the interactive adobe form as non-interactive form through email.The interactive form size is very large because of the interactivity.
Can anybody suggest how to do this.
Regards,
DebasisDear Antony,
Thanks for the reply.
I got you but can you pls guide me how to go about it.
I need to send the email while submiting the form.So when and how i will be mapping each data node /attibutes of the main form with the intermediate form.My interactive form is of 30 pages and it may grow upto 40 pages.My response is with the to the main form where i am showing the success message.
Regards,
Debasis Nayak -
How to get a non-interactive Form
Hello,
Is it possible to use livecycle Forms to generate a non-interactive PDF using a pdf file? If using a xdp file i get a non-interactive pdf file, however, when using a pdf file as the input the pdf is always interactive. the parameters I used:
sPreferences = "PDF";
options = "CacheEnabled=False&RenderAtClient=False",
thank youFrom Visual Basic 6 I am attempting to merge several copies of a template form. Since these copies all have the same field names, InsertPages will not work properly. Alternatively I sought to re-name the field names in my code. Turns out this is a read-only property. My last thought is to somehow convert the "interactive" pdf into a "static" (or, "non-interactive" one that I will be able to merge. Anyone know how to do this? thanks
-
Generate Adobe Interactive Form in background and setpdfSource value.
Hi,
Is there any way to create Adobe Interactive Form in the background assigning R/3 data (without displaying) and assign pdfSource binary information in context attribute and later, display Adobe Interactive Form using pdfSource context attribute in a new window?
if Adobe Interactive Form is in Visible state, I'm also able to display Adobe Interactive Form in a new window using pdfSource binary context attribute, .
But, unable to create Adobe Interactive form in the background when Adobe Interactive Form Visibility is NONE and unable to assign binary data to pdfSource attribute in context and hence unable to display Adobe Interactive Form in a new window. Kindly help me if this process is possible.
Thank you in advance.
Regards
PrasadHi Prasad,
This is certainly possible. First populate the dataSource context node with the data (e.g. coming from R/3). Then use <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/api/WDInteractiveFormHelper.html">WDInteractiveFormHelper.getContextDataAsStream</a> to obtain the data.xml as a byte[] by calling toByteArray() on the ByteArrayOutputStream. The next step is to obtain the xdp template as a byte[] (I don't know exactly how to do this, but it's certainly possible using some API, just as you would read other resources deployed within your Web Dynpro). When you have both the template and the data, you can use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/package-summary.html">PDFDocument</a> API to render a PDF, something as <i>WDPDFDocumentFactory.getDocumentHandler().getDocumentContext().getDocumentCreationContext()</i>; set the data and the template and other options like interactive, call execute and retrieve the pdf byte[] from the returned object. Eventually you can assign the pdf byte[] to the pdfSource context attribute. In case you use NW04, you must use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/pdfobject/api/package-summary.html">PDFObject</a> instead.
Besides, why would you want to create the PDF before displaying it?
Kind regards,
Sigiswald -
How to add table in SAP Non interactive forms in webdynpro java
Hi Experts,
I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
Please suggest.
Thanks,
Rajani
Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AMRajani,
Take a look at below links, it will help you.
[Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
[Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
[How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
[How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
Chintan -
Error in generating adobe interactive form created from WSDL file
Hi,
I have created a form in SFP from a WSDL file.Copy paste the below program and when i run the program it gives me error message
"_Adobe reader could not open ..Because it is either not supported file type or has been damaged (...)"_. I am not sure whether i am doing right.If this is not the right one, then how can i generate a interactive PDF from WSDL.
DATA: ie_outputparams TYPE sfpoutputparams.
DATA: i_name TYPE fpname,
i_funcname TYPE funcname.
DATA: fp_docparams TYPE sfpdocparams.
DATA: fp_formoutput TYPE fpformoutput.
DATA: data_tab TYPE solix_tab.
ie_outputparams-getpdf = 'X'.
ie_outputparams-nodialog = 'X'. " suppress printer dialog popup
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ie_outputparams.
TRY.
i_name = 'ZSPADOBE01'. "your form name
i_name = 'Z....'. "your form name
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = i_name
IMPORTING
e_funcname = i_funcname.
CATCH cx_fp_api_repository.
CATCH cx_fp_api_usage.
CATCH cx_fp_api_internal.
ENDTRY.
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
CALL FUNCTION i_funcname
EXPORTING
/1bcdwb/docparams = fp_docparams
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
DATA: filename TYPE string,
path TYPE string,
fullpath TYPE string,
default_extension TYPE string VALUE 'PDF'.
cl_gui_frontend_services=>file_save_dialog(
EXPORTING
default_extension = default_extension
CHANGING
filename = filename
path = path
fullpath = fullpath ).
CHECK fullpath IS NOT INITIAL.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = fp_formoutput-pdf
TABLES
binary_tab = data_tab.
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = filename
filetype = 'BIN'
CHANGING
data_tab = data_tab ).
cl_gui_frontend_services=>execute(
EXPORTING
document = filename ).Hi Sanu,
Hope this link help you.
[CALLING WEB SERVICES IN INTERACTIVE ADOBE FORMS|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20280d13-7b93-2e10-51a0-ba05fd26355a]
Regards,
Shaira -
Hi,
I want to generate a pdf programmatically and display it to the user.
I have a WDJ application. After submitting the data, I would like to give a display only view of the data (using pdf) the user has entered, so that he/she can save the pdf or take a print of it.
Do I need adobe lifecycle designer to generate display only pdf or can I create using some API? How do I proceed ahead? Any blog link / guideline would be appreciated.
This pdf will not have any interaction with users, just a plain display.
Regards,
ShamSorry, I didn't get your response. We have ADS installed and configured. But, my query is that do I have to use adobe lifecycle designer for creating/designing the pdf?
-
Using a pdf-template for generating an interactive form
Hi guys,
I have got the following problem. I have got an pdf-Document, that can be printed out and filled out manually.
Instead of I just want to use this pdf-Document as an template for an online form, by adding some fields.
How can I use this pdf-Document as an template?
Thank you for your answers. Patrick.Hi Patrick,
Let me see if I understand your query properly first. Your requirement is that you have a PDF file which is pretty much fixed.
Now you want to use the Template present in the PDF file to be shown to the user, but this should be pre-filled with data that you receive from a Web Service & RFC.
Now firstly I will mention the easy way, which would require you extract the PDF Template statically, I am not sure if the API has now been released to do that programatically.
Now, lets say you store it is some location the template file, you would also need to tweak the DataBinding properties in the Template to match to that of the Context Node you will use in the application.
Now in the ModifyView method you should get a reference to the Interactive form element, use the setTemplateSource method to refer to your template.
Now based on the response from your RFC/WebService create the appropriate attributes into the node, and your form should work fine.
Regards,
Pavan -
About the non interactive form ?
i want to use ads forms to print some report and it has no interactive action ,and when i print this form ,it report to me that i must upgrade my acrobat reader to 7 ,
if i donot need interactive form ,must i upgrade my acrobat ?You do not need to upgrade to the latest version (although it is recommended), but you will not be able to suppress the Reader pop-ups. This means you will always have to click those away. This is also documented in SAP Note <a href="http://service.sap.com/sap/support/notes/834573">834573</a>.
Cheers,
Markus -
Rendering a non-interactive form
How do we use scripting in Live Cycle Designer to render a non-interactive pdf. Data is populating the form using xml. Thanks and help will be appreciated
Couple of issues that you should know before proceeding.
1. To communicate with a web service from the form using Reader you will need to Reader Extend the form using Reader Extensions Server and not Acrobat. Acrobat does not turn that right on. Note that if you intend to use Acrobat this is not an issue.
2. There is no means of getting the PDF form while it is running into the context of a SOAP message. There is no programmatic way to put the PDF into the payload from the form. I can get the data but not the form.
3. Once the data is populated into the form we could change all of the fields to Read Only ...thereby achieving the flattening that you require.
4. The web service will not be able to save or print locally through the client. The client will have to do that . The client being Reader or Acrobat. -
Error during activation of adobe non-interactive form
Hello everyone,
I am trying to activate a non-interactive adobe form and am getting the below error:-
"Field p_lifnr has a conversion routine(see SAP note 796755)".
I have made sure that this field (which is corresponding to LFA1-lifnr) has context binding, I even tried using below code in its interface:-
GET PARAMETER ID 'LIF' FIELD p_lifnr.
and also tried the below:-
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = p_lifnr
IMPORTING
output = p_lifnr.
just in case..
but all above in vain,can someone let me know what might be the problem....or where would I find this 'SAP note 796755' ?
Thanks,
Rachna.Hi,
I am facing the same problem of "Error during activation" while activating the SAP interactive form.
I am using ECC 6.0, ADL 7.1 and Adobe reader 8.0
Could you please suggest a way out.
Thank You
Aser
Maybe you are looking for
-
How do I make this code generate a new pro when the "NEXT" button is pushed
How do I make this code generate a new set of problem when the "NEXT" Button is pushed * To change this template, choose Tools | Templates * and open the template in the editor. /* Figure out how to create a new set of problms * Type a list of specif
-
HT201302 How to transfer a photo folder from iPhone 5 to Windows XP computer?
Hi, I created a folder on my iPhone, and now would like to transfer this folder to my Windows XP computer. Is there an easy way to do this? Thank you for reading. Stefan
-
How to develope, compile and run soap service
we want to implement the soap sevice in our concern.So its very diffcult to develope the soap program.I dont know about the soap service.please give me a input about soap and how to develope soap programs.Pls also give some sample programs and how to
-
Saving archived emails for entourage 2008 on 2 different MacBooks
I use a Entourage 2008 on Macbook Pro at work on an exchange server and archive emails to specific files on my computer section. This allows me to keep the record of the email and keep the mailbox size appropriate for work. At home I have a separate
-
I wrote tag class like this public int doStartTag() throws JspException try { System.out.println("Hello doStartTag"); StringBuffer question = new StringBuffer(); question.append("<tr><td>");