2008 May 06 11:09 AM
Hi All,
My requiremet is to display a ALV in which 3 fields are summed up before the ALV is displayed.Upto this point it is working fine.
S no C Code Vendor Document no Amount
1 in10 10000 8460006345 100000
2 in10 10000 8460006345 50000
8 in10 10000 8460006345 50000
3 in10 10001 8460006346 50000
250000
The next requirement is when the user selects a column and do subtotal then the corresponding columns values should be sorted out.If suppose i do the subtotal on vendor field then following output comes
S no C Code Vendor Document no Amount
1 in10 10000 8460006345 100000
2 in10 8460006345 50000
3 in10 10001 8460006346 50000
200000
8 in10 10000 8460006346 50000
50000
250000
But it should come like this
S no C Code Vendor Document no Amount
1 in10 10000 8460006345 100000
2 in10 8460006345 50000
8 in10 8460006345 50000
10000 200000
3 in10 10001 8460006346 50000
10001 50000
250000
Can anyone help out with this ??
2010 Apr 04 1:46 PM
Thanks.
2008 May 06 12:56 PM
hI sami qureshi ,
Its default functionality of ALV. First click on one column,sort it and click on subtotal button. Sigma will be there. It should come.
Otherwise look at the sort catalogue if some thing wrong there.
Also put fieldcatalogue-subtot = 'X' against the fields u want subtotals.
Venkat
2010 Apr 04 1:46 PM
2010 Apr 04 2:01 PM
Samiullah Qureshi, I have three remarks.
First, "urg." title is forbidden by forum rules, so read the rules before posting again (maybe you did it since 2008).
Second, if you want to get some help quickly, give also a feedback quickly (I won't answer your questions, you're now on my black list), here your answer is about one year and a half too late.
Third, do not post a useless comment when you close such a thread as this is not required and it brings nothing else than bothering people
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |