Hello Friends,
This is regarding the rebate conditions in a billing document.
I am using a field CUSTOMER GROUP 7 (SAP AFS) in the access sequence for rebate condition (ZABC) records. Also I am using same field for one ON invoice normal discount condition (ZPQR).
In standard we do not have the field CUSTOMER GROUP 7 getting passed in the pricing communication structure.
What we did was, we forcibly passed it into the sales order user exit MV45AFZZ, but not in the billing user exit.
As a result, both condition type ZABC & ZPQR are populated in the sales order, and also getting copied to billing.
They remain in the billing document, if I do not update the pricing.
Now I save the billing document, but only the ON invoice discount condition (ZPQR) gets retained in the billing document, but the rebate condition is lost.
What I want to know is, during saving of the billing document, are only the rebate conditions get re priced?
If yes, where can I find the piece of coding to look at.
Many thanks in advance.
Regards,
D