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

CSM_MAINTAIN_GROUPS SAP ABAP Report - CSMMAINTAINGROUPS







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


Text pool values


Text Symbol: 910 = No
Text Symbol: 904 = Create System
Text Symbol: 903 = Create system group
Text Symbol: 902 = Delete system from group
Text Symbol: 901 = Delete system group
Text Symbol: 900 = Yes
Text Symbol: 804 = caused an error.
Text Symbol: 803 = One of the automation queue methods
Text Symbol: 802 = Internal Error :
Text Symbol: 801 = Error in automation queue
Text Symbol: 743 = Remove Systsem from Availability Monitoring
Text Symbol: 742 = Add the system in the availability monitoring configuration program (in RZ21).
Text Symbol: 741 = This system is unknown in the availability monitoring.
Text Symbol: 740 = Add System to Availability Monitoring
Text Symbol: 701 = Monitoring Active
Text Symbol: 700 = System Description
Text Symbol: 525 = This system group is removed from the reference groups.
Text Symbol: 524 = Systems that you delete are automatically removed from the availablity monitoring.
Text Symbol: 523 = Systems that you add are automatically monitored.
Text Symbol: 522 = This group is a reference group for availability monitoring.
Text Symbol: 521 = Reference System Group
Text Symbol: 501 = New System
Text Symbol: 500 = New Group
Text Symbol: 401 = Create System
Text Symbol: 400 = System Groups
Text Symbol: 306 = Maintain Systems
Text Symbol: 305 = Maintain Groups
Text Symbol: 304 = Delete System Group
Text Symbol: 303 = Delete System
Text Symbol: 302 = Create System
Text Symbol: 301 = Create System Group
Text Symbol: 300 = System groups and assigned systems
Text Symbol: 204 = Maintain system groups
Text Symbol: 203 = Cancel
Text Symbol: 202 = Continue
Text Symbol: 201 = Changes to central Repository groupsd will be overwritten.
Text Symbol: 200 = This Repository is a sub-Repository of another.
Text Symbol: 110 = Do you want to delete this system?





Text Symbol: 102 = Confirmation
Text Symbol: 100 = Do you want to delete this system group?
Text Symbol: 050 = System Groups for Alert Monitor


INCLUDES used within this REPORT CSM_MAINTAIN_GROUPS

INCLUDE RSCSMEXTI.
INCLUDE RSALEXTI.
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 * USE_PRIO_ROUTES = 'X' * ONLY_LOCAL_SYSID = ' ' * RFC_ALLOWED = 'X' * PROGRESS_INDICATOR = ' ' EXCEPTIONS SETTING_NOT_ALLOWED = 1 OTHERS = 2 .

SALH_ALCONSEG_GET_ALL_SYSTEMS CALL FUNCTION 'SALH_ALCONSEG_GET_ALL_SYSTEMS' TABLES systems = valid_systems EXCEPTIONS empty_alconseg = 1 OTHERS = 2.

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

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

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Automation Queue failure'(801) txt1 = 'Internal error:'(802) txt2 = 'A method in the automation queue'(803) txt3 = 'caused a failure.'(804).

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CSMBK' CHANGING ct_fieldcat = gt_fieldcatalog.

SCSM_RG_OBJ_GET_BY_CLASS CALL FUNCTION 'SCSM_RG_OBJ_GET_BY_CLASS' EXPORTING namespace = csm_default_domain * SCHEME = SCHEME_BC class = cls_grp * GUID_OF_PARENT = * TEST_PROPERTY = * TEST_VALUE = return_subclass_instances = csm_no TABLES object_entries = groups EXCEPTIONS no_class_members_found = 1 not_authorized = 2 both_proprty_and_valu_required = 3 parent_obj_not_found = 4 OTHERS = 5 .

SALR_SYS_GROUP_GET_LIST * CALL FUNCTION 'SALR_SYS_GROUP_GET_LIST' * TABLES * system_groups = tmp_csmbk * EXCEPTIONS * no_groups_defined = 1 * not_authorized = 2 * internal_error = 3 * OTHERS = 4.

SCSM_RG_OBJ_GET_ASSOCIATIONS CALL FUNCTION 'SCSM_RG_OBJ_GET_ASSOCIATIONS' EXPORTING ccms_obj_in = -ccms_obj association_scheme = scheme_bc association_class = asc_grpcomp TABLES * ASSOCIATIONS = associations_alternate_format = group_associations EXCEPTIONS no_associations_found = 1 not_authorized = 2 OTHERS = 3 .

SALR_SYS_GROUP_GET_SYSTEMS * CALL FUNCTION 'SALR_SYS_GROUP_GET_SYSTEMS' * EXPORTING * group_name = -value ** GROUP_GUID = * TABLES * member_systems = systems * EXCEPTIONS * group_not_found_in_repository = 1 * group_has_no_members = 2 * neither_guid_nor_name_given = 3 * both_guid_and_name_given = 4 * not_authorized = 5 * internal_error = 6 * OTHERS = 7 * .

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -ccms_obj restrict_to_property = tok_r3desc TABLES properties = desc_csmbk * EXTENDED_VALUES = EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

SCSM_RG_OBJ_GET_BY_CLASS CALL FUNCTION 'SCSM_RG_OBJ_GET_BY_CLASS' EXPORTING scheme = scheme_bc class = cls_scrproxy * GUID_OF_PARENT = test_property = tok_r3mona test_value = test_value TABLES object_entries = grprepobj EXCEPTIONS no_class_members_found = 1 not_authorized = 2 both_proprty_and_valu_required = 3 parent_obj_not_found = 4 OTHERS = 5 .

