cancel
Showing results for 
Search instead for 
Did you mean: 

menu access error, SAP GUI Scripting API 7.10

Former Member
0 Kudos

Hi,

Menu items cant be found when selecting as following:

session.FindById("wnd[0]/mbar/menu[3]/menu[6]").Select

session.FindById("wnd[0]/mbar/menu[1]/menu[8]/menu[3]").Select

However, after the child menu list is opened once, or is used once,

the above FindById would not complain.

Actually, the children collection has count of 0, which means no child be populated firstly.

These are run in Excel VBA.

The client GUI is using low speed connection. Wondering if it is the reason.

If it is, any way to work around without changing the speed setting.

Any advice appriciated. Thanks

Related:

http://scn.sap.com/thread/351482  FindByPosition

Accepted Solutions (1)

Accepted Solutions (1)

script_man
Active Contributor
0 Kudos

Hi MAX,

It is the reason. Unfortunately, I do not know a work around. The only solution I know the fast connection.

Regards,

ScriptMan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mate, Thanks. Had a look at GUIXT, which may provide a button on the tool bar. But still prefer if it can be done just in SAPGUI scripting. Regards