‎2013 Nov 29 6:35 AM
I have to switch between transactions and the purchase order number should be passed to the next transaction.
I have heard of the concept 'MEMORY ID' but do not know how to use it.
So can anyone helpp me pleasee....??
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
‎2013 Nov 29 6:42 AM
‎2013 Nov 29 6:47 AM
Hello Anuj,
As mentioned:
You have to use the syntax. Export to memory id and import from memory id.
Regards,
Tunwiir
‎2013 Nov 29 6:48 AM
Hi
Write this code below.
set parameter id 'BES' field ekko-ebeln.
cALL TRANSACTION 'UR TCODE.'
thanks
Vijay
‎2013 Nov 29 7:33 AM
Hi Anuj,
When you want to export memory id just write:
EXPORT mode TO MEMORY ID 'MOD'.
when import:
IMPORT mode FROM MEMORY ID 'MOD'.
Name of memory id can be anything, you define it.
That way you can forward variable from one transaction to another.
Regards,
Vladimir
‎2013 Nov 29 8:15 AM
hiiiii,
use the code like .......
data: num type i.
num = 5.
export num from num to memory id 'NUM'.
at the import .......................
data: num type i.
import num to num from memory id 'NUM'.
the value of the num variable is available to use now............