Enhancement for MIRO & F110
I need help for the following issue.
1. There is a Purchase Price Variance PL Account which doesnt has Cost element and during MIRO while posting with price variance posting happens to same PL Account which should take the Profit center of the Debit line item that has maximum amount.
2. There is Price Var-Packaging PL Account which is a Vendor Discount account, so it gets posting only while doing F110 and while posting it should take Profit Center of Credit line item.
Kindly suggest some ways of the doing this as during MIRO i tried implementing the BADI Invoice_Update but it doesnt give me the Debit Line item and for F110 i still have not tried much.
Thanks in advance... looking forward to your replies..