Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Grouping specific rows subtotal

Hi Gurus,

I have one peculiar issue like,

For Ex.

Customer Material Amount

12345 m1 100

12346 m1 150

12346 m2 160

12346 m2 165

12347 m2 170

12347 m2 50

12348 m3 150

Now the report is showing as follows:

Customer Material Amount

12345 m1 100

subtotal 100

12346 m1 150

12346 m2 160

12346 m2 165

subtotal 475

12347 m2 170

12347 m2 50

subtotal 220

12348 m3 150

subtotal 150

<b>Total 945</b>

But the requirement is we want the subtotals for material "M2" also only for material M2 not for other materials. So the output should look like following

Customer Material Amount

12345 m1 100

subtotal 100

12346 m1 150

12346 m2 160

12346 m2 165

<b>subtotal 325</b>

subtotal 475

12347 m2 170

12347 m2 50

subtotal 220

12348 m3 150

subtotal 150

Total 945

Hope I am clear to you all, please help me out with the right solution. Urgent !!!

Thanks in advance,

Naveen

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question