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

ABAP memory

Former Member
0 Likes
1,011

Hello ABAP Gurus,

I'm using the EXPORT/IMPORT statements to pass data with in the sale order processing (with in the user exits) and i wanted to clarify that, when sales order are created using batch process, will there be any chance of overwriting the current sales order values with the next sales order, if the values for the current sales order not been imported.

I understand that the ABAP memory is available with in the lifetime of session and when the sales order are created in the batch process, the batch process will be executed in the single session with batch user id.

Thanks in advance

11 REPLIES 11
Read only

Former Member
0 Likes
982

Hi,

Yes, the values will be over written for the current sales order values with the next sales order, if the values for the current sales order not been imported.

<b><REMOVED BY MODERATOR></b>

Thanks

Dany

Message was edited by:

Alvaro Tejada Galindo

Read only

0 Likes
982

Thanks for the response.

I would like to know what the likelihood of happening this is.I know if the situation happens the memory will be overwritten as it replaces the current values and will not append the values.

Read only

0 Likes
982

Waiting

Read only

0 Likes
982

Waiting....

Read only

0 Likes
982

Hi pramodh,

Can you explain as what you want to know. Yes the memory will be overwritten.

Regards,

Atish

Read only

0 Likes
982

Hello Atish,

i was trying to find out, whether my thinking of overwriting could actually happen in real time?.

Let me know?

Read only

0 Likes
982

Hi pramodh,

Yes it will happen. Also it is good practise to use

FREE MEMORY ID id.

after IMPORT.

and before EXPORT.

Why take a chance :).

Regards,

Atish

Read only

0 Likes
982

Yes it will happen. Do not worry

Dan

Read only

Former Member
0 Likes
982

Hi Pramodh,

Definitely, the old values will be overwritten by the new ones.

Hope this helps.

<b><REMOVED BY MODERATOR></b>

Thanks,

Srinivasa

Message was edited by:

Alvaro Tejada Galindo

Read only

naimesh_patel
Active Contributor
0 Likes
982

Hello Pramodh,

You can use the FREE MEMORY ID 'ZSSSSS' after your IMPORT statement.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
982

Hi,

use the userexit USEREXIT_REFRESH_DOCUMENT. to refresh the memory parameters...This will be called even multiple orders is getting processed..

In the sales order processing...This user exit will be triggered whenever the document is getting processed..

Thanks

Naren