First, some basic definitions:
Abelian ring : A ring $R$ is said to be abelian if its every idempotent is central.
Armendariz ring : A ring $R$ is said to be Armendariz if whenever $$f(x),g(x)\in R[x]$$ satisfy $f(x)g(x)=0$ then $a_ib_j=0,\forall 0\leq i \leq n, 0\leq j \leq m $, where $f(x)=\sum_{i=0}^{i=n}a_ix^i$ and $g(x)=\sum_{j=0}^{j=m}b_jx^j$.
McCoy ring: A ring $R$ is said to be McCoy if whenever $$f(x),g(x)\in R[x]$$ satisfy $f(x)g(x)=0$ then $a_ir=0$ and $sb_j=0,\forall 0\leq i \leq n, 0\leq j \leq m $, and for some nonzero $r,s\in R$ where $f(x)=\sum_{i=0}^{i=n}a_ix^i$ and $g(x)=\sum_{j=0}^{j=m}b_jx^j$.
Now we know that all Armendariz rings are abelian and also all Armendariz rings are McCoy. So what is the relation between Abelian and McCoy?