cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module to determine tax code

Former Member
0 Likes
10,197

I need to determine a Tax Code when I have a set of conditions and tax rates.

Business Scenario:

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!

View Entire Topic
dau_hai2
Participant
0 Likes

Hi Federico Ochoa,

I don''t get your point. If you have invoice, that mean you will be able to get tax codes of all lines item from table BSEG/BSET-MWSKZ.

Former Member
0 Likes

I have an invoice posted from SD module, hence it has Tax Code (msksz) 'SD'

Now, I need to post a credit memo, not related to the sales order, in other words directly in FI module, with the exact same taxes as the invoice.

How can I determine, automatically, which is the correct Tax Code in FI to be used so as it has the same tax conditions as the invoice?