on 07-10-2015 2:15 PM
Just throwing this out there... is there a short listing or document somewhere of available field properties that can be utilized for identification of elements in SAP?
Example:
session.findById("wnd[0]/usr/tabsTABTC/tabpTB01/ssubINCLUDE7XX:SAPLM61K:0101/ctxtMDKP-EKGRP").Text
- Would be specific to the text contained within the field
session.findById("wnd[0]/usr/tabsTABTC/tabpTB01/ssubINCLUDE7XX:SAPLM61K:0101/ctxtMDKP-EKGRP").Changeable
- Would be specific to if the field in question can be modified
session.findById("wnd[0]/usr/tabsTABTC/tabpTB01/ssubINCLUDE7XX:SAPLM61K:0101/ctxtMDKP-EKGRP").SetFocus
- Would be specific to moving the selection focus to the field in question
session.findById("wnd[0]/usr/tabsTABTC/tabpTB01/ssubINCLUDE7XX:SAPLM61K:0101/ctxtMDKP-EKGRP").Select
- Would be specific to selecting the field in question (as in working with buttons)
Etc, etc.
Hello Ehren,
welcome in the Scripting Language forum.
Sure, look in the directory SAP\FrontEnd\SAPgui\SAPguihelp of your Program Files directory, or Program Files (x86) on a 64-bit Windows OS. Here you find the file SAPGUIScripting.chm and in this help file you find all descriptions of all properties and methods.
Cheers
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.