Skip to Content

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

Trigger AT SELECTION-SCREEN OUTPUT after START-OF-SELECTION.

Hi,

is it possible to trigger the event AT SELECTION-SCREEN OUTPUT after the START-OF-SELECTION event ?

PARAMETERS: p_tel TYPE i.

AT SELECTION-SCREEN OUTPUT.

  IF p_tel > 10.
    p_tel = 10.
  ELSEIF p_tel > 5.
    p_tel = 5.
  ENDIF.

START-OF-SELECTION.

* trigger AT SELECTION-SCREEN OUTPUT ?

  WRITE:/ 'P_TEL = ', p_tel.

If user fills 6 and press enters, the input field value is set to 5.

But if the value is 6 and the user press Execute, the field value will stay 6.

regards,

Hans

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