on 12-01-2008 10:31 AM
Hi all,
I am Harinathan
I'm SAP fresher. I got SAP ERP 6 server running in one machine.
And want to connect to that server using JAVA program.
I already got JCo 3.
Please, let me know how to connect and give me some examples.
thanks in advanced
Hi,
i'm not at work any more so I can't have a look into the samples right now. But I already had them working.
Note that there are several connections-properties in the code as the stepbystep-client demonstrates different connection-methods. a full-text-search vor binmain may help.
Last but not least check the source-folder if there are any files that look like a connection-property file.
regards,
michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As part of the JCo jar you will be able to see some samples to start.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I already try that example, but it throws the following error.
"hostname binmain unknown"
but, i dont use "binmain" any where in my program. please see below
connectProperties.setProperty(DestinationDataProvider.JCO_MSHOST, "192.168.1.50");
connectProperties.setProperty(DestinationDataProvider.JCO_R3NAME, "BIN");
connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "500");
connectProperties.setProperty(DestinationDataProvider.JCO_USER, "Hari");
connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "123abc");
connectProperties.setProperty(DestinationDataProvider.JCO_GROUP, "PUBLIC");
connectProperties.setProperty(DestinationDataProvider.JCO_LANG, "en");
regards
Harinathan
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.