09-08-2009 7:21 PM
Hi,
When I run my report, its perfectly working fine with all the data, subtotals, grand totals etc.
But when I print the ALV by clicking the PRINT Button on the Standard tool bar, My first subtotals are printing correctly. From second, its printing ZEROES and my grand totals are printing double the number as I see on the output.
This is strange and am not able to understand why I get those errors.
ANy pointers please.
Thanks,
Kiran
Edited by: kiran dasari on Sep 9, 2009 1:04 AM
09-08-2009 9:37 PM
If I re-print my output,
My first subtotals are printing fine. Second subtotals still remain zeroes but my grand totals are being trippled.
So I guess there is some problem while data is being passed from my output to the printer. Somewhere data is being accumulated.
How do I rectiy/find that. Any help please.
Thanks,
Kiran
09-08-2009 9:37 PM
If I re-print my output,
My first subtotals are printing fine. Second subtotals still remain zeroes but my grand totals are being trippled.
So I guess there is some problem while data is being passed from my output to the printer. Somewhere data is being accumulated.
How do I rectiy/find that. Any help please.
Thanks,
Kiran
09-08-2009 11:32 PM
Kiran,
This is strange, are you using the standard function for ALV output or classes? If using classes, try using the method to flush the GUI. Looks like internal variables are not getting refreshed.
Roger.
09-09-2009 12:21 AM
Hi Roger,
I am using Function Module "REUSE_ALV_HIERSEQ_LIST_DISPLAY"
I am displaying a hierarchical ALV with subtotals, page-breaks & grand totals.
The strange thing is that my first SUBtotal gets printed properly. Its the problem from the second subtotal onwards.
Finally, the grand totals also a problem(Doubling when i print first time and triplling,if i print 2nd time ...and so on...)
ANy more clues please.
Thanks,
Kiran D
09-09-2009 3:48 AM
Thanks Roger. Its a problem with flusing my global variables. Thanks for your reply.
Best regards,
Kiran