‎2008 Apr 03 11:09 AM
Hi experts,
I have a requirement that, I need to call a standard program inside my program and use its output data for further processing. So I used SUBMIT rep EXPORTING LIST TO MEMORY. That standard report has the output in ALV list format. I think It is exporting it to the output and while reading the memory data, I have used the function module 'LIST_FROM_MEMORY'. However this function module returns the data in ASCII format.
How do I convert that, back to my ABAP program usable data.
Please help.
Regards,
Ganesh Khumse
‎2008 Apr 03 11:22 AM
do one simple thing
dont submit ALV data into memory..
use following code :
IT is an internal table that u r displaying in ALV ok.
EXPORT IT TO MEMORY ID 'XYZ'.
THEN CALL UR REPORT HERE.
IMPORT IT FROM MEMORY ID 'XYZ'. ( if u are importing the data in different program then the table IT should be same type ok )
THIS IS EASIEST CODE...
reward points if useful........
‎2008 Apr 03 11:49 AM
HI Naresh,
Thanks for the reply. But ALV is getting displayed in the standard report. I am not passing the internal table to the ALV. As per you, then I need to clone the standard object to pass the internal table to memory, which will involve lot of cloning. Main program, couple of function modules and includes.
Is this the only one solution for this?
thanks.
‎2008 Apr 03 4:59 PM
Copied the standard program and some function modules in it. Before passing it to the ALV, the internal table is exported to memory with ID and back in the program imported the same.