Save Interactive Form on server or into a folder

Hi all,
I would like to save an interactive form on my server WAS but without user action.
When the user push on the button, the data are safeguarder on R3 and the PDF is stored in the server.
Thank you for your help

Hi Tony,
In general, you should be able to do this by developing and provisioning a simple web service on the NetWeaver Application Server. This Web Service should store a PDF/XDP file that is submitted to it (over HTTP). Depending on your needs you can do this on whichever stack you prefer-- ABAP and Java.
In this scenario the assumed process flow is that the user will fill some information in the Interactive Form and press the 'Submit' button and that button click will transmit the Form to the server. At the server your web service will receive, process and store the PDF/XDP data. This web service will be, what you call, your 'data safeguarder'
Your web service will need to be responsible for handling the management of submissions-- for example, differentiating between new forms and newer versions of existing forms/submissions. This is not too difficult since you can determine certain key fields on your form and use them for differentiating between newer versions of an already submitted form from a new one. You can do this based on explicit (user entered) or implicit (system generated) variables on your Interactive Form that are passed between the client and the server.
I am not sure what the purpose/scenario is of you form(s) or what data your form(s) will contain but if you want more information then you can clarify your requirement and post a new thread.
Regards,
- Vik

Similar Messages

  • Acrobat XI standard (Windows) - can't save PDF Form in server

    We created a PDF Form (Acrobat 11 standard) and located in company server. After fill up, it will be close & saved by script. It is working for some persons, but few person face the problem when they save PDF form in server "The file may be read only or another user may have it open. Please save the document with a different name or in a different folder.". It is sure that others not opened PDF form parallely.
    Please guide how to solve this issues.

    The message is telling the user either another program has the file open or another user is using the form.
    Other programs that may trigger the file lock or form in use are Windows Explorer in the Preview mode, anti-virus software, or backup software. It is even possible that the server has lost track of the lock on the file.

  • Save interactive form

    Hi,
    i want to save an interactive form after the user has filled in the various fields, I try to use the FM FP_GET_PDF_TABLE but in this document (http://help.sap.com/saphelp_nw74/helpdata/en/4a/a1931bacd5007fe10000000a42189c/content.htm?frameset=/en/4a/a192e3acd5007) is specified that I can only bundle PDF forms that are not interactive.
    Can anyone help me?
    Regards,
    Rocco

    Hi Tony,
    In general, you should be able to do this by developing and provisioning a simple web service on the NetWeaver Application Server. This Web Service should store a PDF/XDP file that is submitted to it (over HTTP). Depending on your needs you can do this on whichever stack you prefer-- ABAP and Java.
    In this scenario the assumed process flow is that the user will fill some information in the Interactive Form and press the 'Submit' button and that button click will transmit the Form to the server. At the server your web service will receive, process and store the PDF/XDP data. This web service will be, what you call, your 'data safeguarder'
    Your web service will need to be responsible for handling the management of submissions-- for example, differentiating between new forms and newer versions of existing forms/submissions. This is not too difficult since you can determine certain key fields on your form and use them for differentiating between newer versions of an already submitted form from a new one. You can do this based on explicit (user entered) or implicit (system generated) variables on your Interactive Form that are passed between the client and the server.
    I am not sure what the purpose/scenario is of you form(s) or what data your form(s) will contain but if you want more information then you can clarify your requirement and post a new thread.
    Regards,
    - Vik

  • Unable to Save Interactive Form

    Hi Experts,
    I am unable to save any UI elements (viz. Table, Text Fields, etc) on an Interactive Form UI element created using NWDS.
    Whenever I create new UI elements on the Interactive form and try clicking on Save Metadata Button of the NWDS the Button doesn't get disable. Similar issue is faced if I explicitily try to close the Interactive Form opened for editing. It gives a pop-up to save the interactive form. On clicking Yes on this pop-up it throws another pop-up that says Save Failed:Null
    Installed version for NWDS is 2004s (version7.0 SP15)
    The Program files folder on my desktop has the following folder structure
    Program Files -> Adobe -> Designer7.1
    Importing the form also results in the same issue
    Can you please point out what I am missing?
    Thank you
    Regards
    Abhishek Arya

    hi Abhishek
    did you get the solution to your problem?
    i am also facing similar issue. whenever after making changes to interactive form i click on "Save Metadata" it has no effect on the form.
    the form doesnt get saved and after reopening it shows blank form.
    have you found out the reason behind this?
    Deepak Salokhe

  • Save Interactive form to SAP

    Hi All
    I have a requirement where we display an interactive form in a web dynpro. The user captures some information and on submit I need to save the interactive form (i.e. the file) as a notification attachment in QM02. 
    I'm not sure if this is possible and if not, what is the best way of saving an interactive form in SAP.
    Thanks in Advance

    Thanks Nawal
    What I am trying to do is save and update the Interactive form as a notification attachment. I convert the xstring data to binary and store the form as an attchment using fm SDOK_PHIO_STORE_CONTENT and this works. I can read the binary data, convert it to xstring and display the adobe form on the portal.
    But when I want to update the binary content in SAP with any changes, I use fm SDOK_PHIO_STORE_AS_UPDATE. This also seems to work but when I try to display the updated document on the portal, it says the file is damaged and could not be repaired.

  • Unable to save Interactive form content

    Hello Experts,
      Can someone tell me how can I save the contents of my pdf locally ? I am only able to save a blank form but not the information that i have filled in. Have experimented with the various possible modes but so far no success. Thank you.
    from
    Kwok Wei

    Hi Kwok,
    If you create an XDP with the Designer and save it as PDF form, the PDF will not contain the proper right for saving it.
    But if you create an Interactive Form UI in a WD project in the Developer Studio and design your form from Dev Studio, then when the WD application runs, the XDP is tried to sent to the preconfigured ADS (a web service responsible for PDF generation).  If the ADS is configured well and contains the <b>proper credential file</b> for operations such as save, the returning PDF displayed in the browser will contain the right for saving and you can save it locally. From this time the local PDF can be open with Reader and the Reader will always give the possibility for saving.
    Do you need only the contents ? Then you can also try the followings:
    1. Save as text... command from the Reader
    2. If you like PS much more then a readable text file, you can also choose Print.. and click on the Print to file checkbox.  (of course this solution rather a joke than a suggestion)
    Regards,
    Ferenc

  • Interactive form - Internal server error

    I am trying for a interactive adobe form in web denpro java. I am getting the following error.
    Failed to process request. Please contact your system administrator.
    Any help appreciated.

    Everyone:
    Please always use the latest version of the <b>ADS Configuration Guide</b> in SAP Service Marketplace at http://service.sap.com/adobe -> Media Library -> Documentation. It is the one place where the current version is always available.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Create and Save Interactive Form

    I have created my form which I would like to have users fill in and save.  I have done something wrong because it gives a message that it cannot save entered data.  The form works, it just won't save entered data.  Thanks.

    Hi Ibgolfin,
    That's par for the course.
    What you need to do is enable Reader Useage Rights by:
    open your form in Acrobat Pro
    Select Advanced
    Select Extend Features in Adobe Reader
    That's it. No puttering around needed.
    Stephen

  • Why can't I save an image off the net into the folder of my choice?

    I've used a PC all my life until two days ago when I bought my MacBook. I absolutely love it, but there are a few PC/Mac differences bugging me, and one of them is what I'm asking you all about:
    When I save an image off the internet and the pop-up asks me where to save it, it suggests only a few folders for me and I can't choose the folder I actually want to save the image in. Is there any way to change this? No one else seems to have asked about this on here before, but I hope someone can help me out.

    Ah, it's so simple! Thank you.

  • Before this last firefox update I used to be able to save all bookmarks that were open into one folder. It was under bookmarks and said "save all bookmarks". I do not see this anymore and would like to know how to do this. thanks

    please help

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or Alt+B to open the Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.

  • 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

  • Save interactive adobe form in presentation server through report program

    Hi All,
              We have developed a interactive adobe form in SFP transaction and we are calling this form
              from report program  and we are able to save the form in presentation  server.
              But my scenario is that user provides input in interactive adobe form and i need to save the interactive adobe form
              in display mode that to in  presentation server with input values provided by the user.
             could  any help to achieve this or guide me if i am  moving in a wrong path.
    Thank you,
    Harsha P

    It all depends on what you want to do.
    If you are planning on users to fill out on-line form only and submit to SAP, it is pretty easy to do (that is once you understand how to create web dynpro and interactive form).
    You can also have users fill a form offline and upload to online and save it to SAP.
    You do need to know little bit about coding (ABAP or JAVA),
    but can be done w/ very minimum coding.
    If you are planning on doing in Web Dynpro ABAP,
    go to SE 80 and select WebDynpro and create form.
    To save data/form to SAP, you probably want to use BAPI or Function module already available so that you don't have to do much coding to save data.
    See some of these links for helpful tutorials. Thomas Jung has several good tutorials, but none of them probably have all the information you need... you just have to pick some from here and some from other places... If you have specific question, I will be happy to guide you...
    Practical tips for developing with ABAP WebDynpro
    Practical tips for developing with ABAP WebDynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/3545415ea6f523e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3

  • Way to save adobe interactive form onto any common location in the server

    Hi,
    I have a couple of requirements to implement and wanted to have a clear idea on how these can be implemented and time it will take.
    The requirements are: I will be developing an application using NWDS which will have interactive form in it and once this form is filled online and clicked on the submit button the form should get stored in a common location in server so that it can be retreved and editted later on.
    And during the click of submit button the whole form also should get posted to HELPDESK at the same time via mail.
    Now is there by any chance i can send the whole form to a particular mail id ? and can i save the form in a common destination for future access ?
    Thanks a ton in advance,
    Vipin.

    Hi Vipin,
    This help on interactive forms will help you to resolve the problem
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    see source code of the onActionsubmit method in the controller implementation to save the pdf file in a particular location.
    In the same way you can write some custom source code in onActionsubmit  to send a mail. You can get the source code in any one of the standard java sites available.
    Revert back on this if you need more information.
    Regards,
    Saleem

  • Adobe Document Server issues - cannot save metadata of interactive form UI

    Summary : Could not save meta data of Interactive Form UI Element.
    Affects : Web Dynpro project in DTR.
    Severity: PDF template cannot be created.
    Description:
    01. An Interactive Form UI Element is inserted into a Web Dynpro view.
    02. By right clicking on the element in the Outline window and selecting Edit, launches the Adobe Designer.
    03. After designing the PDF template in Adobe Designer, when clicking Save All Metadata icon in the toolbar, it failed to save.
    04. By closing and reopening the Adobe Designer, all work on the PDF template is lost.
    Findings:
    01. Whenever an Interactive Form UI Element is created in a Web Dynpro project in DTR, its associated value of templateSource property (in the Property window) is missing (empty).
    02. This does not happen to local Web Dynpro project, where its templateSource property corresponds to an .xdp file (Adobe XML source file).
    Does anyone know any way around this?

    Hi All
    well, I am facing the problem as well: When I change something in the interactive form, I cannot save it as "Save Metadata" remains grey. After closing and reopening, my changes have disappeared. I am using Netweaver 2004s with SPS 13. I tried Note 822198 which didn't help. Also I couldn't apply Josef's solution as the mentioned folder already existed.
    I must say that I didn't have problems with adobe forms until I started using model nodes. Could this be the reason why there are suddenly issues? Now I can't even create a totally new webdynpro component (inside my project) from scratch where adobe interactive form is not corrupted.
    Is there any other trick which might have worked with you? It would be very helpful if you had any ideas!
    Thanks a lot in advance.
    Best regards
    Bettina Hepp

  • Saving values into table from Interactive Form

    Hallo together,
    iam trying to do the example "Include Tables" (SAP Interactive Forms by Adobe - Galileo Press).
    It works, but not as described. When i want to change data in the interactive_forms ui element and press the webdynpro native button send, the value at the webdynpro table does not change. When i change the value at the webdynpro table and press the send button at the form or change the line at the webdynpro, the value in the adobe formular changes too. Thats one problem.
    The other problem is that i want to save the changed/added data from the formular at the database. What to do? The form layout is "ZCI Layout" and i added the script:
    DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070708051308.406522.403406 - ContainerFoundation_JS
    I also added this into "wddomodifyview":
    METHOD wddomodifyview .
      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( 'FORM' ).
      lr_method_handler ?= lr_interactive_form->_method_handler.
      lr_method_handler->set_legacy_editing_enabled( abap_true ).
    ENDMETHOD.
    I selected also:
    execute at: "Server and Client"
    I dont know what to do anymore.
    Best regards
    Philip

    Hi,
    To make an input enabled table. I would suggest to use TABLE element from the PDF library and then binding the columns from your context.
    Step 1: Library -> Standard ->Table
    Select create using assistance.
    Select body rows vary depending on data .
    Select number of Columns in your case it will be 4.
    Then proceed further and finish as per your need.
    Step 2:
    Select a table Column .
    Select Pallets->Object then chnage the cell type from Text to text field.
    Then click on binding tab and bind it to the respective field from hierarchy.
    Select upgrade the following properties radio button and check only "default value" option.
    This will create binding something like this $record.SCARR.DATA[*].CARRID
    Follow this for all other columns.
    Step 3:
    Now create a button in the View holding your form(you can also use SUBMIT button of form). On action event of this button right the following code to get all the changed values from Table.
    data lt_scarr type wd_this->elements_scarr.
      call method lo_nd_scarr->get_static_attributes_table
        importing
          table = lt_scarr.
    LT_SCARR will contain all the new values from Form. Then use this table to update ur database table.
    Thanks,
    Abhishek

Maybe you are looking for