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

SearchERP
SearchOracle
SearchDataManagement
SearchAWS
SearchBusinessAnalytics
SearchContentManagement
SearchHRSoftware
Close