09-09-2008 7:24 PM
Hi,
In selection screen I am having a selection block b1 with radio button options (grouped).
My Requirement: Depends on radio button they select I need to bring corresponding selection screen fields (block) in the screen (each radio button will be having different selections screen fields (block).
Example: r_rad1 selects u2013 it should display Block2 selection fields
r_rad2 selects u2013 it should display Block3 selection fields
r_rad3 selects u2013 it should display Block4 selection fields
Can anyone tell me how to do this?
Thanks in advance.
Kevin
09-09-2008 7:32 PM
Hi kevin
do u want to atumaticaly poulate the corresponding fields as F4 help?
For that i call F4IF_INT_TABLE_VALUE_REQUEST function module in
AT SELECTION-SCREEN ON <field name> ON VALUE REQUEST.
you u get the values according to the selection blocks.
09-09-2008 7:34 PM
Hi,
Use like this...
AT SELECTION-SCREEN OUTPUT.
IF p_num EQ 'X'.
LOOP AT SCREEN.
IF screen-group1 EQ 'CHR'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 EQ 'NUM'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards
Guru