Question: what is the difference between bapi and function module in sap?
Answer: Function modules are cross-program, reusable procedures that are organized into function groups. Whereas BAPI's are the remote enabled Function modules which are defined in the Business Object Repository (BOR) as the methods of the business objects.