Skip to Content
0
Former Member
Sep 19, 2008 at 02:47 PM

How to determine call is from workflow

32 Views

Hello All,

I am developing a user exit to update a Z table when a vendor invoice is being posted. This has to be done only when the invoice is being posted manually and not through workflow.

I want to know if there is a way to find out if the 'Post' action has been triggered by Workflow or manually.

I know that I can do some checks on sy-tcode or sy-ucomm but I wanted to know if there is any FM which can determine if a particular application is called via workflow or not.

I tried using 'SWO_REQUESTER', 'GET_WORKFLOW_ID' but I am not sure what it returns in what case.

Please suggest.

Thanks in advance,

Archana.