Business Application Programming Interface (BAPI) is used in mySAP to achieve business related functionalities. It is a remote-enabled function module which is provided by SAP.