Check if tran being called by Workflow
phillips, tim
tim.phillips at SERuk.com
Thu Jan 31 10:58:02 EST 2002
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