Skip to Content
0
Jun 12, 2009 at 06:15 AM

User WF_BATCH dumps with TIME_OUT for a background task

167 Views

Hello,

Situation :

While executing a workflow with a task defined as background task, the workflow creates a dump in ST22 after around 40 minutes. dump is because of TIME_OUT exception. And the workflow stays in status InProcess forever.

Question:

In my opinion background tasks do not have a time limit because they are executed as backgound batch jobs with batch user WF_BATCH. Then why do I get a TIME_OUT error ?

Is my assumption that workflow background task are just handled like other background jobs (sm36) is wrong ?

More Details :

I have a workflow with a task defined as background task (Task -> Basic Data -> Execution -> Check box 'Background processing' selected).

This task calls a method defined as 'Synchronous' method.

This method calls a ABAP FM having a select statement which selects large volume of Data.

If I execute this FM in Dialog mode definately I get a TIME_OUT. I understand this.

But what I do not understand is , while executing in background I do not expect TIME_OUT error since background jobs do not have a time limit. They can even run for several days.

Please let me know in what cases does a background job throws a time_out exception.esp wrt workflow.

Thanks in Advance

Shivanand