We are in the process of implementing the SAP Business Connector for order create, inventory movements and physical inventory counts using BAPI's. If the BAPI has a bad return code, we want to send the transaction to workflow. Is there a function module that we call to get this work item started? Will it be started from the BAPI or the Business Connector? Any help you can provide would be much appreciated.
Glad you enjoyed the conference. I was just happy for an excuse to go to Vegas!
I discussed your question with a colleague of mine (thanks Craig!) If the BAPI is being called synchronously from the Business Connector then you should display the error message back to the User. This is not a preferable solution, as the BAPI will not always issue nice error messages that are easy to understand.
What would be preferable is for you to kick off an IDOC from the Business Connector. This would be an asynchronous approach. You could then configure SAP to kick off a Workflow that would process the IDOC. If any errors occur then an Item can be sent to an Administrator.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Continue Reading
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users. Continue Reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.