2006 Feb 14 7:35 PM
If you call BAPI_COMMIT twice on the same set of changes, does the second call also do a recommit?
Or once the first commit is done, there is nothing left to commit anymore and the second commit does essentially nothing? Thanks
yes exactly the second BAPI COMMIT does nothing its waste because it donot recommit.
Thanks,
Aditya
2006 Feb 14 7:39 PM
yes exactly the second BAPI COMMIT does nothing its waste because it donot recommit.
Thanks,
Aditya
2006 Feb 14 7:41 PM
Hi Saurabh,
I think second commit does nothing. But I have never tried this.
Lanka
2006 Feb 14 8:36 PM
2006 Feb 14 9:50 PM
If you use a second BAPI_COMMIT the only you're going to get....it's a waste of time...Because if the first BAPI_COMMIT works fine...the second got nothing to do...and if the first fails...the second is going to fail to -;)
Greetings,
Blag.
2006 Feb 14 9:56 PM
Thanks guys. The reason I ask this is we have a function module (Z_DOC_CREATE) which creates a contract object document and does a commit. I also do a commit after I have called the function module. For some reason, I am getting two documents posted in certain scenarios instead of one and the amount is pretty random. And If I comment out my BAPI COMMIT call, then no document gets posted.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |