<HTML><BODY>
<div>Thanks <SPAN class=correction id="">Kjetil</SPAN>! I am aware of the FM. Even with the FM, I would need a background step and end up with a <SPAN class=correction id="">workflow</SPAN> instance that starts and then ends. And as you mention no feedback to the user other than a mail notification.</div>


<div>&nbsp;</div>


<div style="CLEAR: both">Best Regards,<br>
<SPAN class=correction id="">Ramki</SPAN> <SPAN class=correction id="">Maley</SPAN>.</div>


<div>&nbsp;</div>
&nbsp;<br>
-----Original Message-----<br>
From: KJETILK@statoil.com<br>
To: sap-wug@mit.edu<br>
Sent: Wed, 24 Jan 2007 11:19 AM<br>
Subject: RE: <SPAN class=correction id="">GOS</SPAN> - Start <SPAN class=correction id="">Workflow</SPAN> only if not already started?<br>
<br>

<STYLE>
.AOLPlainTextBody {
    margin: 0px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 12px; 
    color: #000; 
    background-color: #fff; 
}

.AOLPlainTextBody pre {
    font-size: 9pt;
}

.AOLInlineAttachment {
    margin: 10px;
}

.AOLAttachmentHeader {
    font: 11px arial;
    border: 1px solid #7DA8D4;
    background: #F9F9F9;
}

.AOLAttachmentHeader .Title {
    font: 11px arial;
    background: #B5DDFA;
    padding: 3px 3px 3px 3px;
}

.AOLAttachmentHeader .FieldLabel {
    font: 11px arial; 
    color: #000000;
    padding: 1px 10px 1px 9px;
    background: #F9F9F9;
}

.AOLAttachmentHeader .FieldValue {
    font: 11px arial; 
    color: #000000;
    background: #F9F9F9;
}

.AOLAttachmentHeader a, .AOLImage a {
    color: #2864B4;
    text-decoration: none;
}

.AOLAttachmentHeader a:hover, .AOLImage a:hover {
    color: #2864B4;
    text-decoration: underline;
}

body {
    background-color: white;
    font-family: "Verdana";
    font-size: 10pt;
    border: 0px;
}

p {
    margin: 0px;
    padding: 0px;
}

img.managedImg {
    width: 0px;
    height: 0px;
}

img.placeholder {
    width: 275px;
    height: 206px;
    background: #F4F4F4 center center no-repeat;
    border: 1px solid #DADAD6 !important;  
}

</STYLE>


<div id=AOLMsgPart_3_125b19cf-8f7e-40c9-b55d-941a2cdda0ef>

<div dir=ltr align=left><SPAN class=757091516-24012007><FONT face=Arial color=#0000ff size=2>Of course. Function module SAP_WAPI_WORKITEMS_TO_OBJECT is always one of your best friends.</FONT></SPAN></div>


<div dir=ltr align=left><SPAN class=757091516-24012007><FONT face=Arial color=#0000ff size=2>Your main problem will be feedback to the user, who should be told why a <SPAN class=correction id="">workflow</SPAN> is not started.</FONT></SPAN></div>


<div align=left><FONT face=Arial size=2>

<div align=left><FONT face=Arial size=2>-- </FONT></div>


<div align=left><FONT face=Arial size=2><SPAN class=correction id="">Kjetil</SPAN> <SPAN class=correction id="">Kilhavn</SPAN>, Statoil OFT&nbsp;<SPAN class=correction id="">GBS</SPAN> BAS&nbsp;<SPAN class=correction id="">DEV</SPAN> SAP</FONT></div>


<div align=left>

<div align=left><FONT face=Arial size=2>

<div align=left>

<div align=left>

<div align=left><FONT face=Arial color=#0000ff size=2></FONT></FONT></div>
</div>
</div>
</div>
</FONT></div>
</div>
<br>

<BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">

<div class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu [<SPAN class=correction id="">mailto</SPAN>:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>workflow99@aol.com<br>
<B>Sent:</B> Wednesday, January 24, 2007 2:54 PM<br>
<B>To:</B> sap-wug@mit.edu<br>
<B>Subject:</B> <SPAN class=correction id="">GOS</SPAN> - Start <SPAN class=correction id="">Workflow</SPAN> only if not already started?<br>
</FONT><br>
</div>


<div></div>


<div>Hello friends,</div>


<div><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</div>


<div>Have a <SPAN class=correction id=""><SPAN class=correction id="">workflow</SPAN></SPAN> that is started by an event. Now, there is a&nbsp;need to allow the users to start&nbsp;the same&nbsp;<SPAN class=correction id=""><SPAN class=correction id="">Workflow</SPAN></SPAN> from <SPAN class=correction id=""><SPAN class=correction id="">GOS</SPAN></SPAN> as well. Is there any way to prevent the <SPAN class=correction id=""><SPAN class=correction id="">GOS</SPAN></SPAN> from starting the <SPAN class=correction id=""><SPAN class=correction id="">Workflow</SPAN></SPAN> if an incomplete&nbsp;<SPAN class=correction id=""><SPAN class=correction id="">workflow</SPAN></SPAN>&nbsp;instance exists for the object? User training is not an option ;)</div>


<div><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</div>


<div><SPAN class=correction id=""><SPAN class=correction id="">TIA</SPAN></SPAN>.</div>


<div>&nbsp;</div>


<div style="CLEAR: both">Best Regards,<br>
<SPAN class=correction id=""><SPAN class=correction id="">Ramki</SPAN></SPAN> <SPAN class=correction id=""><SPAN class=correction id="">Maley</SPAN></SPAN>.</div>


<div style="CLEAR: both">&nbsp;</div>


<div style="CLEAR: both">Cross posted in SAP-WUG &amp; <SPAN class=correction id="">SDN</SPAN>.</div>


<div class=AOLPromoFooter>
<HR style="MARGIN-TOP: 10px">
<A href="http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redir=http%3A%2F%2Fwww%2Eaol%2Ecom%2Fnewaol" target=_blank><B>Check out the new AOL</B></A>. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.<br>
</div>
</BLOCKQUOTE>

<div></div>


<div><FONT size=1>-------------------------------------------------------------------<br>
The information contained in this message may be CONFIDENTIAL and is<br>
intended for the addressee only. Any <SPAN class=correction id="">unauthorised</SPAN> use, dissemination of the<br>
information or copying of this message is prohibited. If you are not the<br>
addressee, please notify the sender immediately by return e-mail and delete<br>
this message.<br>
Thank you.</FONT> </div>
</div>
<!-- end of AOLMsgPart_3_125b19cf-8f7e-40c9-b55d-941a2cdda0ef -->

<div class=AOLPlainTextBody id=AOLMsgPart_4_125b19cf-8f7e-40c9-b55d-941a2cdda0ef><PRE><TT>_______________________________________________
SAP-WUG mailing list
<A href="mailto:SAP-WUG%40mit.edu">SAP-WUG@mit.edu</A>
<A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
</TT></PRE></div>
<!-- end of AOLMsgPart_4_125b19cf-8f7e-40c9-b55d-941a2cdda0ef --></BODY></HTML>