Application Development 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: 

selection-screen (Checkbox)

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

Hi,

So you can clear data at initialization event.

Rewards points if it is useful.

Former Member
0 Kudos

Hi,

Use the Clear statement to clear the parameters entries.

Regards,

Satya.

Former Member
0 Kudos

*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!!!

Former Member
0 Kudos

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