Skip to Content
author's profile photo
Former Member

selection-screen (Checkbox)

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 09:14 AM

    Hi,

    So you can clear data at initialization event.

    Rewards points if it is useful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 09:14 AM

    Hi,

    Use the Clear statement to clear the parameters entries.

    Regards,

    Satya.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 09: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!!!

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 09: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

    Add comment
    10|10000 characters needed characters exceeded