cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Print Version - Row size

Former Member
0 Kudos

Hi,

I have found a peculiar behaviour when generating a Print Version of an ALV grid.

One of the fields on the ALV is of type String and can contain values that cause the height of the row to be variable. The ALV grid correctly sizes the height of each row depending on the size of the text value. Thus for example, a certain row could be say 5 lines long whereas another row that has no text value would have a row height equivalent to one line. This is perfect.

However, when generating the PDF version of the same ALV, the row height is being set to the size of the largest (longest) row. Thus, in the above example, the row with no text value is printed with the same height as that of the one which is 5 lines long. Interface IF_SALV_WD_PDF_SETTINGS does not have provide any attribute or method to control this feature.

If anyone has encountered this before and found a solution and could share it, I would be grateful.

Thanks,

John Kuriakose

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The answer is provided in this note.

Note 1335403 - Web Dynpro ALV print version: ADS limitations

"The lines have the same height for each line type (for example, data line, title line, totals line). For each line type, the print service calculates the maximum line height that is required."

Oh well......