Hi Srinath,
If you would like to restrict all users from performing this, please go to the below path via SPRO,
Click on 'Define Attributes of System Messages' and go to Message 104(Message class M7) and change the message from 'W' to 'E', so that it would not allow the user to proceed postings within the same Storage Locations.