Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Checkbox in alv tree


I am working with a ALV TREE . i want a different column with the Checkbox.

For that i use

CLEAR gs_fieldcat.

gs_fieldcat-col_pos = 10.

gs_fieldcat-reptext = 'text'.

gs_fieldcat-fieldname = 'CHECK'.

gs_fieldcat-checkbox = 'X'.

gs_fieldcat-edit = 'X'.


gs_fieldcat-outputlen = '5'.

APPEND gs_fieldcat TO gt_fieldcat_tree.

but m not getting the checkbox with this column .if i used ls_item_layout-class = cl_gui_column_tree=>item_class_checkbox.

then i get checkbox in fornt of the tree,but i want in diff column.

please can any one help me to get the Checkbox.

Thanks a lot.

Former Member
Not what you were looking for? View more on this topic or Ask a question