Adobe form not saving user-input data into saved pdf file

Hi forumers,
I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the  LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
DATA: GV_FMNAME TYPE FPNAME,
      LS_DOCPARAMS    TYPE SFPDOCPARAMS,
      LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
  EXPORTING
    I_NAME                     = 'ZSC_ZRUFORREP'
IMPORTING
   E_FUNCNAME                  = GV_FMNAME
*   E_INTERFACE_TYPE           =
*   EV_FUNCNAME_INBOUND        =
CALL FUNCTION 'FP_JOB_OPEN'
  CHANGING
    IE_OUTPUTPARAMS       = LS_OUTPUTPARAMS
EXCEPTIONS
   CANCEL                = 1
   USAGE_ERROR           = 2
   SYSTEM_ERROR          = 3
   INTERNAL_ERROR        = 4
   OTHERS                = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LS_DOCPARAMS-FILLABLE = 'X'.
LS_DOCPARAMS-DYNAMIC = 'X'.
CALL FUNCTION GV_FMNAME
EXPORTING
   /1BCDWB/DOCPARAMS        = LS_DOCPARAMS
* IMPORTING
*   /1BCDWB/FORMOUTPUT       =
EXCEPTIONS
   USAGE_ERROR              = 1
   SYSTEM_ERROR             = 2
   INTERNAL_ERROR           = 3
   OTHERS                   = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
*   E_RESULT             =
EXCEPTIONS
   USAGE_ERROR          = 1
   SYSTEM_ERROR         = 2
   INTERNAL_ERROR       = 3
   OTHERS               = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
dgrachee

Not quite yet, I have to say...
If you check the domain "FPINTERACTIVE", you'll see these values:
               Print Form
X     Interactive Form with Additional Usage Rights
N     Interactive Form Without Additional Usage Rights
F                                                                
So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment.

