on 04-03-2009 10:11 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.