2006 Jul 24 6:08 AM
Hi all,
In selection-screen i m defining three infield and a check box.
Of which two are select-options and one is parameter.
When user select the check box one input field I want to deactivate or don't want to display .
How to do that with select-options and with parameter field ?
Thanx.
-Umesh
2006 Jul 24 6:17 AM
Hi,
FOR parameter.
<b>
REPORT ZWA_TEST2 .
parameter: chk_box as checkbox USER-COMMAND ab.
parameter: a(10) MODIF ID ABC.
at selection-screen output.
If chk_box = 'X'.
loop at screen.
if screen-group1 = 'ABC'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
</b>
FOR select-options.
<b>
REPORT ZWA_TEST2 .
tables: bkpf.
parameter: chk_box as checkbox USER-COMMAND ab.
parameter: a(10) MODIF ID ABC.
select-options: b for bkpf-belnr MODIF ID SEL.
at selection-screen output.
If chk_box = 'X'.
loop at screen.
if screen-group1 = 'SEL'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
</b>
Regards,
Wasim Ahmed
Message was edited by: Wasim Ahmed
2006 Jul 24 6:12 AM
Hi umesh ,
u have to put ur logic and do changes @
loop at screen.
screen-INVISIBLE = '1'.
screen-group = '' group name of paramter.
modify screen.
endloop.
Regards
Prabhu
2006 Jul 24 6:17 AM
Hi,
FOR parameter.
<b>
REPORT ZWA_TEST2 .
parameter: chk_box as checkbox USER-COMMAND ab.
parameter: a(10) MODIF ID ABC.
at selection-screen output.
If chk_box = 'X'.
loop at screen.
if screen-group1 = 'ABC'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
</b>
FOR select-options.
<b>
REPORT ZWA_TEST2 .
tables: bkpf.
parameter: chk_box as checkbox USER-COMMAND ab.
parameter: a(10) MODIF ID ABC.
select-options: b for bkpf-belnr MODIF ID SEL.
at selection-screen output.
If chk_box = 'X'.
loop at screen.
if screen-group1 = 'SEL'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
</b>
Regards,
Wasim Ahmed
Message was edited by: Wasim Ahmed