Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

GuiXt - Passing value's to other transaction

0 Kudos

Hi all,

i have enhanced transaction 'VA01\Va02' with an button that opens a 'Z' transction in another window using GuiXT.

I need to pass the value of the order to the Z transaction .

How do I do that ?

thank you !

4 REPLIES 4

Former Member
0 Kudos

Solution: Make your script in such a way , than when Z transaction is executed , go in VA01/VA02 and get the value from there , store in a variable and return back to your Z transaction, now use value from variable.

Search SAP GuiXT keywords for this.

naimesh_patel
Active Contributor
0 Kudos

You can write this values in a local file (presentation) i.e. C:\temp\va01.txt and read this file when you start your Z transaction.

Regards,

Naimesh Patel

script_man
Active Contributor
0 Kudos

Hi Orit,

there is also another possibility. For example:

the first transaction:

...

CopyText fromString="varname" toText="t1"

CopyText fromText="t1" toSharedText="s1"

...

the second transaction:

...

CopyText fromSharedText="s1" toText="t1"

CopyText fromText="t1" toString="varname"

...

I hope it helps.

Regards,

ScriptMan

Former Member
0 Kudos

You need to store values from VA01/02 in a varible and use in it Z transaction.