cancel
Showing results for 
Search instead for 
Did you mean: 

UI: Simulating Click on Search button

frank_toth
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

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

Best regards,

Mark

frank_toth
Explorer
0 Kudos

Hi Mark,

thank you, it worked!

Best regards,

Frank