Function module MB_CREATE_GOODS_MOVEMENT cannot be executed
Tipo mensaje: M7 299
Diagnosis
The function module MB_CREATE_GOODS_MOVEMENT is called up for the second time. After it was called up the first time, the function module MB_POST_GOODS_MOVEMENT was called, but a COMMIT WORK was not carried out in the calling program.
As running the two function modules again would result in the database being incorrectly updated, processing is terminated. System Response Procedure Please ensure that a COMMIT WORK is set after you call up the function module MB_POST_GOODS_MOVEMENT.
According to the Diagnosis, it seems like that calling bapi in BAdi “MB_DOCUMENT_BADI” is not possible, because the migo have not finished. no commit work was carried out.
Consulta, has revisado si es un tema de lentitud del sistema?
Hay alguna validación o User-Exit implementado, por ejemplo, el escribir en una tabla Z y copiarse las anulaciones? (algunas empresas lo implementan)
Luego de un tiempo, has intentado ver el flujo de documentos para ver cual es su estado?