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

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

  • Adobe interactive form with ABAP workbench

    Hi Experts,
    Need to know, can we run Online Adobe interactive form using ABAP ( Not webdynpro ABAP or Java) workbench? If so how? and if possible please provide the driver program which run the form & after filling it, it updates SAP data online.
    Regards,
    Nik

    That is possible by using FLM tool. You need to buy it separately. Its an ARCH product. Or if its HR forms then you can use HCM proceess & forms.

  • 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

  • Web Service is not triggering  using Adobe Interactive Form

    Hello Experts,
      I know this is a common topic now , but the problem I am facing, no thread help me to solve that.
    Problem:--
    My requirement is to create an adobe form , in which
      -> an input field is needed,and some  description is needed.
    I used button to trigger my webservice.
    Here , I want to clear that , I have made a proper WEB SERVICE using Remote Enabled FM.
    My web service is working fine as I have tested from WS NAVIGATOR(Note:  http://<source>:<port>/wsnavigator).
    In Adobe Form (SFP), I have made a new Data connection using WebService WSDL.
    All Request and Response parameters are availabe in Data View palletes of Form.
    Button that is available from data connection is used.
    I  have used Button as  an Execute button , under execute tab in connection , I had given DATA CONNECTION name .
    But above things not worked so ,
    I also tried with Regular Button , and under click written Javascript/FormCalc  which is:--
    var cURL = 'http://x.y.com:8012/sap/bc/srt/rfc/sap/ZMATERIAL_DESCRIPTION?sap-client=800&wsdl=1.1';
    var service = SOAP.connect(cURL);
    xfa.connectionSet.DataConnection2.execute(0);
    But this also not worked .
    So, I think there can be a little issue may be , I am forgetting to click some special  atrributes in form .
    Please help me and let me know what can be probable reasons that webservice is not triggering
    Thanks a lot ,
    Jeet

    Solved my self, converted PDF into image and used that pdf as a static image in Adobe Interactive Form.

  • 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

  • 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

  • Visual Admin service not present for Adobe Interactive forms

    Hi EP experts,
    i want to use Adobe Document for creating Adobe Interactive forms in webdynpro java.
    but initially i want to activate Adobe Document Service from Visual Admin..
    For this ,Under Cluster tab of visual admin, i want to select Document Services Configuration to assign the credential under com.adobe~TrustManagerService.
    But in visual admin of EP 6.0 SP19 there is no Document Services Configuration under services of cluster tab...
    To enable this ,is there any need of any patch-up to be installed for Adobe Document Service.?
    How should i confirm if alreadt respective Adobe Document Service or patch is Installed on EP server 6.0 SP19.
    Waiting for reply..........
    Regards:
    Hanif

    Hi
    Yes,We have to install Adobe Document Service patch to get access of its service .
    To Check whether it is installed or not go to  Netweaver administration -- configuration --services -- adobe doc service - click on this link ,proper message will be display about its availability.
    Best Regards
    Satish Kumar

  • Print Preview in RFx does not show new Adobe Interactive Form

    Hello Experts,
    I am trying to assign a standard Adobe Interactive form as the output form for SRM RFQ.  I have carried out the following steps in customising under "Define Actions for Document Output".
    - Selected bid invitation Action Profile = BBP_PD_BID
    - Go to "Processing Types"
    - Create a new Processing Type called "External Communication"
    - Set the following values to the new processing type:
         - Form Name = BBP_BID_INV_ADB
         - Form Type = P PDF-Based Forms
         - Format = BBP_BID_INV_ADB_MAI
         - Personalization Type = 5 - Recipeient Variable Replacement
    - Save Changes
    My problem is that when I go to into the BID (RFx) and click "Print Preview" it picks up the standard Smartform, not the new Adobe form I have added as required.
    Please can you advise of any additional config settings or other steps required to ensure that the Adobe Form is called when I click "Print Preview"?
    We are on SRM 7.0.
    I look forward your response.
    Regards,
    Matt

    Hi Matt could you please tell me how do you solve your issue? I have the same and I cant find the solution.
    Thanks a lot
    Kind Regards

  • 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^

  • 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

  • Migrating PCR frontend-JSP forms to Adobe interactive forms-WD Abap Comp

    Hi All,
    We are currently on Netweaver 7.0 & ECC 6.0 and ESS - MSS Business Package 50.4. We are using JSP Forms on portal front for Personnel Change Requests (PCR's ) where in all the scenarios in the backend are heavily customized with good amount of usage of Javascripts. For certain scenarios, where in a huge amount of information is fetched from ECC 6.0 backend system, JSP are performing really bad and the total time taken to display the form is actually causing a lot of irritation to the end user.
    We are planning to propose an upgrade to SAP adobe interactive forms. The prerequisite is that the business wants to reuse all the customized scenarios without any changes and just want to move towards better front end forms.
    My questions are:
    1. Please list benefits of SAP Adobe interactive forms - ABAP component over JSP forms (performance wise)
    2. Issues with SAP Adobe Interactive forms?
    3. Since Javascripts do not work in Webdynpro ABAP. How can we implement those front end checks and validations.
    3. Any other options available for UI that can be suggested?
    All suggestions are welcome. Quick response is appreciated.
    Thanks a lot for your time and help.
    Best Regards,
    Anupama

    Is your performance issue with the Javascript with JSP pages?  or the Java script you are using within the Adobe form in your WDJ custom application using Adobe form? I have worked on PCR's using ISR framework old school it used to call as PCR and now HCM Processes and form, Developed PCR's using WDJ also integrated workflow with the WDJ PCR for approval(we never had any performance issue) infact ISR frame work was kind of slow compare to custom WDJ solution and less flexible for a developer to develop.
    I have also worked created WDA custom application for PCR's , WDA is definitely better when you compare it with WDJ but I have not seen much performance issue with WDJ atleast on custom PCR solutions.
    I don't have any case study to share with you, can you please tell what kind of PCR's your client is using and what kind of performance issue you are experiencing and where and why you guys are using Javascript.

  • Multi language support for Adobe interactive form in ABAP WD

    Hi ,
    I translated the adobe form in multi language in SE63, If i execute the form with passing LANGU(language) parameter, form supports for multi language.
    I created XML schema based interface and if a execute interactive form in ABAP Webdynpro, i am unable to pass launguage(LANGU) parameter. because InteractiveForm element property does not have language key parameter.
    Apart from creating different language dependent forms, is there any alternate way we can pass the LANGU key parameter to Interactive Adobe form???

    Hi,
    As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
    You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
    regards

  • Adobe interactive forms using ABAP

    Hi,
    Anyone could help me to develop Adobe interactive forms (online and offline cases)   using ABAP (not Java). I would need <b>step by step procedures</b> to develop quickly.
    Thanks.
    Ramana reddy

    HI,
    Can you try these threads
    Display Smartform Pdf output in ABAP Webdynpro application
    Display PDF from BAPI in Webdynpro
    It might helps you.
    thanks ,
    Lohi.

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

Maybe you are looking for

  • J2ME error to get value from variable in another class

    hi,, i write code for a mobile application like a tour guide.. i had create 5 class for this application, KutaBeachDictionary MIDlet class, ListMainMenu List class, ListMenuHotel List class, HotelDes01 Form class and the last Hotel class that store a

  • Using iTunes w/ Mac AND Windows via Dropbox

    I'm doing my best to move my life to "the cloud" and the final missing piece is iTunes. I'm currently using iTunes on a Sony Vaio, storing all of my music and video on a 1TB external hard drive. I recently got a MacBook Air and want to have access to

  • Create a tooltip in AdvancedDataGrid

    Hi, I would I to ask how to create a tooltip in AdvancedDataGrid. I created a new MXML component named CustomToolTip, based on a VBox. This is my code for custom tooltip: <?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:fx="http://ns.adobe.com/m

  • Unable to add Incoming Excise Invoice

    Hi All, While trying to add Incoming Excise Invoice, I'm gettin an error message,"Tax Definition, Message 173". I have checked the tax code and type, all the accounts are mapped here . What is causing this error and how to correctly add this document

  • Pavilion dv7 4050ed - Windows Update Problems After First Installation

    I have only just today received my brand new HP Pavilion dv7 4050ed and commenced installation straight away.  There were no problems in the initial installation and I booted Windows for the first time successfully and let it do its auto installs for