Triggering methods

Are there any other triggering methods than Message control, Change pointer, user exit/ABAP Program for Workflow and which one is preferred?


    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This is an excellent question and one that I am asked often. To my knowledge, these are the mechanisms available in triggering workflows:

1. Manual - Call a function module to trigger the workflow (ie. SWW_WI_START_SIMPLE). It would be logical to say that there is less overhead using this method (ie. no writing to the event log) however I am yet to encounter a situation where I have chosen to manually start a workflow because of performance issues.

2. Raising an event - Raising a workflow event seems to be the most common way of triggering workflow. This approach follows the publish/subscribe paradigm and hence provides more flexibility then simply 'hard coding' the workflow that you want to kick off.

All the other workflow mechanisms end up utilizing one of the above approaches. They are:

Message Control - Uses workflow events and manual triggering. Message control is used more often in SD and MM applications

Change Document - Uses workflow events

Status Management - Uses workflow events

LIS (Logistics Information System) - Uses workflow events

I am sure this list is not exhaustive and that there are other mechanisms that I have not mentioned.

Regarding the second part of your question, I do not think that either is 'preferred'. It all depends on what your considerations are. If performance issues are a concern then perhaps the 'manual' approach is preferable else I would recommend using events due to the flexibility offered.


This was first published in August 2001

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.