Hi,
If you are manufacturing the materials in same plant and they have been maintained in different storage locations.
Make use of storage conditions (SC) in configuration with shipping point+plant+SC- SLoc.
Use same storage condition field in material master one of the views "Plant data/storage1
so that storage conditions maintained in material master it checks storage location when the material is being delivered.
Regards