Hi,
FORM sort .
* wa_sort-spos = '01' .
* wa_sort-fieldname = 'PERNR'.
* wa_sort-tabname = 'IT_FINAL'.
* wa_sort-up = 'X'.
* wa_sort-subtot = 'X'.
* APPEND wa_sort TO iT_sort .
* CLEAR wa_sort.
wa_sort-spos = '01' .
wa_sort-fieldname = 'AMOUNT'.
wa_sort-tabname = 'IT_FINAL'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO iT_sort .
CLEAR wa_sort.
ENDFORM.
Remove 'AMOUNT' field from it_sort . Make the subtotal according to 'PERNR' . For same PERNR it will be added up to show the Sub-total .
Thank n regards .