Q
Problem solve Get help with specific problems with your technologies, process and projects.

BAPIs with bad return codes

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?

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.


This was last published in April 2002

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close