material document given by BAPI_GOODSMVT_CREATE does not exist
i used the bapi to perform movement type 542 (used code 04), the bapi showed a mat doc no. However the doc no does not exist in the system. Any reasons why?. Since if any error occurred the doc no shouldn't have been displayed and the error would have been displayed in return table.
Are you doing a Commit after the BAPI call?
call function 'BAPI_TRANSACTION_COMMIT' exporting wait = 'X'.