Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

enable/disable - AT SELECTION-SCREEN OUTPUT

Hi! Friends,

plz help me.

i need to disable a radiobutton after processing it.

i have done it using AT SELECTION-SCREEN OUTPUT but this makes the two radiobuttons in disable mode.

selection-screen begin of block block1.

parameters: r1 radiobutton group rad1 MODIF ID RR1,

r2 radiobutton group rad1 MODIF ID RR2.

selection-screen end of block block1.

start-of-selection.

if r1 = 'X'.

write: /10 'R1 Selected'.

falg = 'R2'.

else.

write: /10 'R2 Selectred'.

endif.

<b> at selection-screen output.

if flag = 'R2'.

loop at screen.

if screen-group1 = 'RR1'.

screen-input = 0.

elseif screen-group1 = 'RR2'.

screen-input = 1.

endif.

modify screen.

clear screen.

endloop.

endif.</b>

it makes both r1 and r2 INPUT = 0.

but i have to make R1 alone INPUT = 0 after printing "R1 Selected" and after completing both the process both Radiobuttons has to be enabled.

Regards,

Nagulan.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question