SAP Reports / Programs | Basis Components | Use Subcomponents | Operating System Monitors(BC-CCM-MON-OS) SAP BC

RSHOST1N_FAD SAP ABAP INCLUDE - RSHOST1NFAD







RSHOST1N_FAD is a standard ABAP INCLUDE 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 RSHOST1N_FAD into the relevant SAP transactions such as SE38 or SE80


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 RSHOST1N_FAD. "Basic submit
SUBMIT RSHOST1N_FAD AND RETURN. "Return to original report after report execution complete
SUBMIT RSHOST1N_FAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RSHOST1N_FAD

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:

Call Function CONCATENATE 'Call Function'(rqf) 'GET_HARDWARE_INFO' 'From'(frm) -server INTO lf_request SEPARATED BY space.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "Inform the user which server EXPORTING text = lf_request. "is currently requested

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' " Inform User the hw info is read EXPORTING text = 'Getting hardware information ...'(hw1).

SMON_READ_HARDWARE_DESCR_FILE CALL FUNCTION 'SMON_READ_HARDWARE_DESCR_FILE' DESTINATION pf_logical_dest EXPORTING file_name = pf_hw_description_file TABLES hw_object_descr_tbl = lt_hardware EXCEPTIONS file_is_empty = 341 "Empty file &1 created cant_open_file = 665 "File & does not exist or cannot be opened OTHERS = 337."Unknown error (look at /usr/sap/tmp/dev_coll)

CONTROL_PERF_REQUEST CALL FUNCTION 'CONTROL_PERF_REQUEST' EXPORTING local_remote = pf_logical_dest_type logical_destination = pf_logical_dest request_typ = pf_request_typ request_id = pf_request_id request_mode = lf_request_mode request_param1 = pf_request_param1 request_param2 = pf_request_param2 request_param3 = pf_request_param3 IMPORTING request_id = pf_request_id request_return_code = pf_request_return_code request_param1 = pf_request_param1 request_param2 = pf_request_param2 request_param3 = pf_request_param3 EXCEPTIONS request_to_old = 100 no_buffer_space_in_shm = 101 * unvalid_request_id = 102 answer_is_not_yet_available = 103 communication_error = 104 answer_not_possible = 105 communication_buffer_to_small = 106 unknown_error = 107 illegal_parameter = 108 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 * no_network_collector_running = system_failure = 9 communication_failure = 10 OTHERS = 0.

RZL_SLEEP CALL FUNCTION 'RZL_SLEEP' EXPORTING seconds = 1 EXCEPTIONS OTHERS = 0.

CONTROL_PERF_REQUEST CALL FUNCTION 'CONTROL_PERF_REQUEST' EXPORTING local_remote = pf_logical_dest_type logical_destination = pf_logical_dest request_typ = pf_request_typ request_id = pf_request_id request_mode = lf_request_mode request_param1 = pf_request_param1 request_param2 = pf_request_param2 request_param3 = pf_request_param3 IMPORTING request_id = pf_request_id request_return_code = pf_request_return_code request_param1 = pf_request_param1 request_param2 = pf_request_param2 request_param3 = pf_request_param3 EXCEPTIONS request_to_old = 100 no_buffer_space_in_shm = 101 unvalid_request_id = 103 " Req gerade in Bearbeitung answer_is_not_yet_available = 103 " Req wurde noch nicht bearbeitet communication_error = 104 answer_not_possible = 105 communication_buffer_to_small = 106 unknown_error = 107 illegal_parameter = 108 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 * no_network_collector_running = system_failure = 9 communication_failure = 10 OTHERS = 107.

RZL_SLEEP CALL FUNCTION 'RZL_SLEEP' EXPORTING seconds = lf_check_req_answer_interval EXCEPTIONS OTHERS = 0.

RZL_SLEEP CALL FUNCTION 'RZL_SLEEP' EXPORTING seconds = lf_check_req_answer_interval EXCEPTIONS OTHERS = 0.

Call Function CONCATENATE 'Call Function'(rqf) 'OS LOG' 'From'(frm) -server INTO lf_request SEPARATED BY space.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "Inform the user which server EXPORTING text = lf_request. "is currently requested

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' " Inform User the hw info is read EXPORTING text = 'Reading operating system log'(os1).

