Hi Athreya,
please check your customer developments, especially COMMIT WORK...
We had the same issue because of COMMIT WORK in BBP_DOC_CHANGE_BADI...
Please also check an ABAP call stack in ST22 - where the error comes from...
Best Regards
Konstantin