MONITOR_LDAPRFC 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 MONITOR_LDAPRFC 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: Monitoring LDAP Connectors (RFC Server)
Text Symbol: 004 = (OK)
Text Symbol: 005 = (Error)
INCLUDE RSALEXTI.
INCLUDE RSALSMI.
INCLUDE RSALSMFI.
No SAP DATABASE tables are accessed within this REPORT code!
LDAP_MONITORRFC_LOCAL CALL FUNCTION 'LDAP_MONITORRFC_LOCAL' EXPORTING if_bypass_buffer = bypa_buf TABLES infolist = lt_connector EXCEPTIONS internal_error = 1 OTHERS = 2.
SALI_MT_GET_TID_BY_NAME CALL FUNCTION 'SALI_MT_GET_TID_BY_NAME' EXPORTING mt_full_name = '&SY\&INSTANCE_NAME\R3Services' IMPORTING tid = ls_node_r3services EXCEPTIONS unable_to_expand_name = 1 name_not_found = 2 communication_failure = 3 other_problem = 4 internal_error = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_SUM_CREATE_ATTACH CALL FUNCTION 'SALI_SUM_CREATE_ATTACH' EXPORTING parent_tid = ls_node_r3services sum_name = 'LDAP-Connector' "#EC NOTEXT mt_class = 'SAP_LDAP_LOCAL' tool_collecting = 'LDAP_MONITORRFC' tool_analyze = 'LDAP_TRANSACTION' IMPORTING new_tid = ls_node_local EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_MO_CREATE_ATTACH CALL FUNCTION 'SALI_MO_CREATE_ATTACH' EXPORTING parent_tid = is_parent_node mo_name = is_connector-rfcdes mt_class = 'SAP_LDAP_CONN' IMPORTING new_tid = ls_node_connector EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_SMES_CREATE_ATTACH CALL FUNCTION 'SALI_SMES_CREATE_ATTACH' EXPORTING parent_tid = ls_node_connector mte_name = 'Status' "#EC NOTEXT mte_class = 'SAP_LDAP_STAT' mte_seconds_til_collectingtool = 240 "see remark (TIME) mte_seconds_until_set_inactive = 900 "see remark (TIME) mte_seconds_warmuptime = 0 "see remark (TIME) mte_f1_help_text_msgid = 'LDAP' mte_f1_help_text_msgno = 034 tool_onalert = 'LDAP_STARTSTOPPRFC' IMPORTING new_tid = ls_node_status EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_SMES_REPORT_T100_MESSAGE CALL FUNCTION 'SALI_SMES_REPORT_T100_MESSAGE' EXPORTING msgvalue = lf_alert_value msgid = 'LDAP' msgno = lf_msgno msgarg1 = lf_msgv1 msgarg2 = lf_msgv2 msgarg3 = lf_msgv3 msgarg4 = lf_msgv4 reportedby = 'LDAP' "function unknown CHANGING tid = ls_node_status EXCEPTIONS invalid_tid = 1 wrong_typeclass = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_PERF_CREATE_ATTACH CALL FUNCTION 'SALI_PERF_CREATE_ATTACH' EXPORTING parent_tid = ls_node_connector mte_name = 'Load' "#EC NOTEXT mte_class = 'SAP_LDAP_LOAD' mte_seconds_til_collectingtool = 240 "see remark (TIME) mte_seconds_until_set_inactive = 900 "see remark (TIME) mte_seconds_warmuptime = 0 "see remark (TIME) mte_f1_help_text_msgid = 'LDAP' mte_f1_help_text_msgno = 033 perf_customizing_group = 'LDAP_PERF_CUSTGR' perf_threshold_green_to_yellow = 85 perf_threshold_yellow_to_red = 95 perf_threshold_yellow_to_green = 80 perf_threshold_red_to_yellow = 90 perf_unit_to_display = '%' IMPORTING new_tid = ls_node_load EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
SALI_PERF_REPORT_VALUE CALL FUNCTION 'SALI_PERF_REPORT_VALUE' EXPORTING total_of_reported_values = is_connector-coload reportedby = 'LDAP' CHANGING tid = ls_node_load EXCEPTIONS invalid_tid = 1 wrong_typeclass = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.