Skip to Content
0
Former Member
Aug 04, 2008 at 11:44 AM

set a particular radio button checked rather than default in screen painter

348 Views

Hi all,

Here is my code for selecting one transaction when clicking one of the two radio buttons.

Here the first radio button is selected defaultly during execution.

My requirement is 2nd radio button should be selected,

How can i do this? Can any one help me??

REPORT ZCHINNI_28_SCREEN MESSAGE-ID zchinni_msg.

data : a type c, b type c , user type sy-ucomm, N1 TYPE STRING.

call screen 3100 .

MODULE STATUS_3100 OUTPUT.

SET PF-STATUS 'MENU'.

SET TITLEBAR 'TITLEBAR'.

CASE user.

WHEN 'FILE'.

LEAVE PROGRAM.

WHEN 'EDIT'.

MESSAGE i000.

WHEN 'GOTO'.

MESSAGE I002.

LEAVE PROGRAM.

WHEN 'HELP'.

MESSAGE I003.

when 'BACK'.

LEAVE PROGRAM.

ENDCASE.

ENDMODULE.

MODULE USER_COMMAND_3100 INPUT.

case USER.

when 'CLICK'.

IF A = 'X'.

call TRANSACTION 'SE38'.

ELSE.

CALL TRANSACTION 'SE80'.

ENDIF.

ENDCASE.

ENDMODULE.