We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
I am not able to pick the order.
Tried to use ABAP code
DATA: z_aufnr like CAUFVD-AUFNR.
get parameter id 'ANR' FIELD Z_AUFNR.
Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
Your help is greatly appreciated.