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 & Import to memory id Problem in ECC 6.0

Former Member
0 Likes
1,434

Hi Expert,

           I have developed a report in 4.7 which calls using SUBMIT for another report it_final data..Taking it_final data for 2 columns data to club in my current report. EXPORT it_final TO MEMORY ID ''TEST'  in another report

         &  IMPORT it_final FROM MEMORY ID 'TEST' in my calling report.

Note: Working fine & good in 4.7 but the same concept also used in 6.0...ECC 6.0 is not working....


 

 

Hi Expert,

           I have developed a report in 4.7 which calls using SUBMIT for another report it_final data..Taking it_final data for 2 columns data to club in my current report. EXPORT it_final TO MEMORY ID ''TEST'  in another report

         &  IMPORT it_final FROM MEMORY ID 'TEST' in my calling report.

Note: Working fine & good in 4.7 but the same concept also used in 6.0...ECC 6.0 is not working....


 

 

10 REPLIES 10
Read only

JoffyJohn
Active Contributor
0 Likes
1,290

have you checked in debuggging mode that import it_final is not returning the exported value.

Or whether its getting cleared by your own coding.

Read only

Former Member
0 Likes
1,290

hi Joffy,

         When it comes export line in another report it gets dump error....

thanks

Shree

Read only

JoffyJohn
Active Contributor
0 Likes
1,290

if its dump then there is a structure difference. The structure of it_final has to be same in all the report for export / import to work.

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,290

Hi Shree,

The problem could be because of Application Server.

Export and Import statements are scoped for same application server.

If you export to App Server A and want to import from App Server B. Then this concept doesnt work.

In that case make use of SHMA ( Share Memory Objects) a new way of transferring data between servers and uses the Object Oriented Concept.

Hope this helps..

Read only

Former Member
0 Likes
1,290

Hi Venkat,

            Do we need to create entire program in Oops concept? or is there any syntax for import & export in ECC 6.0.

thanks

Shree

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,290

Hi Shree,

We dont need to create the entrire program in OOPS. We use the Object in program, thats it.

You can just create a Object in SHMA for Shared memory usage.

It is just like a Area, where you can store data.

then you can call that object where ever you want and however you want.

The below link will explain with example and syntax.

http://help.sap.com/saphelp_nw73/helpdata/en/4a/0128aea23736eae10000000a421937/content.htm    

Important note is that. SHMA is not available in SAP 4.6, 4.7. It is available from ECC only.

As you mentioned above, you want to do this in ECC 6.0, So I hope there will not be any problem for you.

Hope this helps.

Read only

Former Member
0 Likes
1,290

Hi Shree,

You don't have to create any report. Just use the syntax as mentioned below and it will surely work. I have used it many times.

Hi Shree

Please try this and it should work.

DATA : itab TYPE STANDARD TABLE of ty_type.

CONSTANT : mem(3) TYPE c VALUE 'MEM'

IMPORT itab from MEMORY ID mem to itab

EXPORT itab to MEMORY ID mem from itab

ECC 6.0 supports the above syntax. Hope this helps!

Read only

Former Member
0 Likes
1,290

Hi AN

      See first report i pasted here..Export one that i take data from Second one is Import one....to receive from export one.

thanks

Shree

Read only

Former Member
0 Likes
1,290

Hi AN

1.  See first report i pasted here..Export one that sending to memory or export...

  2. Second one is Import one....to receive from export one.

thanks

Shree

Read only

Former Member
0 Likes
1,290

Hi expert,

In this case, What should i write on export & import command....