cancel
Showing results for 
Search instead for 
Did you mean: 

initialization lead selection is Disabled when column is set to hierarchy

Former Member
0 Kudos

Hello,

I was wondering why is the initialization lead selection disabled for the

hierarchy column, although i have checked the context to initialize lead selection.

Is there a way around this?

This is how i set up column CARRID to be the hierarchy column:

data lr_column type ref to cl_salv_wd_column.

lr_column = lo_value->if_salv_wd_column_settings~get_column( 'CARRID' ).

lr_column->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).

here is a screenshot of what I am talking about

[http://img13.imageshack.us/img13/3702/leadselection.png]

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey Lekha,

I tried te e_selection_mode, it didnt work either, the problem is that my whole table is

selectable except the column that set to be a hierarchy, what I wanna do is en able that

hierarchy column to be selectable.

Former Member
0 Kudos

Hi,

Please aslo check the selection mode property for the ALV

IF_SALV_WD_TABLE_SETTINGS~SET_SELECTION_MODE

If it is SingleNoLead or MultiNoLead then it will not set the selection mode.

In the latest versions, there will be an icon for the Select All/Deselect All if the selection mode is set.

Also check for that.

Regards,

Lekha.