2007 Jun 13 12:08 PM
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
2007 Jun 13 12:10 PM
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.
2007 Jun 13 12:10 PM
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.
2007 Jun 13 12:13 PM
Hello,#
Do like this.
Case 'X'.
when 'R1'.
call transaction mm01.
when 'R2'.
call transaction mm02.
ENDCASE.
VAsanth