Skip to Content
author's profile photo Former Member
Former Member

Same standard BO and event for different workflows

Hi All,

I am working on Profit center master MDM workflow and Cost center master MDM workflow.

SAP has provided solution for both these workflow with same templete WS75700040 and BO used is BUS2250 event CREATE.

Now am supposed to create different templete for Profit center and Cost center master workflow.

I have created distinct templete for both of these WF and used same bo BUS2250 event CREATE for triggering both workflow from standard transaction.

My query is how can I ensure only Profit center workflow is triggered when profit center request is created and Cost center workflow not triggered.

Ie bothworkflows not triggered simultaneously.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2011 at 01:32 PM

    Hi,

    Please view the below link for Check Function Module.

    http://www.genipole.com/tutorials/2-using-check-function-module-in-workflow/

    To ensure only Profit center workflow is triggered when profit center request is created and Cost center workflow not triggered.

    you need to use Check Fucntion Module and in that FM you have to pass the event container where all the with that object will be there to identify seperately.

    Thanks and regards,

    SNJY

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2011 at 12:26 PM

    Hi,

    You have two options

    1. Make use of start conditions in the basic data of the workflow template. You can define this start condition where you mention the Start events of the workflow. Or make use of transaction SWD_COND transaction to define a start condition for a workflow

    2. Make use of the Check function module the primary use of this function module is to check the event and raise the exception so that you stop the workflow before gogin into the start events of the workflow.

    Search in the function group SWE_TEMPALTE you can find the sample check function module this check function module needs to be included in the SWE2 event linkage transaction.

    Regards

    Pavan

    Edited by: Pavan Bhamidipati on Nov 21, 2011 5:57 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.