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 function module

Former Member
0 Likes
390

Do we have any ALV function module to store ALV output to SPOOL when executed in foreground mode.

Storing ALV output should be done programatically not manually.

<b>My requirement:</b> User should able to extract ALV output which was created 2 to 5 days back.So that user can compare old output(2 to 5 days back) with the current output

Regards,

Prabhakar

3 REPLIES 3
Read only

Former Member
0 Likes
357

There is no ALV function for this purpose.You will have to code it on execution of your program.You can fill the "Print" structure of the ALV and then use it to send the ALV output to spool.For retrieval from spool standard SAP functions can be used which have to be explicitly called by you.

Read only

Former Member
0 Likes
357

u can used a standerd program RSTXPDFT4.

u have pass the spool no and they give a output in ALv.

Read only

0 Likes
357

Thanks,

But how can we get the spool no for my program.

As per my knowledge, when i run the program in background the system is generates the spool no. based on this we can go for SP01 transaction and move forward.

But i want the ALV output stores in spool in foreground.

Please let me know.

Regards,

Prabhakar