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: 

reg: radio button and parameters usage

Former Member
0 Kudos

Hi,

If there are 3 radio buttons and 1 parameter, and if i click one radio button then the parameter must be a mandatory, if i click the remaining radio button the parameter must be a normal one( Not mandatory).

give me clear picture to solve it, as soon as possible,

thanks in advance

4 REPLIES 4

Former Member
0 Kudos

Hi Vijay,

IF NOT rb_1 IS INTITIAL. " radip button 1 is selected

IF p_scr IS INITIAL. " Parameter is not filled

MESSAGE <Parameter is mandatory for rb_1>.

ENDIF.

ENDIF.

pls use the code in AT SELECTION SCREEN event.

thanks,

teja.

Former Member
0 Kudos

Hi,

Wanna try this...??

PARAMETERS: p_exp RADIOBUTTON GROUP radi,

p_imp RADIOBUTTON GROUP radi,

p_clear RADIOBUTTON GROUP radi.

PARAMETERS: path(30) TYPE c .

at selection-screen.

if p_exp = 'X'.

if path is initial.

message 'Enter clear' type 'E'.

endif.

endif.

Solves ur problem!!

Have Fun!!

Ira!!

Former Member
0 Kudos

Hi,

parameters: p_exp radiobutton group radi,

p_imp radiobutton group radi,

p_clear radiobutton group radi.

parameters: path(30) type c .

SReddy.

Former Member
0 Kudos

you

at selection-screen output .

check the radio button if selected .

if r1 = 'X'.

LOOP AT SCREEN .

IF SCREEN-NAME = PARAMETER NAME.

SCREEN-REQUIRED = 1

endif.

modufy screen .

endloop.

Please reward if useful.