A necessary condition for a nonzero solution is $u(z) u(a-z) = 1$. If that is true and $u$ is entire, it has an entire square root. Now $\sqrt{u(z)} \sqrt{u(a-z)} = \pm 1$: if it is $1$, then $f = \sqrt{u}$ is a solution.