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

Similar Messages

  • 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

  • SAP delivered Adobe Interactive Forms: how to identify in ERP6.0, CRM....

    I am not an ABAPer, but I am trying to determine whether we need to develop an Adobe Interactice Form or leverage one delivered by SAP for following actions:
       o Return to work
       o Short term disability
       o Hire
    I read the most important notes and FAQ and I didn't find a way to list all SAP delivered Adobe interactive forms.
    I know from a colleague that SAP provides a Hiring SAP Adobe form (ISR_HRASR_SHI1) but I couldn't find it in SFP transactopm code nor in table TERPFORMLIST. This table I believe is mentioned In EhP4 release notes, however it doesn't provide a description of what a form is about.
    Can you please provide the process or program or procedure to dump such a list of SAP delivered forms from ERP6.0, CRM, SRM, etc, where the list contains the Name of Adobe Interactive form, description of form, SW component, application compenent, and if possible any corresponding SMARTFORM...
    Any help is much appreciated.
    Regards,
    Tobi

    Hi Tobi,
    I have send a SAP document to your email , which contains all the standard SAP Print and Interactive forms which are delivered with ERP6.0
    Regards,
    Ravi.D

  • List of SAP provided Adobe Interactive forms

    Dear All,
    Does the list of SAP provided Adobe Interactive forms exists  somewhere on the SAP Marketplace?
    Thanks,
    Svetlana
    Edited by: Svetlana Blokhina on Jan 29, 2010 11:16 AM

    1.) Transaction SFP:
    FP_TEST_00     Output ITF
    FP_TEST_01     SAPscript Texts and Text Modules
    FP_TEST_02     Format Various Data Types
    FP_TEST_03     PDF-Based Forms: Training Example
    FP_TEST_03_TABLE     PDF-Based Forms: Training Example
    FP_TEST_03_TABLE_DUPLEX     
    FP_TEST_05     Various Data Types in Continuous Text
    FP_TEST_42     Test Form for Fonts
    FP_TEST_CONDITION1     PDF-Based Forms: Training Example
    FP_TEST_CONDITION2     PDF-Based Forms: Training Example
    FP_TEST_CONDITION3     PDF-Based Forms: Training Example
    FP_TEST_CONDITION4     PDF-Based Forms: Training Example
    FP_TEST_CONDITION5     PDF-Based Forms: Training Example
    FP_TEST_COUNT     PDF-Based Forms: Training Example
    FP_TEST_DATE     Date Formatting
    FP_TEST_IA_01     Interactive Test Form
    FP_TEST_NESTED_TABLE     Nested Table
    FP_TEST_PAGE_BREAK     PDF-Based Forms: Example for Data-Driven Page Break
    FPAYM_NL_BANKBET     
    FPAYM_NL_BANKINC     
    2.) Then just look in properties of the form for the interface.
    3.) In addition you'll need the print programs. Please check the following program content for function module 'FP_FUNCTION_MODULE_NAME' to get the link to Form (Transaction SFP)
    FP_TEST_00                     Form Processing: Central Test Program
    FP_TEST_01                     Form Processing: Central Test Program with Archiving
    FP_TEST_02                     Form Processing - Test Program for Various Data Types
    FP_TEST_03                     Flight Booking Example
    You will need some training documentation on the interactive forms part. By default the form is set to interactive in the layout tab -> edit -> form properties -> defaults tab -> preview type, but there's licensing involved, ADS setup etc. The best bet if you'd like to dig into this is to buy the following book: http://sap-press.com/product.cfm?account=&product=H3026 It is impressive.
    Best regards,
    Adrian Bruwer

  • Capturing data back to SAP from web application

    I have to call a java application from SAPGUI.For that I can use the methods in the class CL_GUI_HTML_VIEWER.
    In that Java application the user will be ordering the products and quantity.I have to capture this data back to SAP and update the order in SAP. How to capture the data from the called java application back to SAP ?

    Hi Gincy,
    if you just need to call the web applications and then parse the result (i.e. you do not need to display the output) you can user the CL_HTTP_CLIENT class.
    There is a sample program in the SAP Help at http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm
    Cheers
    Graham Robbo

  • Calling RFC from Adobe Interactive Form

    Hello,
       After creating and calling Adobe Interactive form from ABAP web dynpro, within the form designer is it possible to call RFC or Business Object method from the form script to get the data back from SAP for specific Click events?

    Yes,
    this is possible, but not through pure RFC, but using webservices and webservice enabled function modules within SAP.
    Technically it is quite simple. Create a functionmodule, and create a webserve from that (all SE37 or SE80 but from WAS 6.40). Generate a WSDL (with the Java tool) and import that into the form that you are designing. From there you can bind the data from the dataset (as defined in the WSDL) to screenfields or treat the data any other way Javascript can.
    BTW. I only managed this so far by using anonymous logins, so with a password and username bound to the webservice (in SICF).
    Hope this helps, regards, Hans Gmelig Meyling

  • Read values from Adobe Interactive Form inside the webdynpro

    Hello,
    I have problems to read the values of the fields inside de adobe. I read an article on saptechincal that told:
    You can see the Adobe form that we have designed, enter the data as shown below and press the submit button. (As I said earlier an activex control will be installed on to the client machine, you can see the activex control in the internet explore go to the menu: ToolsàInternet optionsàgo to the programs tab àPress button Manage add-ons.
    You can see an activex control named u2018SAP ACFu2019, if you donu2019t have this control you will not see this page: Note you need to have adobe acrobat reader 7.1 installed, I have used version 9, the activex control was not working properly so down graded my adobe reader to 7.1)
    This is true ???  I have the Acrobat reader 9.3 and i saw that also have the SAP ACF installed.
    The value of the property displaytype  on adobe interactive form on webdynpro is activeX or native.
    Thank you in advance.

    Hi,
    <p>
    Thank you for the answer.
    <P>
    I change the value of the attribute but again i can read anything from the adobe form. So let me explain what i'm doing.
    <P>
    Objective: I have to create one webdynpro with an adobe interactive form for create new clients on r/3 system.
    <P>
    1. I create de the view with 2 elements an interactive form and one submit button.
    <P>
    2. Create the context of the view with the following tree:
    <P>
    > context (node)
    <p>
       > ADOBE_DATA (node)
    <p>
          > Clients (from KNA1 table) (node)
    <p>
             > KUNNR
    <p>
             > LAND1
    <p>
             > NAME1
    <p>
             > ORTO1
    <p>
             > TELF1
    <p>
      >PDF_SOURCE
    <p>
    3. Complementing the properties of the interactive form:
      datasource = clients node of the context
      displaytype = native
      pdf_source = pdf_source attribute of the context
      templatesource = name of the form
    <p>
    4. Create the form, and add the data source to the interface of the form
    <p>
    5. On the form bulider i add and subform on the hierarchy tab and the all the fields of the interface to the form and
    automatically the value of the fields are binding.
    <p>
    6.Add a submit button from web dynpro native and add the event click to the button. Then i change the value of the layout type and save e activate the form and the interface
    <p>
    7. The next step is create an action for the button submit for the event  "onSubmit". So i create the function and start coding this code:
    <p>
    DATA: adobe_node    TYPE REF TO if_wd_context_node,
    <p>
            client_node   TYPE REF TO if_wd_context_node,
    <p>
            client_element TYPE REF TO if_wd_context_element,
    <p>
            client        TYPE if_create_client=>element_clients.
    <p>
    *Get reference to the adobe_data node from the context
    <p>
    adobe_node = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    <p>
    *Get reference to the clients node from the context
    <p>
    client_node = adobe_node->get_child_node( name = wd_this->wdctx_clients ).
    <p>
    *Get element node
    <p>
    client_element = client_node->get_element( ).
    <p>
    *Get the values from the form
    <p>
    client_element->get_static_attributes(
    <p>
        IMPORTING
    <p>
          static_attributes = client ).
    <p>
    8. Then for finalize i add the view to the window and crate a web dynpro application and put one break point on the submit function event.
    <p>
    9. Activate and test the application and when the program try to add a reference to the element node always returning a null reference and the application dumped.
    <p>
    So please help with this situation i can't understand what is the mistake.
    <p>
    PS: Now i have installed the acrobat reader 7.0.8
    <p>
    Edited by: miglsilva on Sep 4, 2010 5:50 PM
    Edited by: miglsilva on Sep 4, 2010 6:01 PM

  • Calling BAPI from Adobe Interactive Form

    Hi Guys,
    I have a requirement from my client to work on interface using BAPI for creating Service notification. Idea is that users will fill an Adobe interactive form (AIF) on company INTRANET and as soon as user press a SUBMIT button on the adobe form, BAPI should be called to create a SERVICE NOTIFICATION (Tcode IW51). I have work with BAPIs and I know the BAPI name (BAPI_SERVNOT_CREATE) to create SERVICE NOTIFICATIONS, but not with this kind of interface. Please advice me how to go about it and if some one can share any documentations to accomplish this task.
    Another developer is in charge of developing the AIF and I am responsible for ABAP side .
    Thanks in advance.
    mini

    Hi Mini,
    Kindly check the webDynpro ABAP section of Intercative form homepage. at - https://www.sdn.sap.com/irj/sdn/adobe.
    You can create a portal application and call your BAPI. Other options include - webDynpro Java, calling webservice (if the call can be unsecured). You will be able to call secure web services from adobe forms from future versions afaik.
    Thanks and Regards,
    - anto

  • Control not going from Adobe Interactive form to ABAP WD Event handler

    Hi
    I am facing an issue with adobe interactive forms and WD ABAP integration.
    The buttons in adobe interactive form when clicked is going round and round and the control is not going to the ABAP code(WD ABAP event handler code whatsoever). I have also set the debugger but the control is not moving to the ABAP code from the adobe interactive form.
    Can anyone help me what can be the issue here and how can I resolve the same?
    Thanks.
    Sid

    Hi Babi,
    In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
    Only this button action can connect adobe to web dynpro.
    Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
    Regards,
    Simi A  M
    Edited by: amsimi on Mar 22, 2011 11:37 AM

  • Calling a WD method from Adobe Interactive Form JavaScript

    Hi all,
    I would like to save the PDF file (into KM) defined by the binary Context Attribute "PdfSource",  when I run a Adobe Interactive Form inside a WD application. And this must be done automaticaly at starting.
    The origin of my problem is that "PdfSource" is not filled-in until the adobe form is completely loaded and ready.
    So i was thinking to use the "form:ready" event of Adobe Inteactive Forms to call a WD method ir order to save the PDF file (into KM) but i do not find the way
    Can anybody tell me if this is correct and how, or should I try another way?
    Very thanks in advance,

    hi
    good
    go through these links, i hope these ll help you to solve your problem.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/services/sal/config/api/WDConfigurationConstants.html
    https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/clientserver/uielib/adobe/api/WDInteractiveFormDisplayType.html
    thanks
    mrutyun^

  • How to read attachment from adobe interactive form

    Hi,
    My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' SMUM_XML_PARSE' to read all the data in the form.
    Best Regards,
    Tofan

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

  • Reading attachments from adobe interactive form

    Hi,
    My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' SMUM_XML_PARSE' to read all the data in the form.
    Best Regards,
    Tofan

    Hi Ali,
    Thank you for the reply. But i want to read the attachments which are attached inside the adobe forms.
    How to read the form and get all the data i know but i want to extract the attachments which are attached in the form and save it in sap.
    For example- in an adobe form customer is attaching the PAN copy, Registration certificate etc, how to read these attachment from the adobe form and store in sap?
    Regards.
    Tofan

  • Passing value from Adobe Interactive form, to the Webdynpro Application

    Hi,
    I have followed all the tutorials on interactive forms in WD for Java, & am able to successfuly display my context data in an interactive form.
    However, i need help with the following:
    1. Online scenario:
    User has filled details in an interactive form & clicks on the submit button.
    The Data from the form is NOT getting passed back to the WebDynpro application.
    2. Offline Scenario:
    User has filledup a pdf file(form), & has uploaded the form to the webdynpro application, using the file-upload UI element.
    How do i read the data that the user has entered in that pdf file?
    Any help with regard to these two queries, will be appreciated.
    Thanks,
    Hanoz

    1) Online Scenario
    check if the context mapping between UI elements and Context is properly done
    check if the cardinality of the Context is alright.
    2) Offline Scenario
    you will have two views.
    one upload view
    and one interactive form view
    in the upload view use the File Upload UI element.
    in the Interactive Form View.... use the same view which you used to create the offline form, thus the interactive form UI element will already know the structure of data and the context mapping in the pdf file when you upload it.
    Add the following line of code to the
    method wdDoInit.
    wdContext.getNodeInfo().getAttribute
    ("pdfObject").getModifiableSimpleTyp
    e();
    Add the following line of code right
    before
    wdThis.wdFirePlugOutToDisplay()
    in the method onActionShowForm().
    wdThis.wdGetTravelRequestCompControl
    ler().wdGetContext().currentContextE
    lement().setPdfObject(wdContext.curr
    entContextElement().getPdfObject());
    in the interactive form view, change the property of the interactive form.... MODE to usePdf.
    regards,
    -Ag.

  • Export data to MS Excel in Adobe interactive form

    Hello Experts,
    I am using Webdynpro Java and ALCD 8.2.  Can anyone help me out with functionality of Exporting adobe form data to excel file.
    Thanks in advance,
    Swami

    Hi Swami,
    When you say exporting data to a excel spread sheet.
    Does that mean once the form is generated then user should able to export to excel, if so below is the link for that.
    http://forums.adobe.com/thread/709565?tstart=1
    if its like for an interactive forms where user submits data the on submit event if you want to publish the form data to a spread sheet, I believ there should be a lot of posts on generating CSV files from ABAP code. this is also possible from WDJ provided if you have the respective jar files (on submit even, read data from the context, process to required format, call the excel API and write to it.)
    If from ABAP handler the post from the other blogger here might help.
    does this help, let me know if you are looking for something more specific.
    Cheers,
    Sai

  • Lead from Adobe Interactive form

    Hello gurus,
    I am trying to create a Lead out of Adobe IF, i could able to create a web service with Attribute,
    and then i tried creating a document template here when i click on start designer i get a adobe creation
    screen,but i am faining here i do not know how to match up the Attributes used in the web service
    to the various fields in the adobe form,
    and i also wanted to know that in the document creation screen we have two downwload icons one for
    download etc what is the purpose of these icons here.
    is there any document available to create su, I request you guys please share any information
    in creating Lead from Adobe IF,
    Regards
    chandu

    To connect web service and document template you have to do the following steps...
    1. Download the schema to your hard disk.
    2. Start Adobe LiveCycle Designer.
    3. In LiveCycle Designer you create a new form.
    4. This will be now used as template with data connections.
    5. The data connection can be used to create lead in crm.
    6. To create a new data connection, go to File>New Data Connection. Choose XML Schema, give a name to the connection, and click on Next. Then provide the path of the schema you just downloaded from the CRM system and click on Finish.
    7. The new data connection appears in the left window of LiveCycle Designer. This one is used to map form fields with your xml schema. Now you can start to design your form by dragging and dropping the necessary attributes from the Data Connection structure to the Adobe pages.
    8. To create a new data connection, go to File>New Data Connection. Choose WSDL File. Provide the path of the stored WSDL file of your service. Choose the right service operation - in your case create operation to create lead in the CRM.
    9. In this part of the form you drag and drop the fields from the new data connection of the create service operation to the fields of the form that youu2019ll use to create the lead. LiveCycle Designer indicates the connections with small arrow icons.
    10 .In some cases the CRM system needs additional input data to create the respective transaction - lead (e.g. transaction type). You can avoid this by assigning the values in the Web service tool as a default value or assign the requested value as a default to it in form. To provide a default value go to the Value tab under the Object settings.
    11. Finally you have to drag and drop the Execute button located at the end of the service structure (create service) to the form. This button is required to trigger the creation of the lead in crm.
    Hope this helps and I didn't miss anything. Unfortunatly I'm going tommorow on vacation for 2 weeks so I won't be able to give you further inscructions till then.

Maybe you are looking for

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution? If possible I do not want to use workflow. Is It possible to do it without using workflow?

  • Is there a way to select which display to use??

    Hi, I think my problem is OS dependent but i'm still gonna ask... Code related to this problem is:   Process runner;   Runtime t = Runtime.getRuntime();   runner = t.exec("<path-to-office>\powerpnt.exe /s '<path-to-show>\show.ppt'");   //  The progra

  • No data appears in s/scf/snc

    Hi, after updating the SNC 7.0 from support package level 0 to support package level 8 I cannot do anything in any of the WEB Uis for SAP SNC. If I press on SNC link, it opens the browser and appears a message saying User Not Found. Before I updated

  • How do i upgrade migration assistant

    bought new macbook air and couldn't migrate my macbook to new macbook air with TimeMachine plugged into the Air, it wouldn't recognize my TimeMachine.  so i selected "transfer from another mac", the Air setup window recognized the macbook but then sa

  • BB Curve 8530 - PLEASE HELP ME?

    Hi,      I have a BB Curve 8530. Last wk when I upgraded my BB app world, most of my apps/icons disappeared. When I look in my app world or thru applications from the options field, I see that they are there, but they're not on my screen where I once