07-25-2014 8:48 AM
hi all,
how do i add EXPAND ICON in separate column in an ALV report...
some thing like below....
and when i click this icon i should display some records in that column....
thanks in advance......
07-25-2014 9:55 AM
Hi Vinay,
Add a separate field in final structure. Copy the values to that particular field. In sort, set the attribute EXPA for the particular column.
wa_sort-fieldname = 'MATNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-expa = 'X'.
append wa_sort to it_sort.
Regards
Rajkumar Narasimman
07-25-2014 11:45 AM
hi raj,
if write above code i am getting some thing like this,,(i have highlighted PO column )
but i don't want this,,
i need a EXPAND button under PO column and when i click this icon i should dispaly
all PO numbers....
07-25-2014 11:54 AM
hi,
add a separate column in alv report of type char 4 and set in field cat that display as icon.
on user interaction if user click on that icon do what ever u want.
hope it help you
07-25-2014 12:11 PM
hi swadhin,
as u said i have added another column(say iocn) of type char 4....
how do i set this in FIELDCAT to display as icon.....
thanks in advance.....