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
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.