SMON_READ_HARDWARE_DESCR_FILE CALL FUNCTION 'SMON_READ_HARDWARE_DESCR_FILE' DESTINATION pf_logical_dest EXPORTING file_name = pf_os_log_file TABLES hw_object_descr_tbl = pt_os_log EXCEPTIONS file_is_empty = 341 "Empty file &1 created cant_open_file = 665 "File & does not exist or cannot be opened OTHERS = 337."Unknown error (look at /usr/sap/tmp/dev_coll)

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "Inform the user which server EXPORTING percentage = lf_percentage "is currently requested text = lf_request.

GET_CONFIG_DEFINED CALL FUNCTION 'GET_CONFIG_DEFINED' DESTINATION -destinat EXPORTING local_remote = -server_type logical_destination = -dest_logical IMPORTING * F_CONFIG_DEFINED_READ = * FP_MAXRECORDS = * FP_ACTIVEFLAG = fp_interval = lf_interval * FP_COLLVERSION = * FP_COLLSINCE = * FP_OPSYSTEM = * FP_DETAILSCOLL = * FP_DETAILSREQI = * FP_DETAILSMODE = fp_lastcollwrt = lf_collwrt * FP_LASTCOLLINT = * FP_NORMCOLLINT = TABLES tf_config_defined = lt_config tf_config_defined_chr = lt_config_chr EXCEPTIONS internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 no_network_collector_running = 8 system_failure = 9 MESSAGE lf_error communication_failure = 10 MESSAGE lf_error OTHERS = 11.

GET_CONFIG_USED CALL FUNCTION 'GET_CONFIG_USED' DESTINATION -destinat EXPORTING local_remote = -server_type logical_destination = -dest_logical IMPORTING * F_CONFIG_USED_READ = * FP_MAXRECORDS = * FP_ACTIVEFLAG = fp_interval = lf_interval * FP_COLLVERSION = * FP_COLLSINCE = * FP_OPSYSTEM = * FP_DETAILSCOLL = * FP_DETAILSREQI = * FP_DETAILSMODE = fp_lastcollwrt = lf_collwrt * FP_LASTCOLLINT = * FP_NORMCOLLINT = TABLES tf_config_used = lt_config tf_config_used_chr = lt_config_chr EXCEPTIONS internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 no_network_collector_running = 8 system_failure = 9 MESSAGE lf_error communication_failure = 10 MESSAGE lf_error OTHERS = 11.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'CCM_SYS_CONFIG' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = * I_INTERNAL_TABNAME = CHANGING ct_fieldcat = lst_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

GET_CONFIG_DEFINED CALL FUNCTION 'GET_CONFIG_DEFINED' DESTINATION -destinat EXPORTING local_remote = -server_type logical_destination = -dest_logical IMPORTING * F_CONFIG_DEFINED_READ = * FP_MAXRECORDS = * FP_ACTIVEFLAG = * FP_INTERVAL = fp_collversion = lf_collver fp_collsince = lf_collsince fp_opsystem = lf_opsystem * FP_DETAILSCOLL = * FP_DETAILSREQI = * FP_DETAILSMODE = * FP_LASTCOLLWRT = * fp_lastcollint = lf_lastcollint fp_normcollint = lf_normcollint TABLES tf_config_defined = lt_dummy * TF_CONFIG_DEFINED_CHR = EXCEPTIONS internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 no_network_collector_running = 8 system_failure = 9 MESSAGE lf_message communication_failure = 10 MESSAGE lf_message OTHERS = 11.

CSM_SHOW_LOGIC_DIR_LIST





CALL FUNCTION 'CSM_SHOW_LOGIC_DIR_LIST' DESTINATION -dest_logical * EXPORTING * TIMEOUT = 10 * SHOW_ALL = 0 * IMPORTING * ENTRIES_READ = TABLES paramtbl = lt_param error_std = lst_error EXCEPTIONS timeout = 1 internal_error = 2 system_failure = 8 MESSAGE lf_message communication_failure = 9 MESSAGE lf_message OTHERS = 7.

