Saving data in Adobe interactive Form

Hi,
   I have created a simple Interactive form. But i am not able to save data into it in offline mode. I tried same thing with the standard sample templates given along with the Adobe designer(trial version) but there also i am not able to save data in PDF.
   Can anybody please tell me how can i save data in PDF document?
Thanks and Regards,
Atul.

Hello,
Your form generated directly with the LiveCycle Designer is not interactive as it didn't go through ADS.
For this, you have to embed it in a web dynpro application, bind the application context to the fields in your form and run your application.
You'll can download locally the PDF, which can now store data (there are some scenarios examples in <a href="/people/francois.gendebien/blog/2007/03/22/sap-interactive-forms-by-adobe-offline-scenarios-possibilities">this blog.</a>)
Regards,
Francois

Similar Messages

  • How to transfer data from adobe interactive form to va02 tcode

    Hi experts,
    My requirement is in pdf file if I attached a sales order document and I should create a button called submit when user clicks on button  the sales order document  should go and attach in vao2 tcode.
    Can u tell me for this requirement how I can proceed.
    Thanks & regards
    Naveenreddy
    Edited by: Thomas Jung on Oct 11, 2010 10:20 AM - Removed all upper case - No shouting, please

    Can you migrate/ alter that .pdf file as EXCEL or TEXT file? I am not aware of any tools do that
    you will have to write an app to do this.
    Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/

  • Binding problem from adobe interactive form to SAP

    Hello All,
    I'm using SAP NetWeaver Developer Studio 2.0.9 SAP WAS 2004s SP11.
    I'm tried to exercise with document "How To…Create Online and Offline Forms in Web Dynpro for Java" (you can check it this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9). I could run it succesfuly but i have a problem. I couldn't get data from Adobe Interactive form when i click "Submit to SAP" button. All field value return with "null".
    The code is like that;
    public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionFormSubmit(ServerEvent)
         String name = wdContext.currentTravelDataElement().getEmployeeName();
         String costcenter = wdContext.currentTravelDataElement().getCostCenter();
         String city = wdContext.currentTravelDataElement().getDestinationCity();
         String country =
         wdContext.currentTravelDataElement().getDestinationCountry();
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
         "Form submitted: Employe Name="
         + name
         + " costcenter="
         + costcenter
         + " city="
         + city
         + " country=" +
          country);
    What could be the problem?

    hi Selcuk,
    check what is the cardinality of the node that bound to the interactive form.
    interactive form->properties->dataSource = <xyz node of context>
    goto <xyz node of context> -> properties
    just change the cardinality to 1..1.
    goto
    interactive form->properties...
    check that the dataSource and pdfSource are bound to the right Context nodes/attributes...
    hope this helps...
    with regards,
    -Amol Gupta

  • 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,
    Tao

    Hi, 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

  • Data Passing Problem with Adobe Interactive Forms

    Hello all,
    I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
    I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
    My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
    Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
    Points will be rewarded for helpfull awnsers!
    Kind regards & thanks in advance...

    Check double post

  • Need help with Adobe Interactive Form Saving

    Hi Gurus,
    I need your help with Adobe Interactive form saving.
    I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
    Regards,
    Srini

    see the link: http://forms.stefcameron.com/2008/04/
    it says:
    preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
    regards,
    BJagdishwar.

  • Process data of none bound fields in Adobe Interactive Form (stack 13)

    I use a Adobe interactive form (made in Designer 7.0)which is a combination of fields bound to Web Dynpro Context fields and fields which has no binding at all (in Designer: Default binding = Normal). The Adobe Document Services on the J2ee server is of stack 13.
    When I save the Adobe Form (off-line scenario)from the Web Dynpro Application, only fields bounded to the Web Dynpro Context are saved in the Form on my local file system(no warning that data isn't saved).
    When I open the Form for off-line editing, I can change bounded fields and none bounded fields. But when I save and re-open the form, the data in the none bounded fields is lost.
    I used the same scenario in a stack 11 j2ee/portal system, but then all data (bounded or not) in the form was saved!
    Could anyone explain the difference, but better tell me how to save both kind of fields in the off-line form (and bounding all fields is <u>not</u> a solution).
    Thanks in advance,
    Richard

    Hi,
    Check your ADS settings, I feel it's due to lack of some config in ADS only.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Saving an Adobe Interactive Form without dialog in background

    Hi'
    I hope someone here can help us.
    Our client uses an R/3 system, version 4.6C, where data for the Interactive form is generated.
    We use an RFC call to send the data to a NetWeaver system.
    The RFC generates our Adobe Interactive form in the NetWeaver system.
    We need to save the generated PDF file onto a harddrive in this background processing ( in the RFC ) immidiately after the file has been generated.
    Any ideas as to how we save the file?
    Regards,
    Karin.

    Here's one way I could think of doing it. Not sure if it's the most efficient. There may be some function modules out there....
    You write a small program to print an Adobe form from the RFC.
    Before you call Job open (CALL FUNCTION 'FP_JOB_OPEN'
    ), set the following parameters of
    sfpoutputparams.
    Set the outputparamaters to suppress the dialog
    utputparams-nodialog = 'X'.
    Set to print to a dummy printer
    outputparams-dest = 'LP01'.
    Set a spool request
      outputparams-REQNEW = 'X'.
    Then you can call a program like rstxpdft4 to download the PDF file.
    Regards,
    Lavaughn

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • Send Data back to SAP from Adobe Interactive Form

    Hello friends,
    I created a Adobe Interactive form using transaction SFP.
    This form have a comment field.
    My requirement is user enter comments in this filed and click on Submit.
    It needs to call a BAPI and save data in SAP table.
    thankz in Advane
    regards,
    Sumit Malhotra

    Hi,
    Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
    Thanks and Regards
    Pradeep Goli

  • Webservice giving error "couldn't post data to " in adobe interactive form

    Hi Gurus
                     My requirment in to place a submit button in adobe interactive form , when the user clicks on it the data in the form has to update the table. For this purpose i have configured webservice in my crm 2007 server. Now webservice is working and i m getting the response. but when i create a data connection in the adobe form and when i execute the webservice i getting " Couldn't post data to ". "
    error . Plz help me out to resolve this issue
    Thanks in advance
    Regards
    Johny

    Hi Jhonny,
    Make the Submit button a regular one instead of execute and place the following code in the click event(JavaScript).
    var cURL = "Provide the Soap Address url which is present in WSDL";
    var service = SOAP.connect(cURL);    
    xfa.connectionSet.DataConnection.execute(0);
    Regards,
    Mathan

  • Couldn't post data to ''. - Adobe interactive form problem

    Hi
    I am trying to do a test run with adobe interactive forms, I generated a WSDL from my webservice in SAP and then added the data connection fine. I added the execute event button onto my form and set a HTTP debug point in the function inside my webservice. When I try preview and I try click the execute button every time I receive the following error:
    Couldn't post data to ''
    What does this error mean? It never reaches my rfc as the debug is not triggered and the error seems to be coming from adobe lifecycle designer.

    Hello,
    I am facing this issue too, were you able to resolve.
    kindly help!
    THanks,
    Deepti

  • Saving Adobe Interactive Form into a Server Path in Webdynpro.

    Hi Forum,
                     I have an Adobe Interactive Form as UI element in my webdynpro View. This form is available in the context attribute in Binary Format. I can read the form from this attribute as Byte Array only. I want to save this file in to a folder located in the Portal Server (ex : path :
    usr\jc00\j2ee\........\temp\myfolder).
                  I am trying  with the following code :
      IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateTestCompView.IContextElement.PDF_SOURCE);
           IWDModifiableBinaryType binaryType =(IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
           IPrivateTestCompView.IContextElement element =     wdContext.currentContextElement();
           binaryType.setMimeType(WDWebResourceType.PDF);
           //if a file in the 'FileResource' attribute exists
           if (element.getPDFSource() != null) {
                try {
                                         String ext=binaryType.getMimeType().getFileExtension();
                                    String fileName="PriceUpdateForm1";
                          byte[] b = wdContext.currentContextElement().getPDFSource();
                          File files = new File("C:
    usr
    sap
    EP7
    JC00
    j2ee
    temp
    HTI
    "fileName"."+ext);
                          try {
                                                           FileOutputStream out = new FileOutputStream(files);
                                                           out.write(b);
                                                           out.close();
                                                                                              } catch (FileNotFoundException e) {
                                                            //TODO Auto-generated catch block
                                                           e.printStackTrace();
                                                           wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
                                                 } catch (IOException e) {
                                                           //TODO Auto-generated catch block
                                                           e.printStackTrace();
                                                           wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
                          element.setPDFSource(null);
                      } catch (Exception e) {
                           throw new WDRuntimeException(e);
    it is giving me the error :-
    java.lang.Exception: Incorrect content-type found 'text/html'
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientMimeMessage.initDeserializationMode(ClientMimeMessage.java:120)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:951)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99
    Can any one tell me what went wrong and how to convert the ByteArray into PDF and save it on to network path.
    Any help will be highly awarded........
    Thanks
    Ramesh.

    Hi,
    Please refer this, Page 7-8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1bbc91c3-0401-0010-91bc-a25b2a3dff19
    Regards,
    Eric

  • Drop down in dynamic table in the Adobe Interactive Form (Web dynpro ABAP)

    Hi All,
    I have scenario use drop down in dynamic table in the adobe interactive form (Using the button the dynamic table row will be increasing and decreasing).
    Assume I Add five rows dynamically in the dynamic table. The Last column contains Drop down.
    I have button in the adobe form.
    Button Name = u201CSAVEu201D
    Button type    = SAP Submit button (Native type u2013 I am Using ZCI).
    While clicking save button, I need to store the dynamic table datau2019s to back end system. I can able to store the data to back end system. After form data getting saved those particular values need to display in the adobe form. 
    Here I am facing a problem.
    I cannot able to view as a default value in the drop down, which I have selected some values after save operation I am not getting any values in the drop down as a default.
    Example:
    The dynamic table contains 5 rows (Each and every row Drop down contains one to ten values).
    1)     I have selected second value in the Drop down (ROW1)
    2)     I have selected fourth value in the Drop down (ROW2)
    3)     I have selected fifth value in the Drop down (ROW3)
    4)     I have selected seventh value in the Drop down (ROW4)
    5)     I have selected third value in the Drop down (ROW5)
    I press the save button that particular Drop down value gets saved in back end system and that particular values want display in the Drop down as a default value.
    How to resolve this problem.
    Regards,
    Boopathi M

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • How to store adobe Interactive form PDF in archive link?

    Hi everybody,
    I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
    I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
    There is one mode to save also these datas or I can store only data that I load at the initialization event?
    I hope in your fast help.
    Regards.
    Davide.
    To follow the code that I use for Archive my Interactive form like PDF document.
    Salvataggio nell'ArchLink ********************************************
    Ricavo il PDF Source
      DATA: elem_context    TYPE REF TO if_wd_context_element,
            stru_context    TYPE        wd_this->element_context ,
            item_pdf_source LIKE        stru_context-pdf_source.
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->get_attribute(
        EXPORTING
          name =  `PDF_SOURCE`
        IMPORTING
          value = item_pdf_source ).
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_zcentral_person( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO
                                      ziwci__wdr_ess_central_person.
      l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
      l_ref_interfacecontroller->store_adobe_document(
        ar_object    =  'ZHRDETRAZ'        " Toaom-ar_Object
        doc_type    =  'PDF'                    " Toadv-doc_Type
        object_id    =   objid                    " Sapb-sapobjid
        pdf_source =   item_pdf_source    " Xstring
        sap_object =   'PREL'                  " Toaom-sap_Object  ).
    METHOD store_adobe_document.   ***********************************************
    Converto la XSTRING del PDF in tabella binaria
      DATA: l_tab  TYPE TABLE OF tbl1024,
            lenght TYPE i.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = pdf_source
        IMPORTING
          output_length = lenght
        TABLES
          binary_tab    = l_tab.
    Calcolo la dimensione del documento
      DATA: doc_id TYPE saeardoid,
            size   TYPE i,
            lineno TYPE i,
            length TYPE i.
      DESCRIBE TABLE l_tab LINES lineno.
      size = lineno * 1024.
      DATA toaom_fkt  TYPE TABLE OF toaom.
      CALL FUNCTION 'ARCHIV_METAINFO_GET'
        EXPORTING
          ar_object  = ar_object
          sap_object = sap_object
        TABLES
          toaom_fkt  = toaom_fkt.
      CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
        EXPORTING
          arc_id   = 'ZP'
          doc_type = doc_type
          length   = size
        IMPORTING
          doc_id   = doc_id
        TABLES
          data     = l_tab.
    Create link to business object
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = 'ZP'
          arc_doc_id            = doc_id
          ar_object             = ar_object
          mandant               = sy-mandt
          object_id             = object_id
          sap_object            = sap_object
          doc_type              = doc_type
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    ENDMETHOD.  ********************************************************************

    Hi Davide,
    I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
    Since you are using the archiveLink functionality.
    Can you please help me how you did?? What configurations need to be maintained for this?
    I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
    But I have no clue how to do it?
    Can you please help me?

Maybe you are looking for