On a total level, one product and multiple locations, the calculation is not done correctly.
Initial start when you load the product for all locations and do details all on APO location level.
The Result is OK
Do a manual change in either Hub reallocation/Quality recoding/Simulation key figures and ran the location heuristic. The Result is incorrect stock position at the Total level.