<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><p dir="ltr">Jeff,<br>
I implemented something similar, maybe it helps:<br>
- in the BO method called by the needed task we export to memory a flag<br>
- in the standard transaction an enhancement is implemented to check if the flag is set in memory and either deny execution outside workflow while a workflow is started or just log somewhere the user actions outside wf<br>
If this can be achieved with standard I would like to know also &#9786;</p>
<p dir="ltr">George Caramaliu<br>
ABAP/Workflow freelancer</p>
<p dir="ltr"><a href="https://overview.mail.yahoo.com/mobile/?.src=Android">Sent from Yahoo Mail on Android</a></p>
</td></tr></table>            <div id="_origMsg_">
                <div>
                    <br />
                    <div>
                        <div style="font-size:0.9em">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold">From:</span>
                            </b>
                            Jeff Rappaport &lt;Jeff@business-workflow.com&gt;;                            <br>
                            <b>
                                <span style="font-weight:bold">To:</span>
                            </b>
                            SAP Workflow Users' Group &lt;sap-wug@mit.edu&gt;;                                                                             <br>
                            <b>
                                <span style="font-weight:bold">Subject:</span>
                            </b>
                            Re: WF or Tranx Executed                            <br>
                            <b>
                                <span style="font-weight:bold">Sent:</span>
                            </b>
                            Tue, Jul 22, 2014 7:01:59 PM                            <br>
                        </div>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top">
<div dir="ltr">
<div style="FONT-SIZE:10pt;FONT-FAMILY:'Bookman Old Style';COLOR:#0000ff;">
<div>Hey Ed,</div>
<div> </div>
<div>   No, I’m not looking to see if a valid Dialog User executed it, 
I’m looking to see if the valid Agent executed the Tranx through WF (Inbox) or 
directly through the Tranx. I’m pretty sure I had a way to distinguish it some 
time ago just can’t remember.</div>
<div> </div>
<div style="FONT-SIZE:10pt;FONT-FAMILY:'Bookman Old Style';COLOR:#0000ff;"><br clear="none">Jeffrey 
A. Rappaport<br clear="none">Business Workflow Inc.<br clear="none">Voice: +1 (609) 301-8706<br clear="none">Fax: +1 
(866) 301-7666 <br clear="none">Email: Jeff@Business-Workflow.com<br clear="none">Web: 
www.Business-Workflow.com<br clear="none">Link: 
www.linkedin.com/in/businessworkflow<br clear="none"><br clear="none"><br clear="none">The information contained in 
this message may be privileged, confidential and protected from disclosure. If 
the Reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error and 
would like to be removed from any future mailings from this Sender, please hit 
&#39;Reply&#39; to this email with &quot;REMOVE&quot; in the Subject line.<br clear="none"><br clear="none"></div>
<div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline;">
<div style="FONT:10pt tahoma;">
<div> </div>
<div class="yqt8663788527" id="yqt01479"><div style="BACKGROUND:#f5f5f5;">
<div style=""><b>From:</b> <a rel="nofollow" shape="rect" title="edwarddiehl@hotmail.com" ymailto="mailto:edwarddiehl@hotmail.com" target="_blank" href="javascript:return">Edward Diehl</a> </div>
<div><b>Sent:</b> Tuesday, July 22, 2014 8:12 AM</div>
<div><b>To:</b> <a rel="nofollow" shape="rect" title="sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu" target="_blank" href="javascript:return">SAP 
Workflow Users&#39; Group</a> </div>
<div><b>Subject:</b> RE: WF or Tranx Executed</div></div></div></div>
<div class="yqt8663788527" id="yqt39391"><div> </div></div></div>
<div class="yqt8663788527" id="yqt54530"><div style="FONT-SIZE:small;FONT-FAMILY:'Calibri';FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;TEXT-DECORATION:none;DISPLAY:inline;">
<div dir="ltr"><font style="FONT-SIZE:16pt;" color="#000000" size="4" face="Garamond">Hi 
Jeff,<br clear="none">This is what we are using to filter how the workflow 
starts.<br clear="none"><br clear="none">Select single ustyp into initiator_type from usr02<br clear="none">where bname 
= wf_initiator+2.<br clear="none"><br clear="none">ustyp = A = dialog_user.<br clear="none"><br clear="none"><br clear="none" id="FontBreak"></font><br clear="none"><br clear="none"><font style="FONT-SIZE:12pt;"><strong><font color="#000000"><font style="FONT-SIZE:16pt;"><font face="Tahoma"><font style="FONT-SIZE:10pt;" size="2">Ed 
Diehl</font><br clear="none"></font></font></font></strong></font><font style="FONT-SIZE:12pt;" size="3"><font face="Tahoma"><span style="COLOR:rgb(0,0,0);"><em>&quot;Success consists of going from failure to failure 
without loss of enthusiasm.&quot;</em> </span><br clear="none"><br clear="none"></font></font><br clear="none"><br clear="none">
<div>
<hr id="stopSpelling">
From: Jeff@business-workflow.com<br clear="none">To: SAP-WUG@mit.edu<br clear="none">Subject: WF or Tranx 
Executed<br clear="none">Date: Mon, 21 Jul 2014 16:59:10 -0400<br clear="none"><br clear="none">
<div dir="ltr">
<div style="FONT-SIZE:10pt;FONT-FAMILY:'Bookman Old Style';COLOR:#0000ff;">
<div>All,</div>
<div> </div>
<div>   I’m drawing a complete blank since I did it so long ago. I’m 
trying to tell the difference on whether an FI Tranx was run direct through the 
Tranx or executed from within the WF calling that Tranx or FM. We’re trying to 
make sure it was executed by only a valid Agent from within the step.</div>
<div> </div>
<div>Thanx,</div>
<div style="FONT-SIZE:10pt;FONT-FAMILY:'Bookman Old Style';COLOR:#0000ff;"><br clear="none">Jeffrey 
A. Rappaport<br clear="none">Business Workflow Inc.<br clear="none">Voice: +1 (609) 301-8706<br clear="none">Fax: +1 
(866) 301-7666 <br clear="none">Email: Jeff@Business-Workflow.com<br clear="none">Web: 
www.Business-Workflow.com<br clear="none">Link: 
www.linkedin.com/in/businessworkflow<br clear="none"><br clear="none"><br clear="none">The information contained in 
this message may be privileged, confidential and protected from disclosure. If 
the Reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error and 
would like to be removed from any future mailings from this Sender, please hit 
&#39;Reply&#39; to this email with &quot;REMOVE&quot; in the Subject 
line.<br clear="none"><br clear="none"></div></div></div><br clear="none">_______________________________________________ 
SAP-WUG mailing list SAP-WUG@mit.edu 
http://mailman.mit.edu/mailman/listinfo/sap-wug</div></div>
<p>
</p><hr>
_______________________________________________<br clear="none">SAP-WUG mailing 
list<br clear="none">SAP-WUG@mit.edu<br clear="none">http://mailman.mit.edu/mailman/listinfo/sap-wug<br clear="none"></div></div></div></div></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>