Application to retrieve data from SAP(using JCo) and display it using Swing
The links to the following JAVA code provides a simple example of how JCo can be used 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 retrieve data from SAP
Use Java to retrieve data from SAP and create instance of a swing application to display it
Swing Application Class
Displays array of material numbers as drop down box
Related Articles
Example JCo code to call SAP function module
Call an SAP function module and display data in a swing application
Applet to retrieve data from SAP(using JCo) and display it using Swing
Example Java code to create Applet
Example JCo code to call SAP function module
Java class to create Swing Application from Array of data
Example JCo code to call SAP function module
Example Swing code to display list of material numbers