Skip to Content

UI: Simulating Click on Search button

Hello,

we are trying to open the material form (150) with a specific item number.

We open the form in search mode, put the number into the itemcode field and then want to submit the form by simulating an item click event of the search button:

form.Items.Item(1).Click(SAPbouiCOM.BoCellClickType.ct_Regular)

At this point the program crashes.

Any ideas?

Thanks for your help,

Frank

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2004 at 05:05 AM

    Hi,

    Because the focus is on the "Search" button, try to simulate press on "Enter"

    Best regards,

    Mark

    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.