Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Option for running a BAPI outside of SAP

Former Member
0 Kudos

Hi everyone

I'd like to call a BAPI from outside of SAP and am interested in what options there are to do this.

I believe that Delphi and PHP can be used. Are there any others?

Cheers

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can use a number of languages. The main thing is that you need the RFC library (librfc32.dll on Windows) to communicate with SAP. There are wrappers in Perl, Python, Ruby etc. If you have SAP GUI installed on Windows, you can even write VB scripts to call RFCs in SAP because of the COM-exposed functions.

(Remember that the term BAPI refers to Business API, which may not always represent a remote-enabled function module. What you want to do is call RFC function modules from outside SAP).

Google for "SAP RFC <language name>" to see if a specific language has the wrappers/bindings for calling SAP RFC function modules.

3 REPLIES 3

Former Member
0 Kudos

You can use a number of languages. The main thing is that you need the RFC library (librfc32.dll on Windows) to communicate with SAP. There are wrappers in Perl, Python, Ruby etc. If you have SAP GUI installed on Windows, you can even write VB scripts to call RFCs in SAP because of the COM-exposed functions.

(Remember that the term BAPI refers to Business API, which may not always represent a remote-enabled function module. What you want to do is call RFC function modules from outside SAP).

Google for "SAP RFC <language name>" to see if a specific language has the wrappers/bindings for calling SAP RFC function modules.

Former Member
0 Kudos

Oh yes, you can use Java as well using JCo (originally a third-party product bought out by SAP). It merely provides the bindings to the RFC shared library (dll). If you have a SAP Service Marketplace login, you can probably download it.

0 Kudos

Nice one - thanks very much for that. Much appreciated.