We comprehensively investigate the nontrivial states of interacting Bose system in one-dimensional optical superlattices under the open boundary condition. Our results show that there exists a kind of stable localized states: edge gap solitons. We argue that the states originate from the eigenstates of independent edge parabolas. In particular, the edge gap solitons exhibit a nonzero topological invariant. The topological nature is due to the connection of the present model to the quantized adiabatic particle transport problem. In addition, the composition relations between the gap solitons and the extend states under the open boundary condition are discussed.