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: 

Reports

Former Member
0 Kudos
89

Hi gurus,

how can i call a tcode thru selection screen radio button? can any one send me the idea for this ..if posible with xample ?

thx & regards,

rk

1 ACCEPTED SOLUTION

Former Member
0 Kudos
72

Hi,

Try this,

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',

R2 RADIOBUTTON GROUP RAD1,

R3 RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN END OF BLOCK B1.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.

IF R1 = 'X'.

Call Transaction 'XXX'.

ELSEIF R2 = 'X'.

Call Transaction 'YYY'.

ELSEIF R3 = 'X'.

Call Transaction 'ZZZ'.

ENDIF.

Regards,

Padmam.

2 REPLIES 2

Former Member
0 Kudos
73

Hi,

Try this,

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',

R2 RADIOBUTTON GROUP RAD1,

R3 RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN END OF BLOCK B1.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.

IF R1 = 'X'.

Call Transaction 'XXX'.

ELSEIF R2 = 'X'.

Call Transaction 'YYY'.

ELSEIF R3 = 'X'.

Call Transaction 'ZZZ'.

ENDIF.

Regards,

Padmam.

Former Member
0 Kudos
72

Hello,#

Do like this.

Case 'X'.
when 'R1'.
call transaction mm01.
when 'R2'.
call transaction mm02.

ENDCASE.

VAsanth