2005 Mar 25 11:08 AM
Hi Sap Guru,
I have developed my report(ZALVTMP) that contain the Function Module REUSE_ALV_GRID_DISPLAY for display my custom data.
In another program, I want SUBMIT the program ZALVTMP using the addition EXPORTING LIST TO MEMORY AND RETURN, but when I call this last one the report ZALVTMP is executed in ON-LINE mode and the data wasn't saved in LIST MEMORY. How can I solve this problem?
Thanks
Hi Sap Guru,
I have developed my report(ZALVTMP) that contain the Function Module REUSE_ALV_GRID_DISPLAY for display my custom data.
In another program, I want SUBMIT the program ZALVTMP using the addition EXPORTING LIST TO MEMORY AND RETURN, but when I call this last one the report ZALVTMP is executed in ON-LINE mode and the data wasn't saved in LIST MEMORY. How can I solve this problem?
Thanks
2005 Mar 25 2:13 PM
Can you use the function module REUSE_ALV_LIST_DISPLAY instead when being submitted from another program. You can setup a non-display parameter on your program. When you submit it, just set the flag. In your ZALVTMP, just check the flag, if it is set to 'X', then do the REUSE_ALV_LIST_DISPLAY, if not, the do the REUSE_ALV_GRID_DISPLAY. I'm think that if you use the LIST_DISPLAY that the data will be written to memory, and you will be able to retrieve it using the LIST_FROM_MEMORY function module.
Regards,
Rich Heilman
2005 Mar 29 9:53 AM
Thank you, I have solved my problem with your's suggestion.
Regards
Rino Patalano