We derive a recursion relation of the S-matrix for the open bosonic string by using the Witten string field theory. This relation is derived from a constraint equation analogous to the Virasoro constraints of the tau-function in the matrix model or topological gravity. This constraint equation may give the non-perturbative string S-matrix in non-trivial background fields.