‎2007 Jun 18 3:28 PM
if there r two three check boxes.
when u select one other two willgo to disable.
without using modify screen,statement. how?
‎2007 Jun 18 3:33 PM
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
‎2007 Jun 18 3:40 PM
Hi Srinivas,
We can not Modify the Scrreen fields whiout using the MODIFY SCREEN statment ..
Regards
Sudheer
‎2007 Jun 18 3:41 PM
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
‎2007 Jun 18 4:06 PM
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