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: 

Radio Button cretaion

HariDegala
Explorer
0 Kudos
62

Hi,

I have to develop a report requirement is like this.

I have to develop a report for example ZABC , to be written which shows four radio button upon execution.

Each radio button should call transaction codes(custom t-codes like Z_ABC,Z_DEF,Z_GHI,Z_JKL).

Regards,

Hari

1 ACCEPTED SOLUTION

Former Member
0 Kudos
44

Hi hari,

I Hope we can write like ths

IF RB1 = 'X'.

Call Transaction Z_ABC.

ELSEIF RB2 = 'X'.

Call Transaction Z_DEF.

ELSEIF RB3 = 'X'.

Call Transaction Z_GHI.

ELSEIF RB4 = 'X'.

Call Transaction Z_JKL.

ENDIF.

2 REPLIES 2

Former Member
0 Kudos
45

Hi hari,

I Hope we can write like ths

IF RB1 = 'X'.

Call Transaction Z_ABC.

ELSEIF RB2 = 'X'.

Call Transaction Z_DEF.

ELSEIF RB3 = 'X'.

Call Transaction Z_GHI.

ELSEIF RB4 = 'X'.

Call Transaction Z_JKL.

ENDIF.

0 Kudos
44

PARAMETERS : rb1 RADIOBUTTON GROUP tc1,

rb2 RADIOBUTTON GROUP tc1,

rb3 RADIOBUTTON GROUP tc1,

rb4 RADIOBUTTON GROUP tc1.

if rb1 = 'X'.

Call TRANSACTION 'Z_ABC'.

ELSEIF rb2 = 'X'.

Call TRANSACTION 'Z_DEF'.

ELSEIF rb3 = 'X'.

Call TRANSACTION 'Z_GHI'.

ELSEIF rb4 = 'X'.

Call TRANSACTION 'Z_JKL'.

ENDIF.