on ‎2024 Jul 16 6:31 PM
I am working on a script which will check for a particular condition (an on-screen variable having the right value), and will act based on the result. I've found an example shown below where session.findById may be used to pull the value for a variable. Where do I find the information for a variable which is to be entered in the quotes?
//Set Variable for Order Type
var Order=session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP*/tabpT\\01/ssubSUBSCREEN_BODY:SAPMV45A:4301/ctxtVBAK-AUART").text;Thank you in advance!
Request clarification before answering.
You'd use the Inspector in the script editor, to reference the property of a control you are interested in. Take a look at the video in our most recent course on the SAP Learning platform to see an example how to do that. It's at about the 3:40 mark.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.