2008 Dec 02 12:23 PM
Hello All,
I have made module pool in which there are two radio button in two column name r1 and r2.
The first radio button is visible and the other one is invisible.I want when I clicked in the first
radio button then the otherone should also be visible.Please give me solution.
Or I want the above scenario. when I clicked on r1 then r2 should be visible.
Thanks,
Rakesh
2008 Dec 02 12:27 PM
hi rakesh ,
Write this code in the PBO.
IF R1 = 'X'.
loop at screen.
if screen-name = 'R2'.
screen-active = 1.
else.
screen-active = 0.
endif.
modify screen.
endloop.Thanks & Regards
2008 Dec 03 7:17 AM
Hi,
Can you tell me one thing...suppose I have 10 line item in our module pool, I select first radio-button
for first line item.Any time I can select only one line item.Now I want when I select first radio button for first line item then the second radiobuton(2nd column) should be visible and all rest 9 line item for 2nd radio button should be invisble.
Thanks,
Rakesh
2008 Dec 02 12:27 PM
parameters: r1 as radiobutton group g1 modif id scr,
r2 as radiobutton group g1 modif id apr.
in the PBO
loop at screen.
if r1 = ' X' and screen-group1 = 'APR'.
screen-input = 0.
modify screen.
elseif r2 = 'X' and screen-group1 = 'SCR'.
screen-input = 0.
modify screen.
endif.
endloop.
2008 Dec 03 7:17 AM
Hi,
Can you tell me one thing...suppose I have 10 line item in our module pool, I select first radio-button
for first line item.Any time I can select only one line item.Now I want when I select first radio button for first line item then the second radiobuton(2nd column) should be visible and all rest 9 line item for 2nd radio button should be invisble.
Thanks,
Rakesh
2008 Dec 02 1:25 PM
Hi,
In the PBO of screen:
loop at screen.
if screen-name = 'R2'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
and in the PAI of Screen:
if R1 = 'X'.
loop at screen.
if screen-name = 'R2'.
screen-invisible = '0'.
modify screen.
endif.
endloop.
endif.
2008 Dec 03 7:16 AM
Hi,
Can you tell me one thing...suppose I have 10 line item in our module pool, I select first radio-button
for first line item.Any time I can select only one line item.Now I want when I select first radio button for first line item then the second radiobuton(2nd column) should be visible and all rest 9 line item for 2nd radio button should be invisble.
Thanks,
Rakesh
2008 Dec 03 6:51 AM