Hi Ganesh,
Thank you very much for your input. We do not have document type "BR" in ECC or BW.
However with the help of your listed steps i think i figured out why the total is matching with report S_ALR_87012178 and othe bucket values of 1-30, 31-60 etc are not matching.
This is due to the partial clearing documents.
For eg as below screenshot
The partial clearing doc 1100215314 has netduedate 30.09.2014. This document is clearing the invoice doc 3500034304 as above which has netduedate 18.08.2013. Now when i execute the report S_ALR_87012178 for a customer the partial clearing doc 1100215314 supposed to fall under bucket
1-30 days falls in the bucket of above 120 days because it is clearing the invoice doc 3500034304 whose netduedate is 18.08.2013.
But in BW i am making days buckets 1-30, 31-60, 61-90 etc in bex query and the offsets are set on netduedate so it considers the partial clearing doc (which will be in open status as the invoice doc it is clearing is only partially cleared) under the bucket 1-30 due to its netduedate 30.9.2014 not consider the invoice doc netduedate it is clearing. Hence the difference.
How can i achieve this same functionality as report S_ALR_87012178 at Bex query designing ??
Any idea please help.
Thanks.