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
542

Hi ,

I am trying to add a check and pop-up for the sales order .I am making the changes in the include -MV45AFZZ . But I see that code is triggered couple of times . So decided to use the memory-id .Can anyone help me with the idea how to implement it ?I mean I must be able to trigger the pop-up only once .For this I thought I would use a flag and send it to memory-id and then stop it when it is triggered second time . How do I do this ?

Anyone plz help me …

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
508

Hi,

ta: v_num type i value 12.

export v_num to memory id 'ABC'.

v_num = v_num + 1.

import v_num from memory id 'ABC'.

write:/ v_num.

Example:

data: v_num type i.

do 3 times.

import v_num from memory id 'ABC'.

if v_num is initial.

do 5 times.

write:/ sy-index.

enddo.

endif.

v_num = v_num + 1.

export v_num to memory id 'ABC'.

enddo.

Edited by: Velangini Showry Maria Kumar Bandanadham on May 12, 2008 5:22 PM

2 REPLIES 2
Read only

Former Member
0 Likes
509

Hi,

ta: v_num type i value 12.

export v_num to memory id 'ABC'.

v_num = v_num + 1.

import v_num from memory id 'ABC'.

write:/ v_num.

Example:

data: v_num type i.

do 3 times.

import v_num from memory id 'ABC'.

if v_num is initial.

do 5 times.

write:/ sy-index.

enddo.

endif.

v_num = v_num + 1.

export v_num to memory id 'ABC'.

enddo.

Edited by: Velangini Showry Maria Kumar Bandanadham on May 12, 2008 5:22 PM

Read only

Former Member
0 Likes
508

Hi,

v_flag = 'X'.
     EXPORT v_flag TO MEMORY ID 'V_FLAG'.


     IMPORT v_flag FROM MEMORY ID 'V_FLAG'.