Submit button fails to call event

Hi
I hav a webdynpro app where I am using a PDF form.
The Submit button does not respond.
When I take a project from one of my colleagues and I try to run it in my
development environment the submit button works well and responds to my clicking
by going to the event handler attached to the action.
The environment we use is the same, so are all the Web Dynpro, Adobe Reader, and Lifecycle Designer versions.
Anyone seen such behaviour?
Regards
yuval

Hi,
Otto is right.
SAP recommends ZCI rather than instead of ACF.
As per the note: 766191, it is supported upto reader 9. I am not sure about 9.1.
Please refer to Note: 834573,1055911, 1042394 for ZCI implementation.
Hope this would be helpful.
Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Dec 1, 2009 1:32 PM
Edited by: Aditya Deshpande on Dec 2, 2009 9:02 AM

Similar Messages

  • Submit button to trigger BSP event

    Hi,
      I have a BSP applicaition which is already existing, now I need to integrate a Adobe form for User Interface.. On clicking the Submit button in the Interactive form.. I should trigger an event and at the same time it should call the 'On Input Processing' method of the BSP application.
    Please help me if some one has done it .. or give ur suggestions .. ?
    Thanks
    Sivaraj

    Hello Otto,
    Thanks for the reply,  I created my application refering the above blogs.
    I have BSP Page
    <htmlb:content u2026.>
    <htmlb:page u2026.>
    <htmlb:form>
    <<AREA FOR DISPLAYING ERROR/SUCCESS MESSAGES >>
    << HTMLB Buttons for SAVE/PRINT_PREVIEW/BACK >>
    <iframe src="getPDF.do">
    u201DControl getPDF.do returns Adobe Interactive Form in PDF format
    </iframe>
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>
    in getPDF.do I'm getting PDF Interactive form as PDF Fiel, Inside the form there is a Save button.
    Currently if I click the save button in Interactive for , only the IFrame & Adobe Form is getting refreshed,
    What I want is 
    On Click of Save button of ADOBE, It should trigger Click event of Save button in BSP Page.
    Is there any script event in Adobe Form to access window.document object of my main page?
    Regards
    Geogy

  • Check and Submit Button dont trigger the events

    All,
    I have two webdynpro activex buttons check and submit embedded on the form. These buttons have this script on their respective click events -
    app.eval("event.target.SAPSubmit();");
    app.eval("event.target.SAPCheckFields();");
    This inturn is supposed to trigger the code within the onCheck and onSubmit event handlers of SAP Interactive Form.
    But, when I click these buttons nothing seem to happen.
    Can someone help me resolve this issue as it is very criticial for me.
    Any help is highly appreciated.
    Many thanks,
    Divya

    All,
    I now made the events as "Server"and get an information message stating (Couldn't post data to '' ) when I click on these buttons.
    But, it still  does not trigger the event handler method.
    What can be wrong?
    Many thanks,
    Divya

  • Home button fail during call

    During a phone call this morning I was unable to use the home button to get to the home screen during an active phone call. I was able to double press the home button to get the recent apps list, and I was able to switch to other apps. But at no time during the call could I get to the home screen. Has anyone else experienced this issue? Is a fix in the works? iPhone 4, 4.0.1.

    Mine seems to be working as normal. Does this happen on every call? I would try to do a hard reset of the phone, and if your still having that problem, then restore the phone. If issues still persists, then make an appointment with Apple to check it out.

  • Submit button from Adobe form doesn't trigger event???

    Hi all,
    I am having this weird problem, the submit button wont trigger any event i register to "submit" and so as to the "check" event. when i send the link to one of my colleagues, the button can trigger the event.
    i am using adobe reader 8 on IE 6, didn't solve the problem when i downgrade it to reader 7.
    any advice???
    Thank you.

    Hi,
    I too had a similar problem sometime back regarding the Submit button. Since you are saying that it is working for your colleague but not you, I predict that something wrong with the network you are in, compared to that of your friend.  Have you provided the Preprocessor URL for the button in the Adobe designer?
    Cheers
    Madhu

  • Updation of Ztable clicking on submit button in adobe interactive forms

    Hi all,
    In my adobe interactive form i have student details and one SUBMIT BUTTON.After clicking on that button i need to update the details in my Ztable. How Can I do?Where Can I write the code?
    Please reply me.
    Thanks in advance.

    Hi, I'm afraid I think there is no place where you can "catch" click on button in interactive form in sapgui, but you can:
    use http submit button and send data to your web service, which receive dataa and update your ztable,
    or you can create webdynpro, where you can catch click on submit button a in this event you can update yout ztable (my previous post).
    Please remember, that you can run your webdynpro application in sapgui:
    REPORT  DEMO_START_WD_IN_PLACE1 MESSAGE-ID SWDP_RUNTIME.
    start-of-selection.
      CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
        EXPORTING
         PROTOCOL               = 'HTTP'       " HTTP | HTTPS
        INTERNALMODE           = 'X'    "SPACE - browser is started
        PARAMETERS             =
          APPLICATION            = 'your_webdynpro_application
         CONTAINER_NAME         = 'SAP Formuláře'
        EXCEPTIONS
          INVALID_APPLICATION    = 1
          BROWSER_NOT_STARTED    = 2
          OTHERS                 = 3.
      IF sy-subrc EQ 1.
        MESSAGE a400.
      ELSEIF sy-subrc = 2.
        MESSAGE a401.
      ELSEIF sy-subrc = 3.
        MESSAGE a667.
      ENDIF.

  • Can I send 2 separate emails from one Submit Button?

    Have a referral form that an employee completes referring a candidate for a specific position. 
    Fields are:  EmployeeName, EmployeeEmail, Candidate, Position, ReqNo.
    I created a submit button (used regular button and changed it to a submit and entered an email address). The form is sent to this email address in a PDF format.  This works great.
    Now at the same time I would like send a message to the employee acknowledging that we have received their referral -utilizing their email address from the form. 
    Is there anyway that I can combine both of these actions on the Submit button I already have created?

    To do so i guess you could use this to send an email in ur regular button (not a submit button) in the click event
    var oDoc = event.target;
                                       oDoc.mailDoc({
                                             bUI: false,
                                             cTo: "Email here!",
                                                                               cCC: "",
                                                                               cSubject: "Insert Subject Here!",
                                                                               cMsg: "Before submiting the email, include attachments 1, 2 and 3:\n"
    and then you can resend an email again with the code above repeated

  • Submit Button error - Data Connection failing

    I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
    The operation completed successfully.
    The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
    On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
    http://servername instead of the alias
    http://intranet - this had solved the problem in other forms, but not this one.
    Looking closely at the rules on my submit button, the following actions occur:
    1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
    The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
    To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
    The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
    gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
    I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
    I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
    In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
    InfoPath cannot submit the form
    An error occurred while the form was being submitted
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file is in use by another application or user.
    As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
    I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
    Thanks,
    Ben

    bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
    http://intranet instead of the servername e.g.
    http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
    between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
    What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
    aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
    http://intranet.
    Ben

  • How to trap Submit button event in OAF

    Hello,
    I'm doing controller extension for create account button in Customer UI.
    Issue: I'm not able to trap the table action to add extra validation logic.
    I tried to use pageContext.getParameters("CreateButton") but it didn't work i.e. debug message was not printed written inside if statement.
    Button Structure:
    TableAction
    Flowlayout
    Submit button.
    Code:
    public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            //super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            ArrayList exceptions = new ArrayList();
            OAFlowLayoutBean oaflowlaybean =
                (OAFlowLayoutBean)webBean.findChildRecursive("TableActionsRN");
            OASubmitButtonBean vbuttonBean =
                (OASubmitButtonBean)oaflowlaybean.findChildRecursive("CreateButton");
            String buttonId = vbuttonBean.getID();
            String buttonId12 = vbuttonBean.getName();
            String asd=vbuttonBean.getEvent();
            String s = pageContext.getParameter(EVENT_PARAM);
            String s1 = pageContext.getParameter(vbuttonBean.getName());
                if (s.equalsIgnoreCase("CreateAccount")) {
                OAViewObject vo =
                    (OAViewObject)am.findViewObject("HzPuiAccountTableVO");
                if (vo != null) {
                    pageContext.writeDiagnostics("Jai-1", "VO Found", 1);
                    OARow row = (OARow)vo.getCurrentRow();
                    if (row != null) {
                        pageContext.writeDiagnostics("Jai-2", "Row Found", 1);
                        String partyid =
                            (String)row.getAttribute("PartyId").toString();
                        pageContext.writeDiagnostics("Jai-3", "PartyId" + partyid,
                                                     1);
                        int PartyNum = Integer.parseInt(partyid);
                        String partyacctcnt = null;
                        try {
                            OracleConnection conn =
                                (OracleConnection)pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
                            pageContext.writeDiagnostics("Jai-4", "Inside Try", 1);
                            String query =
                                "SELECT count(1) lcount  FROM HZ_CUST_ACCOUNTS WHERE party_id=:1";
                            PreparedStatement stmt = conn.prepareStatement(query);
                            stmt.setInt(1, PartyNum);
                            ResultSet resultset = (ResultSet)stmt.executeQuery();
                            if (resultset.next()) {
                                pageContext.writeDiagnostics("Jai-5",
                                                             "Inside Result Next",
                                                             1);
                                partyacctcnt = resultset.getString("lcount");
                            stmt.close();
                        } catch (SQLException sqlexception) {
                            throw OAException.wrapperException(sqlexception);
                        int i = Integer.parseInt(partyacctcnt);
                        /*   String HoldFlag = (String)row.getAttribute("Attribute11");
                        // Check Hold Flag: "Y" then restrict to create new account
                        if (HoldFlag == "Y") {
                            pageContext.writeDiagnostics("Jai", "Inside Hold Flag", 1);
                            exceptions.add(new OAException("XXGCO",
                                                           "XXTCO_CREDIT_LIMIT_CHECK",
                                                           null, OAException.ERROR,
                                                           null));
                        // One Party-One Account: Greater or Equal to 1 then throw error mesaage
                        if (i > 1) {
                            pageContext.writeDiagnostics("Jai-6",
                                                         "Inside Account Check",
                                                         1);
                            exceptions.add(new OAException("XXGCO",
                                                           "XXTCO_CREDIT_LIMIT_CHECK",
                                                           null, OAException.ERROR,
                                                           null));
                        if (exceptions.size() > 0) {
                            pageContext.writeDiagnostics("Jai-7",
                                                         "Inside Exceptioon calling",
                                                         10);
                            OAException.raiseBundledOAException(exceptions);
                        } else {
                            pageContext.writeDiagnostics("Jai-8",
                                                         "Inside else Exceptioon calling",
                                                         10);
                           // super.initParametersPFR(pageContext,webBean);
                            vbuttonBean.setFireActionForSubmit(null, null, null, false);
                            super.processFormRequest(pageContext, webBean);
    Please suggest the how to overcome with above mention issue.

    Hi Kiranmai,
    You can capture the event of the radio button in the following way in oninputprocessing.
    DATA: event             TYPE REF TO if_htmlb_data,
                   radioButton_event TYPE REF TO CL_HTMLB_EVENT_RADIOBUTTON.
             event = cl_htmlb_manager=>get_event( request ).
             IF event IS NOT INITIAL AND event->event_name = htmlb_events=>radiobutton.
               radioButton_event ?= event.
               ENDIF.
    you can get the attributes of clicked radio button in
    event->event_class
    event->event_id.
    event->event_name
    event->event_type
    event->event_server_name
    In layout define the radio button as
    <htmlb:radioButtonGroup   id          = "test_id">
            <htmlb:radioButton      id          = "id_red"   text = "Red"               onClick="myClick" />
            <htmlb:radioButton      id          = "id_blue"  text = "Blue"          onClientClick="alert('blue clicked')"/>
            <htmlb:radioButton      id          = "id_green" text = "Green"      onClick="myClick" onClientClick="alert('green clicked')"/>
          </htmlb:radioButtonGroup>
    Hope this will solve your problem.
    Donot forget to assign points for helpful answers.
    Regards
    Aashish Garg

  • Associating two events with submit button using  javascript in jsp

    Hi
    How can i Associate two events with submit button using javascript in jsp. Firstly it should insert the data to database and secondly it should close the same pop-up window

    Have something like :
    <input type="submit" name="submitbtn" value="Click me" onClick="function1(); function2(); " />
    You just call both functions sequentially, it's that simple. Although using javascript to work with a database, that seems a bit tricky.

  • Javascript Submit button onclick event handler

    Hi,
    I am having trouble getting the onclick event handler of a form to execute when the button is pressed. I am trying to open a page in a new window depending on if the user selects that option in a checkbox.
    There is one form(id='graphform') and 2 submit buttons, each with a checkbox before it. I want the new window to open only iuf the right checkbox and matching submit button has been checked.
    One of the checkbox/button pair: The onclick="checkWindow('w1','graphform');" is never getting called.
    <input type="checkbox" id="w1" name="win1" style="margin-right: 10px" value="window"  onclick="javascript:document.gform.win1[0].checked = true;"><a style="margin-right: 10px">Graph in new window</a>
    <input type="submit" value="Create graph" onmouseover="this.form.cumulat.value='0';this.form.graphGroup.value='Consumption'; document.getElementById('hintSubmitStop').value='1';" onclick="checkWindow('w1','graphform');" onmouseout="document.getElementById('hintSubmitStop').value='0';" /></td></tr>Javascript window opener:
    function checkWindow(win1, str){
              var formObj = document.getElementById(str);
         var checkBoxObj = document.getElementById(win1);
         if(checkBoxObj1.checked == true){
                   formObj.target = "_blank";     
                   formObj.action = "graphDisplayFrame.jsp";     
         else if(checkBoxObj1.checked == false){
                   formObj.target = "_self";
                   formObj.action = "graphDisplay.jsp";
    }Any suggestions?
    J

    You're storing the value in "checkBoxObj" and in the next line you use different variable name as "checkBoxObj1".
         var checkBoxObj = document.getElementById(win1);
         if(checkBoxObj1.checked == true){
    instead of "true', try      if(checkBoxObj.checked == 1){

  • HTML Form Submit Button to call a procedure

    hi! been looking high and low across all forums and it seems there are specific users like myself having problems with submit button and pl/sql procedures. Hope someone can clarify on this.
    Scenario: created a html/dynamic page with a submit button(no java scripts, just plain <form action="schema.procedure" method="post"> etc) to pass values into a procedure to update database. In my case, i've hard coded the values in the procedure for testing purpose(thus my procedure don't receive any in parameters).
    Problem:
    Clicking on Submit button will result a page not found error.
    Solution read so far:
    Ensure that at least the Public has been granted Execute Access on that procedure, which i find funny cos I am logged in as the adminstrator having all the rights, heck, i even created the schemas, procedures and tables.
    Result for me:
    Page not found displayed, but when I highlight the url on that page (which is the complete address)and press Enter, the procedure went through and display the message in my procedure?!
    But if I clik on a link (pointing to the same procedure), the procedure went through immediately.
    I have tried:
    a) clearing the browser cache
    b) deleting archive versions of the page
    c) entering the whole address
    d) recreate the html page using pl/sql
    but still the same problem.
    Any advise on this? Is this a bug? how to go around this?
    Rgds.

    Hi,
    I did the following :
    1) created a procedure called test1 in schema portal30
    create or replace procedure test1
    as
    begin
    htp.p('Hi there');
    end;
    2) granted it to public
    grant execute on test1 to public;
    3)created a dynamic page like this:
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <form action='portal30.test1'>
    <input type="Submit" value="click me">
    </Form>
    <H1>Example of A Dynamic Page</H1>
    <ORACLE>select * from PORTAL30_DEMO.emp where deptno = :department</ORACLE>
    </BODY>
    </HTML>
    4) ran the dynamic page ,works fine
    Thanks,
    Anu

  • Calling a method with a html Submit button

    hi guys,
    is it possible to call a method from a JSP file using a HTML submit button. I know i can call another website easily doing it this way, is there a similar way available to call a method once the button is clicked?
    FYI
    The method is in a bean file named jdbc. The methods name is getUsername.
    Nice one.
    <form action = <%jdbc.getUsername()%> <input type="submit" value="Submit">

    Dear friend,
    you mentioned that u need to call a method when submit button is clicked. Is the method dynamically created. If not so, then you can include the method on the submit button html file itself.
    Regards,
    Rengaraj.R

  • Call BADI  on click of a submit button in ESS

    Hi All,
    I am trying to call a function module ( i.e through BADI ) in a different browser by clicking on a submit button in Travel & Expenses Iview in ESS ( EP 6.0 ) but i didn't see any new window/ browser opened when i clicked on submit button.
    The BADI is activated and its working fine because the same functionality is working good when i tested this through trans. code  PR_WEB_1200. When i clicked on a submit button, a new browser was opened and the form was displayed the way we want in a different browser.
    But when i tested the same in ESS, i couldn't see any new browser or window opened. If the BADI was called when i clicked on the submit button atleast a new browser has to open with a blank page.
    Please guide me, If anybody knows, how to call a function module in a new browser by clicking on a button in ESS - Portal.
    Thanks.
    Anil

    Hi Jayesh,
      You can use the BADI BBP_CUF_BADI_2 to change the display from customer-defined fields to the SAP standard screen. This BAdI enables you to control whether the fields can be edited, and how they are displayed.
    MODIFY_SCREEN method will Show/hide field display and restrict edit options.
    For more information on BADI please go to SPRO -> BADI.
    OR  View the information on BADI's.
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    Hope above proves helpful to you.
    Regards,
    Rajeshree.

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

Maybe you are looking for

  • [SOLVED] Problem with .htaccess and user dirs.

    Hi!.. I write here because i have a problem with .htaccess files and url rewrites. I deployed a Cakephp[1] app in my /home/~asmerkin/public_html/books directory. This folder contains a .htaccess file with the following directives: <IfModule mod_rewri

  • Cannot install itunes 10.2.1 on XP. Iphone 4 is stuck on connect to itunes

    i have had problems ever since i downloaded the new itunes download a few weeks ago. First i was having issue with the determining gapless playback information which would freeze under my windows XP system. when attempting to plug in my iphone for sy

  • FM - FM_REVERSE_CLEARING_FI used for...

    Hi.... I want to know what is the functionality for the function module FM_REVERSE_CLEARING_FI. Is it used to Reverse the document or clear the document. Thanks, Sandy

  • Can't duplex print B4 paper size with Snow Leopard and HP8100N

    Apple print drivers dumped the standard European paper size B4 (see ISO 216 for specs) many OS's ago, however, I was able to duplex print B4, which is a standard size for the HP8100 trays, using the HP Duplexing accessory, by specifying a 'custom' pa

  • Installing a VB application using Oracle Provider for OLEDB

    Hi all, I have a corporate VB application that uses the Oracle 9i client. The Oracle Client is on a network disk, so all my clients will not need to install on their client machines. I am using Wise for Windows Installer to install the application on