‎2009 Mar 25 10:22 AM
Hi expert,
I have created check buttons on screen. I want to make these check buttons inactive when any one click the save button.
I had tried by using the loop at screen.
but its not happening.
How can i do this?
Thanks,
Abhishek
‎2009 Mar 25 10:25 AM
Hi Abhishek,
Chk this code.
REPORT zcheck.
PARAMETER ch_box AS CHECKBOX MODIF ID chk.
PARAMETER ch_box1 AS CHECKBOX MODIF ID chk1.
At selection Screen Output Event
AT SELECTION-SCREEN OUTPUT.
IF ch_box EQ 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'CHK1'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Hope it will be useful.
Regards,
Lakshman.
‎2009 Mar 25 10:28 AM
Parameters : w_chec as checkbox modif id aa.
At selection-screen output.
If sy-ucomm = <button>. " Function code of button.
loop at screen.
if screengroup1 = 'AA'.
screen-input = 0.
endif.
modify screen.
endloop.Regards,
Gurpreet