Skip to Content
avatar image
Former Member

ABAP List Viewver

How can we set Check Box in ALV

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 28, 2009 at 07:41 AM

    Hi,

    1) Add an CHAR1 field in the output table that needs to be displayed in the ALV--- For Check box use(For eg: CHK type CHAR1)

    2) Set the fieldcatalog for the checkbox field(CHAR1) with the value X

    LS_FIELDCAT-fieldname = CHK (in our case field in output table)

    LS_FIELDCAT-checkbox = 'X'

    This will display the check box in ALV when called using Reuse_alv_grid_display.

    Also make sure you use the layout parameter in the ALV FM.

    Regards

    Shiva

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2009 at 01:17 PM

    BCALV_EDIT_05

    check this

    Add comment
    10|10000 characters needed characters exceeded