Skip to Content
0
Former Member
Aug 24, 2007 at 05:44 AM

No Active Transaction in Progress

98 Views

Hi,

We are working on SAP2005 patch27. We developed an application with earlier patches of SAP2005.

In a Method we are calling like this

Pcompany.StartTransaction

try

Some Codes inside

If Pcompany.InTransaction

pCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)

End if

Catch

If Pcompany.InTransaction

pCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Rollback)

End if

The above code worked in earlier patches. In this Patch it is not working.

When We check the transaction is still active by this statement "Pcompany.InTransaction" it says it is true. But when we try to execute the next line " pCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)

" We are getting an error "No Active Transaction in Progress".

If we use "pCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Rollback)"

No Errors are coming up.

Please help me on this.

Thanks in Advance

Madhu

End try