Application Development and Automation 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: 
Read only

Memory Id

Former Member
0 Likes
993

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

5 REPLIES 5
Read only

Former Member
0 Likes
951

This message was moderated.

Read only

Former Member
0 Likes
951

Hello Anuj,

As mentioned:

You have to use the syntax. Export to memory id and import from memory id.

Regards,

Tunwiir

Read only

Former Member
0 Likes
951

Hi

Write this code below.

set parameter id 'BES' field ekko-ebeln.

cALL TRANSACTION 'UR TCODE.'

thanks

Vijay

Read only

vladimir_erakovic
Contributor
0 Likes
951

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

Read only

former_member196157
Active Participant
0 Likes
951

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............