Skip to Content
avatar image
Former Member

Passing variables in Personas 3.0

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 10, 2017 at 07:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded