Hi Sakthi,
I can propose a better solution that those situation will never happen by changing workflow template definition. Approver should never get a workitem created by own.
If you still want to show an error, you are free to extend OData method.
Regards,
Masa / SAP Technology RIG