Background task does not complete

Rickayzen, Alan alan.rickayzen at sap.com
Mon Oct 15 09:10:13 EDT 2001


Hi Cristy,
This sounds pretty cunning to me.
Did you find out what the most frequent reasons for BDC failure were?
 
Thank you,
Alan Rickayzen
 
-----Original Message-----
From: Cristy Calhoun [mailto:cristy_calhoun at yahoo.com]
Sent: 15 October 2001 14:53
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Background task does not complete
 
 
Hi Robin,
 
I used to have this problem all the time when I would
use a background step of a workflow to run a BDC.
Although the BDC would preform perfectly in the
background, the task would never complete.
 
To get around the problem, I would make the background
task asynchronous and use a terminating event.  Then
in the Function Module called by the object method
(not in the object method because it never goes back
there) I would evaluated the BDC run, If it ran
properly I would use swe_event_create to trigger a
success terminating event, otherwise I would trigger a
failure terminating event.
 
Hope this helps,
Cristy Calhoun
 
--- Robin Sahasranam <Rsahasranam at worldbank.org>
wrote:
> I have developed a workflow in 4.0B where the first
> step is a background task
> which executes a synchronous object method which
> calls a function. The function
> basically sets up some container elements. The
> problem that I am having is that
> the background step never completes. It remains in
> STARTED status. The workflow
> logs do not display any error. After a few hours I
> get the workflow error
> notification sent to WF Administrator.
>
> Everything is fine with the workflow, task, business
> object, method and
> function. None of them show any error and everything
> is generated properly. I
> can test the function outside workflow and it works
> fine.
>
> I would greatly appreciate any help you can in
> diagnosing and fixing this
> problem.
>
> Thanks.
>
> Robin Sahasranam
 
 
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
 


More information about the SAP-WUG mailing list