01-08-2008 6:00 AM
hi,
i am doing module pool program in which i used REUSE_ALV_HIERSEQ_LIST_DISPLAY function for display my output.
in this output depend on icon i want to display my data in EXPAND all or in COLLAPSE mode.
means when i click on that icon it display expand format and collapse format.
what should i use in function and where.
thanks in advance.
01-08-2008 6:14 AM
Hi,
in your header table declartion include the following field.
exp type c.
in your layout defintion, change as follwos..
wa_layout-expand_fieldname = 'EXP'.
wa_layout-expand_all = 'X'.
pass this layout in the FM.
Rewards points if useful,
Regards,
Niyaz
01-08-2008 6:07 AM
hi priya,
Pass value to Layout for fields
expand all and collapse all
might this will solve ur problem..
regards points if usefull..
regards
satish.v
01-08-2008 6:10 AM
01-08-2008 6:14 AM
Hi,
in your header table declartion include the following field.
exp type c.
in your layout defintion, change as follwos..
wa_layout-expand_fieldname = 'EXP'.
wa_layout-expand_all = 'X'.
pass this layout in the FM.
Rewards points if useful,
Regards,
Niyaz
01-08-2008 6:27 AM
whatever u told me that i had already done but problem is that when i pass expand all then all list was displayed but i want my list dispaly on icon when i click then it should expand and collapse.
using FM that list is display in expand all fashion but i want to change as per ICON
01-08-2008 6:30 AM
hi priya kotkar,
Ru want to play with sap..? or else the requirement.?
the list that u r displaying is alv..and u want to use menupainter then ok...
tell me exactly can u have the authorisatiosn to use menu painter for that taprticluar event we will proceed ok.
regards
satish.v
01-09-2008 9:19 AM
01-08-2008 6:21 AM
supriya,
You will find all the events in below program..
BCALV_TEST_HIERSEQ_LIST_EVENTS
Pls. reward if useful...