Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

scroll GUI table in VBS - dynamic title

Hi,

I need to loop VA02 items table to check which of the current line is selected
I saw this solution  http://scn.sap.com/thread/3316995

but in this solution i need to provide in this following line the title:
WshShell.AppActivate "Title of the SAP Window"

but the title is  which is dynamic  because every order has different title

Any solution for this ?

Thanks

Mark

replied

Hello Ziv,

sure, try this: session.findById("wnd[0]/titl").text

to get the title of the window.

E.g. with

MsgBox session.findById("wnd[0]/titl").text

you get



Cheers

Stefan


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question