cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic-actions/expressions for Radio button in VC

Former Member
0 Kudos

Hi,

I would like to know whether dynamic actions for radio-buttons are possible in VC??

I have a situation where, i have to display/hide an input-field according to the radio-button that i select.

Is this possible in VC??

Because, i do not find any place where i can write expressions for a radio-button so that it can take actions accordingly.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Actually its possible.

Here is the sample code for this.

tables : kna1.

parameters : chk1 radiobutton group g1 user-command abc,

chk2 radiobutton group g1.

parameters : chk3 type kunnr.

at selection-screen output.

loop at screen.

if chk1 = 'x' and screen-name = chk3.

chk3-active = '0'.

endif.

endloop.

In this way you can hide a input-field on the screen.

Former Member
0 Kudos

So, where should this code be entered, as no provision in VC is provided.

Regards,

Sharath

Former Member
0 Kudos

Hi all,

I came to know that dynamic expressions are not yet supported for radio-buttons.