Hi Nikunj,
Here's what you need to do:
1) Insert a group on the ItemCode field
2) Right-click the qty field > Insert Summary > Choose Sum as the summary operation > under 'summary location' choose 'Group #1'
3) Move the summary from the Group Footer to the Group Header.
-Abhilash