SAP ABAP ALV – Removing extra unit field in total sum

In SAP ABAP ALV lsit display time, while calculating the total sum, there will be a character * in the total line.

But we can remove this * symbol from the total line, by using the following:

data: wa_layout     TYPE slis_layout_alv.

wa_layout-no_unit_splitting ‘X’.

  CALL FUNCTION ‘REUSE_ALV_LIST_DISPLAY’
EXPORTING
i_callback_program sy-repid
is_layout          wa_layout  “work area for the layout
it_fieldcat        it_fcat “field catalogue
TABLES
t_outtab           p_table “Output table
EXCEPTIONS
program_error      1
OTHERS             2.

0 Comments

Leave A Reply