CSM_SHOW_FILE CALL FUNCTION 'CSM_SHOW_FILE' DESTINATION -dest_logical EXPORTING filename = lf_logfile * TIMEOUT = 10 * STARTLINE = 0 * ENDLINE = 0 * LINES = 0 * STARTFILEPOS = 0 * GUID = * FILETYPE = 'ASC' * IMPORTING * FILEPOS = * LINES_READ = * BYTES_READ = * STRING = TABLES output_std = lst_manage error_std = lst_error * OUTPUT_BIN = EXCEPTIONS file_not_found = 1 timeout = 2 could_not_read_file = 3 internal_error = 4 no_read_permission = 5 system_failure = 8 MESSAGE lf_message communication_failure = 9 MESSAGE lf_message OTHERS = 7.

CSM_CONTROL CALL FUNCTION 'CSM_CONTROL' DESTINATION -dest_logical EXPORTING command = 'SAPOSCOL' operation = lf_command * timeout = lf_timeout TABLES output_std = lst_manage error_std = lst_error EXCEPTIONS illegal_command = 1 illegal_operation = 2 timeout = 3 command_not_found = 4 path_not_found = 5 internal_error = 6 system_failure = 8 MESSAGE lf_message communication_failure = 9 MESSAGE lf_message OTHERS = 7.

SET_PARAMETER CALL FUNCTION 'SET_PARAMETER' DESTINATION -dest_logical EXPORTING local_remote = -server_type logical_destination = -dest_logical fp_detailsreqi = lf_details_on * FP_DETAILSMODE = -1 * FP_NORMCOLLINT = -1 * FP_TRACELEVEL = -1 * FP_IDLEINTERVAL = -1 * FP_IDLEAFTER = -1 EXCEPTIONS internal_error_adress_failed = 1 internal_error_different_field = 2 internal_error_no_new_line = 3 collector_not_running = 4 shared_memory_not_available = 5 collector_busy = 6 version_conflict = 7 no_network_collector_running = 8 system_failure = 9 MESSAGE lf_message communication_failure = 10 MESSAGE lf_message OTHERS = 11.

CSM_CONTROL CALL FUNCTION 'CSM_CONTROL' DESTINATION -dest_logical EXPORTING command = 'SAPOSCOL' operation = 'STATUS' timeout = lf_timeout TABLES output_std = lst_manage error_std = lst_error EXCEPTIONS illegal_command = 1 illegal_operation = 2 timeout = 3 command_not_found = 4 path_not_found = 5 internal_error = 6 system_failure = 8 MESSAGE lf_message communication_failure = 9 MESSAGE lf_message OTHERS = 7.

GET_PARAMETER CALL FUNCTION 'GET_PARAMETER' DESTINATION ps_dest-destinat EXPORTING local_remote = ps_dest-server_type logical_destination = ps_dest-dest_logical IMPORTING fp_interval = ps_dest-interval fp_lastcollwrt = ps_dest-collwrt fp_opsystem = ps_dest-opsys EXCEPTIONS OTHERS = 1.

GET_PARAMETER CALL FUNCTION 'GET_PARAMETER' DESTINATION ps_dest-destinat EXPORTING local_remote = ps_dest-server_type logical_destination = ps_dest-dest_logical IMPORTING fp_interval = ps_dest-interval fp_lastcollwrt = ps_dest-collwrt EXCEPTIONS OTHERS = 1.

SALC_MT_GET_TID_BY_NAME CALL FUNCTION 'SALC_MT_GET_TID_BY_NAME' * EXPORTING * ONLY_LOCAL = ' ' TABLES in_names = lt_longnames out_tid_lname_rc = lt_tids_rc EXCEPTIONS c_call_failed = 1 OTHERS = 2.

SALC_PERF_READ_SMOOTH_DATA CALL FUNCTION 'SALC_PERF_READ_SMOOTH_DATA' * EXPORTING * ONLY_LOCAL = ' ' * BYPASS_CACHE = ' ' TABLES tid = lt_tids tidsmoothrc = lt_perf EXCEPTIONS c_call_failed = 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 RSHOST1N_FAD or its description.