SQL Server 执行语句报556错误

有一个需求,需要将存储过程的结果集插入到临时表中,执行完后,报错556,不知道此错误应如何解决。
错误信息具体如下:

Msg 556, Level 16, State 3, Line 25
INSERT EXEC failed because the stored procedure altered the schema of the target table.

这是插入的代码:

insert into ##tmp
exec p_xxxxx