you execute LX02
then you click the column header for available quantity follow by clicking the Display Sum button
next you click first the column header of material, then column header of batch followed by clicking Subtotal button.
then you choose from menu Settings > summation levels > define breakdown
And here you click level 1 Batch