We faces RFC connection fails error below when try to extract data from SAP using QlikView SAP Connector.
LOCATION SAP-Gateway on host <hostname> / sapgw<nr>
ERROR registration of tp <program id> from host <external host> not allowed
What will be the possible cause and how can we fix it?
The error message means the gateway is not allowing the program ID <program id> to be registered from the host <external host>Cause:
There are two possible reasons:
-. Parameter "gw/acl_mode = 1" and not reginfo file has been set. This is the default value for NEW INSTALLATIONS for Netweaver 7.0x since December 2012 (including 7.20) and for Netweaver 7.3X since August 2012
-. There is a reginfo file that doesn't allow the registration of that external programResolution:
Update the "reg_info" file from the SAP gateway that appears in the error message ("SAP-Gateway on host <hostname> / sapgw<nr>") creating a line that allows this registration.
The location of the "reg_info" file is specified by parameter "gw/reg_info" and should contain lines like:
P TP=<program ID> HOST=<external host> CANCEL=internal,<external host> ACCESS=*
# the following lines should be the LAST lines in the reginfo
P TP=* HOST=<LIST> CANCEL=<LIST> ACCESS=<LIST>
P TP=* HOST=local
Following recommendations from SAP Note 1408081 : Basic settings for reg_info and sec_info
and settings for ACCESS clausule from SAP Note 1592493 : GW: Problems during reginfo configuration
Then, reload the new settings via transaction SMGW
And try to register the program again.