Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
The idea is to minimize the number of changes needed to support the case.
The old setup looks like this. The JDBC adapter connects to the SQL database.
We have created a small Java application that serves HTTP requests. That means we just need to replace the JDBC adapter with an HTTP adapter. This adapter then calls the JDBC Proxy with the JDBC XML. The proxy then interprets the XML and queries the database. The result is returned in a similar structure.
Security
We have decided to deploy the app on the SAP PI system. We, therefore, did not use SSL certificates for the connection between PI and the Proxy. If users have access to localhost it is anyway pretty easy to make changes to the host and traffic anyway. It is possible to add an SSL certificate with standard Spring.
For the Username and Password, we decided to save it in the SM59 connection. It is much easier to configure everything there and keep it safe.
Code
The solution is built on Spring.
You can find code, installation, and build guide on Github
We recommend using OpenJDK to run the application.
Limitations
Der er ikke udviklet et fuld database set svarende til hvad SAP PI normalt supportere. Der er kun de metoder der bliver benyttet på SSI.
SQL Select
SQL Query
The application has not been designed to handle a high volume of data. We had a few mostly SQL calls. If you end up with many concurrent calls there could be ways to improve the processing.
Lessons
It was possible to simply run the tool and deploy it pretty easily. We did have to make a few modifications to the SQL queries mostly because the data structures in the SQL database had been changed.
We spend 30 development hours on creating the proxy and deploy it. The process of developing the application to a bit longer than expected because it was difficult to test how the process worked and what kinds of errors we were getting.
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.