- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Using SAP JCO to connect SAP server to JAVA application
I would suggest you to use below instead of JCO_AHOST and JCO_SYSNR:
Use JCO_R3NAME with system ID of the target host
Use JCO_MSHOST with message server host name or IP address
Use JCO_MSSERV with message server port number
Use JCO_GROUP with the name of the logon group
You can refer to below link to check a working example:
https://sourceforge.net/p/rcer/git/ci/master/tree/net.sf.rcer.conn
Advertisements