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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.