<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 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> </P>
<P>FYI.</P>
<P> </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> 1. Workflow for PS scenarios (Shai Eyal)<BR> 2. Cristiana D'Agosto/Australia/IBM is out of the office.<BR> (Cristiana D'Agosto)<BR> 3. Release management in SAP Loans<BR> (robert.van.den.berg@accenture.com)<BR> 4. Re: Workflow for PS scenarios (Aditya V)<BR> 5. Re: Workflow for PS scenarios (Aditya V)<BR> 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" <lalisan@gmail.com><BR>Subject: Re: Workflow for PS scenarios<BR>To: "SAP Workflow Users' Group" <sap-wug@mit.edu><BR>Message-ID:<BR> <cf1e515f0707300733u44f37f3fhd56be9da1b93bcad@mail.gmail.com><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> RAISE no_rectype.<BR><BR>ELSE.<BR><BR> IF SY-TCODE = 'FV50' .<BR><BR> RECTYPE = 'WSxxxxxxxx'.<BR><BR> ELSEIF SY-TCODE = 'FV60'.<BR><BR> RECTYPE =
'WSxxxxxxxx'.<BR><BR> ELSE.<BR><BR> RECTYPE = 'WSxxxxxxxx'.<BR><BR> ENDIF.<BR><BR>ENDIF.<BR>hope this helps........<BR><BR>Lalitha<BR><BR><BR>On 7/30/07, Shai Eyal <shai.eyal@yahoo.com> wrote:<BR>><BR>> Hi all,<BR>><BR>> I've created several workflow templates triggered for MLST_NETW.STARTED.<BR>> All work well. The issue is that not all WS's should start every time<BR>> MLST_NETW.STARTED is triggered. In fact, within the milestone parameters the<BR>> WS number is entered.<BR>> What I'm trying to do is create start condition to verify only the proper<BR>> WS is started., something like TaskID = &Workflow.Work item task&.<BR>><BR>> Where TaskID origins from event MLST_NETW.STARTED and &Workflow.Work item<BR>> task& from system
data.<BR>><BR>> Any idea ? BTW, any alternative solution will be highly appreciated.<BR>><BR>> Thanks in advance.<BR>><BR>><BR>><BR>> *Regards,<BR>> Shai Eyal*<BR>><BR>> *SAP Logistics senior consultant<BR>> SAP Workflow specialist<BR>> *<BR>><BR>> ------------------------------<BR>> Yahoo! Answers - Get better answers from someone who knows. Try it now<<A href="http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU" target=_blank>http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU</A>><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>-------------- 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>