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

hi how to put check box in REUSE_ALV_HIERSEQ_LIST_DISPLAY

hi i have a header table






i need to put a checkbox on the header record please advise what step to do and where to put that checkbox i read some example but i don't understand how it is done please urgent help needed

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 31, 2008 at 02:45 PM

    In the field catalog create a dummy variable, which is declared as checkbox.

    line_fieldcat-fieldname = 'CHK'.

    line_fieldcat-tabname = 'I_DATA'.

    line_fieldcat-seltext_l = 'Checkbox'.

    line_fieldcat-checkbox = 'X'. " Display this field as a checkbox

    line_fieldcat-edit = 'X'. " This option ensures that you can

    " edit the checkbox. Else it will

    " be protected.

    APPEND line_fieldcat TO i_fieldcat.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      you do one thing as i tried

      include an extra field in your header table

      but remember one thing instead of adding it to field catalog give it in layout as

      WA_LAYOUT-box_fieldname = 'W_CHK'.

      wa_layout-box_tabname = 'IT_HEADER'.

      now attach this layout to your FM.


      award if useful



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.