Hello Rableen,
The SAP notes 1629598 and 1636252 have the documentation on the syntax and format of the reginfo/secinfo files.
Here are some general tips about them:
- The very first line of the reginfo/secinfo file must be "#VERSION=2";
- Each line must be a complete rule (you cannot break the rule into two or more lines);
- Each program must have only one rule. That is because the gateway will apply the rules in the same order they appear in the file, and only the first matching rule will be used (similar to the behavior of a network firewall).
A general reginfo rule definition would be (note that I had to break the rule for it to be more easily understood):
P TP=<program name>
HOST=<comma separated list of hosts that can register the program>
ACCESS=<comma separated list of hosts that can communicate with the program>
CANCEL=<comma separated list of hosts that can cancel this registration>
Usually, ACCESS is a list with at least all SAP servers from this SAP system. This can be
replaced by the keyword "internal".
CANCEL is usually a list with all SAP servers from this system (or the keyword "internal"), and
also the same servers as in HOSTS (as you must allow the program to de-register itself).
A general secinfo rule definition would be (note that I had to break the rule for it to be more easily understood):
P USER=<comma separated list of users allowed to start the program>
USER-HOST=<comma separated list of hosts from where the users can trigger the program>
HOST=<comma separated list of hosts where the program can be started>
TP=<program name>
Regarding the parameter gw/reg_no_conn_info, please refer to the following WIKI page:
http://wiki.sdn.sap.com/wiki/x/jw1dDw
I hope this information helps.
Cheers,
Isaias