01-24-2014, 06:34 PM
If I understand you question correctly....
We can use "ActiveWindow" method which will fetch the active window object. Then we have to use the "Text" method on the window object to get the name of the active window.
We can use "ActiveWindow" method which will fetch the active window object. Then we have to use the "Text" method on the window object to get the name of the active window.
Code:
Set oActiveWindow = SAPGuiSession("SAP").ActiveWindow
Msgbox oActiveWindow.Text
Thanks,
SUpputuri
SUpputuri