Final Balance displayed in the Account Statement for customer open items in FBL5N
My requirement is to customize the sap script used for displaying the Account Statement for customer open items in FBL5N.
I have copied the standard script and I am making changes in that according to the requirement.
Currently, only 1 final balance is being displayed in the bottom of the Account Statement. But my requirement is to display the following balances as well :
Months & Above
|Balance upto key date (Currently only this balance is being displayed)||Balance upto 1 month before the key date||Balance upto 2 months before the key date||Balance upto 3 months before the key date|
Balance upto 4 months before the key date
I tried to debug the standard driver program RFKORD10 and find out how the current balance being calculated, but no luck..
Kindly help me on how to calculate these balances.