Skip to Content
0
May 19, 2009 at 10:54 AM

REUSE_ALV_GRID_DISPLAY / i_callback_user_command / write statements

1793 Views

Hi,

i would like to output some log within the form defined by i_callback_user_command . Therefor i used some simple write statements, i expected the output after going back. But - nothing is shown. Where it is going?

FORM alv_user_command
  USING ucomm               TYPE syucomm
        selfield            TYPE slis_selfield.                          "#EC_CALLED

  FIELD-SYMBOLS:
    <p>                     type t_out.

  IF ucomm = '&DATA_SAVE'.

    loop at it_out ASSIGNING <p_out> where sel = 'X'.
      write:/ <p_out>-region, <p_out>-area.
    endloop.

    selfield-refresh    = 'X'.
    selfield-row_stable = 'X'.
    selfield-col_stable = 'X'.

  ENDIF.

ENDFORM.                    "alv_user_command