shell function help

SUN os KSH

ERROR_CHK () {

ERR_DATA="$ABC"
if `echo "$ABC" | egrep 'PLS|ERROR|ORA'` ; then
echo "Failed: Can't execute procedure ${PRG_NAME} ERROR found "
return 1
else
echo "Info : ${PRG_NAME} done"
fi

}

my function fails iwth
below message

"ERROR: not found"
I think i need to change
if `echo "$ABC" | egrep 'PLS|ERROR|ORA'` some whare

any help please