A multicomponent alternating direction finite difference scheme for solving the wave equation with several variables is considered. Its stability and convergence are investigated in the case when the solution of the initial-boundary value problem belongs to a Sobolev space.