‎2007 Jun 06 9:37 AM
Hello Friends
My program is downloading data in file as well as displaying on screen. if the check box of download file is not clicked, i need to disable the parameter accepting file name and path.
if download file is checked than the parameter to accept file name and path should be enabled.
Please suggest how can i do that.
‎2007 Jun 06 9:48 AM
Hi,
To make ur fields disable use this syntax-
Assign group G1 to the parameters u want to disable
then use this code -
LOOP AT SCREEN.
IF checkbox <> 'X'.
IF screen-group1 = 'G1'.
screen-active = 1.
screen-input = 0.
screen-output = 1.
screen-invisible = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF>
Regards
Seema
‎2007 Jun 06 9:41 AM
Hi,
Try something like this...
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if checkbox = 'x'.
screen-input = 1.
endif.
ENDLOOP.
ENDAT.
Regards,
Younus
<b>Reward Helpful Answers:-)</b>
‎2007 Jun 06 9:42 AM
HI,
You can proceed as following.
LOOP AT SCREEN.
IF prameter_checkbox = ''.
IF screen-group1 = parameter_filename.
screen-invisible = 1.
ENDIF.
ENDLOOP.
regards,
Anoop R.S
‎2007 Jun 06 9:47 AM
Hi,
if check box = ' '.
LOOP AT SCREEN.
IF screen-name EQ 'P_FILENAME' .
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif.
regards,
Ruchika
reward if useful.
‎2007 Jun 06 9:48 AM
Hi,
To make ur fields disable use this syntax-
Assign group G1 to the parameters u want to disable
then use this code -
LOOP AT SCREEN.
IF checkbox <> 'X'.
IF screen-group1 = 'G1'.
screen-active = 1.
screen-input = 0.
screen-output = 1.
screen-invisible = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF>
Regards
Seema
‎2007 Jun 06 9:52 AM