AW: Check if tran being called by Workflow

Uebelacker Jochen (extern) Jochen.Uebelacker at erln.gepas.de
Thu Jan 31 11:17:43 EST 2002


Another possibilty:
 
Define your own method.=20
Set a flag with parameter id, before you do "CALL TRANSACTION".
Subsequently in the user-exit, get the parameter id and see, if the =
flag is
set.
 
Regards=20
Jochen
 
 
 
-----Urspr=FCngliche Nachricht-----
Von: phillips, tim [mailto:tim.phillips at SERuk.com]
Gesendet am: Donnerstag, 31. Januar 2002 16:58
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: Check if tran being called by Workflow
 
Brad wrote:
 
[snip]
 
> Brad:
> I looked at the system fields (SYST) to see if there was any field
> I can use to let me know if the transaction was being called within
> workflow.  The only one that seemed to stand out to me was SY-CALLD:
> within workflow it's "X" and outside of workflow it's blank.
> This seems to work but I thought I'd ask you workflow experts to
> see if there's any problems with how I'm doing this or if there's a
> better way.
 
Timbo:
As far as I know,
that's a secure method for determining workflow.
 
Looking through some SAP standard code,
I note that function module 'SWO_QUERY_REQUESTER'
will help you determine the same thing.
 
Regards,
 


More information about the SAP-WUG mailing list