<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Dear Lalitha,</DIV>
<DIV>There's seems to be standard solution to this problem. All you have to do&nbsp;is properly customize SWETYPV:</DIV>
<OL>
<LI>Deactivate all event linkage where Reciever Type is specified.</LI>
<LI>Activate the single record for MLST_NETW.START where Reciever Type is <U>not</U> specified.</LI></OL>
<P>That's all.</P>
<P>&nbsp;</P>
<P>FYI.</P>
<P>&nbsp;</P>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist<BR></STRONG></FONT><BR><BR><BR>Today's Topics:<BR><BR>&nbsp;&nbsp; 1. Workflow for PS scenarios (Shai Eyal)<BR>&nbsp;&nbsp; 2. Cristiana D'Agosto/Australia/IBM is out of the office.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Cristiana D'Agosto)<BR>&nbsp;&nbsp; 3. Release management in SAP Loans<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(robert.van.den.berg@accenture.com)<BR>&nbsp;&nbsp; 4. Re: Workflow for PS scenarios (Aditya V)<BR>&nbsp;&nbsp; 5. Re: Workflow for PS scenarios (Aditya V)<BR>&nbsp;&nbsp; 6. Re: Workflow for PS scenarios (Lalitha Sankaran)<BR><BR><BR>----------------------------------------------------------------------<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/551322c2/attachment-0001.htm"
 target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/551322c2/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 6<BR>Date: Mon, 30 Jul 2007 10:33:08 -0400<BR>From: "Lalitha Sankaran" &lt;lalisan@gmail.com&gt;<BR>Subject: Re: Workflow for PS scenarios<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;cf1e515f0707300733u44f37f3fhd56be9da1b93bcad@mail.gmail.com&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hi Shai,<BR><BR>Your can add your logic to determine the right receiver type (workflow<BR>template) can be added in "Receiver Type function module "<BR>and this can be assigned to the event linkage.<BR><BR>if you double click on your wf template in SWETYPV (or details) you will see<BR>the option for a "Receiver Type function module ",<BR>you can put in you custom FM here.<BR><BR>Import/Export parameters.<BR><BR>*"*"Local
 interface:<BR><BR>*" IMPORTING<BR><BR>*" VALUE(OBJTYPE) LIKE SWETYPECOU-OBJTYPE<BR><BR>*" VALUE(OBJKEY) LIKE SWEINSTCOU-OBJKEY<BR><BR>*" VALUE(EVENT) LIKE SWETYPECOU-EVENT<BR><BR>*" EXPORTING<BR><BR>*" VALUE(RECTYPE) LIKE SWETYPECOU-RECTYPE<BR><BR>*" TABLES<BR><BR>*" EVENT_CONTAINER STRUCTURE SWCONT<BR><BR>*" EXCEPTIONS<BR><BR>*" NO_RECTYPE<BR><BR>your logic can be something like this<BR>* No object key is blank raise exception<BR><BR>IF objkey IS INITIAL.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RAISE no_rectype.<BR><BR>ELSE.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF SY-TCODE = 'FV50' .<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RECTYPE = 'WSxxxxxxxx'.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF SY-TCODE = 'FV60'.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RECTYPE =
 'WSxxxxxxxx'.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSE.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RECTYPE = 'WSxxxxxxxx'.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ENDIF.<BR><BR>ENDIF.<BR>hope this helps........<BR><BR>Lalitha<BR><BR><BR>On 7/30/07, Shai Eyal &lt;shai.eyal@yahoo.com&gt; wrote:<BR>&gt;<BR>&gt;&nbsp;&nbsp; Hi all,<BR>&gt;<BR>&gt; I've created several workflow templates triggered for MLST_NETW.STARTED.<BR>&gt; All work well. The issue is that not all WS's should start every time<BR>&gt; MLST_NETW.STARTED is triggered. In fact, within the milestone parameters the<BR>&gt; WS number is entered.<BR>&gt; What I'm trying to do is create start condition to verify only the proper<BR>&gt; WS is started., something like TaskID = &amp;Workflow.Work item task&amp;.<BR>&gt;<BR>&gt; Where TaskID origins from event MLST_NETW.STARTED and &amp;Workflow.Work item<BR>&gt; task&amp; from system
 data.<BR>&gt;<BR>&gt; Any idea ? BTW, any alternative solution will be highly appreciated.<BR>&gt;<BR>&gt; Thanks in advance.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; *Regards,<BR>&gt; Shai Eyal*<BR>&gt;<BR>&gt; *SAP Logistics senior consultant<BR>&gt; SAP Workflow specialist<BR>&gt; *<BR>&gt;<BR>&gt; ------------------------------<BR>&gt; Yahoo! Answers - Get better answers from someone who knows. Try it now&lt;<A href="http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU" target=_blank>http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU</A>&gt;<BR>&gt; .<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR>&gt;<BR>-------------- next part --------------<BR>An HTML
 attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/5dc535d8/attachment.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/5dc535d8/attachment.htm</A><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR>End of SAP-WUG Digest, Vol 32, Issue 65<BR>***************************************</P><BR></div><br>


      <hr size=1> 
Yahoo! Mail is the world's favourite email. Don't settle for less, <a
href="http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html">sign up for your free
account today</a>.</body></html>