RFC Connection (SM59)
Hi,
I have developed a RFC. This should be triggered from web. Now we need to establish the RFC connection between R/3 and Web.
Can any body let me know, what are the required parameters to be given in SM59 fro WEB?
Regards,
SK.
as the above mentioned parmeters are req to establisg rfc connection..
after defining this , if u want you can test the rfc connection by clieck 'test connection' button in application tool bar..
normally , this rfc connection wil be done byu basis person only, i think u don't have auth for maintaining rfc connections,,
Similar Messages
-
RFC connection (SM59) fails with load balancing enabled.
Hello All,
We have an RFC connection setup between two SAP systems. The RFC connection works fine if it points to the destination system. But if we enable load balancing, the connection fails with this error:
ERROR partner not reached (host <hostname>, service sapms<SID>)
LOCATION SAP-Server <source system> on host <host name of source> (wp 1)
DETAIL NiPConnect2
CALL SO_ERROR
COMPONENT NI (network interface)
COUNTER 3027
ERROR TEXT Connection refused
ERROR NUMBER 79
MODULE niuxi.c
LINE 1069
RETURN CODE -10
SUBRC 0
RELEASE 46D
TIME Mon Aug 18 18:33:30 2008
VERSION 34
I've checked the /etc/services file, the following entries exist
sapms<SID> 3606/tcp
sapms<SID>s 3600/tcp
lstst at the source system works fine
lgtst -H <target host name> -S sapms<SID>
niping at the target system has a problem
> niping -c -S 3606
Mon Aug 18 10:23:14 2008
connect to server o.k.
ERROR => NiTClientLoop: NiTReadLoop (rc=-6) [nixxtst.cpp 2629]
ERROR connection to partner broken
TIME Mon Aug 18 10:23:14 2008
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE niuxi.c
LINE 905
DETAIL NiPRead (0.0.0.0/0, hdl 1)
SYSTEM CALL recv
COUNTER 1
Please help me figure out the problem.
regards,
RoshniHi,
I think you have added wrong port entry in services file.
The entry of sap servers in services file for load balancing are
sapms<SID> 36<instance number>/tcp
so please check once again and add the entry using above formula in services file.
Also add the entry of all SAP servers in your hosts file.
<IP> <HOSTNAME> -
Created logical port via soamanagern, RFC connection missing
Hi,
I automaticly created a new logical port using a WSDL to use a Web Service in ABAP.
When I looked for the RFC connection (sm59) to maintain a user in the Logon & Security tab, I could not find the RFC Connection. Neither was a HTTP connection stated in the Administrativ Information of the logical port, as it is usual.
Am I missing something?
Thanks very much.Andreas,
Sorry for the late reply. I do not get any error, the problem I have is that after the creation of the logical port through SOAMANAGER, I don´t see any RFC connection in SM59. I got information in other post I wrote, that I wont get that RFC connection because the auto creation of the RFC connection when a logical port is created has been discontinued in newer versions.
Now I have to check if there is something wrong with my network because I can not consume the webservice I need.
Thanks for your help. -
Strange behaviour with HTTP RFC Connection
Hi Experts,
today I investigated a strange behaviour in our SAP environment. I tried to create a HTTP RFC connection (SM59) from our integration server to a locale integration engine in our test environment.
http:<server>:<port>/sap/xi/engine?type=entry
A few days ago I do the same for the development environment and all works fine.
For test purposes I used my user for the connection but when I tried to test the connection (test button) the authentification fails. After a few attempts my user was locked on the target server. (I called a admin to unlock my user).
My first idea was that there is problem with the URL or something in this way. So I do a test within the browser and type in my user again. The result was - as aspect - a soap message that an empty message can not be processed.
My second idea was that there are troubles with the authorization so I used a system user for the connection. I test the connection and received a message that the user has not enough rights to send messages to the locale integration server.
So I came to the result that I mistyped my password due the first attempt. I try again and I was really very carefully by typing my password. I press the test button and it fails with the message that I could not logged on to the system. I try it many times and it always fails.
Finally I use the system user and attach the required roles to the user.
But has anybody an idea why it was not possible to use my user? I really don't understand it since it works fine in the development environment.
Björnwhat is the version of SAP system in dev and test environments.......
Some older version SAP systems(4.6 version) require passwords in CAPITALs....
Edited by: Praveen Gujjeti on Mar 17, 2009 5:05 PM -
RFC Connection error in SM59 for SAP J2EE
Hi All,
i am getting the following error description while testing the connection for
SAP J2EE ...
Connection Test SAPJ2EE
Connection Type TCP/IP Connection
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: program sapfallback not registered
Error Details LOCATION: SAP-Gateway on host filip / sapgw00
Error Details DETAIL: TP sapfallback not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 1483
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1694
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Tue Mar 31 02:44:35 2009
Error Details VERSION: 2
Help me resolve this
Regards,
Mahesh.Hi,
Please follow this steps:
Creating RFC Destinations in the ABAP and Java Environment
You need to create the following RFC destinations in transaction SM59 (ABAP) and the Visual Administrator (Java):
u2022 AI_RUNTIME_JCOSERVER
u2022 AI_DIRECTORY_JCOSERVER
u2022 LCRSAPRFC
u2022 SAPSLDAPI
Depending on your client settings, it may be necessary to be logged on your SAP Exchange Infrastructure host as SAP system user with the authorization to maintain customizing tables and to release transport orders. Note, that user "SAP*" or "DDIC" does not have these authorizations.
Maintaining the RFC Connections (Transaction SM59)
1. Log on to your SAP Exchange Infrastructure central instance host.
2. Call transaction SM59.
3. Choose Create.
4. Enter at least the following:
RFC destination: AI_RUNTIME_JCOSERVER
Connection type: T
Description: <your description>
5. Choose ENTER
6. Choose the tab Technical settings and do the following:
a. Select Registered Server Program
b. In the Program ID field, enter: AI_RUNTIME_<SID> where <SID> is the SAP system ID of your Integration Server host. Use uppercase letters only.
c. Enter Gateway host and Gateway service of your Integration Server host. To find out the required parameters:
a. On the Integration Server host, call transaction SMGW
b. Choose Goto u2192 Parameters u2192 Display (see entries for gateway hostname and gateway service)
7. Choose tab Special Options and select the flag Unicode in the box Character Width in Target System.
8. Save your settings.
9. Repeat the steps 3 u2013 8 for the remaining destinations:
Destination
Values
AI_DIRECTORY_JCOSERVER
Program ID: AI_DIRECTORY_<SID>, where <SID> is the SAP system ID of your SAP XI host
LCRSAPRFC
Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your SAP XI host.
SAPSLDAPI
Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your SAP XI host.
10. Leave the transaction SM59 open for later tests.
J2EE Configuration for the Destinations (Visual Administrator)
1. On your SAP Exchange Infrastructure central instance host, start the J2EE Engine administration tool.
2. Choose Cluster u2192 Server u2192 Services u2192 JCo RFC Provider
3. In the section RFC destination, enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintaining the RFC connection above. Additionally, set the number of processes to 10.
4. In the section Repository, do the following:
a. Enter the parameter for the SAP XI host: Application Server, System Number, Client and Language.
b. For User and Password maintain the login parameters for the user SAPJSF.
c. Select the flag Unicode.
6. Choose Set.
7. Repeat the steps 3 u2013 6 for the remaining destinations:
Destination
Values
AI_DIRECTORY_JCOSERVER
u2022 Corresponding values from SM59
u2022 Number of processes: 10
LCRSAPRFC
u2022 Corresponding values from SM59
u2022 Number of processes: 3
SAPSLDAPI
u2022 Corresponding values from SM59
u2022 Number of processes: 3
Testing the RFC Destination
After you have maintained all RFC destinations in both the ABAP and Java environment, you can check all the connections above as follows:
1. Call transaction SM59 again.
2. Open your RFC destination.
3. Choose Test Connection. No error should be displayed.
This will solve your problem.
Thanks
Laxmi Bhushan -
Hi There,
Please can someone tell me how to specify a variable in the path prefix of an External HTTP (RFC) connection in transaction SM59?
For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
Thanks,
BrendonHi,
This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
SM59 RFC connection via router
Hi Friends,
I want to connect from one system to another via rfc and DYNDNS.
The problem is I have a DSL router. The way is ERP6(1) -> DSL Router ->ERP6(2).
When I use the normal sap logon, I can logon with "server.dyndns.org" to ERP(2).
In DSL Router I configerud the "Nat Rule" 123.123.2.2:3203 and it leads me automaticly to the logon screen.
But then I try the RFC connection, it does not work.
In RFC I give "server.dyndns.org" as target machine.
Do I have to call the target machine with port and how does the entry looks like?
Thanks in advance
JimbobHello Jon/all,
many thanks for your recommendations.
Our RFC-connection from SOLMAN to the satellite system via SM59 does not use load balancing and looks as follows:
/H/saprout1/H/193.84.171.507
We also allow the connections to the message port (36xx) within SAPROUTTAB.
Colud you kindly explain what are the settings of:
1) RZ21 --> Connection Data and Monitoring options --> Router String
The current CCMSPING entry is:
Connection Data and Monitoring options:
Message server host name: 193.84.171.507
IP Service Name: sapms<sid>
Router String: /H/saprout1/H/
2) The entries within SAPROUTTAB
3) The entries within SERVICES and HOST files
Thank you very much! -
Error in connection to presentation server using RFC at SM59
hi,
While "Test Connection" at SM59 , I am getting the errror
"partner not reached (host 172.16.3.18, service sapgw00) / CPI-C error CM_RESOURC"
I have given the following parameters in the saprfc.ini file in bin directory..
DEST=RFCL_R (given our own system name )
TYPE=R
PROGID=BGPO.rfcexec
GWHOST="given our own IP address"
GWSERV=sapgw00
RFC_TRACE=0
DEST=RFCL_R (given our own system name )
TYPE=R
PROGID=BGPO.trfcexec
GWHOST="given our own IP address"
GWSERV=sapgw00
RFC_TRACE=0
Thankyou
BhaskarhI BHASKAR,
Did u get solution for this?How to get connection to RFC.PLs guide me.I am also facing same problem.Actually my requirement is to connect to JDA server.THrough an IP address.but first i am unable to give RFC connection.Pls Bhaskar.if u have solution.pls guide me.
Regards,
J.Jayasankar Goud
[email protected] -
Hi Gurus,
I have a problem when i try to do a RFC connection Between SAP and Windows, this's the error message log Tx, sm59..
EntrSist. Error de conexión
Det.error / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=17 thRc=236 SAP gateway connection failed. I
Det.error ERROR: SAP gateway connection failed. Is SAP gateway started?
Det.error LOCATION: SAP-Server devinc_ICT_02 on host devinc (wp 1)
Det.error COMPONENT: CPIC
Det.error COUNTER: 6
Det.error MODULO:
Det.error LINE:
Det.error CÓD.RETORNO: 236
Det.error SUBRC: 0
Det.error RELEASE: 700
Det.error TMP.: Tue Aug 31 11:13:57 2010
Det.error VERSIÓN:Anup,
the entry sapmsDEV is missing in your "services"-file on the computer that hosts your SLD-Server/J2EE WAS. Windows locates it at %WINDIR%/system32/drivers/etc, unix usually at /etc/.
make an entry like that:
sapmsDEV 3600/tcp (in case, your Systemnumber is 00, otherwise replace the "00" with your actual systemnumber)
kind rtegards, achim -
RFC connection error for PS_ACCESS_1 and PS_ACCESS_2
dear all,
i have created the RFC destination PS_ACCESS_1 and PS_ACCESS_2 with TCP/IP. i also installed WDPS* files in *sapgui\ps\access folder. now i m checking for 'TEST CONNECTION' in sm59 for PS_ACCESS_1 and PS_ACCESS_2 but it is giving 'Error when opening an RFC connection' this error. pls suggest the solution for this problem.
am i missing any other settings? i m using SAP ECC 6.0. is it comfortable with this? is it required any configuration from basis side?
regards,
vicky.HI,
please check the RFC Trace File at SM59 -> RFC -> Show trace file.
For better tracing delete the Trace File first and recheck the RFC Dest.
Regards,
Gordon -
Dear All,
when i connect our BI System to R/3 system via RFC in SM59 ,i am getting following error in BI system and also The problem occur in particular instance .(Other instance working fine in BI system)
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: timeout during allocate
Error Details LOCATION: SAP-Gateway on host chwslp05 / sapgw01
Error Details DETAIL: no connect of TP sapdp15 from host sapp3b.eame.syngenta.org after 20 s
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 162003
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1973
Error Details RETURN CODE: 242
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Mon Apr 27 14:29:33 2009
Error Details VERSION: 2
Any one please suggest.
Thanks,
Thirumoorthy.mostly your gateway servicve is not working check smgw tcode on that instance
you can do this goto sm59->select the instace execute tcode smgw
easy way is restart the instance
it will start working
Samrat -
RFC Connection error between R/3 4.7 & ECC 6.0
Hi all,
I m receiving the following error when i test the RFC connection between the mentioned systems..
/ CPIC-CALL: 'ThSAPCMINIT' : cmRc=20 thRc=665#Unknown service
DEV_W0 file contains the following information:
M *****************************************************************************
M *
M * LOCATION SAP-Gateway on host IGATESAP06 / sapgw00
M * ERROR service 'sapgw01' unknown
M *
M * TIME Wed Apr 22 03:59:51 2009
M * RELEASE 640
M * COMPONENT NI (network interface)
M * VERSION 37
M * RC -3
M * MODULE ninti.c
M * LINE 463
M * DETAIL NiPGetServByName: service 'sapgw01' not found
M * SYSTEM CALL getservbyname
M * COUNTER 2704
M *
M *****************************************************************************
M
A RFC 2272 CONVID 90657609
A * CMRC=20 DATA=0 STATUS=0 SAPRC=665 ThSAPCMINIT
A RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)
A RFC> User: 704817 (Client: 800)
A RFC> Destination: ISMCLNT500 (handle: 2, , {8E460E4B-7D68-4FAE-A9BD-E212DAFA6A8E})
A RFC> Called function module: RFC_PING
A TH VERBOSE LEVEL FULL
A ** RABAX: end RX_GET_MESSAGE
Could any one pls. help me..
Thanks & Regards, SubbuHi all,
Thanks for ur replies.. I have added as u mentioned but i m receiving the below error??? Could u pls. suggest??
M *
M * LOCATION SAP-Gateway on host IGATESAP06 / sapgw00
M * ERROR service '?' unknown
M *
M * TIME Wed Apr 22 04:58:46 2009
M * RELEASE 640
M * COMPONENT NI (network interface)
M * VERSION 37
M * RC -3
M * COUNTER 2733
M *
M *****************************************************************************
M
A RFC 2272 CONVID 94231859
A * CMRC=20 DATA=0 STATUS=0 SAPRC=665 ThSAPCMINIT
A RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)
A RFC> User: 704817 (Client: 800)
A RFC> Destination: ISMCLNT500 (handle: 2, , {34E2D1F9-B021-4B04-BD35-16E04AF4BD11})
A RFC> Called function module: RFC_PING
A TH VERBOSE LEVEL FULL
A ** RABAX: end RX_GET_MESSAGE
thanks,
Subbu -
RFC connection error when registering PROGRAM ID.
Hi,
I created a RFC connection of type T.
I gave the following parameters ->
gateway host: hostname and then ip-address
gateway service: sapgwxx
Registered program id: xxx
It is giving me the following error:
Error Details Error when opening an RFC connection
Error Details ERROR: program sapgwxx not registered
Error Details LOCATION: SAP-Gateway on host <hostname> / sapgwxx
Error Details DETAIL: TP sapgwxx not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 2696
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1777
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 700
Can anyone help me in troubleshooting the issue.
Also I am not able to register this program id in Visual Admin -> Services -> JCo RFC Provider. Here it is giving me an error. Can anyone guide me in this?
Points to be rewarded for any kind of small help.Thanks Ramesh.
I followed the blog. Here are the steps that I did.
RFC destination:
1. To create the RFC go to TCODE: SM59 <b>-> Done</b>2. Create new destination of type T (TCP/IP) <b>-> Done</b>
3. Make sure you select Registered Server Program option before writing your program ID <b>-> Done</b>
4. Write you program ID (remember it's case-sensitive) <b>-> gave the SID name</b>
5. In the gateway host and gateway service write the values of your "Application system" - business system (not the XI server) <b>-> Typed the gateway hostname and gateway service "sapgw<instance no>", that I got from SMGW.</b>
But still I face the same problem. It get the following error:
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: program <SID name> not registered
Error Details LOCATION: SAP-Gateway on host xxxxx / sapgwxx
Error Details DETAIL: TP <SID Name> not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 2719
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1777
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Thu Nov 1 10:39:43 2007
Error Details VERSION: 2
Kindly help me out. -
Hi,
Source system error.
BW
RSA1Source System (Context Menu) Check
Error: RFC Connection Check failed
Diagnosis
You tried to logon to check the connection to the source system. This was not successful.
System response
Name or password is incorrect. Please re-enter
Procedure
Check the BW destination in the source system. In particular with SAP connections make sure that you have entered the correct password.
How shall I proceed?
I checked User ID in Source System.
ThanksHi,
Its simple, when the BWALEREMOTE user was setup in your system, the password provided was incorrect or the user ID with that password might have been locked.
Using transaction SM59 you can setup the RFC Destinations. So, go to SM59 check the user ID and give the correct password.
Hope this solves your concern,
Regards,
Habeeb -
RFC Connection error duplicate conversation id
Hello everybody !
I started getting a weird error on my XI RFC Connections, because of this I can't connect to my SLD.
When testing the RFC connection "AI_DIRECTORY_JCOSERVER", Ai_RUNTIME_JCOSERVER, LCRSAPRFC and SAPSLDAPI (trans sm59) I get the following error:
ERROR duplicate conversation id 34212218 from localhost/sapgw01 and calhost/ pgw00
COMPONENT CPIC (TCP/IP) with Unicode
COUNTER 87
MODULE r3cpic.c
LINE 5432
RETURN CODE 736
SUBRC 0
RELEASE 640
TIME Tue Dec 07 12:43:22 2004
VERSION 3
Does anybody have any idea/clues on this? thanx!
MartialHello !
I have the same problem you had ...
Do you solve your problem and how ?
Thanks in advance
Martial
Maybe you are looking for
-
Creating PDF files from Quark causes font/image issues. PLEASE HELP.
After creating a PDF file using Adobe Acrobat Professional (using the file>Export to PDF option) from QuarkXPress version 7.3, my client sees and prints distorted letters with various fonts and they even sometimes see lines where they shouldn't be. I
-
Is it possible to set a password for a document.pages?
-
Macbook Retina Display - Bootcamp won't charge
It keeps saying"Plugged in, not charging". It's currently at 95%. It never charged. Is it a driver issue? How may I resolve it? Is anyone having this issue as well? I use Windows 7 for playing games on Steam sometimes, cos there are alota games which
-
Transfer phots from I Phone to PC?
Transfer photos from I Phone 4S to PC with Windows 8.1?
-
Java.lang.StringIndexOutOfBoundsException
Hello, why does the following program generate a java.lang.StringIndexOutOfBoundsException error when a file is opened: Cryptogram.java (main program) import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; impo