For fixed $c,$ if $a / e^a = c,$ then $e^{ax}$ works. Linear ODE, so you can add solutions with the same $c.$
Errands to run, look at it later. Possible benefit to allowing complex $a.$ Yes, try $a=i \pi / 2$ or similar. Right, next try $a=-i \pi / 2.$ You can add or subtract these, divide by $i$ if needed, no harm in constant multiple. I think sums of these give all; just a guess for now.
EEDDIITT: The holomorphic function $$g(z) = \frac{z}{e^z}$$ is far from injective. for example, $g(i \pi / 2) = \pi/2$ and $g(-i \pi / 2) = \pi/2.$ So, to get the original value of $c = \pi/2,$ we can take
$$ A e^{i \pi x / 2} + B e^{-i \pi x / 2} $$
with real or complex constants $A,B.$ As
$$ e^{i \pi x / 2} = \cos \frac{\pi x}{2} + i \sin \frac{\pi x}{2}, $$ we can get your original examples as
$$ \left( e^{i \pi x / 2} + e^{-i \pi x / 2} \right) / 2, $$
then
$$ \left( e^{i \pi x / 2} - e^{-i \pi x / 2} \right) / (2i). $$
There should be a countably infinite set of solutions to
$$ \color{magenta}{ \frac{z}{e^z} = \frac{\pi}{2}}, $$
occurring in conjugate pairs. Information about these can be gathered from the Lambert W Function, because
$$ \color{magenta}{ -z e^{-z} = -\frac{\pi}{2}}, $$
so we can take $v=-z$ and solve
$$ \color{magenta}{ v e^v = -\frac{\pi}{2}}. $$
Compare the first example in VALUES. Evidently MATLAB allows you to demand the non-principal branches, one at a time. I suspect that if you actually own Mathematica you can evaluate ProductLog[1, -Pi/2] but it does not seem to cooperate on Alpha. Oh, well. Once i made a Newton's method thing for tyhe complex plane, maybe i can find the first non-principal (conjugate pair of) value myself, numerically at least. Matter of carefully finding an approximate location first...
EEDDIITT worked this time ONE,
$$ v_1 = -1.60429 \pm 7.64719 i ; \; \; \; z_1 = 1.60429091344801 \pm 7.64719227612459 i $$
TWO
$$ v_2 = -2.19834 \pm 13.981208 i ; \; \; \; z_2 = 2.1983426299819 \pm 13.981208306240 i $$