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

Export table Values

vinodkumar_thangavel
Participant
0 Likes
995

Hi Friends,

I have come across a scenario in which i want to have the internal table values to be stored at the run time of the program and to retrieve it later and to do it i went through syntax  EXPORT MEMORY ID but as per SAP documentation it is mentioned as Obsolete statement , So could u pls suggest me any alternative way to over come this.

Regards,

Vinodkumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
964

Hi,

Did not understand your requirnment fully. If you have submitted one program and taking the values from that submitted program to your main program then in that case your export memory id and import will work. But could not get your statement "retrive it later".

Please explain the senario.

Regards-

Makarand

6 REPLIES 6
Read only

Former Member
0 Likes
965

Hi,

Did not understand your requirnment fully. If you have submitted one program and taking the values from that submitted program to your main program then in that case your export memory id and import will work. But could not get your statement "retrive it later".

Please explain the senario.

Regards-

Makarand

Read only

0 Likes
964

Hi,

I am using the below statements, but as per SAP using EXPORT is Obsolete statement

***Export values ***

     EXPORT lt_insert FROM lt_insert TO MEMORY ID lv_id_insert.

     EXPORT lt_insert FROM lt_insert TO MEMORY ID lv_id_insert_mail.



Regards,

Vinodkumar.

Read only

0 Likes
964

Hi,

I think you are doing it the correct way. just give the memory in in quotes.

EXPORT lt_insert FROM lt_insert TO MEMORY ID 'lv_id_insert'. 

     EXPORT lt_insert FROM lt_insert TO MEMORY ID 'lv_id_insert_mail'.

Regards-

Makarand


Read only

0 Likes
964

Hi,

I got the correct code and it is working fine but my concern is as per SAP it is Obsolete statement in this case using Obsolete statement is not correct so i want to know is there any alternative way to implement the same.

Regards,

Vinodkumar.

Read only

0 Likes
964

Hi,

I think exporting importing without memory id is obsolete and not with memory id.

Still I have found some nice doc. Try exporing the same.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf...

Regards-

Makarand

Read only

rajkumarnarasimman
Active Contributor
0 Likes
964

Hi Vinoth,

Please find the below thread.

Regards

Rajkumar Narasimman