Skip to Content
0
Former Member
Sep 27, 2005 at 07:42 AM

DI - Closing Global Transaction

16 Views

Hello everybody.

While working with global transaction, I noticed that if any <i>Add()</i> method of some object fails, then calling the <i>EndTransaction()</i> method (with <i>SAPbobsCOM.BoWfTransOpt</i> parameter set to <i>wf_RollBack</i>) will also fail. You will get the following exception :

ErrorCode="-1109"

Message="There is no active transaction in progress"

TargetSite="Void EndTransaction(SAPbobsCOM.BoWfTransOpt)"

This, I suspect, means that the rollback is done automatically when any(?) exception occurs and a global transaction is open.

Is that right?

Thanks for your feedback.

Cheers