We have a process of recharging the cost of Corporate office to different legal entities . For this recharging of the cost , we use Resource related functionality and for the A/P posting at recieving company code , we generate the idoc which get posted automatically.
In this flow , we have one scenario where , In One of the Latin Americal company code , we have case where more than one With holding tax codes are assigned in Vendor Master data. And this tax rate can varry by nature of the cost. My problem is that when i am posting the AP document via Idoc , system is unable to pick up the right WHT tax , ( off course when we post it manually , you select the right code) but question is how to select the right code when this is posting in background. We tried to use the HO/ Branch office thing but didn't solve the problem. Splitting the Vendor Master data is also ruled out.
Can you please share your experience or thought to solve this problem.