Skip to Content
0
Former Member
Nov 17, 2012 at 09:05 AM

CRM Order Maintain not working all the times in a backround task

142 Views

Hi Experts,

I am facing a strange issue. In my workflow, I have a background task which updates a field in crmd_customer_h using the crm_order_maintain function module.

I am using the combination of crm_order_maintain --> crm_order_save -->bapi_transaction_commit.

Now this is not working all the times. In some cases, this background task is going to "In Process" state and stays in that state indefinitely.

There are no error messages in the workflow log or in ST22. In the workflow log in the workflow header level, only this error message comes up

Message Text - "Execution interrupted" Area -SWF_RUN Message- 611

However when I execute these "In Process" work items from SWPC they are executed successfully.

Please note that I am using a class method in my back ground task which updates the custom field.

It would be very helpful if you can provide me some pointers to fix this problem.

Thanks,

Samrat..