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

screen help

Former Member
0 Likes
622

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
605

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

5 REPLIES 5
Read only

Former Member
0 Likes
605

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>

Read only

Former Member
0 Likes
605

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

Read only

Former Member
0 Likes
605

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.

Read only

Former Member
0 Likes
606

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

Read only

Former Member
0 Likes
605

there is no event called on clicking check box