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

Check box in ALV Report

Hi All,

I have developed ALV hierarchical report with check boxes for header and item records.

If i select header checkbox, the corresponding item records checkboxes should be selected automatically, here after selecting header checkbox i have to press some push button(like Refresh) then only item check boxes getting selected,

but here my req. is without clicking any button item checkboxes should be checked automatically if corresponding header check box is selected.

If anybody have an idea pls get back to me.

Regards,

Ashwin

.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 12:21 PM

    Hi,

    Construct a field catalogue as follows:

    DATA: z_fieldcat TYPE slis_fieldcat_alv
    

    Then set the checkbox related fields fields like:

    z_fieldcat-seltext_l = 'Checkbox'.
    z_fieldcat-checkbox = 'X'. " Display this field as a checkbox
    z_fieldcat-edit = 'X'.    " This option ensures that you can
                                    " edit the checkbox. Else it will
                                    " be protected.
    

    <REMOVED BY MODERATOR>

    Edited by: Alvaro Tejada Galindo on Jan 30, 2008 5:35 PM

    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.