Skip to Content
avatar image
Former Member

Enforcing event AT-SELECTION-SCREEN OUTPUT

Hi Gurus

Does anybody know how to force event AT-SELECTION-SCREEN OUTPUT ?

What I'm aiming for is changing screen somewere outside of this event. For example.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_param.
  IF p_param = 'change'.
    changes_in_screen = 'X'.
    *???*   "forcing AT-SELECTION-SCREEN OUTPUT event
  ENDIF.

AT-SELECTION-SCREEN OUTPUT.
  IF changes_in_screen = 'X'.
    LOOP AT SCREEN.
      "do something
    ENDLOOP.
  ENDIF.

I would be grateful for any hints.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 20, 2008 at 12:53 PM

    hi Marcin,

    you have to put a USER-COMMAND xxxx statement after p_param parameter:

    PARAMETERS : p_param TYPE ... USER-COMMAND xxxx.

    hope this helps

    ec

    Add comment
    10|10000 characters needed characters exceeded