2012 Aug 15 9:25 AM
Hi Gurus,
how to control collapse selection button circled below using abap codes? i want to view the same layout below but my codes doesn't works
DATA: sla TYPE slis_layout_alv.
sla-colwidth_optimize = 'X'.
sla-zebra = 'X'.
sla-EXPAND_ALL = 'X'.
sla-group_change_edit = 'X'..
sla-detail_popup = 'X'.
sla-get_selinfos = 'X'.
thanks,
Ryl
2012 Aug 15 10:17 AM
Hi Ryl,
use user command in that you can write your code and it will return you which row and column you have selected the collapse button in parameter res_selfield something please go through ALV documentation ind read interface user_sommand.
Please let me know if you still face issue.
Thanks
rahul
2012 Aug 17 8:36 AM
Hi rahul,
Do you have specific example? because im having hard time reading and understand user_command rs_selfield and the definition is so broad.
thanks,
ryl
2012 Aug 19 1:37 PM
Hi Ryl,
You can use
FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
or class CL_GUI_ALV_TREE
Thanks,
MARIMUTHU.K