Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changing billing-plan dates in VA41

Former Member
0 Likes
837

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

1 REPLY 1
Read only

Former Member
0 Likes
556

The solution was to use USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ and modify the rows of internal table xfplt.

John