sapdev logo background
sapdev logo sapdev logo

Applet to retrieve data from SAP(using JCo) and display it using Swing

The following code provides a simple example of how to create an applet which uses JCo to connect to SAP and retrieve data via a BAPI function module. It then displays the data in a simple dropdown menu using swing functionality. To implement this example simply copy the code for the following two class into a class(.java) file (i.e. within eclipse). Just follow links below for class code.

Java Class to create applet

Java class to retrieve data from sap

Java class to create Swing Application from SAP data retrieved

comments powered by Disqus