What is a BAPI, how is it different from an ordinary RFC-enabled function module, and how do you find the right standard BAPI?
Say your answer out loud first.
Practise another way
A BAPI is a method of an SAP business object type in the Business Object Repository, for example BAPI_SALESORDER_CREATEFROMDAT2 for SalesOrder. Technically it is an RFC-enabled function module, but it follows rules.
It has a stable released interface and no screens. It reports errors in a RETURN table instead of exceptions. It contains no COMMIT WORK, so the caller controls the transaction.
Every BAPI is remote-enabled; most remote-enabled modules are not BAPIs. I find BAPIs in transaction BAPI, the BAPI Explorer.
Definition SAP business objects in the Business Object Repository (BOR), for example SalesOrder or CostCenter, expose their processes through methods. A BAPI is such a method. Each one is implemented as a function module that:
- is remote-enabled, so other SAP systems and external programs can call it over RFC,
- is assigned as a method to a business object type in the BOR,
- runs without screen dialogs.
The BOR keeps BAPI interfaces stable: SAP may change the implementation, but extends interfaces compatibly and records the release in which a parameter appeared.
BAPI versus an ordinary RFC-enabled function module
| BAPI | Plain RFC module | |
|---|---|---|
| Interface | released, stable, documented | can change any time |
| Errors | RETURN table (BAPIRET2 style), no exceptions for business errors | anything the author chose |
| Commit | never commits; caller uses BAPI_TRANSACTION_COMMIT | may commit inside |
| Dialog | never | may send messages or screens |
| Business meaning | method of a business object | none required |
So the precise sentence is: all BAPIs are RFC-enabled function modules, not all RFC-enabled function modules are BAPIs.
Finding the right one
- Transaction BAPI (BAPI Explorer): browse by application component or alphabetically, open the business object, read parameters and documentation. By default it shows released BAPIs only.
- Business Object Builder SWO1 for the object model.
- Function module documentation in SE37: most BAPIs explain mandatory fields and give an example.
- Naming: BAPI_<object>_<method>, for example BAPI_PO_CREATE1, BAPI_GOODSMVT_CREATE.
Where BAPIs stand in 2026 In SAP S/4HANA on-premise and Private Edition, BAPIs are classic APIs: SAP nominates them in the Cloudification Repository as upgrade-stable. That puts code that uses them at clean core Level B (ATC priority 3).
They are not released for ABAP Cloud, so new ABAP Cloud code reaches them only through a wrapper. SAP S/4HANA Cloud Public Edition exposes a short fixed list of BAPIs, inbound only, through communication scenarios.
Defines a BAPI through the BOR, lists the conventions that make it a BAPI (stable interface, RETURN, no commit, no dialog) and names transaction BAPI.
Says 'BAPI and RFC are the same' or 'a BAPI is a faster BDC', and cannot say how to find one.
Saying RFC is a kind of BAPI. RFC is the protocol; a BAPI is a business-object method that happens to be implemented as a remote-enabled function module.
- Why does a BAPI not commit on its own?
- Which BAPI would you use to create a purchase order, and how did you find it?
- Can you call a BAPI directly from ABAP Cloud code?
- What does Level B mean for a program that calls BAPIs?
2 candidate write-ups, 5 official pages and 8 prep guides. Confidence: high. Checked 2 Dec 2026.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Candidate write-up Gives the question.
- Candidate write-up Gives the question.