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.
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 DirectorGlad 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.
This was first published in April 2002