Registering a program on the Gateway
Many times I have come across error in SM59 transaction saying the program is not registered 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
Error Details LOCATION: SAP-Gateway on host
Error Details DETAIL: TP
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 Sep 17 13:08:02 2007
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 -
rfcexec –g
rfcexec is the server program name, the
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 -
rfcexec –D
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
Copyright belongs to
Madhu’s Weblog
%3A%2F%2Fznquhgrxhe.jbeqcerff.pbz%2F2008%2F08%2F10%2Fertvfgrevat-n-cebtenz-ba-gur-tngrjnl%2F
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/167898/viewspace-1016336/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Registering Trojan Remover 4.2.1 (14千字)REM
- 【ABAP】FTP ProgramFTP
- Spark Driver Program剖析Spark
- Run a program as a service (daemon)-GOGo
- Program Units and Referenced Objects (244)Object
- Overview of the Program Global Areas (97)View
- Program Interface Structure (135)Struct
- pwn.college-Program Misuse
- gateway配置Gateway
- HDU - 6736 F - Forest ProgramREST
- SAP APP: Automatic Payment ProgramAPP
- Program Execution 程式的執行
- Program perl 資料結構資料結構
- Individual Project - Word frequency programProject
- oracle concurrent program session and sqlOracleSessionSQL
- Oracle Scheduler(5)job呼叫programOracle
- pwn.college Fundementals Program interaction
- 物件啟用用得到的Program物件
- Could not find the main class. Program will exitAI
- Record for Individual Project ( Word frequency program )Project
- the program list about oracle database in SAP systemOracleDatabase
- Gateway 簡介Gateway
- NServiceBus之GateWayGateway
- default gateway is not definedGateway
- Quartz.net-控制檯例項-Programquartz
- Apple Developer Program全球電話支援APPDeveloper
- Autodesk Cloud Accelerator Program 開始報名Cloud
- Oracle Scheduler(4)job呼叫program和scheduleOracle
- Compilation of Views and PL/SQL Program Units (242)ViewSQL
- PL/SQL Program Units and the Shared Pool (89)SQL
- SpringCloud之GatewaySpringGCCloudGateway
- 閘道器GatewayGateway
- win10 啟動項有program怎麼辦 win10 啟動項program怎麼解決Win10
- [轉]Writing an Hadoop MapReduce Program in PythonHadoopPython
- win10啟動項program怎麼刪除_win10工作管理員啟動program如何刪除Win10
- websocket gateway 中介軟體WebGateway
- springcloud-路由gatewaySpringGCCloud路由Gateway
- Spring Cloud Gateway 深入SpringCloudGateway