2007 Mar 29 3:54 PM
My SD colleague has set up config so that, for our contract type ZSTF, when the amount has been entered in the item conditions, a billing plan is generated. This billing plan has one line for each calendar month of the contract (that is what we want), and each billing date is the first on the month (payment in advance).
This all seems to work nicely, with part months being charged pro rata.
The problem is that we want each billing date to be the first day of the financial period, not the first of the month. Our financial periods are defined in our calendar Z1, and correspond roughly to months.
We have found no way to do this using config. Any ideas?
I suspect that I will have to use a user-exit/customer-exit/BAdI, but which one?
Advice will be much appreciated.
John
My SD colleague has set up config so that, for our contract type ZSTF, when the amount has been entered in the item conditions, a billing plan is generated. This billing plan has one line for each calendar month of the contract (that is what we want), and each billing date is the first on the month (payment in advance).
This all seems to work nicely, with part months being charged pro rata.
The problem is that we want each billing date to be the first day of the financial period, not the first of the month. Our financial periods are defined in our calendar Z1, and correspond roughly to months.
We have found no way to do this using config. Any ideas?
I suspect that I will have to use a user-exit/customer-exit/BAdI, but which one?
Advice will be much appreciated.
John
2007 Mar 30 3:55 PM
The solution was to use USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ and modify the rows of internal table xfplt.
John