‎2007 Jan 18 9:36 AM
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
‎2007 Jan 18 7:17 PM
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.
‎2007 Jan 18 9:42 AM
‎2007 Jan 18 9:53 AM
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
‎2007 Jan 18 6:36 PM
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.
‎2007 Jan 18 7:17 PM
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.
‎2007 Jan 18 7:22 PM
This should be done in 'AT Selection-Screen Output' event, here we need to modify the fields of the menu .
Srini.