09-19-2008 3:47 PM
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.
09-20-2008 6:58 AM
Can you trying checking if 'GET_WORKFLOW_ID' is initial or not, if not then call from workflow?
Enjoy SAP.
Pankaj Singh.
09-20-2008 6:58 AM
Can you trying checking if 'GET_WORKFLOW_ID' is initial or not, if not then call from workflow?
Enjoy SAP.
Pankaj Singh.