We want to change (not default) another tax code into our PO depending upon the VAT registration number of the vendor. We have implemented the BADI BBP_DET_TAXCODE_BADI. This is doing it's work and changing the tax code but after this BADI the standard code is again making the change in the tax code and bringing the OLD tax code into PO. This BADI get called when we convert the SC in the sourcing cockpit to make PO.
After this we tried to implement another BADI BBP_ECS_PO_OUT_BADI but this BADI is not getting called while processing SC to PO in sourcing cockpit.
May I know where are we lacking or what will be the correct BADI to implement for this requirement?