11-12-2007 10:50 AM
hai,
i want some space between two coloums in the header ..in 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' ...How can we achieve this .any parameter we need to specify in THE FIELDCAT like fcat-outputlen , fcat-col_fix ....ANYWAY THAT IS NOT WORKING...
Regards,
Dev
11-12-2007 10:52 AM
Hi,
try like this.
wa_layout-colwidth_optimize = 'X'.
Regards,
Prashant
11-12-2007 10:53 AM
Hi Guru,
a possible way to achieve this is to put another column between the columns to be separated. Define it in field catalog (and itab for display) as character with output length as you want.
Regards,
Clemens
11-12-2007 11:01 AM
11-12-2007 11:04 AM
hi guru
try this
DATA: l_repid TYPE sy-repid.
l_repid = sy-repid.
t_keyinfo-header01 = 'EBELN'.
t_keyinfo-item01 = 'EBELN'.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_user_command = c_user_command
it_fieldcat = p_t_fieldcat[]
i_default = 'X'
i_tabname_header = 'T_EKKO'
i_tabname_item = 'T_EKPO'
is_keyinfo = t_keyinfo
is_print = p_x_print
TABLES
t_outtab_header = p_t_header[]
t_outtab_item = p_t_item[].
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards
kk.
11-12-2007 12:09 PM
Hi Guru Dev Ji,
Try This Out
Declare this .
DATA: w_lay_out TYPE slis_layout_alv.
Now assign it a value
w_lay_out-no_vline = 'X'.
w_lay_out-no_hline = 'X'.
Check out above 2 assignment which one u want.
If useful kindly reward.
Rohit G