Hi Kavita,
First of all, you should not write the validation code in eh_onsave. Go to badi order_save and create your own implementation and it will get triggered every time. Eh_onsave will get triggered only if you click save button of webui.
What is the error message you are getting while you try to save?.
Thanks,
Faisal