Hi,
IDES is a sandbox client in which a lot of people experiment. So it is very much possible that someone may have deleted the Plants and Company code. If the company code or plant was a standard one then you will recover them with reinstallation of IDES, else you cannot recover the deleted entries.