Skip to Content

Set-User Command in Method not working with CL_GUI_TIMER

I have an ABAP list report with the CL_GUI_TIMER implemented. When the event FINISHED is triggered, I want to do a SET USER-COMMAND 'RETE' to trigger the List event At USER-COMMAND. This doesn't seem to work. Any suggestions?

Here is my code for the event FINISHED:

CLASS timer_event_receiver IMPLEMENTATION.

METHOD handle_finished.

SET USER-COMMAND 'RETE'.

  • Restart timer

CALL METHOD refresh_timer->cancel

EXCEPTIONS

OTHERS = 0.

CALL METHOD refresh_timer->run

EXCEPTIONS

OTHERS = 0.

ENDMETHOD.

ENDCLASS.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Jul 02, 2004 at 02:06 PM

    Hallo Kenneth,

    I played a little bit with your example. It only worked after I replaced

    <i>SET USER-COMMAND 'RETE'.</i>

    by

    <i> CALL METHOD cl_gui_cfw=>set_new_ok_code

    EXPORTING new_code = 'RETE'.</i>

    Regards,

    Oliver

    Add comment
    10|10000 characters needed characters exceeded