‎2015 Jul 13 4:37 PM
Hi All,
Some third party(company) has to access our SAP system from their Java tool. I have created SAP user ID(User type: system) and password with required authorizations. Which data i need to get from the third party to allow them to connect to SAP system and how to configure it in the SAP system?
Thanks in advance,
NarsiReddy.
‎2015 Jul 13 4:44 PM
Hi
TO allow them to connect to SAP system you have to configure out an RFC in SAP.
From SM59 create new HTTP Connection to External Service
Connection type G
You need to enter Host IP , Port and Context Root.
Click on SAVE and get message.
After go on Logon and Security and set basic authentication with your USER ID created..
Click on SAVE and after test your connection.
That's all I suppose.
Hope to help
‎2015 Jul 13 5:01 PM
Hi Roberto Vacca,
Host IP , Port and Context Root should i get these details from third party who are using Java tool or these parameters belongs to my SAP system?
Thanks & regards,
NarsiReddy.
‎2015 Jul 13 5:49 PM
Hi.
The Java tool connect to a service I suppose that is running on a machine-server I suppose.
You've got to know the IP of this machine and the main context root.
Hope to help.
‎2015 Jul 14 9:34 AM
Hi Roberto Vacca,
Thank you for your reply,
So what port number do i need to give for the RFC connection? For allowing the third party to connect with my SAP system i just need to create the RFC connection and it is done from my side? Is this right?
So from the third party side, what they should do? can you please share your ideas on this? I have read some threads that they should install JCO connector, is this right and how to do so?
Thanks & regards,
NarsiReddy.
‎2015 Jul 14 10:11 AM
Hi
If you want to call a directly a RFC yes they need to install SAP connector for Java,
but if it can use the Web Service, they didn't it
Max
‎2015 Jul 14 10:18 AM
Hi Max,
So for establishing a connection between SAP and Java tool, In SAP is it enough if i create a RFC connection in SM59 or do i need to do something else? It is an inbound connection, Java tool calls the SAP.
Thanks in advance,
regards,
NarsiReddy
‎2015 Jul 14 11:35 AM
Hi
I'm not a BASIS but I suppose the problem is the server where your Java solution is has to see SAP, so I don't know (but I don't believe it) if it needs to set the configuration in SM59.
It needs to download the SAP Connector for Java (in your Java solution) in order to link to SAP and call a RFC
But It's also possible to generate a web service based on a RFC, in this case you should't need SAP Connector, but only the web service address, wsdl.
Max
‎2015 Jul 14 11:56 AM
Hi.
YOu've only to test your connection RFC destination and your work is done.
Pay attention to user privilegies you've entered (profiles SAP_ALL, etc)
In your case we're talking about Inbound Calls (Java=> Abap).
By using a component called Java Connector JCO, your third party(company) can call an RFC from the R/3 system. They'll use the JCO.Class library
IN RFC setup from SM59:
Target Hos is the host you want to connect to, for example pw0123.sap.com
Service No.: (Http or Https Port) for Http : 5<system_number>00
for Https: 5<system_number>01
example 50001
The port to a J2EE system has always this mask 5<sys_num>00
Path Prefix (sometime you can ignore it) /rep
Hope to help
Bye