11-15-2007 11:40 AM
In my ALV o/p what is the maximum length of column, I can display ( because the length of the text some times exceeding 600 chars ) ?
Thanks in ADVANCE
11-15-2007 11:42 AM
11-15-2007 11:44 AM
Hi Sam,
while developed ALV report you can use as much as you want whenver cross the out page automatically harizantal scroll bar get actived so you can use any number of cars.
<b>reward is usefull</b>
11-15-2007 11:49 AM
HI
the In the layout default max line size will be only 250.
So set this field it_layout-max_linesize to ur required total line size.And also use
it_layout-colwidth_optimize = 'X' to optimize the column width.
11-15-2007 1:26 PM
Are you saying to do this
w_fieldcat-max_linesize = '1500'.
w_fieldcat-colwidth_optimize = 'X'. ?
If so fieldcat doesnot contian max_linesize and
colwidth_optimize...
I did not get you.. Could you please explain bit more clear ?
11-21-2007 4:30 PM
I have declared like
<b> S_LAYOUT-MAX_LINESIZE = 1000.
S_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.</b>
However ALV output not displaying the entire length.
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'ZFRSBOI0'
IS_LAYOUT = S_LAYOUT
IT_FIELDCAT = FIELDCAT
IT_EVENTS = P_EVENTS[]
it_sort = p_it_sort[]
I_SAVE = 'A'
TABLES
T_OUTTAB = PDET_OTAB_ALV1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF SY-SUBRC <> 0.
MESSAGE E000(00) WITH
'Unable to display report'(E01).
EXIT.
ENDIF.
11-22-2007 9:34 AM
i am not getting reply ( could any one please help me )
I have declared like
S_LAYOUT-MAX_LINESIZE = 1000.
S_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
However ALV output not displaying the entire length.
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'ZFRSBOI0'
IS_LAYOUT = S_LAYOUT
IT_FIELDCAT = FIELDCAT
IT_EVENTS = P_EVENTS[]
it_sort = p_it_sort[]
I_SAVE = 'A'
TABLES
T_OUTTAB = PDET_OTAB_ALV1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF SY-SUBRC <> 0.
MESSAGE E000(00) WITH
'Unable to display report'(E01).
EXIT.
ENDIF.