2010 Sep 25 7:09 PM
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
2010 Sep 27 7:06 AM
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
2010 Sep 27 7:06 AM
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
2010 Sep 27 5:50 PM
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
2010 Oct 01 4:53 AM
2010 Oct 01 7:06 AM
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.
2010 Oct 01 2:02 PM
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.
2010 Nov 18 5:15 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |