SAP Reports / Programs

RSHOST14 SAP ABAP Report - RSHOST14 Keep







RSHOST14 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 RSHOST14 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OS01 - LAN check with ping


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSHOST14. "Basic submit
SUBMIT RSHOST14 AND RETURN. "Return to original report after report execution complete
SUBMIT RSHOST14 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


List Header
Title: RSHOST14 Keep
Text Symbol: 032 = IP_Address contains invalid characters
Text Symbol: 031 = IP Address
Text Symbol: 030 = Server Name
Text Symbol: 029 = It should be of type "X".
Text Symbol: 028 = Type of processed IP address is
Text Symbol: 027 = It should be of length 4 or 8.
Text Symbol: 026 = Length of processed IP address is
Text Symbol: 025 = Impossible Links:
Text Symbol: 024 = Scanning complete
Text Symbol: 023 = No match found between A and D for
Text Symbol: 022 = Checking A-D
Text Symbol: 021 = No match found between P and D for
Text Symbol: 020 = Match:
Text Symbol: 019 = Checking P-D
Text Symbol: 018 = Active Servers
Text Symbol: 017 = Active Database Srvrs
Text Symbol: 016 = Active Application Srvrs
Text Symbol: 015 = Active Presentation Srvrs
Text Symbol: 014 = Old Value:
Text Symbol: 013 = Enter IP Address
Text Symbol: 012 = Specific IP Address
Text Symbol: 011 = 10 Pings to Database Srvrs
Text Symbol: 010 = 1 Ping to Database Servers
Text Symbol: 009 = Overview of All Database Srvrs
Text Symbol: 008 = 10 Pings to Application Srvrs
Text Symbol: 007 = 1 Ping to Application Servers
Text Symbol: 006 = Overview of All Application Srvrs
Text Symbol: 005 = Technical Information
Text Symbol: 004 = 10 Pings to Presentation Srvrs
Text Symbol: 003 = 1 Ping to Presentation Servers
Text Symbol: 002 = Overview of All Presentation Srvrs
Text Symbol: 001 = Overview of Active Nodes
002 (ms) (ms) (ms) (%)
001 Server Name Min Averg Max Packet Loss


INCLUDES used within this REPORT RSHOST14

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

THUSRINFO *** call function 'THUSRINFO' destination desti-name liefert keinen *** ************************************************************************ * 19.06.2001

RFC_HOST_TO_IP CALL FUNCTION 'RFC_HOST_TO_IP' EXPORTING RFCHOST = lf_Host IMPORTING RFCIP = lf_HostIP EXCEPTIONS HOST_TO_IP_CONVERSION_ERROR = 1 OTHERS = 2.

GUI_DOWNLOAD * CALL FUNCTION 'GUI_DOWNLOAD' * EXPORTING ** BIN_FILESIZE = * FILENAME = lf_sFileName * FILETYPE = 'ASC' ** APPEND = ' ' ** WRITE_FIELD_SEPARATOR = ' ' ** HEADER = '00' ** TRUNC_TRAILING_BLANKS = ' ' ** WRITE_LF = 'X' ** COL_SELECT = ' ' ** COL_SELECT_MASK = ' ' ** IMPORTING ** FILELENGTH = * TABLES * DATA_TAB = DATA_TAB * EXCEPTIONS * FILE_WRITE_ERROR = 1 * NO_BATCH = 2 * GUI_REFUSE_FILETRANSFER = 3 * INVALID_TYPE = 4 * NO_AUTHORITY = 5 * UNKNOWN_ERROR = 6 * HEADER_NOT_ALLOWED = 7 * SEPARATOR_NOT_ALLOWED = 8 * FILESIZE_NOT_ALLOWED = 9 * HEADER_TOO_LONG = 10 * DP_ERROR_CREATE = 11 * DP_ERROR_SEND = 12 * DP_ERROR_WRITE = 13 * UNKNOWN_DP_ERROR = 14 * ACCESS_DENIED = 15 * DP_OUT_OF_MEMORY = 16 * DISK_FULL = 17 * DP_TIMEOUT = 18 * FILE_NOT_FOUND = 19 * DATAPROVIDER_EXCEPTION = 20 * CONTROL_FLUSH_ERROR = 21 * OTHERS = 22.

WS_DOWNLOAD ** CALL FUNCTION 'WS_DOWNLOAD' * * IF SY-SUBRC <> 0.

RFC_IP_TO_HOST CALL FUNCTION 'RFC_IP_TO_HOST' EXPORTING RFCIP = lf_PingIP IMPORTING RFCHOST = lf_Ping EXCEPTIONS IP_TO_HOST_CONVERSION_ERROR = 1 OTHERS = 2.

RFC_GET_LOCAL_SERVERS CALL FUNCTION 'RFC_GET_LOCAL_SERVERS' TABLES HOSTS = DESTI EXCEPTIONS NOT_AVAILABLE = 1.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING DESTINATION = DEST EXCEPTIONS DESTINATION_NOT_OPEN = 1.

THUSRINFO CALL FUNCTION 'THUSRINFO' DESTINATION DESTI-NAME TABLES USR_TABL = USR_LISTE EXCEPTIONS COMMUNICATION_FAILURE = 17.

RFC_HOST_TO_IP CALL FUNCTION 'RFC_HOST_TO_IP' EXPORTING RFCHOST = lf_DHost IMPORTING RFCIP = lf_DHostIP EXCEPTIONS HOST_TO_IP_CONVERSION_ERROR = 1 OTHERS = 2.

SAPGUI_GET_WAN_FLAG CALL FUNCTION 'SAPGUI_GET_WAN_FLAG' IMPORTING WAN_FLAG = lf_WAN_Flag.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = I_PERCENTAGE TEXT = lf_TEXT.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID I_CALLBACK_USER_COMMAND = GC_USER_COMMAND I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EVENTS = GT_EVENTS IS_PRINT = GS_PRINT TABLES T_OUTTAB = GT_PING EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = SY-REPID I_INTERNAL_TABNAME = IC_TABNAME I_STRUCTURE_NAME = IC_SNAME I_INCLNAME = SY-REPID CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IS_PRINT = GS_PRINT TABLES T_OUTTAB = GT_TOTPING EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSHOST14 or its description.