This is a continuation of Server Programming in JCo Part 2. In this post, I will deal with receiving and parsing the actual call from SAP.
In the previous post, the setup of the JCO.Server class was explained. To actually do anything with this class, we have to override the handleRequest() method. This method gets called when ever the SAP system with the proper credentials contacts your server.
In the handleRequest() function, There are 2 important tasks that are almost always included:
- Get the parameters for input, output, and table structures using the JCO.Function class
- Checking the function name to make sure the right code is run

