Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
stefan_schnell
Active Contributor
0 Kudos


Hello community,

I analyzed the SAP GUI Scripting library and found some hidden methods in the API which are not documented. Here the methods and my test results:
'Class GuiSession - Works
session.SendCommandAsync "/nDB01"

'Class GuiSession - Shows runtime error message
session.SendMenu ""

'Class GuiSession - Don't show error message, but don't know parameters
session.RunScriptControl "", 0

'Classes GuiMainWindow, GuiModalWindow and GuiFrameWindow - Don't show error message, but doesn't work
session.findById("wnd[0]").MoveWindow 10, 10, 640, 480

'Class GuiUserArea - Don't show error message, but don't know parameters
session.findById("wnd[0]/usr").ListNavigate ""

A longer time ago I found ChildrenforNWBC property, you can find more information here.

Here more properties, without test results:

'Class GuiScrollbar - Range
'Class GuiTableColumn - Width


Good to know.


 

Cheers
Stefan

Labels in this area