Skip to Content
Technical Articles
Author's profile photo Stefan Schnell

An Integration Scenario

I wrote a tutorial how to use FreeBASIC with SAP NetWeaver RFC library. You find part 1 – The Connection – here, part 2 – Client Apps (FreeBASIC uses SAP) – here and part 3 – Server Apps (SAP uses FreeBASC) – here. Based on part 3 I tried this integration scenario with ABAP in Eclipse and now here my experience.

The Strange Language

For the FreeBASIC language I use the Wordfile Editor plugin, which I presented here. At first I created my own syntax and highlighting scheme. Also I installed FreeBASIC 0.91 x64 and configured the fbc compiler in the tools menu of Eclipse. I created a general project with the source code file of the SAP server application and copied the x64 SAP NetWeaver RFC libraries in this project folder. Last but not least I compiled the source.


The Connection

Then I configured with the TAC SM59 the RFC interface in the SAP system and started the server application. Inside the TAC SM59 I take a RFC connection test, to see if its work correctly.


The ABAP program

In this case the ABAP program is very small.


The Result

After I started the ABAP program, it called the FreeBASIC function. This function opens a messagebox to tell that the call from the ABAP program has reached.


As you can see it is easy possible to develop a server application, with an external programming language, in a full integrated scenario with an SAP system via ABAP in Eclipse. It is not necessary to leave the IDE. All configurations, codings and tests can be done with ABAP in Eclipse. In this case FreeBASIC is only an example, you can use any language you like. ABAP in Eclipse opens the gate wide for this kind of integration.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.