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

menu access error, SAP GUI Scripting API 7.10

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 07, 2012 at 06:00 AM

    Hi MAX,

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

    Regards,

    ScriptMan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2012 at 01:18 AM

    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

    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.