‎2008 Jul 11 12:27 PM
Hi Friends,
I want to create a selection screen with two radio buttons and on selecting a particular radio button, a screen within the main selection screen should display with the corresponding values.
Kindly guide me to do this.
TIA.
Regards,
Mark K
‎2008 Jul 11 12:29 PM
Hi,
in At selection-screen on radiobutton group g1.
Write the Logic.
PARAMETERS :p_rad1 RADIOBUTTON GROUP rad1, default 'X' user-command rad1
p_rad2 RADIOBUTTON GROUP rad1 .
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
if p_rad1 = 'X".
CALL SCREEN 1100.
Elseif p_rad2 = 'X'.
Call Screen 1200.
Endif.
Regards,
Sujit
‎2008 Jul 11 12:29 PM
Hi,
in At selection-screen on radiobutton group g1.
Write the Logic.
PARAMETERS :p_rad1 RADIOBUTTON GROUP rad1, default 'X' user-command rad1
p_rad2 RADIOBUTTON GROUP rad1 .
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
if p_rad1 = 'X".
CALL SCREEN 1100.
Elseif p_rad2 = 'X'.
Call Screen 1200.
Endif.
Regards,
Sujit
‎2008 Jul 11 12:32 PM
use event AT SELECTION-SCREEN OUTPUT.
write your code in it
if radiobutton = 'X'.
loop on screen and assign values to the fields as you wish
they will get displayed on screen
endif.
give points if it works.
regards,
rajyalaxmi
‎2008 Jul 11 12:32 PM
hi,
Create your selection screen with the two radiobuttons and
a frame in invisible mode on the same screen.
On clicking on the radio button write the code to show the frme and Assign the value in
AT SELECTION-SCREEN OUTPUT event.
Hope this will help.
Sumit Agarwal