Use of workitem id field from SAP status window

Michael Pokraka workflow at quirky.me.uk
Fri Jan 24 09:50:20 EST 2003


A technique that works for background tasks (transactions called via
BCD) is to check SY-UNAME to see if it's WF-BATCH. Though I've a
suspicion I'm barking up the wrong tree here.
 
Would you mind letting us know what function module as I've also come
across this with online tasks.
 
Another way - if it's a custom transaction - is to populate a hidden
field via the use of parameter ID's (similar to previous suggestion).
 
Cheers
Mike
 
On Fri, Jan 24, 2003 at 02:39:04PM +0100, Van der Burg, Jeroen JA SITI-ITPSEE wrote:
> Thanks, but I need the info when a normal sap transaction is run, and the table is not available then.
>
> In the meantime some good old fashioned debugging did bring met to a function module that does seem to do the trick, so I keep my fingers crossed.
>
>
> Regards,
>
>
> Jeroen
>
> -----Original Message-----
>> From: Richard V Marut [mailto:rvmarut at earthlink.net]
> Sent: 24 January 2003 14:29
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Use of workitem id field from SAP status window
>
>
> Jeroen,
>
> Workflow has its own system table which is WFSYST. I'm almost positive
> that it's available at runtime even though I haven't used it in quite a
> while.
>
> Richard V Marut
> SAP R/3 Workflow Specialist
> The Consulting Highway, Inc
>
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Van der Burg, Jeroen JA SITI-ITPSEE
> Sent: Friday, January 24, 2003 7:07 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Use of workitem id field from SAP status window
>
> Hi all,
>
> When executing a workitem a status field with the workitem id is set and
> visable through menu option System -> status. Can anyone tell me how I
> can read the workitem id? As far as I can tell it is not from the SYST
> table. The help function on this field unfortunately does not seem to
> work in 46c.
>
> I want to check on this so I can easily distinguish between transactions
> started through workflow (should not trigger a new event) or
> transactions not started through workflow (which of course should!)
>
>
> Have a great weekend!
>
>
> Jeroen
 


More information about the SAP-WUG mailing list