01-19-2009 12:08 PM
hi folks
i have some text to be printed and want to increase the outputlenght of the cell to accomodate the text.
i am assigning value to the field "outputlen " to 40 but im not getting that text.
can anyone tell me how can i increase the length of the cell.i want to increase the length for all the cells.
thanks in advance
01-19-2009 1:06 PM
Hi,
Do you need to increase the width of cell in the output excel or...?
01-19-2009 1:09 PM
Hello Moorthy,
Please use :
fieldcatalog-outputlen = 40.
fieldcatalog-seltext_m = 'Hello '
Have a Nice Day.
Regards,
Sujeet
01-19-2009 1:10 PM
Hi,
u need to check the length of the fields that u want to print out. After u know the length of them,then u can pass it to the fieldcat of the ALV.
and if it doesnt show it again, check if the field contains a value, maybe it is passing in black and the problem is in another part of the program.
Regards
01-19-2009 1:20 PM
Hi,
Try using the layout feature.
DATA : ls_layout TYPE slis_layout_alv.
ls_layout-colwidth_optimize = 'X'.
Finally pass this layout varaible to ALV FM as like below.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
....is_layout = ls_layout
..........
Regards,
Aravind J M
04-03-2009 5:00 AM