SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

CSM_LOAD_LOCAL_SYSTEM_DATA SAP ABAP Report - Adding System to Central System Management







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


Text pool values


Title: Adding System to Central System Management


INCLUDES used within this REPORT CSM_LOAD_LOCAL_SYSTEM_DATA

INCLUDE RSALOLDI.
INCLUDE RSALINTI.


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:

SCSMROUTE_SETTINGS_ON_LOAD CALL FUNCTION 'SCSMROUTE_SETTINGS_ON_LOAD' EXPORTING progress_indicator = 'X' * use_prio_routes = 'X' * route_cache_valid_minutes = 10 * only_local_sysid = ' ' * rfc_allowed = 'X' EXCEPTIONS OTHERS = 99.

SALR_MTE_GET_TID_BY_NAME CALL FUNCTION 'SALR_MTE_GET_TID_BY_NAME' EXPORTING longname = '&SY\CCMS_Selfmonitoring\...\System Component Repository\Version'

ENQUEUE_ECSMBK CALL FUNCTION 'ENQUEUE_ECSMBK' * EXPORTING * MODE_CSMBK = 'E' * CCMS_OBJ = * TOKEN = * VALUE = * X_CCMS_OBJ = ' ' * X_TOKEN = ' ' * X_VALUE = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

ENQUEUE_ECSMBK_OB2 CALL FUNCTION 'ENQUEUE_ECSMBK_OB2' * EXPORTING * MODE_CSMBK_OBJ = 'E' * CCMS_OBJ = * X_CCMS_OBJ = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

SCSMBK_CREATE_DOMAINANDSYSTEM CALL FUNCTION 'SCSMBK_CREATE_DOMAINANDSYSTEM' EXPORTING * namespace = csm_default_domain namespace = namespace_name IMPORTING namespace_object_entry = namespace_entry local_system_object_entry = system_entry EXCEPTIONS function_failed = 1 not_authorized = 2 OTHERS = 3.

SCSM_SYSTEM_RELEASE CALL FUNCTION 'SCSM_SYSTEM_RELEASE' EXPORTING system_entry = system_entry EXCEPTIONS not_authorized internal_error.

SCSM_REPOSITORY_DATA CALL FUNCTION 'SCSM_REPOSITORY_DATA' EXPORTING system_entry = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_OPMODES_APPSERVERS_HOSTS CALL FUNCTION 'SCSM_OPMODES_APPSERVERS_HOSTS' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_ABAPDRIV_RFC_DESTINATIONS CALL FUNCTION 'SCSM_ABAPDRIV_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_CMC_RFC_DESTINATIONS CALL FUNCTION 'SCSM_CMC_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_HTTP_RFC_DESTINATIONS CALL FUNCTION 'SCSM_HTTP_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_INTERNAL_RFC_DESTINATIONS CALL FUNCTION 'SCSM_INTERNAL_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_LOGICAL_RFC_DESTINATIONS CALL FUNCTION 'SCSM_LOGICAL_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_R2_RFC_DESTINATIONS CALL FUNCTION 'SCSM_R2_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_R3_RFC_DESTINATIONS CALL FUNCTION 'SCSM_R3_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = discovry namespace_ref = namespace_entry system_ref = system_entry frequency_in_days = lasttest EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_SNA_RFC_DESTINATIONS CALL FUNCTION 'SCSM_SNA_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_TCPIP_RFC_DESTINATIONS CALL FUNCTION 'SCSM_TCPIP_RFC_DESTINATIONS' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_R3_PRINTER_DEFINITIONS CALL FUNCTION 'SCSM_R3_PRINTER_DEFINITIONS' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_BCDATA_COMP_PACK_LOCAL





CALL FUNCTION 'SCSM_BCDATA_COMP_PACK_LOCAL' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SPAM_LAST_HOT_PACKAGE

SCSM_BCDATA_CLIENTS * CALL FUNCTION 'SPAM_LAST_HOT_PACKAGE' * IMPORTING * HOTP_NUMBER = hpnumber * HOTP_STATUS = hpstatus * HOT_PACKAGE = hpackage * PATCH_TYPE = hptype
*----------------------------------------------------* * Get Client Information *----------------------------------------------------* CALL FUNCTION 'SCSM_BCDATA_CLIENTS' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_DB_DATA CALL FUNCTION 'SCSM_DB_DATA' EXPORTING namespace = namespace_name test_destinations = csm_no namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_GROUP_DATA CALL FUNCTION 'SCSM_GROUP_DATA' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSM_RG_OBJ_GET_BY_CLASS CALL FUNCTION 'SCSM_RG_OBJ_GET_BY_CLASS' EXPORTING namespace = namespace_name scheme = scheme_bc class = cls_r3 * GUID_OF_PARENT = * TEST_PROPERTY = * TEST_VALUE = TABLES object_entries = al_known_systems EXCEPTIONS no_class_members_found = 1 not_authorized = 2 both_proprty_and_valu_required = 3 parent_obj_not_found = 4 OTHERS = 5 .

