08-23-2007 10:07 AM
Hello everyone,
On selection screen i am having 2 check boxes . I want to handle on checkbox.
When you check one box some parameters are tobe display and when you click other box respective parameters tobe display .
But when i select the other check box i need to clear the entries from the first parameter. How can i do this ? Help me out in this.
Thank you .
Sidd.
08-23-2007 10:14 AM
Hi,
So you can clear data at initialization event.
Rewards points if it is useful.
08-23-2007 10:14 AM
Hi,
Use the Clear statement to clear the parameters entries.
Regards,
Satya.
08-23-2007 10:27 AM
*Check this code and modify accordingly
REPORT ZTRIP_TEST.
tables bkpf.
parameters:
c1 as checkbox,
d1 like sy-datum.
select-options:
g1 for bkpf-gjahr.
parameters:
c2 as checkbox,
d2 like sy-datum.
select-options:
g2 for bkpf-gjahr.
at selection-screen.
if c1 eq 'X'.
clear: d2,g2[].
elseif c2 eq 'X'.
clear: d1,g1[].
endif.
Reward points if useful, get back in case of query...
Cheers!!!
08-23-2007 10:32 AM
Use Radio button instead of checkboxes.
U can use At Selection Screen event to contol the parameter if u want to do it with checkboxes.
Regards
Sushil