在初始化创建容器语句之前加上如下代码就OK了
IF wa_container IS NOT INITIAL. CALL METHOD wa_container->free. CLEAR wa_container. ENDIF.