Hi Karol
Since you are determining the SO Costing from user exit, cant you enhance it to do for both the plants?
That will fix the problem at root level
Moreover, is it a non valuated material? For Non Valuated material, you cant calculate variances.
Ajay M