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

How can we know whether a BAPI call is successful?

The answer lies in the standard 'Return' parameter that every BAPI should have, says expert Thomas Schuessler.

How can we know whether BAPI call is successful?
If no exception was thrown, then look at the standard 'Return' parameter that every BAPI should have. Mostly, this is a structure parameter. If field TYPE contains 'S' or an empty string then the BAPI call was okay. Note that sometimes the 'Return' parameter is a table, in which case you must check each table row for an error. If the table is totally empty, all is well.
This was last published in December 2003

Dig Deeper on SAP ABAP

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