cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Grid Print Preview

Former Member
0 Kudos

Hi Friends,

Iam displaying an ALV Grid using set_table_for_first_display. I have a column in it that displays order number. The display is proper without any issues. But when I click on Print Preview which is by default present, the column contained order number is truncated. i.e., if my order number is 0001234 in the ALV Display, in print preview it is 000123... if my number is 00000123456, then in print preview it is 0000012345...

so long the number is, the last character is cut. How to solve this?

Regards,

Raju...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Simple example :

Try the following -

1. if p_field = 'BELNR'.(since getting truncated)

wa_it_fieldcat-outputlen = 10.

endif

append wa_it_fieldcat to wa_it_fieldcat_itab.

clear wa_it_fieldcat-outputlen.

or

2. call function 'CONVERSION_EXIT_ALPHA_OUTPUT'.

Deepali.