‎2008 May 18 7:08 AM
how can we write one field inassending order and another is in dessending order in alv reports?
‎2008 May 18 7:32 AM
hi,
u can set one field in ascending order and other in descending order. U need to set that option field catalog.
up : 'X' = sort in ascending order
u2022 down : 'X' = sort in descending order
useful reward points
‎2008 May 18 7:32 AM
hi,
u can set one field in ascending order and other in descending order. U need to set that option field catalog.
up : 'X' = sort in ascending order
u2022 down : 'X' = sort in descending order
useful reward points
‎2008 May 19 3:55 AM
Hi,
You can yse accending and descending like wise mentioned below. after that define this sort table in REUSE_ALV_GRID/LIST_DISPLAY -
IT_SORT.
t_sort_h-fieldname = 'NETWR'.
t_sort_h-tabname = 'T_vbak'.
t_sort_h-up = 'X'.
t_sort_h-subtot = 'X'.
append t_sort_h.
clear t_sort_h.
t_sort_h-fieldname = 'vat'.
t_sort_h-tabname = 'T_VBAK'.
t_sort_h-DOWN = 'X'.
t_sort_h-subtot = 'X'.
append t_sort_h.
clear t_sort_h.
reward if helpful.
Thanks