Using the block operator matrix technique and generalized inverse of operator,when A is an idempotent,the suffcient and necessary conditions for the existence of positive solutions and real-positive solutions of the equation AX-XA*= B and the representations of those solutions are established.