We have explained above how we fixed it....
We didn't modify the SAP method but created a post-exit.
If you have thought of another and better method maybe create your question as a new post as this post is old and already describes one way of doing it.
Br Jan