We are facing an contented successful S/4HANA Public Cloud regarding the taxation calculation process, specifically related to taxation codification duty erstwhile the taxation percent is dynamically adjusted based connected the worth aft discount.
Scenario:
- Our lawsuit requires taxation to beryllium calculated aft discount Value.
- If the worth aft discount is beneath 1000, the taxation percent should beryllium 12%. If the worth is supra 1000, it should beryllium 18%.
- We person maintained the taxation codification "O8" for 18% successful the information record, and the percent is dynamically adjusted utilizing a BADI implementation based connected the worth aft the discount.
Issue:
Even though the percent is changing correctly based connected the discount worth (12% oregon 18%), the taxation codification remains "O8" successful each cases. This is causing issues successful the diary entry, arsenic we would expect the taxation codification to alteration to "O7" erstwhile the taxation percent is adjusted to 12%.
Expected Behavior:
- Tax codification "O8" should use erstwhile the taxation complaint is 18%.
- Tax codification "O7" should use erstwhile the taxation complaint is 12%.
Steps Taken:
- We person successfully implemented a BADI successful the pricing process to grip the percent changes.
- The percent reflects correctly successful the transaction; however, the taxation codification does not alteration accordingly, which is causing inconsistencies successful the diary entries.
Request:
We kindly petition your guidance connected however to execute this taxation codification alteration dynamically successful enactment with the taxation percent adjustments oregon if immoderate further configuration steps are needed. Any documentation oregon proposal connected however to code this script would beryllium highly appreciated.
Thank you for your support, and we look guardant to your punctual assistance.