Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Tags:
Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question