I need to over ride the Tax code in the PO while saving, if i have to use the BADI EXTENSION_US_TAXES and the method ME_TAXCOM_MEPO which User Exit should i use.
For example when the purchase order account assignment category is u201CYu201D and the company code is not equal to u201CYYYu201D, using BADI - EXTENSION_US_TAXES, method ME_TAXCOM_MEPO and a custom table i have to determine if an override of the default tax code is appropriate. The BADI Should compare the following values previously retrieved, to the custom table below and return the appropriate tax code.
Company Code EKPO u2013 BUKRS
Plant EKPO - WERKS
Cost center EKKN - KOSTL
GL Account EKKN u2013 SAKTO