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

Printing Problem from ALV

Former Member
0 Likes
893

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
855

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
856

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

Read only

0 Likes
855

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.

Read only

0 Likes
855

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

Read only

0 Likes
855

Thanks Roger. Its a problem with flusing my global variables. Thanks for your reply.

Best regards,

Kiran