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

ALV and SUBMIT ..... EXPORTING LIST TO MEMORY problems

Former Member
0 Likes
1,015

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

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
550

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

Read only

0 Likes
550

Thank you, I have solved my problem with your's suggestion.

Regards

Rino Patalano