Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

SAP EWM Help Latest Questions

  • 0
  • 0
DPM125

Difference between selection screen output and at selection?

AT SELECTION-SCREEN OUTPUT

Purpose:
This event is triggered before the selection screen is displayed to the user.

Use Case:
To modify the selection screen dynamically — for example, to hide/show fields, enable/disable them, or set default values based on conditions.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_radio1 = 'X'.
IF screen-name = 'P_FIELD2'.
screen-active = '0'. "Disable the field
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.

AT SELECTION-SCREEN

Purpose:
This event is triggered after the user has entered data and pressed Enter or Execute.

Use Case:
Used for input validation and custom checks on user input before the report proceeds.

Example:

AT SELECTION-SCREEN.
IF p_date < sy-datum.
MESSAGE 'Date cannot be in the past' TYPE 'E'.
ENDIF.

Related Questions

Leave an answer

Leave an answer