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

Method for ALV printing

roland_spindler
Participant
0 Likes
378

Hi,

How can I print an ALV programmatically like the 'Print' toolbar button does? I couldn't find such a method in class CL_GUI_ALV_GRID.

Thanks in advance

Roland

2 REPLIES 2
Read only

Former Member
0 Likes
336

Hi,

Handle printing adjustments is done via a structure to be passed to the parameter “is_print” of the method “set_table_for_first_display”.

The print output of the field “PRNTLSTINF” is not visible in the print preview of the ALV Grid. If you create a spool request first, you can check the final list layout in transaction SP01.

Regards,

Balaji Reddy G

**rewards for helpful answers

Read only

0 Likes
336

Hi,

Thanks, but I need to know how to print, not how to set up the printing.

Roland