05-30-2008 3:07 PM
Hi,
In my program, I have two subrotines.
In both the subroutines, I have a BDC using call transaction.
Suppose the BDC in the second perform fails, then I want to ROLLBACK the previous BDC.
Please help. Points will be duely rewarded.
05-30-2008 3:10 PM
hi,
as far as I know there is no way to this. The only thing you can do is to do another CALL TRANSACTION and reverse the original posting. For example if the first CALL TRANSACTION was FB01 (Financial postings), than you have to do FB08 (Cancel financial posting).
hope this helps
ec
05-30-2008 3:10 PM
hi,
as far as I know there is no way to this. The only thing you can do is to do another CALL TRANSACTION and reverse the original posting. For example if the first CALL TRANSACTION was FB01 (Financial postings), than you have to do FB08 (Cancel financial posting).
hope this helps
ec
05-30-2008 3:10 PM
Not possible. Once the first BDC ends, it has been commited to the database and you can't roll it back anymore.
Greetings
Thomas
05-30-2008 3:10 PM
05-30-2008 3:56 PM
This is not possible in CALL TRANSACTION method since data would be committed to database once the bdc transaction is completed and you cant rollback from the database.
I would advice to use BAPI , if available instead of bdc since most of the BAPI's can be run in test or simulate mode and if there is no error in test mode, then run BAPI w/o test mode.
Cheers,
Vikram