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

CSM_RECONCILE_REPOSITORIES SAP ABAP Report - Program CSM_RECONCILE_REPOSITORIES







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


Text pool values


Title: Program CSM_RECONCILE_REPOSITORIES


INCLUDES used within this REPORT CSM_RECONCILE_REPOSITORIES

INCLUDE RSCSMEXTI.
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:

SCSMBK_OBJ_READ * CALL FUNCTION 'SCSMBK_OBJ_READ' * EXPORTING * quantity = csm_multiple * class = cls_grp * TABLES * object_entries = groups.

SCSMBK_ASSOCIATION_READ * CALL FUNCTION 'SCSMBK_ASSOCIATION_READ' * EXPORTING * quantity = csm_multiple * assoc_cls = asc_domgrp * TABLES * association_entries = grpassoc * EXCEPTIONS * OTHERS = 1.

SCSMBK_ASSOCIATION_READ * CALL FUNCTION 'SCSMBK_ASSOCIATION_READ' * EXPORTING * quantity = csm_multiple * assoc_cls = asc_grpsys * TABLES * association_entries = grpassoc * EXCEPTIONS * OTHERS = 1.

SCSMBK_CREATE_DOMAINANDSYSTEM CALL FUNCTION 'SCSMBK_CREATE_DOMAINANDSYSTEM' EXPORTING namespace = namespace IMPORTING namespace_object_entry = domentry local_system_object_entry = sysentry EXCEPTIONS function_failed = 1 not_authorized = 2 OTHERS = 3.

SCSM_RG_CENTRAL_SYSTEM_GET CALL FUNCTION 'SCSM_RG_CENTRAL_SYSTEM_GET' EXPORTING subordinate_sys_guid = sysentry-ccms_obj IMPORTING central_system_name = censysname EXCEPTIONS no_central_system_assigned = 1 subord_system_is_central_sys = 2 subordinate_system_not_found = 3 repository_not_yet_filled = 4 internal_error = 5 OTHERS = 6.

SCSMBK_OBJ_READ CALL FUNCTION 'SCSMBK_OBJ_READ' EXPORTING quantity = csm_single sap_key = dummy_key namespace = sysentry-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_repvers TABLES properties = facts * EXTENDED_VALUES = EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

SCSMBK_CEN_OLD_DATA_DISPOSAL CALL FUNCTION 'SCSMBK_CEN_OLD_DATA_DISPOSAL' DESTINATION tgtdest EXPORTING registering_system = sy-sysid system_release = compatible_versions-release IMPORTING return_code = returncode "Repository release EXCEPTIONS not_authorized = 1 OTHERS = 2.

SCSMBK_WKROOT_RECONCILE CALL FUNCTION 'SCSMBK_WKROOT_RECONCILE' DESTINATION tgtdest EXPORTING management_domain = domentry operation = 'R' IMPORTING reconciled_domain = newdomentry TABLES domain_properties = newdomprop EXCEPTIONS repositories_already_reconcild = 1 target_system_not_central_sys = 2 no_management_domain_defined = 3 multiple_mgmt_domains_defined = 4 update_only_for_reconcild_reps = 5 impermissible_operation = 6 target_sys_is_subordinate_sys = 7 error_inserting_data = 8 not_authorized = 9 internal_error = 10 OTHERS = 11.

SCSMBK_WKROOT_REPLACE_IN_REPOS CALL FUNCTION 'SCSMBK_WKROOT_REPLACE_IN_REPOS' EXPORTING reconciled_domain = newdomentry old_mgmt_domain = domentry TABLES wkroot_properties = newdomprop EXCEPTIONS not_authorized = 1 OTHERS = 2.

SCSMBK_OBJ_READ CALL FUNCTION 'SCSMBK_OBJ_READ' EXPORTING quantity = csm_multiple namespace = namespace TABLES object_entries = locobj.

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -ccms_obj * RESTRICT_TO_PROPERTY = TABLES properties = tmpfacts extended_values = tmpvals EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -ccms_obj * RESTRICT_TO_PROPERTY = TABLES properties = tmpfacts extended_values = tmpvals EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

SCSMBK_OBJ_READ * CALL FUNCTION 'SCSMBK_OBJ_READ' * EXPORTING * quantity = csm_single * ccms_obj = -ccms_obj * objtype = csm_object * IMPORTING * object_entry = tmpobj.

SCSMBK_OBJECTS_RECONCILE CALL FUNCTION 'SCSMBK_OBJECTS_RECONCILE' DESTINATION tgtdest EXPORTING registering_system = objname TABLES * local_hosts = locsrv objects_to_register = locobj object_properties = locfacts object_extendedvals = locvals EXCEPTIONS not_authorized = 1 database_problem = 2 OTHERS = 3.

SCSMBK_OBJECT_REPLACE_IN_REPOS CALL FUNCTION 'SCSMBK_OBJECT_REPLACE_IN_REPOS' EXPORTING old_guid = -old_guid new_object = newobj TABLES new_objct_properties = newprop old_objct_properties = oldprop new_objct_xvals = newxval old_objct_xvals = oldxval EXCEPTIONS not_authorized = 1 OTHERS = 2.

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -assocobj * RESTRICT_TO_PROPERTY = TABLES properties = tmpascprops extended_values = tmpascxvals EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

