Hi,
I thought that you are fetching the details of batch expiry date from the sales order.
In that case, do you save the sales order after the batch determination is done in VA02? What is the purpose? Else, I suppose, it has to be done as you are doing it currently .
Regards,
Umesh