Adobe form as PDF string in Webservice importing parameter
Hello Experts,
Can you please clarify the below issue.
I have created a webdynpro.
I have placed an interactive form on one of it's view.
And kept one Submit button(Execute type) on the form to trigger one webservice.
This webservice has the importing parameter as the PDFSTRING.
So my requirement is to pass the entire form with filled values to the webservice importing parameter. I will be storing this PDF string in some tables.
What scripting i need to use in the form for getting this done.
Thanks in advance.
Regards,
Ram.
Hi Sai,
Thanks for ur input.
My requirement is not exactly the string with XML data, but the string with PDF data.
I will try to explain my requirement here in detail.
I have the adobe form triggering from the webdynpro. This form has different objects like, text fields, dropdowns, check boxes, radio buttons...etc and one SUBMIT button for which webservice is attached in the properties.
User will fill all the fields and clicks on SUBMIT. When he clicks on the SUBMIT, the webservice should attach the filled PDF document at partner level.
For this purpose, i need the string with PDF data and not the XML.
WIth this PDF string again i should be able to re generate the PDF document which was filled by the user.
If string with PDF data is not possible, Please suggest me the possible way of achieving this?
Regards,
Ram.
Similar Messages
-
Acrobat Reader
Why can I no longer fill in additional information on my adobe forms on pdf. At one time you could insert an icon that would allow you to type in additional information. It will only allow me to put in limited information?Not a lot of information. Can you post a link to a sample of the form so others can see the how the form does not work.
-
Place the Adobe Form as PDF file in a URL
Hi Experts,
I have created an Adobe form and got the PDF data in the form of XSTRING now I need to place this as PDF file in the URL which I have generated programmatically. Not sure on how to do it. Any function modules or classes to place this as PDF file at a URL will be really helpful for me.
Tried with HTTP* function modules and seems they are not working.
Thanks for you help.
Regards,
SrinivasHi Sai,
Thanks for ur input.
My requirement is not exactly the string with XML data, but the string with PDF data.
I will try to explain my requirement here in detail.
I have the adobe form triggering from the webdynpro. This form has different objects like, text fields, dropdowns, check boxes, radio buttons...etc and one SUBMIT button for which webservice is attached in the properties.
User will fill all the fields and clicks on SUBMIT. When he clicks on the SUBMIT, the webservice should attach the filled PDF document at partner level.
For this purpose, i need the string with PDF data and not the XML.
WIth this PDF string again i should be able to re generate the PDF document which was filled by the user.
If string with PDF data is not possible, Please suggest me the possible way of achieving this?
Regards,
Ram. -
Download Adobe-Form to PDF-File in Background
Hi,
I have developed an Adobeform which should be processed with a SM37-Job in background.
Is it possible to export the document as pdf to a Share on the filesystem?
thanks & best regards
FrankUploading and downloading adobe forms in sap report program This thread contains the answer,
let me extract it for you:
1. Use the FM 'FP_FUNCTION_MODULE_NAME'
* Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'ZAD_FORMNAME'
IMPORTING
e_funcname = V_FMNAME.
2. Call the generated function module to generate the pdf.
CALL FUNCTION lv_fmname
EXPORTING
/1bcdwb/docparams = s_docparams
IMPORTING
/1bcdwb/formoutput = s_form_output
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
3. The above structure 's_form_output' will have the PDF output in the XSTRING.
4. Use the FM - SCMS_XSTRING_TO_BINARY to convert the XSTRING to binary.
5. Finally call the GUI download Function Module or Method -
CALL METHOD cl_gui_frontend_services=>gui_download
The above explanation was written by Raja Babu - all credit to him. -
Adobe Forms, XML(PDF format) to PDF binary
Hi experts!
I'm working with Interactive Adobe Forms and the form function return the PDF in a XML format (xstring) through the parameter FPFORMOUTPUT-XML.
I need to save the PDF file (binary) without geting it through the "getpdf" parameter FPFORMOUTPUT-PDF.
Because the "getpdf" don't permit to show the user dialog print options.
How could I transform the XML(PDF) returned in binary PDF file?
Thank you all!Hello Evaristo
You can make use of CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' and CALL METHOD cl_gui_frontend_services=>gui_download to achieve this requirement.
Regards
Sandy
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = ls_params->es_output-s_form_output-xml
IMPORTING
output_length = lv_pdf_len
TABLES
binary_tab = lt_pdf.
lv_file_name = p_xml.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = lv_pdf_len
filename = lv_file_name
filetype = 'BIN'
CHANGING
data_tab = lt_pdf
EXCEPTIONS
OTHERS = 1. -
Send Adobe form as PDF via E-mail
Hi,
I am doing one interacive adobe form where i need to send that filled form in PDF format via email.
I tried using below options but unfortunately its not working:
1.I used "Email Submit Button" but its sending attachment as XML which I dont want.
when reffred threads on this problem , they suggested to go to XML VIEW of this button and change SUBMIT FORMAT to "pdf" from "xml".... but in this case , that button is not working at all.
2.I used below solution
Use a regular form button: Place a regular form button on your form . Look on the Object Window for the button. On the Field tag, towards the bottom will be a set of "Control Type" radio buttons. Select the "submit" option. There should now be a "submit" tab in the Object window. Switch to the tab and on the "Submit As" pulldown select PDF. But this is also not working.
Your comments are helpful for me.Hi,
Get your form data in XML format from Interface. There are some standard classes available to convert the XML to PDF and sending mail.
Thanks,
Revanth Naidu -
Print Adobe form pages on different printers based on the condition
Hi All,
I am new in Adobe forms. We have requirement to print first 5 line items in adobe form (which are printing on first page) on one printer and remaining pages on another printer.
What solution I was thinking was, in print program call the adobe form twice with flag as a importing parameter. For the first call the flag value will be set and for second run a blank value will be passed in flag.
If flag is set then call make the first page "visible" and if flag is cleared then "hide" the first page and make the remaining pages "visible".
But as its an item data which is designed on "Design" view I am not able to write a script to hide the page. Any suggestion you can give to resolve this issue.
Thanks,
Mihika.If it is OK to have the default printer defined/maintained in the user master (like tcode Su01 or System > User profile > Own data, Then the standard logic may suit your needs. I think you will need to undo some config for the whs. Te standard logic works as detailed below. the system needs to get to #4 below, then the SAP userid printer will be selected.
the system proceeds with automatic printer determination as described below Config Tcode is OMLV.
1) First the system checks whether a printer is set in the configuration "Printer-Movement". If so, the printer determination is complete at this point.
2) If not, the system uses the parameter "PriSrcTyp" defined in the configuration "Printer-Movement" to decide how it will proceed. If the parameter is set here, the system checks if a printer is defined in the setting "Printer Picking Area" and then proposes this printer.
3) If the system finds no printer, it searches in the setting "Printer - Storage Type" and uses this, if a printer is set.
4) If the system cannot find a printer using the methods described above it selects the printer defined in the user master of the user currently logged on.
5) If no printer is defined here, the system automatically proposes LP01
This writes the data to the spool file. -
Importing XDP form in SAP Adobe Form Builder
Hello,
In SAP transaction SFP to create Adobe form, there is an option to import an existing form from Designer 5.0 .xft files or .pdf files.
Is there any way I can import Designer 6.0 (.xdp files) onwards forms into SAP ?
Thanks,
AnjaliHello,
Just wanted to check is there a way to import xdp form desginer files into SAP forms using transaction SFP.
Thanks,
Anjali -
Retrieve Data from the Webservice through Data connection in Adobe Form
hi
i done Student ejb application
i.e, Create,Update,Retrieve,Delete operation. I create the WebServices to these operations. Present i connect the webservice through data connection . create operation is done successfully, but i dont know how to retrieve the the student details through data connection. how i can bind the retrieve values to the table in adobe form .how to bind from webservices to adobe form without context node.I had the same problem in SAP B1 2007. Report worked fine except when it was open from B1. Generally there may be different problems. In my case the same problem was caused by using some procedure which was in a specific schema. Changing the schema into "dbo" solved the problem.
Radoslaw Blaniarz -
Interactive-adobe form Converting into PDF without print dialog
Hi Friends,
I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
Thanks
Ramesh MHi Friends,
I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
Thanks
Ramesh M -
Executing a WebService in Online Adobe Form
Hi All,
I am facing an issue while executing the webservice from an application developed inWDJava, that contains an Adobe Form. This Adobe Form is required to execute webservice, and this form has 2 input fields say First Name & last name. When i fill in the first name and last name fields in the application itself and attempt to execute the webservice, i don't get my response fields back.
But in case i download my form from that WDJava online application, and then try to execute the service, i get back the results.
*I am using Adobe Designer: 8.0
Adobe Reader: 9.0*
Any pointers to this..??
Any ideas would be helpful.
Thanks,
Amita
Edited by: amita arora on Mar 26, 2009 8:41 AMCall the webservice, and use the call to fill up a variable. It will then drop the return value, be it a structure or whatever into your local variable. Like this :
var response = SOAP.request ({
cURL: url,
oRequest: request,
cAction: "http://adobe.com/ES/GetMaterials",
oAuthenticate: authentication }); -
Offline adobe forms using webservices-how to print table data
HI,
i have created offline adobe form using webservices which call rfc to pull the data ...to get inspection lot details ...
iam getting header data....but iam not able to get multiple line items of the table data ..here in scenario there are 4 line items but only 1 line item is getting displayed in the form...
is there any need to handle seperately to display tables data in offline adobe forms if we call from webservices
Tousif
Moderator message: please have a look in the dedicated forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on Jan 18, 2011 3:08 PM
<< Moderator message - New question asked, so this is locked >>
Edited by: Rob Burbank on Jan 18, 2011 10:19 AMThis is oofline adobe form which is created throgh webservices
Edited by: tousif_ig on Jan 18, 2011 3:19 PM -
Trouble with xhtml text in adobe forms
Hellow!
I try to show xhtml text in adobe forms
I pass string as text value to element like this::
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:APIVersion="2.4.5325.0">
<body> <p>Hellow, world!</p></body></html>
Next, in Initialization text element event I do next:
$.value.#exData.loadXML($)
So In adobe form I see text "Hellow world", it means that html support works.
But
If a Pass Next text
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:APIVersion="2.4.5325.0">
<body> <p><strong>Hellow
</strong>world!</p></body></html>
I see only "world!". Text between <stromg></strong> tag dosn't display.
What I do wrong? Why xhtml text works, but it don't understand <strong></strong> text?
(The value I get from WEB DynPro application)
Edited by: Mordyasov Petr on Jul 16, 2010 9:43 PMUse
<b>
instead of
<strong>
See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.
Sebastian -
Hi
I have designed the Adobe form which fills the form with table details. Do i need to convert this form into PDF to attach in my workflow work item and the receiver get has an attachment. How to do attach this form.
Regards
vijayHi shanto aloor
I not using Portal to develop guided procedure. Am using R/3 for developing the workflow. Here is my code what i have done to attach. I have converted the adobe form into pdf but i dont no how to send it now. If i use SOFM how to create the instance. If i use FM SO_NEW_DOCUMENT_ATT_SEND_API1. How to pass the bin details to this function module. Can any one say that.
Here is my code.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PERNR) LIKE PA0001-PERNR
*" EXPORTING
*" VALUE(BINFILE) TYPE XSTRING
*" TABLES
*" RETURN STRUCTURE BAPIRETURN OPTIONAL
*" EXCEPTIONS
*" NO_ATTACHMENT_FOUNT
DATA : V_FMNAME TYPE FUNCNAME.
DATA: lv_bin_file type xstring,
gs_job_output_info TYPE FPFORMOUTPUT.
DATA : IT_TAB TYPE PA0105 OCCURS 0 WITH HEADER LINE.
DATA : DOCPARAMS TYPE SFPDOCPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = 'ZEMAIL'
IMPORTING
E_FUNCNAME = V_FMNAME.
*DOCPARAMS-DYNAMIC = 'X'.
*DOCPARAMS-FILLABLE = 'X'.
CALL FUNCTION V_FMNAME " '/1BCDWB/SM00000061'
EXPORTING
/1BCDWB/DOCPARAMS = DOCPARAMS
PERNR = PERNR
IMPORTING
/1BCDWB/FORMOUTPUT = gs_job_output_info
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
BINFILE = gs_job_output_info-PDF.
CLEAR gs_job_output_info.
Regards
vijay -
Conversion of Adobe form developed in Java webdynpro to ABAP webdynpro
Developed an Interactive Forms in Web Dynpro for Java. I am trying to find a way to integrate this into ABAP webdynpros. Is it possible to do this. I found this article and it looks like it supports this. <br />
Before the introduction of the XML-based interface, an ABAP Dictionary-based interface was created for a form during integration of the same. Such an interface, however, was not easily linked to the context of a Web Dynpro component. All the forms created from within the Web Dynpro context are not automatically equipped with an XML-based interface. In certain situations, however, it can be necessary to integrate an old form with a function module-based interface into a Web Dynpro application. The Web Dynpro runtime makes it possible, in principle, to display or print such a form within a Web Dynpro
application. In special cases, it is even possible to integrate a form of this type in an interactive mode
Any help on this is greatly appreciated.
Thanks.Hi Vasudha,
R u tried download the java form into XML and then uplaod to WD Adobe Form.this is simple way to import and export the Adobe forms.
Thanks,
Madhukar.
Maybe you are looking for
-
lost all my pictures and videos while updating ios7.1.1. i dont have backup to restore. how can i recover the data back?
-
How can i retrieve my saved contacts on my PC?
Hello There, how can i retrieve my saved contacts on my PC? Thanks
-
How to call procedure in Java from SQL Server Database
Hello Every Body i Have Question about How to call procedure in Java from SQL Server Database Thanks
-
Where are my movies on my iPad...they are sync'd according to iTunes...I just can't find them!!! Help...I'm going on holiday in a few days and want to watch the movies I paid for and thought I downloaded!!! :-}
-
JDialog Disable button Text field Empty
Hi, How can I disable the send button if the JText field is empty in JDialog box. Thanks in advance Balaap