Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SELECT OPTIONS.

Former Member
0 Likes
438

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
410

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

2 REPLIES 2
Read only

Former Member
0 Likes
411

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

Read only

Former Member
0 Likes
410

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.