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 development

Former Member
0 Kudos
433

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

7 REPLIES 7
Read only

Mohamed_Mukhtar
Active Contributor
0 Kudos
405

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

Read only

0 Kudos
405

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

Read only

Former Member
0 Kudos
405

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.

Read only

0 Kudos
405

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

Read only

Former Member
0 Kudos
405

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.

Read only

0 Kudos
405

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

Read only

Former Member
0 Kudos
405

Thanks, logic is very good.