The following examples illustrate how BAPIs are called from different development platforms:
Calling BAPIs from Java
Calling BAPIs from Visual Basic
Calling BAPIs from ABAP