SCSM_GROUP_DATA CALL FUNCTION 'SCSM_GROUP_DATA' EXPORTING namespace = namespace_name namespace_ref = namespace_entry system_ref = system_entry EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

DEQUEUE_ECSMBK CALL FUNCTION 'DEQUEUE_ECSMBK' * CCMS_OBJ = * TOKEN = * VALUE = * X_CCMS_OBJ = ' ' * X_TOKEN = ' ' * X_VALUE = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

DEQUEUE_ECSMBK_OB2 CALL FUNCTION 'DEQUEUE_ECSMBK_OB2' * EXPORTING * MODE_CSMBK_OBJ = 'E' * CCMS_OBJ = * X_CCMS_OBJ = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

SCSMBK_OBJ_READ CALL FUNCTION 'SCSMBK_OBJ_READ' EXPORTING quantity = csm_single sap_key = dummy_key namespace = p_system_entry-namespace class = cls_scrproxy IMPORTING return_code = src object_entry = sub_rep_obj.

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = sub_rep_obj-ccms_obj restrict_to_property = tok_r3mona TABLES properties = bk_table EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5.

SCSM_RS_PROPERTYLIST_SET CALL FUNCTION 'SCSM_RS_PROPERTYLIST_SET' TABLES input_data = facts * EXTENDED_VALUES = EXCEPTIONS not_authorized = 1 database_error = 2 extended_value_error = 3 OTHERS = 4 .

SCSM_RS_PROPERTYLIST_SET CALL FUNCTION 'SCSM_RS_PROPERTYLIST_SET' TABLES input_data = facts * EXTENDED_VALUES = EXCEPTIONS not_authorized = 1 database_error = 2 extended_value_error = 3 OTHERS = 4 .

SCSMBK_OBJ_READ CALL FUNCTION 'SCSMBK_OBJ_READ' EXPORTING quantity = csm_single sap_key = dummy_key namespace = p_namespace_name class = cls_scrproxy IMPORTING return_code = src object_entry = sub_rep_obj.

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING namespace = p_namespace_name * SCOPING_OBJECT_GUID = object_key_elements = object_keys * OTHER_PROPRTY_VALUES = * EXTENDED_VALUES = object_scheme = scheme_bc object_class = cls_scrproxy object_system = sysid object_status = csm_active dominant_system = sysid reporter = csm_standard_owner IMPORTING object_entry = sub_rep_obj EXCEPTIONS incomplete_key_fields = 1 extra_key_fields = 2 not_authorized = 3 overflow_in_object_name = 4 object_class_not_defined = 5 object_class_is_obsolete = 6 object_class_is_abstract = 7 object_class_is_dynamic = 8 object_name_in_use_in_other_cl = 9 internal_error = 10 object_has_been_deleted = 11 OTHERS = 12 .

SCSM_RS_ASSOCIATION_INSTANTIAT CALL FUNCTION 'SCSM_RS_ASSOCIATION_INSTANTIAT' EXPORTING * SCHEME = SCHEME_BC class = asc_sysscrrole status = csm_active * OBJECT_SYSTEM = SY-SYSID * DOMINANT_SYSTEM = SY-SYSID reporter = csm_standard_owner * PROPERTY_VALUES = * EXTENDED_VALUES = * IMPORTING * OBJECT_ENTRY = TABLES referenced_objects = referenced_objects EXCEPTIONS not_authorized = 1 two_references_required = 2 referenced_guid_not_in_scr = 3 association_class_not_defined = 4 assoc_class_is_obsolete = 5 assoc_class_is_abstract = 6 assoc_not_valid_for_refd_clses = 7 database_error = 8 internal_error = 9 only_2_references_allowed = 10 OTHERS = 11 .

SCSM_ROUTES_FOR_SYSTEM CALL FUNCTION 'SCSM_ROUTES_FOR_SYSTEM' EXPORTING alsystem = sysid TABLES routes = routes routes_csmsegm = routessegm EXCEPTIONS no_route_found = 1 invalid_params = 2 system_unknown = 3 no_route_for_segmstatus = 4 only_local_sysid_allowed = 5 OTHERS = 6.

SCSM_RS_PROPERTYLIST_SET CALL FUNCTION 'SCSM_RS_PROPERTYLIST_SET' TABLES input_data = facts * EXTENDED_VALUES = EXCEPTIONS not_authorized = 1 database_error = 2 extended_value_error = 3 OTHERS = 4 .



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 CSM_LOAD_LOCAL_SYSTEM_DATA or its description.