SCSM_RG_OBJ_GET_ASSOCIATIONS CALL FUNCTION 'SCSM_RG_OBJ_GET_ASSOCIATIONS' EXPORTING ccms_obj_in = -ccms_obj association_scheme = scheme_bc association_class = asc_sysscrrole TABLES * ASSOCIATIONS = associations_alternate_format = repository_associations EXCEPTIONS no_associations_found = 1 not_authorized = 2 OTHERS = 3 .

SCSM_RG_OBJ_ENTRY_GET_BY_GUID CALL FUNCTION 'SCSM_RG_OBJ_ENTRY_GET_BY_GUID' EXPORTING object_guid = -superobj IMPORTING objref = wa_obj * CHANGING * ASCREF = EXCEPTIONS guid_not_found = 1 internal_error = 2 OTHERS = 3 .

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = display "B20K011756 fieldname = help_fieldname "B20K069688 tabname = tabname IMPORTING select_value = value TABLES valuetab = v_tab fields = f_tab.

SCSMBK_ASSOCIATION_READ





CALL FUNCTION 'SCSMBK_ASSOCIATION_READ' EXPORTING quantity = csm_single superobj = p_wa_group-ccms_obj subordobj = p_new_system-ccms_obj assoccls = asc_grpcomp IMPORTING return_code = src CHANGING association_entry = ascentry EXCEPTIONS multiple_entries_found = 1 OTHERS = 2.

SCSM_RS_ASSOCIATION_INSTANTIAT CALL FUNCTION 'SCSM_RS_ASSOCIATION_INSTANTIAT' EXPORTING scheme = scheme_bc class = asc_grpcomp * STATUS = * OBJECT_SYSTEM = SY-SYSID * DOMINANT_SYSTEM = SY-SYSID reporter = csm_standard_owner * PROPERTY_VALUES = * EXTENDED_VALUES = IMPORTING object_entry = ascentry TABLES referenced_objects = reference_guids 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 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Referenz-Systemgruppe'(521) txt1 = text-522 txt2 = text-525 * TXT3 = ' ' * TXT4 = ' ' .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Delete this system group?'(100) * textline2 = 'this node and all its subnodes?'(101) titel = 'Confirmation'(102) cancel_display = ' ' IMPORTING answer = l_rc.

SCSM_RG_OBJ_ENTRY_GET_BY_GUID CALL FUNCTION 'SCSM_RG_OBJ_ENTRY_GET_BY_GUID' EXPORTING object_guid = wa_group-ccms_obj IMPORTING objref = obj EXCEPTIONS guid_not_found = 1 internal_error = 2 OTHERS = 3.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Referenz-Systemgruppe'(521) txt1 = text-522 txt2 = text-524 * TXT3 = ' ' * TXT4 = ' ' .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Delete this system?'(110) * textline2 = 'this node and all its subnodes?'(101) titel = 'Confirmation'(102) cancel_display = ' ' IMPORTING answer = l_rc.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Delete system from availability monitoring'(743) txt1 = 'This system is unknown to the availability monitor.'(741)

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING * NO_VALUE_CHECK = ' ' popup_title = 'Add new system group'(400) * START_COLUMN = '5' * START_ROW = '5' IMPORTING returncode = l_rc TABLES fields = getval EXCEPTIONS error_in_fields = 1 OTHERS = 2 .

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING scoping_object_guid = p_namespace_entry-ccms_obj object_key_elements = group_keys object_scheme = scheme_bc object_class = cls_grp object_system = sy-sysid dominant_system = sy-sysid reporter = csm_standard_owner IMPORTING object_entry = new_group 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 OTHERS = 11 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Referenz-Systemgruppe'(521) txt1 = text-522 txt2 = 'Systeme, die Sie hinzufügen, werden automatisch überwacht.'(523)

POPUP_GET_VALUES_USER_HELP CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP' EXPORTING f4_formname = 'MONA_SYSTEMS' f4_programname = 'CSM_MAINTAIN_GROUPS' popup_title = 'Add system to group'(401) IMPORTING returncode = l_rc TABLES fields = getval EXCEPTIONS error_in_fields = 1 OTHERS = 2.

SCSM_RG_REMOTESYS_ROOT_GET CALL FUNCTION 'SCSM_RG_REMOTESYS_ROOT_GET' EXPORTING namespace = csm_default_domain remote_system = sysname IMPORTING remote_system_entry = new_system EXCEPTIONS system_not_found_in_repository = 1 not_authorized = 2 internal_error = 3 ambiguous_system_id = 4 OTHERS = 5.

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING scoping_object_guid = p_namespace_entry-ccms_obj object_key_elements = system_object_keys * other_proprty_values = sys_data_table object_scheme = scheme_bc object_class = cls_r3 object_system = rsysid dominant_system = rsysid reporter = csm_standard_owner IMPORTING object_entry = new_system 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 OTHERS = 11 .

SCSM_RG_OBJ_ENTRY_GET_BY_GUID CALL FUNCTION 'SCSM_RG_OBJ_ENTRY_GET_BY_GUID' EXPORTING object_guid = wa_group-ccms_obj IMPORTING objref = addgroup EXCEPTIONS guid_not_found = 1 internal_error = 2 OTHERS = 3.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Add system to availability monitoring'(740) txt1 = 'This system is unknown to the availability monitor.'(741)



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