Function Module to determine tax code
I need to determine a Tax Code when I have a set of conditions and tax rates.
I have an invoice created with SD Tax Code and I need to post a Credit Memo in FI with exactly the same taxes.
From BSET table, it's possible to get the conditions and tax rates of all the taxes in the document.
Is there any function module that provides me the correct Tax Code when I input a combination of Condition and Rates??
Thank you very much!