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

checkbox

Former Member
0 Likes
611

if there r two three check boxes.

when u select one other two willgo to disable.

without using modify screen,statement. how?

4 REPLIES 4
Read only

Former Member
0 Likes
595

I dont think its possible without MODIFY SCREEN statement.

Enabling/disabling of fields can be done only in AT SELECTION-SCREEN OUTPUT with MODIFY SCREEN command.

Let me know wats the problem with MODIFY SCREEN command.

Regards,

Sail

Read only

Former Member
0 Likes
595

Hi Srinivas,

We can not Modify the Scrreen fields whiout using the MODIFY SCREEN statment ..

Regards

Sudheer

Read only

Former Member
0 Likes
595

Hi

You can do one thing, call another screen covering the entire window when you check on the first checkbox and make it same as selection-screen without the other parameter.

But why dont you want to use MODIFY SCREEN. Its like, I want to fetch data without using SELECT, which of course you can do.

Regards

Navneet

Read only

Former Member
0 Likes
595

Hi

Use the following code.

Note that in the second selection-screen, the parameter is different. You need to take care while coding and treat them as same.

parameters: p_check as checkbox USER-COMMAND CHK,

p_check2 as checkbox.

SELECTION-SCREEN BEGIN OF SCREEN 1001 TITLE screen

AS WINDOW.

parameters: p_second as checkbox default 'X' USER-COMMAND CH2.

SELECTION-SCREEN END OF SCREEN 1001.

INITIALIZATION.

screen = 'Secondary screen'.

CALL SELECTION-SCREEN 1001.

AT SELECTION-SCREEN.

CALL SELECTION-SCREEN 1000.

Regards

Navneet