11-17-2010 10:41 AM
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
11-17-2010 11:29 AM
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.
11-17-2010 11:29 AM
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.
11-17-2010 11:30 AM
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.
11-17-2010 12:23 PM