Similar Messages

  • Adobe Forms function module - downloading the xstring output in PDF file

    Hi Guys,
    I'm using Adobe forms and fetching its output in an XSTRING PDF format. How can I download this XSTRING output to a PDF file and store on the local file system?
    I'm using the following approach to getting a PDF output:
    ls_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = ls_outputparams.
    * Get the name of the generated function module
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'ZADOBEFORM'
        IMPORTING
          e_funcname = lv_fmname.
      IF sy-subrc <> 0.
      ELSE.
    *   Call the Adobe Form function module
        CALL FUNCTION lv_fmname
          EXPORTING
            /1bcdwb/docparams  = ls_docparams
          IMPORTING
            /1bcdwb/formoutput = ls_form_output
          EXCEPTIONS
            usage_error        = 1
            system_error       = 2
            internal_error     = 3.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    * Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'.
    Now, the variable LS_FORM_OUTPUT-PDF contains the PDF output in XSTRING. My question is how can I download this as a PDF file to my local machine.
    Kind Regards,
    Shailesh.

    hi guys,
    im using all FM to download my PDF adobe but in this part :
    ls_spfli-carrid = 'AA'.
    ls_spfli-connid = '0017'.
    APPEND ls_spfli TO it_spfli.
    flag                     = 'X'.
    is_address_type          = '1'.
    is_address_number        = '22515'.
    is_person_number         = '22517'.
    is_country               = 'IN'.
    *&--- Call the generated function module
    CALL FUNCTION '/1BCDWB/SM00000200'
       EXPORTING
    *   /1BCDWB/DOCPARAMS        =
         it_spfli                 = it_spfli
         flag                     = flag
         is_address_type          = is_address_type
         is_address_number        = is_address_number
         is_person_number         = is_person_number
         is_country               = is_country
      IMPORTING
        /1bcdwb/formoutput       = fp_formoutput
      EXCEPTIONS
        usage_error              = 1
        system_error             = 2
        internal_error           = 3
        OTHERS                   = 4
    I have usage_error knowing that the execution of the function module in SE37 pass successfuly and also the execution of the forms .
    in your opinion what can be the problem?
    Kind Regards,

  • FDF Returns the entire form not just user input

    Using the properties dialog box on a submit button I set my form actions to return 'FDF Include' which according to the help menu will only return the results of the user input and not the entire filled out form. I only want user input because I plan to embed each results file in a website.Unless I am misunderstanding what should happen, it is not working. It is returning the entire form.  I would appreciate any help or tips anyone has to offer. If I'm doing it wrong and there is another way, please let me know. I just want to see the answers in the form fields, not the entire form.  Thanks!
    http://help.adobe.com/en_US/acrobat/X/pro/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.h tml

    Thanks so much for your assistance. I made a form, and then set the distrubuted settings to email me the form when submitted. I posted it to our intranet and then tested it. The form I posted is the 'distributed' form that Acrobat made from my original form. I posted it on a public site so you can have a look. Here is a link.  This should allow you to download it instantly. If not, remove everything from the question mark to the end and then paste that link into a browser. I checked and double checked everything, but maybe I am missing something.
    https://sites.google.com/site/ccpsgadgets/xml-documents/pbl%20form_distributed.pdf?attredi rects=0&d=1

  • Passing user input data to existing pdf

    My customer prints business cards, currently the printing requests are submitted by a variety of methods (e-mail,paper napkins, etc.) that create more work and consume to much time. When a request is finalized it is in pdf format and at that point ready to go to press.
    I am trying to simplify this process by allowing the person that needs a card printed to fill out an online pdf form that looks exactly like their business card. When completed the form is submitted and their info needs to be passed to an existing pdf (also online) that also looks exactly like their business card. This pdf will be submitted for review and approval and used to go to press.
    I have been designing/hosting web sites for years but pdf's are new to me. I purchased Adobe Acrobat Professional 7.0.8 and Live Cycle Designer 7.0, I have created both of the pd's described in the 2nd paragraph and used the Designer to build the form, uploaded to server and had the data saved as XML. I am able to import the XML data to the other pdf and it does so beautifully. I did it this way first to familiarize myself with the software. I also purchased a very comprehensive book on Acrobat 7.0 which also covers the Live Cycle Designer to some extent.
    I learned that a Java Script would be necessary to accomplish my goal but after scouring the web and submitting my project needs to www.rentacoder.com I have been overwhelmed. The coders that responded were going to use everything except Java Script to achieve the desired results (PHP, Java)and cost ranging from $45.00 to $700.00.
    I have downloaded from the Adobe web site the following;
    Acobat JavaScripting Scripting Reference
    Acrobat JS Guide
    I do not write scripts and thought these could help but I can't understand exactly how my script should look.
    These are the fields that will be completed by users;
    Job Title, Full Name, Address1, Address2, City State Zip, Ph#, Cell#, E-mail Address.
    URL to user form -www.tarantulawebdesign.com/bc/twd_form1.pdf
    Url to pdf that data will be passed to - www.tarantulawebdesign.com/bc/bc_tmplt.pdf
    Any help with my situation will be greatly appreciated!

    Hi Steven,
    Luckily, you don't even have to write a single line of JavaScript code to get what you want! :-)
    Just create a new data connection using an example xml-file. Then bind the form fields to their respective data connection field. Then select iomport xml-data in Acrobat Pro or insert a button (optional) with the following line of code:
    xfa.host.importData();
    Here's your file, I tuned a bit. You may want to have a look at it:
    business-cards.pdf (download via filefactory, which is a bit slow and tricky...).
    1) download the file
    2) create a new text-document. rename it to something like business-card_data.xml
    3) copy & paste the following example business card data:
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    <vcard>
      <Name>John Smith</Name>
      <Position>CEO</Position>
      <Address1>Nowhere 1</Address1>
      <Address2>Nonsense Enterprises Ltd.</Address2>
    </vcard>
    </form1>
    4) Place both files (pdf, xml) in the same directory
    5) open pdf, click the button, select the xml
    Regards,
    Steve

  • How to write input data into an xml file

    Hi All,
           I have some input data and i have to write it
    into an xml file.How is it possible send me some related
    links regarding this and source code if any.

    Hi
    Try to go through these links.I hope this will help you to solve your problem.
    http://www.xml.com/pub/a/2003/07/09/udell.html
    Thanks
    Mrutyunjaya Tripathy

  • Saving JTextArea's data  into an output file.

    What is the implementation code i should add into save button in order to get all the contents of my JTextArea and send them in an external file ?

    What is the implementation code i should add into
    save button in order to get all the contents of my
    JTextArea and send them in an external file ?Check out the write() method of JTextComponent (JTextArea's superclass). You pass it a Writer and it will write the contents of the textarea to that Writer.

  • Saving a Text data to a PDF file without using print option

    Hi,
    I want to save a Text to a PDF file. I want to assign the path of the PDF file as a default one.
    If I use Print options, then it ask for the file path at the run time.
    Is there any method to save to a PDF file without using print option in Labview 8.2.
    Regards,
    Raja

    This question comes up a lot. Did you try searching? It depends on the PDF printer driver that you're using. See here, here, here, ...

  • Merge data and a PDF file?

    Hi,
    I´m trying to render/merge data into a PDF file using FormServer (7.0) and .NET. I notice that if I use the xdp version of the pdf, FormServer will return a pdf with the merged data. However, I cannot acomplish this if instead of a xdp file document I use a pdf file (dynamic 7.0 created with livecycle designer 8).
    This works:
    String sFormPreference = "PDFForm";
    String sFormQuery = "ExpenseClaim.xdp";
    This doesn´t woks:
    String sFormPreference = "PDFForm";
    String sFormQuery = "ExpenseClaim.pdf";
    Isn´t it possible to merge data directly into a PDF using FormServer. I rather use a pdf file instead of a xdp file, because, a xdp file will need to be converted to a PDF file. Thus it will spent more time accomplishing the merge.
    Thank you

    Try using PDFMerge as the transformation.
    Chris
    Adobe Enterprise Developer Support

  • Adobe form created in LiveCycle does not remember user input

    Adobe form created in LiveCycle does not remember user input when the file has been re-opened after it has been saved.
    Example:
    "Check box" that has been selected and who have registered Action script (may be that it should be disabled), seems to be reset when the file is re-opened, although it apparently is checked.
    Are there settings or script that can prevent this?

    Hi there,
    usually if the values are not kept in form after saving and re-opening the form, it would be because of your code... or because it is not Reader Extended PDF...
    If your code has a function which is to return a value to your field without it to be working based on your Design, it will reset any data..(variables)
    Which means...
    e.g.: You have an array/var/JSONobject which you populate varying on the data entered in the design, as long as you are in the actual form, without closing and re-opening the form, it will keep all values inside that array / variables / JSONobject. But, once the form closed and re-opened, if you have a function that returns a value to your field, whatever the field, from any variable in the script it will return nothing because every variables are reset. To avoid such a thing, you must repopulate all variables that were assigned previously before closing the PDF Form. To do so, I recommend to have a page(hidden) which contains every important values according to that function and you must repopulate those variables according to the values in the keepVar page...
    If you do not have any function that returns a value to a field based on your variables, this is not the solution you are looking for and I am not aware of the reason why it behaves like this... Maybe more information on the behaviour of your form would help locate the issue...
    Hope this help

  • Input data into dynamic calc in Planning forms

    Hi guys,
    Have someone tried to combine these two requirements:
    1.     to have upper level members dynamic calc
    2.     to give users the ability to input data into those upper level members through Planning forms.
    I need to do that in order to pass inputted values into HBR, and allocate those values to the leaf level across multiple dimensions. I need those members dynamic calc because otherwise I would need to aggregate data across 7 dimensions and that takes too long. Those allocations are suposed to happen constantly and are the main purpose of application.
    I know you can have dummy stored members that correspond the uper level dynamic members, but then the user will have input forms without current data and will be required to check reports/forms with dynamic calc members prior to updating data.
    I wonder if it is a realistic task to change jsp files that generate those forms, so that data can be inputed into the form, but instead of passing it to Essbase cube to send it to relational database.
    P.S.
    This is related to the thread I opened about optimizing recalculation time:
    Recalculatiion takes much longer than initial calculation
    I received a lot of valuable advices that would definitely work in other situations, but in my case they seem to contradict either user concurrent access or performance requirements.
    Thanks a lot!
    Dmitry

    Hi Glenn,
    I think i found a workaround for this, or may be i am missing something. I will replicate my hierarchies so that one hierarchy will have uper level stored members, and another dynamic calc. Once user loads the form it will run on-load script that will copy data from corresponding dynamic calc to stored slice. The updated data will be alocated to the leaf level, but will never be aggregated. Since reporting is done from ASO cube i only care about the leaf level and current selection in the form.
    Thanks!

  • Cannot input data into Text Field on from Adobe Acrobat  Reader

    I created a form in Acrobat 5 that has check boxes and text fields. Using reader I can open the doc and use check boxes and input text into fields. Once this doc is loaded to our web server and a user opens or downloads the file they can check the boxes but cannot enter any text into the text fields. Am I missing something?
    Thanks in advance

    And so.. what is invalid?
    I've uploaded the pdf files as example:
    My generated pdf
    http://compuhelp.free.fr/adobe/before.pdf
    The modified version by Adobe Acrobat Reader:
    http://compuhelp.free.fr/adobe/after.pdf
    (I can generate a more complexe pdf file with fonts, images,... it will be displayed correctly, but Adobe always want to modifiy it).
    So perhaps I missed somthing into the pdf file format specification ?

  • I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    Leigh,
    After creating your table, Tap the Tab marked "+" and select "Form" - you will be asked which table to use. (You should get into the habit of naming your tables - if the table name isn't visible, select the table and tap the Styles (Brush) Menu > Table > Turn ON table Name, then double tap on the Table to edit it.)
    Select the table you wish to to fill with a form and you will see a new form based on the header data.
    The form will allow you to add one row at a time and when you get to the last row, there is an option at the bottom of the form to add a new row using the "+" button. At the top of the form is the row header which you can rename by double tapping.
    You can also rename the form on the Tab by double tapping on the name.
    Try it out.

  • Downloaded adobe reader, i have been inputting info into some forms, the areas I populate all have red squares around them, what does this mean?

    downloaded adobe reader, i have been inputting info into some forms, the areas I populate all have red squares around them, what does this mean? mac book pro as well. The forms i have been working on are from Canada Immigration, has any one else experienced this? thanks and yes I am new here, lol.

    Yes thank you I figured it out. Lol
    Sent from Samsung Mobile

  • HT201406 1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc..

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

  • How to input data into Pdf file

    I am not too sure if I am posting my question in the right forum.
    I would like to know what version of Adobe acrobat can allow me to create a document, where clients can input data into it?
    Here is an online example
    http://www.uscis.gov/files/form/N-400.pdf
    Thanks.
    Oceans

    If your users will be using Reader and you want your users to be able to save the form or email it, you will need to apply 'Extended Form Rights' (version 8 Provessional or Version 9 Standard or better) and for signatures you will need to apply 'Signature Rights' using an Adobe server product.

Maybe you are looking for

  • Why itunes cannot recognise my ipad mini retina ios7 on windows 7 64-bit?

    I have recently bought an iPad mini with retina display - iOS 7 and when I connect it to my computer, there are several problems: 1. iTunes does not recognise it. At times I do get an error displayed that it is not able to connect to the device. 2. t

  • Business partner. Hide bookmarks

    The Business partner exists in role "Sold-To party". How I can exclude from visibility of some tabs (bookmarks): For example - 'Status', 'Documents', 'Pharmaceuticals', 'Long texts' and others. Or necessary to use technology BDT? Thanks a lot.

  • Saving files in .jpeg - Photoshop Elements 10

    I suddenly got problems with saving files in .jpeg format. I use camera raw in my camera, and edit photos in Element, and then save a .jpeg version of the photo, and until recently that operation has went on without problems, but suddenly I got no ot

  • How do I get the Photo icon back to my home screen?

    How do I get the Photo icon back to my home screen?  I don't know how I managed this - but my lovely 'happy' photo icon is gone from my home screen and I can only access it through the double click - I would like it back on the home screen...any idea

  • Help ipod wont work

    Ok, heres the low down... I got an iPod fifth gen. for christmas, it is my first one since somebody stole my old one, and theres a problem. I was just getting ready to go to school and I took the iPod off the dock without ejecting it from itunes. Whe