Background task does not work, foreground task does work

Fred Lunaspa fredlunaspa at hotmail.com
Fri Apr 4 08:48:45 EST 2003


Hello,
 
We found out what is the problem: according to OSS note 381593 it is not
possible to use (some) Enjoy transactions (in Logistic Invoice Verification)
in batch input programs that run in the background.
 
Regards,
 
Fred Kouw
 
>From: Michael Pokraka <workflow at quirky.me.uk>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Background task does not work, foreground task does work
>Date: Thu, 3 Apr 2003 16:15:20 +0100
>
>Doh! I actually meant SM58 - as TRFC is one of those things that only
>happens when WF-BATCH gets involved.
>
>Cheers
>Mike
>
>On Thu, Apr 03, 2003 at 05:00:09PM +0200, Fred Lunaspa wrote:
> > Mike,
> >
> > Thanks for your reply!
> >
> > Via SM13 I checked that there are no update records (none today for all
> > users, all statusses and correct client selected). I also checked the
> > authorizations for WF-BATCH: SAP_ALL and SAP_NEW.
> >
> > Do you have another clue, we are really lost....
> >
> > Regards,
> >
> > Fred
> >
> > >From: Michael Pokraka <workflow at quirky.me.uk>
> > >Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
> > >To: SAP-WUG at MITVMA.MIT.EDU
> > >Subject: Re: Background task does not work, foreground task does work
> > >Date: Thu, 3 Apr 2003 15:31:44 +0100
> > >
> > >Hi,
> > >HAve a look at SM13, and check authorizations for the workflow
>background
> > >user.
> > >Cheers
> > >Mike
> > >
> > >On Thu, Apr 03, 2003 at 02:46:01PM +0200, Fred Lunaspa wrote:
> > >> Hello,
> > >>
> > >> We encountered the following problem:
> > >>
> > >> When updating the assignment in a parked invoice using a background
>task
> > >> (synchroneous) the task completes without having updated the invoice,
> > >BUT
> > >> when defining the task as a non-background task (also synchroneous)
>the
> > >task
> > >> updates the invoice. Also when starting the associated method using
>SWO1
> > >all
> > >> goes well.
> > >>
> > >> Do we need to program something special to make this work? We already
> > >tried
> > >> to solve this using an explicit 'commit work' in the code, but no
> > >success.
> > >>
> > >> Extra info: from our method we submit a batch input program.
> > >>
> > >> Regards,
> > >>
> > >> Fred Kouw
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> _________________________________________________________________
> > >> MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
> >
> >
> > _________________________________________________________________
> > MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
 
 
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
 


More information about the SAP-WUG mailing list