Skip to Content

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

Checkbox in alv tree

Hi,

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-COL_OPT = '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.

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