Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display checkbox in ALV grid

Former Member
0 Kudos

Hi,

I need your help regarding this issue. I am using function module 'REUSE_ALV_LIST_DISPLAY' and 'REUSE_ALV_FIELDCATALOG_MERGE'. Could please let me know how to display(add) checkbox to the ALV grid.

Thanks

Srini

2 REPLIES 2

Former Member
0 Kudos

Hi Srini,

In the layout fill


is_layout-box_fieldname = 'CHECKBOX'
is_layout-box_tabname   = 'I_OUTPUT'.

The internal table that you are passing as I_OUTPUT, should have an extra field called CHECKBOX of length 1.

Also refer to tutorial Easy Grid :

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for alv grid control.pdf

Regards,

Subramanian V.

0 Kudos

Thank you Subramanian...This solved my problem.

Regards

Srini