Registering a program on the Gateway
RFC connection test in SM59 might give error similar to this
———————————————————————————————————
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: program not registered
Error Details LOCATION: SAP-Gateway on host / sapgw
Error Details DETAIL: TP not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 16793
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: Mon APR 17 13:08:02 2009
Error Details VERSION: 2
———————————————————————————————————
The program in the above error should be registered in the gateway for this connection test to complete successfully. The server program rfcexec is responsible for its registration on the gateway.
To register the program login into the OS level as sudo su – adm and execute the following command.
rfcexec –g -a -x
rfcexec is the server program name, the can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The and can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.
The connection will fail once this command is terminated or the user executing this command logs off
To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
To do this, execute the following command
sudo su – adm
rfcexec –D
is the RFC destination name in SM59
So now we are done with registering the server program, but how do we check it is registered, once a server program is registered it is displayed in the Logged on clients in SMGW.
In transaction SMGW choose GOTO-> Logged on clients. There should be an entry for the server program in the screen that is displayed with system type Registered_TP (which indicates that the program is registered)
There can be many reasons due to which we might get this error saying server program is not registered, once such instance which I faced was where in the TREX server, a new RFC destination was defined, the TREX server creates a new program id each time this RFC destination is defined. This program id was not changed in TCP/IP connection is SM59 which was the reason why the destination was failing
Regards,
Gagan Deep Kaushal
2 Comments »
Leave a comment
-
Archives
- August 2009 (2)
- July 2009 (1)
- May 2009 (2)
- April 2009 (10)
- March 2009 (3)
- February 2009 (1)
- January 2009 (21)
- December 2008 (2)
- November 2008 (12)
- October 2008 (28)
- September 2008 (2)
- May 2008 (7)
-
Categories
- ABAP in SAP
- Activate Add-On in ECC 6.0
- Activate WebGui For SAP
- Add Company Logo in SAP Screen
- Apply Opatch procedure in SAP+Oracle
- Back To Action
- BRTOOL IN SAP
- Central User administration Configuration in SAP
- Configure ADS in SAP Netweaver
- Configure CUA in SAP
- Configure Oracle Entripse Manager In SAP
- Configure Printer in SAP
- Configure solution database in SAP CRM 2007/Solution Manager
- Configure SSO in EP
- CUA configuration
- CUA in SAP
- default url in crm web ui
- Difference Between SAP_ALL and SAP_NEW
- Generate Solution Manager Key
- How do you add your company logo in CRM 2007 WEB UI?
- How to change default log-off url in CRM web ui ??
- How To Change Title of SAP Transaction Code
- How To configure CUA in SAP
- How to find sap transaction codes
- How to List All the T-codes For a Role in SAP ?
- How to Lock or Unlock a Client in SAP ?
- How to send a message to a specific user in sap
- How to use Solution database in Service desk
- Install TOP utility for Solaris
- Installing two Oracle databases on a host
- Intersting Piece of information
- Kernel Update On Unix
- Kernel Update Process
- List All T-codes For a Role
- LOG IN TO BR*TOOL STUDIO
- Long running transport in SAP
- Nahi Bhulunga
- OEM
- Oracle DB parameter tuning
- Oracle DB Performance Issue
- Oracle in SAP
- Oracle Optach
- Oracle Upgrade 10.2.0.2 to 10.2.0.4;OEM
- Oracle upgrade 9.2.0.6 o 10.2.0.4
- Oracle Upgrade From 9i To 10g
- Problem in transport
- Registering a program on the Gateway
- Reset Buffers in sap
- Resize Redolog Groups in Oracle
- Run OS Commands from SAP GUI
- SAP Oracle Parameter fine tuning
- SAP BASIS TRICKS
- SAP BR*TOOL STUDIO
- SAP CUA
- SAP GUI FOR HTML
- SAP Interview Questions
- SAP LIBRARY INSTALLATION
- SAP NOTES
- SAP Notes–That help me a lot
- SAP Performance
- SAP_ALL vs SAP_NEW
- Search and reuse existing solution in Service Desk
- Service Desk Configuration
- Setting Up the Help Center in SAP CRM
- SMS Integration in SAP
- SMS Setting in SAP
- Spam/Saint Update
- Step by Step configuration for SMS integration in SAP
- STMS error
- T-Codes
- T-Codes You Need
- Temporary tablespace in Oracle
- Transactions in SAP
- Troubleshoot With SPAM (At Your Own Risk)
- Unable to read Software Component Versions from SLD
- Uncategorized
- Unforgettable
- Unix Commands
- Welcome
- WHAT IS SAP
- What is the difference between a Transport Domain and a Transport group
-
RSS
Entries RSS
Comments RSS
hi,i don’t no how to connect web GUI through URL can u help me how to connect
Comment by madhu | October 14, 2010 |
Under what path we need to execute these commands in command prompt
Comment by Ravi | December 31, 2010 |