I have a requirement where, business wants to give a commission to an agent based on the sales value with scales. I can use rebates. But, the problem is, the agent is not a payer here.
I have done the config in such a way that i managed to maintain the rebate agreement to an agent. But, the issue is, in the billing document the rebate condition type does not get updated to the Agent. Its looking for the partner function PY.
Is there a user exit i can use in the billing document to update the rebate value to the agent and not the payer? Also, is there a better way to deal this?