_SLD_HTTPSERV 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 _SLD_HTTPSERV 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: SLD DS: Class SAP_HTTPServicePort
INCLUDE RSLDMEMD.
INCLUDE RSLDHTSV.
INCLUDE RSLDCOMF.
INCLUDE RSLDMACR.
INCLUDE RSLDCIMN.
INCLUDE RSLDMAIN.
No SAP DATABASE tables are accessed within this REPORT code!
SLDAG_GET_MESSAGE_SERVER_INFO CALL FUNCTION 'SLDAG_GET_MESSAGE_SERVER_INFO' IMPORTING HOSTNAME = msg_host SERVICENAME = msg_service PORTNUMBER = msg_port.
MS_GET_PROFILE_VALUE CALL FUNCTION 'MS_GET_PROFILE_VALUE' EXPORTING NAME = 'ms/http_max_ports' IMPORTING VALUE = l_max_ports EXCEPTIONS INTERNAL_ERROR = 1 TOO_LARGE = 2 NOT_FOUND = 3 OTHERS = 4.
MS_GET_HTTPSERVICE CALL FUNCTION 'MS_GET_HTTPSERVICE' EXPORTING NAME = l_serverport_name IMPORTING SERVICE = l_symsg_service EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' TABLES LIST = l_servers EXCEPTIONS OTHERS = 1.
SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' DESTINATION l_server-name EXPORTING PARAMETER_NAME = 'SAPSYSTEM' IMPORTING PARAMETER_VALUE = sapsystemnr exceptions communication_failure = 1 others = 2.
SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' DESTINATION l_server-name EXPORTING PARAMETER_NAME = 'SAPLOCALHOSTFULL' IMPORTING PARAMETER_VALUE = host_fqn EXCEPTIONS communication_failure = 1 others = 2.
ICM_GET_INFO2 CALL FUNCTION 'ICM_GET_INFO2' DESTINATION l_server-name TABLES THRLIST = l_icm_threads SERVLIST = l_icm_services EXCEPTIONS ICM_ERROR = 1 ICM_TIMEOUT = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.