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

Module pool Programming

Former Member
0 Likes
720

HAI,

This is the requirement.

kindly help.

Grouping radio Buttons

a. Place 5 radio buttons as one group 2 on left side 3 on right side. If any of the left side radio button is selected a check box should be visible. If any of the right side radio buttons is selected check box should be invisible. When that Check box is checked a list box should be visible.

thank u.

suki.

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
700

hi,

You need to assign FCODE's to the radio button group, then you can check in your PAI for the SCREEN-NAME = 'checkbox' name then you set SCREEN-ACTIVE= 0. MODIFYSCREEN in a loop over the SCREEN table.

SCREEN-ACTIVE should be used to make a filed visible invisible.

You can alternatively use SCREEN-INVISIBLE keeping the SCREEN-ACTIVE=1.

Regards,

Sesh

5 REPLIES 5
Read only

Former Member
0 Likes
700

create the screen wherein u will have radio buttons, check box, list box....

Now, when u click on radio button do

loop at screen....

endloop...

u need to write code so that check box gets enabled and vice versa...

same thing u need to do for list box when check box selected...

Read only

Former Member
0 Likes
700

I know that i have to loop at the screen and check with the screen attributes,

but i wanted to know waht attributes to be used to make the checkbox invisible.

thank u.

suki.

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
701

hi,

You need to assign FCODE's to the radio button group, then you can check in your PAI for the SCREEN-NAME = 'checkbox' name then you set SCREEN-ACTIVE= 0. MODIFYSCREEN in a loop over the SCREEN table.

SCREEN-ACTIVE should be used to make a filed visible invisible.

You can alternatively use SCREEN-INVISIBLE keeping the SCREEN-ACTIVE=1.

Regards,

Sesh

Read only

Former Member
0 Likes
700

Hi Suki,

This technique can be used.

LOOP AT SCREEN.

IF SCREEN-NAME = 'CHECK_BOX_NAME'.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

This would make the screen element with the name CHECK_BOX_NAME invisible.

Regards,

SP.

Read only

0 Likes
700

hai

thank you for the timely response.

regards.

suki