Workflow for PS scenarios

Shai Eyal shai.eyal at yahoo.com
Mon Aug 6 08:59:16 EDT 2007


Dear Lalitha,
There's seems to be standard solution to this problem. All you have to do is properly customize SWETYPV:
Deactivate all event linkage where Reciever Type is specified.
Activate the single record for MLST_NETW.START where Reciever Type is not specified.
That's all.

FYI.

Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist



Today's Topics:

   1. Workflow for PS scenarios (Shai Eyal)
   2. Cristiana D'Agosto/Australia/IBM is out of the office.
      (Cristiana D'Agosto)
   3. Release management in SAP Loans
      (robert.van.den.berg at accenture.com)
   4. Re: Workflow for PS scenarios (Aditya V)
   5. Re: Workflow for PS scenarios (Aditya V)
   6. Re: Workflow for PS scenarios (Lalitha Sankaran)


----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/551322c2/attachment-0001.htm

------------------------------

Message: 6
Date: Mon, 30 Jul 2007 10:33:08 -0400
From: "Lalitha Sankaran" <lalisan at gmail.com>
Subject: Re: Workflow for PS scenarios
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
    <cf1e515f0707300733u44f37f3fhd56be9da1b93bcad at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Shai,

Your can add your logic to determine the right receiver type (workflow
template) can be added in "Receiver Type function module "
and this can be assigned to the event linkage.

if you double click on your wf template in SWETYPV (or details) you will see
the option for a "Receiver Type function module ",
you can put in you custom FM here.

Import/Export parameters.

*"*"Local interface:

*" IMPORTING

*" VALUE(OBJTYPE) LIKE SWETYPECOU-OBJTYPE

*" VALUE(OBJKEY) LIKE SWEINSTCOU-OBJKEY

*" VALUE(EVENT) LIKE SWETYPECOU-EVENT

*" EXPORTING

*" VALUE(RECTYPE) LIKE SWETYPECOU-RECTYPE

*" TABLES

*" EVENT_CONTAINER STRUCTURE SWCONT

*" EXCEPTIONS

*" NO_RECTYPE

your logic can be something like this
* No object key is blank raise exception

IF objkey IS INITIAL.

      RAISE no_rectype.

ELSE.

       IF SY-TCODE = 'FV50' .

            RECTYPE = 'WSxxxxxxxx'.

        ELSEIF SY-TCODE = 'FV60'.

          RECTYPE = 'WSxxxxxxxx'.

        ELSE.

          RECTYPE = 'WSxxxxxxxx'.

        ENDIF.

ENDIF.
hope this helps........

Lalitha


On 7/30/07, Shai Eyal <shai.eyal at yahoo.com> wrote:
>
>   Hi all,
>
> I've created several workflow templates triggered for MLST_NETW.STARTED.
> All work well. The issue is that not all WS's should start every time
> MLST_NETW.STARTED is triggered. In fact, within the milestone parameters the
> WS number is entered.
> What I'm trying to do is create start condition to verify only the proper
> WS is started., something like TaskID = &Workflow.Work item task&.
>
> Where TaskID origins from event MLST_NETW.STARTED and &Workflow.Work item
> task& from system data.
>
> Any idea ? BTW, any alternative solution will be highly appreciated.
>
> Thanks in advance.
>
>
>
> *Regards,
> Shai Eyal*
>
> *SAP Logistics senior consultant
> SAP Workflow specialist
> *
>
> ------------------------------
> Yahoo! Answers - Get better answers from someone who knows. Try it now<http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU>
> .
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070730/5dc535d8/attachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 32, Issue 65
***************************************


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070806/65ef0665/attachment.htm


More information about the SAP-WUG mailing list