Thanks Sushant,
I found out the onActivate event.
Now when I am doing the step 2 session.utils.put in the copy script.
So my value is in ZMOD = which is moved from text field.
I added one more variable ZMODG, which will become my key in session.utils.put.
However I don't seem to be able to pass the value to ZMODG.
I tried to use double quotes with session.utils.put like session.utils.put("ZMODG","ZMOD");
but that also did not work. So with or without quotes its not working.
Do you think I should change something to be able to pass value while using this method?
Sorry for the long post, but I am really confused how to use these methods, I think these are my best option, if we can make them work.
Thanks for your support