Hi All,
I am developing an Hierarchical ALV List using OOABAP. In the output list, I have a checkbox to be displayed. I have taken the cell type as "CHECKBOX", it is displaying as disabled. I searched some sites for the resolution, it is mentioned if we take cell type as "CHECKBOX_HOTSPOT" then it will be disabled.
So I tried that as well. When I used that program is giving me a dump. Please find the dump below. Request you all to provide a faster solution for this.
Thanks.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_SALV_METHOD_NOT_SUPPORTED', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
Class COLUMNCLASS, method SET_CELL_TYPEMETHOD not supported for
CL_SALV_HIERSEQ_TABLEOBJECT KEY
Information on where terminated
Termination occurred in the ABAP program "CL_SALV_COLUMN================CP" -
in "RAISE_METHOD_ONLY_VALID_FOR".
The main program was "ZZSMB004_FSE_FILLUP_TEST ".
In the source code you have the termination point in line 95
of the (Include) program "CL_SALV_COLUMN================CM01Q".
SourceCde
read table t_valid
with key model = if_salv_c_model=>table
object = if_salv_c_table_objects=>list
transporting no fields.
if sy-subrc ne 0.
l_exit = abap_false.
endif.
l_key = text-k03.
endcase.
when if_salv_c_model=>hierseq.
read table t_valid with key model = if_salv_c_model=>hierseq
transporting no fields.
if sy-subrc ne 0.
l_exit = abap_false.
endif.
l_object = text-o03.
when if_salv_c_model=>tree.
read table t_valid with key model = if_salv_c_model=>table
transporting no fields.
if sy-subrc ne 0.
l_exit = abap_false.
endif.
l_object = text-o04.
endcase.
check l_exit eq abap_false.
raise exception type cx_salv_method_not_supported
exporting
class = l_class
method = l_method
object = l_object
key = l_key.