Skip to main content

Posts

Showing posts from June, 2016

SAP - Java Application Development with Jco3 Connection

This is the post to explain the way of achieve the connection between non SAP Web application interacting with SAP backend RFC's through Jco3 connector. Mandatory Files: * sapjco3.jar (place in lib folder) * sapjco3.dll (required only windows based machine ,need to place under " C:\Windows\System32 " folder.) Required to download it from SAP market place with valid credentials,consider the version 32/64 bits depends on your work environment) Steps to connect SAP Backend: 1. Create a Stand alone/web application using any development tool. 2. Include jar and dll files in above specified folder 3. Create a connection class to connect backend with valid credentials 4. Create a service or consumer class with RFC call code to utilise the connection 5. Close the connection Make sure you have access and no firewall blocks for the SAP backend connection. Example Connection Code: sapConnect.java import com.sap.conn.jco.JCoDestination; import com.s...