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

Radio buttons

Former Member
0 Likes
633

how to disable Radio buttons from a module pool screen

loop at screen.

if screen-name = 'FOUR'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

I have given the following code,but its now working

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

Hi Mahesh,

Write a Module in Processes before output (PBO) and double click the module in your program write this code.

Module disable Output.

loop at screen.

if screen-name cp 'Radiobutton'. - - - ( In this your radio button name )

screen-active = 0.

modify screen.

endif.

endloop.

endmodule.

Reward if it is useful,

Mahi.

how to disable Radio buttons from a module pool screen

loop at screen.

if screen-name = 'FOUR'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

I have given the following code,but its now working

4 REPLIES 4
Read only

Former Member
0 Likes
620

Hi Mahesh,

Write a Module in Processes before output (PBO) and double click the module in your program write this code.

Module disable Output.

loop at screen.

if screen-name cp 'Radiobutton'. - - - ( In this your radio button name )

screen-active = 0.

modify screen.

endif.

endloop.

endmodule.

Reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
619

Write this in a module in PBO

loop at screen.
if screen-name = 'ur radio button name in caps'.
screen-input = 0.
endif.
modify screen.
endloop.

Read only

Former Member
0 Likes
619

Hi.

Are you sure you have used the right name, because this works for me:

PARAMETERS:

pa_1 TYPE c RADIOBUTTON GROUP rb1,

pa_2 TYPE c RADIOBUTTON GROUP rb1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'PA_2'.

screen-invisible = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards,

John.

Read only

Former Member
0 Likes
619

thanks