Skip to main content

SAP BAPI

8 commands. Toolkit id ooa.sap_bapi.

CommandWhat it does
CommitCommit the work of the BAPIs called in this session (BAPI_TRANSACTION_COMMIT), waiting for the update by default.
ConnectLog 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.
DisconnectEnd the SAP logon of the session (uncommitted work is not saved).
Find functionsFind remote-enabled functions and BAPIs by name pattern (* for any text) and function group, with their short descriptions.
Get function detailsList 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 tableRead 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 backUndo the work of the BAPIs called in this session since the last commit (BAPI_TRANSACTION_ROLLBACK).
Run BAPI / functionRun 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.