We consider the classical inverse problem in the potential theory in which it is required to determine the unknown right-hand side of the elliptic equation in the case in which additional data are set on the boundary of the calculation domain. To simplify the consideration, restrict ourselves to the two-dimensional Poisson equation.