SCSMBK_ASSOC_RECONCILE_ASC CALL FUNCTION 'SCSMBK_ASSOC_RECONCILE_ASC' DESTINATION tgtdest EXPORTING registering_system = objguid TABLES local_associations = associations local_asc_props = ascprops local_asc_xvals = ascxvals central_associations = new_associations EXCEPTIONS not_authorized = 1 OTHERS = 2.

SCSMBK_ASSOC_REPLACE_CSMBKASC





CALL FUNCTION 'SCSMBK_ASSOC_REPLACE_CSMBKASC' TABLES oldassociations = associations newassociations = new_associations new_asc_props = ascprops new_asc_xvals = ascxvals.

SCSMBK_DATA_GET_BY_CLASS * CALL FUNCTION 'SCSMBK_DATA_GET_BY_CLASS' DESTINATION tgtdest * EXPORTING * class = cls_grp * TABLES * class_objects = groups * class_data_tree = group_data * EXCEPTIONS * no_data_found = 1 * internal_error = 2 * token_does_not_belong_to_class = 3 * value_invalid = 4 * class_not_defined = 5 * class_value_tuple_incomplete = 6 * not_authorized = 7 * OTHERS = 8 * .

SCSMBK_OBJ_READ * CALL FUNCTION 'SCSMBK_OBJ_READ' * EXPORTING * quantity = csm_single * class = cls_grp * obj_name = -displaynm * weakrtnm = csm_default_domain * weakrtcls = cls_dom * IMPORTING * return_code = src * object_entry = local_group.

SCSMBK_OBJ_GET_ASSOCIATIONS * CALL FUNCTION 'SCSMBK_OBJ_GET_ASSOCIATIONS' DESTINATION tgtdest * EXPORTING * ccms_obj = -ccms_obj * TABLES * assoc_obj_weak = grp_ass_wk * assoc_obj_strong = grp_ass_sr * assoc_obj_start = grp_ass_st * assoc_obj_end = grp_ass_en * EXCEPTIONS * no_associations_found = 1 * not_authorized = 2 * classmap_table_empty_or_bad = 3 * repository_inconsistency_found = 4 * OTHERS = 5.

SCSMBK_OBJ_READ * CALL FUNCTION 'SCSMBK_OBJ_READ' * EXPORTING * quantity = csm_single * ccms_obj = -subordobj * class = cls_r3 * IMPORTING * return_code = src * object_entry = tmpobj.

SCSMBK_DATA_GET_BY_GUID * CALL FUNCTION 'SCSMBK_DATA_GET_BY_GUID' * DESTINATION tgtdest * EXPORTING * ccms_obj = -subordobj * token = csm_name * IMPORTING * object_handle = cengrpsys * TABLES * guid_data_tree = cengrpsysdata * EXCEPTIONS * no_data_found = 1 * no_object_entry_for_guid = 2 * no_classdef_for_owner_obj = 3 * err_repository_data_missing = 4 * no_repository_data_for_guid = 5 * invalid_value_as_guid = 6 * no_data_found_for_token = 7 * reference_specified_as_token = 8 * assoc_instance_with_assoc_type = 9 * value_specified_without_token = 10 * too_many_selection_inputs = 11 * no_repository_data_for_class = 12 * internal_error = 13 * not_authorized = 14 * OTHERS = 15 * .

SCSMBK_OBJ_GET_ASSOCIATIONS * CALL FUNCTION 'SCSMBK_OBJ_GET_ASSOCIATIONS' * DESTINATION tgtdest * EXPORTING * ccms_obj = cengrpsys-ccms_obj * get_assoc_weakside = csm_yes * get_assoc_strongside = csm_no * get_assoc_dirstart = csm_no * get_assoc_dirend = csm_no * TABLES * assoc_obj_weak = cengrpwkasc * EXCEPTIONS * no_associations_found = 1 * not_authorized = 2 * classmap_table_empty_or_bad = 3 * repository_inconsistency_found = 4 * OTHERS = 5 * .

SCSMBK_PROPERTY_READ * CALL FUNCTION 'SCSMBK_PROPERTY_READ' * EXPORTING * quantity = csm_single * ccms_obj = cengrpsys-ccms_obj * token = tok_r3mona * value = 'Y' * IMPORTING * return_code = src * EXCEPTIONS * multiple_entries_found = 1 * OTHERS = 2.

SCSMBK_CENSYS_SET_REPORT_TIME CALL FUNCTION 'SCSMBK_CENSYS_SET_REPORT_TIME' DESTINATION tgtdest EXPORTING system_name = objname timestamp = ts EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.

SCSMBK_CENSYS_SET_REPORT_TIME CALL FUNCTION 'SCSMBK_CENSYS_SET_REPORT_TIME' EXPORTING system_name = objname timestamp = ts EXCEPTIONS not_authorized = 1 internal_error = 2 OTHERS = 3.



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