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

Spool List status

Former Member
0 Likes
1,226

Hello,

I have an ALV grid report. When I execute it on line (SE38), I first get the ALV report and then I click on the button print preview and select Settings->List status from the menu. A status window pops up showing the data statistics (record processed). This is fine. But when I submit the report in background, I used to see the List status displayed on the top of the spool. This does not seem to work anymore. Do you have any idea on how to display the List status on the top of the spool? Please help!

Bruce

Edited by: Bruce Pham on Sep 27, 2010 4:16 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

Hi Bruce,

Count the lines of ur internal table using function Lines(), before displaying the ALV report. And show the count in the Header in normal font size. Then that count will come to ur top of the spool.

Regards,

Amitava

Hi Bruce,

Count the lines of ur internal table using function Lines(), before displaying the ALV report. And show the count in the Header in normal font size. Then that count will come to ur top of the spool.

Regards,

Amitava

6 REPLIES 6
Read only

Former Member
0 Likes
1,005

Hi Bruce,

Count the lines of ur internal table using function Lines(), before displaying the ALV report. And show the count in the Header in normal font size. Then that count will come to ur top of the spool.

Regards,

Amitava

Read only

0 Likes
1,004

I also have the same problem. Beside, displaying the record count in the TOP OF PAGE, the users also want to know why the List status disappeared since there is no code change to the program. Does anyone know why?

Thanks!

Edited by: Abaper_09 on Sep 27, 2010 7:32 PM

Read only

former_member674271
Contributor
0 Likes
1,004

Same question to me.

Read only

former_member674271
Contributor
0 Likes
1,004

Hello Guys,

I found the reason of my case and share the knowledge with you.

The printing parameters has been reset probably by printer change. So in the printing dialog window, click button <properties> to change the properties of spool request. There should be two parameters "ALV statistics" and "ALV Selectioni" under parameter group "cover sheet". Set this two parameter as YES and save it as default in Settings. The spool output will display the list statistics now.

Read only

0 Likes
1,004

Hi Walter huang,

I don't see the two parameters "ALV statistics" and "ALV Selectioni" under parameter group "cover sheets" as you mentioned. I only see the parameters SAP Cover Page, OS Cover Sheet, Selection cover sheet, receivers and Department. Can you please help?

Thanks.

Read only

0 Likes
1,004

Hi Walter huang ,

Thank you for giving good solution, i had similar issue and able to solve with your inputs , but however i have one issue is if iam doing as per your suggestion it is working only for the user whom iam changing in the properties , however if it has to be all users should we do the same procedure to all the users ? . Please let me know how i can handle this issue.

Regards

Divya