RFC error: transaction program not registered
I am facing one issue with RFC connection.
I am creating one TCP/IP connection from ECC 6.0 (windows 2003) to EHS/WWI application. i am getting following error when i am doing connection test.
error: Program <PROGRAM ID> not registered.
Then i tried to register the program by running the following command at OS level.
rfcexec u2013a program_ID u2013g ######id u2013x sapgw00
But still the error persists.
Please guide me. also does this command creates entry in saprfc.ini file? i have tried adding it manually in that file also.