Skip to Content
author's profile photo Former Member
Former Member

exclusive checkbox in table view

Hi,

I have a question regarding boolean field in table view.

the table is generated from searchpage wizard. In the table there's a boolean field which is defined in UI as a checkbox.

How can I make this as a exclusive checkbox ? when check one line, the other line checkbox will be reset?

I have chagne get_p, and get_i, also event check. Any tips?

Thanks for your prompt response.

kr

Benjamin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2013 at 03:10 PM

    Hi Benjamin,

    In the get_p method of your exclusive checkbox add the below code to call the event handler (which will actually trigger another server roundtrip and then you can write code in do_prepare_output or do_validate_input or any other custom EH to change the value or reset the other dependent checkbox based on the value of exclusive checkbox.

    CASE iv_property.
    WHEN if_bsp_wd_model_setter_getter=>fp_server_event
    OR if_bsp_wd_model_setter_getter=>fp_onclick.
    rv_value = 'SEL_CHECKBOX.
    ENDCASE.

    Rgds,

    Shobhit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2013 at 10:03 AM

    Hi Benjamin,

    Hope the below thread will help you.

    http://scn.sap.com/thread/3210956

    Thanks & Regards,

    Chiranjeevi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.