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.

Dig Deeper on SAP APIs

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close