It is an interesting question. May be you need to use FM 'NUMBER_GET_NEXT' in the user exit. Take clues from this discussion. How to get sales order number before saving in VA01 by using parameter
You may post this question in ABAP space too, where chances of more light on the subject exit.
Best of luck
KJogeswaraRao