‎SAPQuickTip‬ for the day #1: SubTotals in ALV Report

To Add a SubTotal to a particular column in an ALV report ( using the REUSE_ALV – FM )

  1. Set the SUBTOT field of the structure SLIS_SORTINFO_ALV to ‘X’ and
  2. Also in the field catalogue for the field which you want to sub-total set the field DO_SUM of the structure SLIS_FIELDCAT_ALV to ‘X’.

If you want only subtotals but not the Grand Total for the report then set the field NO_TOTALLINE of the structure SLIS_LAYOUT_ALV to ‘X’
This Blog has a Very good Example for the same


Leave a Reply

Your email address will not be published. Required fields are marked *