I asked you one question. In what scenario error message is triggering.
Suppose if the tax code is empty then system is showing the message.
So, while saving again you have to check it in badi or exit.
if the tax code is empty Raise an Error. Check it in this scenario.