Skip to Content
0
Former Member
Jul 12, 2005 at 09:40 AM

Problem in displaying total text in total line

35 Views

Hi...I am facing problem in displaying total text in first column of total line. Width of first column is sufficient to display text "TOTAL". But somehow its not getting displayed....Please Help...?

code is as follows:

ls_layout TYPE slis_layout_alv .

ls_layout-totals_text = 'TOTAL'.

ls_layout-colwidth_optimize = 'X'.

ls_layout-no_vline = 'X'.

ls_layout-no_hline = 'X'.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = gv_repid " Report ID

i_callback_top_of_page = 'TOP_OF_PAGE'

is_layout = ls_layout

it_fieldcat = gt_fieldcat " Field Catlog

TABLES

t_outtab = gt_cost_output " Output Table