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

regarding the checkboxes in interactive alv

hi,

this is my requirement.

when i select 'select all' button on the application tool bar.it is selecting all the records in the output of the alv,but the checkboxes related to the each record are not checked.

how can i do this?

please provide the code for this.

thanks in advance

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 Dec 04, 2007 at 04:11 AM

    Hi,

    Try using this code.

    LOOP AT gt_final_list INTO wlt_final_list.

    wlt_final_list-select_flag = 'X'.

    MODIFY gt_final_list FROM wlt_final_list

    TRANSPORTING select_flag.

    ENDLOOP.

    CALL METHOD gv_alv_grid_object->refresh_table_display

    • EXPORTING

    • IS_STABLE =

    • I_SOFT_REFRESH =

    EXCEPTIONS

    finished = 1

    OTHERS = 2.

    Modify the table and refresh the grid display, It works for me.

    Regards,

    Anju

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 04:38 AM

    Hi,

    Check this below standard program . u will get clear idea about that one.

    BCALV_TEST_GRID_EDITABLE

    Thanks,

    <b>Sankar M</b>

    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.