HOW TO SAP - Create RFC TCPIP connection and Register Server Program with RFCEXEC
- Execute SM59
- Expand TCP/IP connections > Click Create
- Enter the following details. Ensure connection type is 'T'
- Save and click "Connection Test"
- You get an error below
Error Details Error when opening an RFC connection
Error Details ERROR: program myProgId not registered
Error Details LOCATION: SAP-Gateway on host R3DEV / sapgw00
Error Details DETAIL: TP myProgId not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 40112
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1871
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 701
Error Details TIME: Tue Mar 29 22:40:17 2011
Error Details VERSION: 2
- Login to OS level to register the program id to the gateway.
- After login, open Command Prompt
- Execute rfcexec -a
-g -x . Example: Execute rfcexec -a<HPAS2> -g<erpdev> -x<sapgw00>
- You will see command prompt hangs in a loop and execute below codes
- Now back to SAP. Click "connection test" you will get