Skip to Content
author's profile photo Former Member
Former Member

Script to simulate Execution of a button (urgent)

Hi all,

I need a working script, java or formcalc, that simulates the press of an execute button containing web service URL of a WSDL and connection name. I would use that script in an event.

Thank you in advance,

Nancy

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 05:39 AM

    Hi Nancy,

    Below is the script that you can place in an event to invoke the Submit action of an interactive form.

    app.eval("event.target.SAPSubmit();");

    Hope this helps!!

    Regards,

    Arafat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks Arafat & Jürgen for responding to my question. I went through Jürgen's blog quickly and seems to have the answer there; however, I need to educate myself more in javascript. As the priority got shifted, I'll return to work on this problem soon.

      Best regards,

      Nancy

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2008 at 09:44 AM

    Hi Arafat!

    Using your script, where can we set the destination page/controller like the one we found in the "Submit" type button? FYI, I'm using BSP.

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2008 at 03:29 PM

    Hi Nancy,

    For offline scenario we have used a Portal Webservice. So for calling the webservice we used a button(Webservice method).

    But for that button we have written the code in the Enter event.Inorder to to trigger the enter event we have kept a alert message and then we are triggering the event.

    Hope this is helpful

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.