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

report

Former Member
0 Likes
754

Hi,

My reqirement is i have two radio buttons in selection screen.

if i select one radio button and goto program menu in selection screen "Execute In Background Option' should disable.

for the other radio button '"Execute In Background Option' should enable.

How to do this.

Regards,

Ratna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
723

One alternative is to give an error message when user trys to submit the program in background. This would ensure that this program is not submitted in the background.

Logic for that would be,

AT SELECTION-SCREEN .

IF v_radio1 = 'X' AND sy-ucomm = 'SJOB'.

MESSAGE e000(zpr). "Raise an appropriate error message.

ENDIF.

5 REPLIES 5
Read only

Former Member
0 Likes
723

i think u need to use menu exit for this.

Read only

Former Member
0 Likes
723

hi,

you have to loop at the screen and modify the screen input / output fields to either 0 or 1 to make it input only or output only as required

Read only

Former Member
0 Likes
723

Hi Ratna,

Check for SY-BATCH while executing in the background and Loop the screen make input or output as 0 or 1.

Regards,

AnuRaadha.

Read only

Former Member
0 Likes
724

One alternative is to give an error message when user trys to submit the program in background. This would ensure that this program is not submitted in the background.

Logic for that would be,

AT SELECTION-SCREEN .

IF v_radio1 = 'X' AND sy-ucomm = 'SJOB'.

MESSAGE e000(zpr). "Raise an appropriate error message.

ENDIF.

Read only

Former Member
0 Likes
723

This should be done in 'AT Selection-Screen Output' event, here we need to modify the fields of the menu .

Srini.