Application Development 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: 

Selection screen field options

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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