‎2008 Nov 04 7:23 PM
Hi Gurus,
we are using BAPI_GOODSMVT_CREATE to create Material document and to find out if there are any errors generated.
Earlier we are using BAPI_GOODSMVT_CREATE in simulate mode, but because it is not picking up some of the errors in Simulate mode, we are forced to use the BAPI is normal mode in order to find the errors.
We do not require the document number to be actually created so we are not using COMMIT statement after the BAPI call.
The problem here is after the BAPI executed, the material document number is getting generated and when we execute the BAPI again, the next material document number is getting created. we don't want the material document numbers to generate. Can't we stop generating the material document, if we don't want it to be?
Please let me know.
Thanks, Jaya.
‎2008 Nov 04 7:48 PM
Hi
That's not possible, u can only run the BAPI_GOODSMVT_CREATE in simulate way.
U should considere if you run the BAPI BAPI_GOODSMVT_CREATE in simulate way and any message is returned, it means there's no error.
Max
‎2008 Nov 04 7:59 PM
Yeah Earlier we were using the BAPI in simulate mode, but as I mentioned, It is not picking up some of the FI validation errors in Simulate mode, we are forced to use the BAPI is normal mode in order to find the errors in FI Validations.