Skip to Content

Try this five minutes tutorial and run your first JavaFX application calling a BAPI

1. Install JavaFX Eclipse plugin in your Developer Studio 7.1 .

2. Make the JavaFX HelloWorld tutorial

JavaFX BAPI Call Tutorial:
1. Reference JCO library
Click right button over helloworld proyect at Package Explorer, Properties, Java Build Path, Libraries, Add External JARs, search sapjco.jar in your Developer Studio plugins folder ( something like “C:\Program Files\SAP\IDE\IDE71\eclipse\plugins\\lib” )

2. Create a Java class with Backend Call
Click Right button over helloworld proyect at Package Explorer, New, Class, name: BAPICall, put this class code and change attributes to connect to your SAP system:

3. Create JavaFX main file
Create BAPICall.fx JavaFX file ( like in new JavaFX file creation in Helloworld tutorial ), put this code:

4. Set JavaFX class to run.
In main menu: Run, Run…, JavaFX application, HelloWorld JavaFX, Arguments, Program arguments, change “HelloWorld” to “BAPICall”, Apply and RUN!!!

5. Runtime:
You are going to call to BAPI_FLIGHT_GETLIST with an AirlineID filter.


JavaFX Reference

SAP JCo Client Programming Reference

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Former Member

    Everybody know that I’m not a Java fan…But this webblog really made my day -:D It seems fair easy to deploy an application…Very interesting…Hope I can try it one of these days -:)

    Got any interest on Flex development???



    1. Former Member Post author
      Sure Blag, I am studing Flex and others RIA platforms (like Microsoft Silverlight) too, JavaFX come like part of JDK 1.5 used in SAP NetWeaver 7.1, you don’t need other compiler, it’s inside!

Leave a Reply