on 11-10-2017 3:01 PM
I've tried all the examples I have seen regarding passing variables from one Personas 3.0 Web GUI transaction screen to another but can't get anything to work.
I have set the following variable on screen one with the onEnter event:
var sold_to_party = session.findById("wnd[0]/usr/ctxtPersonas_15101749592842").text;
I'm trying to populate the following text box on the next transaction screen with the value from screen one but nothing works:
session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/subPART-SUB:SAPMV45A:4701/ctxtKUAGV-KUNNR").text
Thanks in advance for any help or guidance,
mike
Is the script navigating to the other transaction the same where you declared variable sold_to_party?
If not, then you have store its value in the session store using session.utils.put and refer to it in the other script with session.utils.get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response. I have it working now and the script not navigating to the next screen was the problem. With the session.utils feature can I save variables/objects dynamically or must they be hard coded in as text? Meaning is there a way to store a text box value a user populates on a screen and retrieve the value on a different screen?
session.utils.put("key","value") can value be populated dynamically with a screen event
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.