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

Modify Screen runtime.

Former Member
0 Likes
425

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

2 REPLIES 2
Read only

former_member209217
Active Contributor
0 Likes
387

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.

Read only

Former Member
0 Likes
387
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