‎2008 Jan 19 11:07 AM
Hi All,
I have got a scenario in which there are two radibuttons named create and change respectively.
Based on the selection of radio button the seletion screen parameter name shuld changed accordingly.
For example: If user selects create radio button the selection text for parameter should be Created by
else it should be changed by.
How can i achieve this?? Please share your thoughts???
Rakesh
‎2008 Jan 19 11:11 AM
Hi,
parameters:
P_rad1 radiobuttons group g1 user-command 'RAD',
p_rad2 radiobuttons group g1 .
parameters:
P_text1 type c,
p_text2 type c.
At selection-screen output.
if p_rad1 eq 'X'.
loop at screen.
if screen-name eq 'p_text1'.
screen-active = 1.
modify screen.
endif.
if screen-name eq 'P_text2'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
if p_rad2 eq 'X'.
loop at screen.
if screen-name eq 'p_text2'.
screen-active = 1.
modify screen.
endif.
if screen-name eq 'P_text1'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
Plzz reward points if it helps.
‎2008 Jan 19 11:11 AM
Hi,
parameters:
P_rad1 radiobuttons group g1 user-command 'RAD',
p_rad2 radiobuttons group g1 .
parameters:
P_text1 type c,
p_text2 type c.
At selection-screen output.
if p_rad1 eq 'X'.
loop at screen.
if screen-name eq 'p_text1'.
screen-active = 1.
modify screen.
endif.
if screen-name eq 'P_text2'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
if p_rad2 eq 'X'.
loop at screen.
if screen-name eq 'p_text2'.
screen-active = 1.
modify screen.
endif.
if screen-name eq 'P_text1'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
Plzz reward points if it helps.
‎2008 Jan 19 11:15 AM
Hi,
U create 2 parameters with Names 'Create' and 'Change'.
Create 2 radio buttons (rcreate, rchange) with one radiobutton having the default value 'X'.
Now At Selection-Screen u loop at the screen and as per the radio buttons hide one of the parameter and unhide the other.
awrd points if useful
Bhupal