Application Development and Automation 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: 
Read only

Reports

Former Member
0 Likes
376

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
Read only

Former Member
0 Likes
359

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
Read only

Former Member
0 Likes
360

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.

Read only

Former Member
0 Likes
359

Hello,#

Do like this.

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

ENDCASE.

VAsanth