‎2007 Aug 10 3:50 AM
Hi all,
While doing sub total for a particular field eg: material am getting the sub totals of the fields which are numeric.
now if i want to display, the description of the field, while sub totalling, how to do...
what field in the field catalog has to be used.
will be rewarded.
tahnaks in adv
‎2007 Aug 10 3:56 AM
Hi,
DATA : l_layout TYPE slis_layout_alv .
l_layout-colwidth_optimize = 'X'.
l_layout-subtotals_text = 'Test subtotal text'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
IS_LAYOUT = l_layout
it_fieldcat = it_f_catalog[]
it_sort = t_sort[]
aRs
‎2007 Aug 10 3:56 AM
Hi,
DATA : l_layout TYPE slis_layout_alv .
l_layout-colwidth_optimize = 'X'.
l_layout-subtotals_text = 'Test subtotal text'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
IS_LAYOUT = l_layout
it_fieldcat = it_f_catalog[]
it_sort = t_sort[]
aRs
‎2007 Aug 10 4:11 AM
‎2007 Aug 10 4:15 AM
‎2007 Aug 10 4:35 AM
‎2007 Aug 10 4:41 AM
hi
good
go through this link ,hope this ll help you to solve your problem
http://www.erpgenie.com/sapgenie/docs/Using%20ALV.pdf
thanks
mrutyun^