SAP BAPI
8 commands. Toolkit id ooa.sap_bapi.
| Command | What it does |
|---|---|
| Commit | Commit the work of the BAPIs called in this session (BAPI_TRANSACTION_COMMIT), waiting for the update by default. |
| Connect | Log on to an SAP system through SAP JCo (application server or message server with a logon group, optional SAP router and SNC) and keep the logon for the following steps. |
| Disconnect | End the SAP logon of the session (uncommitted work is not saved). |
| Find functions | Find remote-enabled functions and BAPIs by name pattern (* for any text) and function group, with their short descriptions. |
| Get function details | List the parameters of a BAPI or function module (direction, type, optional, description and the fields of structures and tables), to see what to fill in. |
| Read table | Read rows of an SAP table or view with RFC_READ_TABLE: chosen fields, a WHERE condition in ABAP syntax and a row limit; values come back as text. |
| Roll back | Undo the work of the BAPIs called in this session since the last commit (BAPI_TRANSACTION_ROLLBACK). |
| Run BAPI / function | Run a BAPI or remote-enabled function module with import values (structures as dictionaries) and table rows; returns exports, tables, changing values and the RETURN messages. Fails on error messages (type E or A) unless told otherwise. |