Using failed BDCs as triggers for workflow

Using failed BDCs as triggers for workflow

We are on 3.1H. I have a workflow related question. There's a program which does a simple BDC to create condition records, this happens in background. Now is there a way to tie a w/f task/step to this, so that when the BDC fails, the w/f is triggered and an work flow item is created in the user's workflow inbox? This then the user can process to check the error?


    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.

I do believe that BDC's are the devil's tool! I find them so unreliable and very prone to upgrade issues. I know that they are quick to implement but they are just so high maintenance. OK, I feel better now!

You would need to manually kick off the Workflow after checking the Messages internal table which is returned from the Call Transaction. You can use Function Module SWW_WI_START_SIMPLE to kick off the Workflow.


This was first published in April 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

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