Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 30, 2008 at 04:51 AM

    Hi Divya,

    Check whether you set the right "displayType" property for Interactive form.

    If your using Activex button then set it to Activex, if your using native button then change it to Native

    And check the "mode" property too... try by setting it to generatePdf

    Thanks

    Gopal

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Divya,

      These events would also work in both modes "updateDatainPDF" as well as "usePdf". Try using activex controls with ACF installed on your machine, ACF is the most common reason behind such issues.

      Hope this helps!!

      Regards,

      Arafat

  • avatar image
    Former Member
    May 29, 2008 at 07:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Are you sure, you have put the button in the body page (If you are using Designer 8.0, it is called by a differnt name, sorry i forgot 😔 )

      Thanks and Regards,

      Antony