SRFCSREG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SRFCSREG into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: RFC-TEST: CONNECTION (==> R/2, R/3, Non-SAP)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SYSTEM_START_REG_SERVER CALL FUNCTION 'SYSTEM_START_REG_SERVER' EXPORTING PROGNAME = PROGNAME STARTCOMP = 'G' STARTMODE = STARTMOD EXCLUSIV = EXCLUSIV WAITTIME = WAITTIME IMPORTING ERR_CODE = ERR_CODE ERR_MESS = ERR_MESS DESTINATION = RFCDEST CHANGING PROGID = PROGID GWHOST = GWHOST GWSERV = GWSERV.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION RFCDEST IMPORTING RFCSI_EXPORT = RFCSI EXCEPTIONS SYSTEM_FAILURE = 1 MESSAGE ERR_MESS COMMUNICATION_FAILURE = 2 MESSAGE ERR_MESS.
SYSTEM_CONNECT_TO_REG_SERVER CALL FUNCTION 'SYSTEM_CONNECT_TO_REG_SERVER' EXPORTING PROGID = PROGID GWHOST = GWHOST GWSERV = GWSERV IMPORTING DESTINATION = RFCDEST.
SYSTEM_CONNECT_TO_REG_SERVER CALL FUNCTION 'SYSTEM_CONNECT_TO_REG_SERVER' EXPORTING PROGID = PROGID GWHOST = GWHOST GWSERV = GWSERV IMPORTING DESTINATION = RFCDEST.
SYSTEM_STOP_REG_SERVER CALL FUNCTION 'SYSTEM_STOP_REG_SERVER' EXPORTING DESTINATION = RFCDEST.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.