Application Development 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: 

ALV print preview different from report

Former Member
0 Kudos

Hi,

Why the ouput is so different and why grids is not coming in print?

Regards

Purnand

16 REPLIES 16

JonathanM
Contributor
0 Kudos

Hi,

If those prints are from different users. This is set in the config of the users.

Please check this:

Best regards,

Jonathan

Former Member
0 Kudos

Hi Jonathan,

Thank you for the reply. It did not work. The contents in se16 got changed into grid not the alv report.

Regards

Purnand

guilherme_frisoni
Contributor
0 Kudos

Hi Purnand,

when you print preview an ALV Grid, it become a List ALV for print.

This is normal. The only problem I can see is the size of page for printing where not all columns fits in a single row.

But this you can change in print options.

Regards,

Frisoni

0 Kudos

Hi,

I appreciate your reply but what if the client wants the grid output? And about the alignment problem, i think you are right. I'll get back to you tomorrow.

Regards

Purnand

0 Kudos

Hi,

One more thing, the logo is not getting printed although it is shown in the output. I checked it on net, its written logo can be printed using reuse_alv_grid_display.

Regards

Purnand

0 Kudos

Hi,

It did not solve my issue. I am still finding the solution..

Thanks

Purnand

0 Kudos

Hi

In your top of the program (close to program name kindly write bellow code)

REPORT ZXXXXXX  LINE-SIZE 255

                 NO STANDARD PAGE HEADING.

Regard,

Nawa

0 Kudos

Hi,

I appreciate your reply. But it didn't work.

Thanks

Purnand

Former Member
0 Kudos

Hi Experts,

The problem has been solved. I have 2 few more questions.

1. Can the figures in the box be turned into bold?

2. Can I increase the font size of the text in the red box?

Suggestions are welcome

Regards

Purnand

0 Kudos

Hey,

Kindly Search the SCN there is lot of blog can find

http://scn.sap.com/thread/932710

Regard,

Nawa

0 Kudos

Hi,

The link you have sent is not useful as i want to increase the font size and make it bold in header. Is is possible in alv without oops. Secondly, why it is giving so much of space for the opening and closing balance? Following is my code:

  wa_header-typ = 'S'.

   wa_header-key = 'Opening Balance'.

   wa_header-info = wa_final-op_bal.

   append wa_header to t_header.

   clear wa_header.

   wa_header-typ = 'S'.

   wa_header-key = 'Closing Balance'.

   wa_header-info = wa_final-cl_bal.

   append wa_header to t_header.

   clear wa_header.

Regards

Purnand

0 Kudos

Hi Experts,

Is it possible to bring the opening and closing figures in either left or right in alv grid? Suggestions are highly appreciated.

Regards

Purnand

0 Kudos

Hi Purnand,

Can you please tell how you solved the issue of

ALV print preview different from report

Thanks & Regards,

Palak Singh

0 Kudos

Hi,

I don't remember actually but we can try. Did you try to increase the output length in alv? Please do let know so that I can recall.

Regards

Purnand

0 Kudos

Hi Palak,

I checked my program and tried to recall it. The mistake was in coding I think. The date's row position was not correct I guess.

Regards

Purnand