‎2007 Sep 27 9:45 AM
Hello all,
Ive a little problem. It seams that I dont understand how commit work command works. When Im calling transaction with USING parameter:
CALL TRANSACTION 'FPSA' USING itab_bdcdata.
When inside of that transaction Commit works occur, than commit is being executed and transaction is ending which is not good, because there is still code left that should be executed.
When I run transaction without USING
CALL TRANSACTION 'FPSA'
Everything works fine. Ive tried using UPDATE addition in CALL FUNCTION, but without result. Does anybody know what is the problem?
‎2007 Sep 27 10:32 AM
This is meant to work exactly as you described:
A transaction called with CALL TRANSACTION USING returns right after COMMIT occurs - if you don't provide any additional options.
There is a way to make such transaction continue with the code after the commit. You just have to use "OPTIONS FROM" addition of the "CALL TRANSACTION" statement - parameter RACOMMIT.
For more information put the cursor on CALL TRANSACTION statement in your abap code and press F1.
regards
good luck
‎2007 Sep 27 10:06 AM
Hi,
I had a similar error. When I called perform or a call transaction and after that code I called commit works, nothing works.
I must use commit and rollback work in the same block of code, and everything works fine. So I think that for a correct use, all code must be inside the same code block for working properly.
‎2007 Sep 27 10:32 AM
This is meant to work exactly as you described:
A transaction called with CALL TRANSACTION USING returns right after COMMIT occurs - if you don't provide any additional options.
There is a way to make such transaction continue with the code after the commit. You just have to use "OPTIONS FROM" addition of the "CALL TRANSACTION" statement - parameter RACOMMIT.
For more information put the cursor on CALL TRANSACTION statement in your abap code and press F1.
regards
good luck
‎2007 Sep 27 12:27 PM