Skip to Content
0
Former Member
Jul 06, 2009 at 09:21 AM

Problems in ALV

41 Views

I copy a pf status from FG SALV and set 2 buttons in it, ADD & DELETE. But when I press the butten created by myself, the internal table of the data didn't reflesh, that is , the user's action didn't take any effect. For example, I changed one column in the internal table from 3 to 2, when I debugged and I found the value of the internal table was still 3.

The internal table was g_t_alv in this case.

My code is the following:

call function 'REUSE_ALV_GRID_DISPLAY_LVC'

exporting

i_callback_program = sy-repid

i_callback_pf_status_set = 'SUB_PF_STATUS_SET'

i_callback_user_command = 'SUB_USER_COMMAND'

is_layout_lvc = l_layout

it_fieldcat_lvc = l_t_fieldcat[]

tables

t_outtab = g_t_alv

exceptions

program_error = 1

others = 2.