Let
$$\begin{array} AA & \stackrel{f}{\longrightarrow} & B \\ \downarrow{h} & & \downarrow{h'} \\ C & \stackrel{g}{\longrightarrow} & D \end{array} $$
be a commutative diagram of $\mathcal{O}$-modules ($\mathcal{O}$ principal domain) with $f$ and $g$ surjective and $coker(h) \simeq coker(h')$. Assume we are given $b \in B$, $d \in D$ and $c \in C$ such that $h'(b) = d$ and $g(c) = d$. Also suppose that $c = h(a')$ for some $a' \in A$. Does there exist $a \in A$ such that $f(a)=b$ and $h(a)=c$ ?
[Edit] changed $coker(h) = coker(h')$ into $coker(h) \simeq coker(h')$ as suggested by Tim Duff question.