‎2006 Sep 11 5:42 PM
Hi Friends ,
I have made changes to AT SELECTION SCREEN . The code is below .
IF w_email_radiobutton = 'X'.
IF s_email-LOW IS INITIAL.
MESSAGE e999 WITH text-e17(Enter Email Address).
ENDIF.
ENDIF.
This condition seems to work fine . The problem is when i try to enter Multiple selections after clicking the radio button it still pops up the error message to Enter Email Address. How can i by pass this event .
Thanks
‎2006 Sep 11 5:45 PM
Hi
IF w_email_radiobutton = 'X'.
IF s_email-LOW IS INITIAL.
IF s_email[] IS INITIAL and sy-ucomm = 'ONLI'.
MESSAGE e999 WITH text-e17(Enter Email Address).
ENDIF.
ENDIF.
Max
‎2006 Sep 11 5:45 PM
Hi
IF w_email_radiobutton = 'X'.
IF s_email-LOW IS INITIAL.
IF s_email[] IS INITIAL and sy-ucomm = 'ONLI'.
MESSAGE e999 WITH text-e17(Enter Email Address).
ENDIF.
ENDIF.
Max
‎2006 Sep 11 5:48 PM
Check for SY-UCOMM eq 'ONLI'.
Give the error message only when the user tries to execute.
AT SELECTION-SCREEN.
IF w_email_radiobutton = 'X' and sy-ucomm eq 'ONLI'.
IF s_email-LOW IS INITIAL.
MESSAGE e999 WITH text-e17(Enter Email Address).
ENDIF.
ENDIF.