I am using FM HU_CREATE_GOODS_MOVEMENT to make a 311 movement. When I run it twice, the first is correct but in the second appears a DUMP.
I have solved it creating a simple report ZHU_CREATE_GOODS_MOVEMENT which just launch the FM. Then, in my program I submit it, and it works great so I think there is a problem with some internal variable of the FM.
I have tried to use:
CALL FUNCTION 'QAAT_HUMO_REFRESH'. CALL FUNCTION 'MB_MOVEMENTS_REFRESH'. CALL FUNCTION 'STATUS_BUFFER_REFRESH'. CALL FUNCTION 'HU_STATUS_REFRESH'. CALL FUNCTION 'DEQUEUE_ALL'.
But they didn't work.
Could you help me?