on 08-19-2009 1:42 PM
Hello everyone,
i am trying to access the SAP-System via an ETL-Tool called talend.
talend utilizes the jco-Connector, to access data via RFCs.
Everytime i try to connect to the sap-system i get the Jco Error "(102) RFC_ERROR_COMMUNICATION: Connect from SAP Gateway to RFC-Server failed".
I searched these forums and found many "Connect to SAP Gateway failed" Threads but no "Connect from SAP Gateway to RFC-Server failed".
In other words: i can access the SAP-Gateway but it seems i don't get a connection to the RFC-Server from there.
I have SAP-GUI installed on that client and it works fine.
What could be the cause?
Hi Tanja,
would be helpful if you really post the COMPLETE error message and don't strip the most interesting part with the ERRNO and ERRNO TEXT. You certainly may anonymize your hostnames/addresses.
If your application is not showing the full error text, please have a look into the RFC error log file dev_rfc.trc or dev_jrfc.trc in your current working directory. It is logged there, too.
For example it might be that your gateway host cannot resolve the "targetserver" hostname.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanja Wiemann,
I have faced the problem before in ou SAP System, it always appear "SAP Gateway Error".
Would you please inform me how many remote gateway still active in your system.
You can check it with tcode SMGW > Goto > Remote Gateways
If your remote gateway are many, just delete it and run your application afterward.
This way work for me to solve about RFC matter.
Hope it helpfull. Thank you.
Cheers,
AR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello,
i have been trying to connect saprfc with php, php seems to be working fine and the module saprfc likewise, but i cannot connect using the saprfc_test.php. Can anybody tell me any other way to solve this, am using xampp 1.7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Tanja Wiemann,
if u had still in problem with jco connection ask me
now we are working on this sap-java interfacing using JCO
working fine if you had any issues ask me
if passble i can help u.
reagrds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi tanja,
looking u r problem,
i been surfed int google
what i found is [LINK|http://www.road2biz.com/lang-en/sobre-nos/noticias/1-news/64-talend-disponibiliza-versao-30-com-suporte-para-solucoes-sap.html]
Talend announces version 3.0 with SAP Support
for this we need to install the jco for this one
which version of jco's are using like 2 or 3
let me know
ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, look if you have the latest version of Talend Open Studio. Then, check if you have the right compoment for SAP. Also check the Talend component page here: http://www.talendforge.org/components/index.php .
Tell us if it works,
Good programming.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply.
sapgw02 3302/tcp was already part of the services-file (we are using system-number 02).
1. RFC settings are identical from ODB and NDB.
What does ODB and NDB mean and where can i review the RFC settings?
2. syntax of logon groups
What do you mean by syntax?
3. syntax of security and connection information in JCO connection
If you mean the logon paramters like server-name, system-nr. and so on: they are right.
4. IP addresses and ports were NATed correctly
i tried "telnet targetserver sapgw02" and "telnet targetserver 3302". both returned an empty cmd-window. as far as i know, that means the connection was succesful and i can reach the ports.
I am trying to get information about this right now, but the thing is: I can reach the SAP Gateway but not the RFC-Server. So half of the way seems to be ok, because otherwise i would get a "SAP-Gateway not reached" error (which i get if i use the wrong server name for example)
@Tgouru: I am using TOS 3.1.1 because the SAP-components in 3.1.3 don't work the way i like.
I can extract data from the SAP-Testsystem (which is a completely different network) with TOS 3.1.1.
PS: a morde detailed error-text:
Exception in Component tSAPInput_1
com.sap.mw.jco.JCO$Exception (102) RFC_ERROR_COMMUNICATION: Connect
from SAP gateway to RFC-Server failed.
Connect_PM GWHOST=targetserver, GWSERV=sapgw02,
ASHOST=targetserver, SYSNR=02
LOCATION SAP-Gateway on host targetserver / 3302
ERROR Return codes (function=STIAsRcvFromGw /
CPIC-RC=CM_PARAMETER_ERROR / SAP-RC=C_NIHOSTTOADDR)
Edited by: Tanja Wiemann on Aug 24, 2009 5:34 PM
Hi
add the line:
sapgw00 3300/tcp # SAP System Gateway Port
To the File C:\WINDOWS\system32\drivers\etc\services
Also check this
1. RFC settings are identical from ODB and NDB.
2. syntax of logon groups
3. syntax of security and connection information in JCO connection
4. IP addresses and ports were NATed correctly
Refer SAP Note 316877
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.