Question: what is the difference between function module and bapi?
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.