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: 

printing alv Grid with fixed columns

Former Member
0 Kudos

Hi Everyone,

I have a ALv grid with around 50 columns . In This 2 columns are fixed.Now when i print only 12 columns are getting printed .

Now my requirement is i want to print all the columns in any no of pages with first 2 fixed columns in all the pages.

3 REPLIES 3

Former Member
0 Kudos

Hi

If you are using function module REUSE_ALV_GRID_DISPLAY for your ALV grid display check with fix_column of fieldcatlog.

Regards

Srilaxmi

0 Kudos

Hi Srilaxmi,

I am using REUSE_ALV_GRID_DISPLAY display only,i tried with fix-columns , Even now only one page is getting printed with 10 columns rest of them are not printing.

Former Member
0 Kudos

There is a " colwidth_optimize " property for Fieldcatalog , set it to blank.

example: fieldcat type slis_t_fieldcat_alv,

wa_fieldcat type slis_fieldcat_alv.

wa_fieldcat-colwidth_optimize = ''.

append wa_fieldcat to fieldcat.

clear wa_fieldcat.

Edited by: bhushankotwal on Jan 11, 2010 8:43 AM