2013 Feb 27 8:13 AM
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....
2013 Feb 27 8:26 AM
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.
2013 Feb 27 9:03 AM
hi Joffy,
When it comes export line in another report it gets dump error....
thanks
Shree
2013 Feb 27 9:17 AM
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.
2013 Feb 27 9:21 AM
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..
2013 Feb 27 9:44 AM
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
2013 Feb 27 10:43 AM
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.
2013 Feb 27 10:57 AM
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!
2013 Feb 28 7:05 AM
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
2013 Feb 28 7:13 AM
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
2013 Feb 28 7:15 AM
Hi expert,
In this case, What should i write on export & import command....
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |