SAP Reports / Programs

CSM_REG SAP ABAP Report - Adding System to Central System Management







CSM_REG 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_REG 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_REG. "Basic submit
SUBMIT CSM_REG AND RETURN. "Return to original report after report execution complete
SUBMIT CSM_REG 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
Text Symbol: 031 = Changes are recorded in transport request
Text Symbol: 032 = Customizing in this client cannot be changed
Text Symbol: 033 = Customizing: Can be changed as req., but cannot be transp.
Text Symbol: 040 = Changes to Repository and cross-client Customizing allowed
Text Symbol: 041 = No changes to cross-client Customizing objects
Text Symbol: 042 = No changes to Repository objects
Text Symbol: 043 = No changes to Repository and cross-client Customizing objs
Text Symbol: 050 = Protection level 1: No overwriting
Text Symbol: 051 = Protection level 2: No overwriting, no external availability
Text Symbol: 060 = No
Text Symbol: 061 = Yes
Text Symbol: 100 = Change system role in central system administration
Text Symbol: 101 = Assign system "central system" role
Text Symbol: 102 = Should this system become the central Repository server?
Text Symbol: 103 = OK
Text Symbol: 104 = Cancel
Text Symbol: 105 = Should this system be assigned as a subsystem of the central Repository system?
Text Symbol: 106 = Assign system "subordinate system" role
Text Symbol: 107 = Maintain RFC destination for central system
Text Symbol: 108 = Enter the central system on this screen
Text Symbol: 109 = Maintain the "RFC Destinations" screen
Text Symbol: 110 = Yes
Text Symbol: 111 = No
Text Symbol: 112 = Fill CCMS repository
Text Symbol: 030 = No automatic recording of changes for transport
Text Symbol: 001 = Logon to Central SAP System
Text Symbol: 002 = Options for central system administration
Text Symbol: 003 = Distribute user roles to this system
Text Symbol: 004 = Add system to Transport Management System
Text Symbol: 005 = Monitor system through central monitoring architecture
Text Symbol: 006 = Central availability monitoring (monitoring architecture)
Text Symbol: 007 = Monitor entire system
Text Symbol: 008 = Monitor selected instances; alert for new instances
Text Symbol: 009 = Monitor selected instances; no alert for new instances
Text Symbol: 010 = Do not monitor system
Text Symbol: 011 = Monitor from central system
Text Symbol: 012 = Maintain destination





Text Symbol: 013 = Name of SAP System for Central Monitoring
Text Symbol: 014 = RFC destination for central system
Text Symbol: 015 = Install CCMS agent
Text Symbol: 016 = Regularly transfer performance data to central system
Text Symbol: 017 = Generate standard destination
Text Symbol: 020 = Not maintained
Text Symbol: 021 = Production
Text Symbol: 022 = Test
Text Symbol: 023 = Customizing
Text Symbol: 024 = Demonstration
Text Symbol: 025 = Training/Education
Text Symbol: 026 = SAP reference
Text Symbol: 027 = Unknown


INCLUDES used within this REPORT CSM_REG

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

RFC_CHECK_DESTINATION * CALL FUNCTION 'RFC_CHECK_DESTINATION' * EXPORTING * mydest = csmdest * mytype = '3' * EXCEPTIONS * empty_destination = 1 * OTHERS = 2.

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = csmdest action = 'M' * AUTHORITY_CHECK = 'X' loadbalancing = 'X' systemid = csm_sys systemnr = systemnummer server = msgsrv_host group = lgruppe * TRACE = ' ' trusted_system = ' ' * rfclogon_gui = 'X' * LANGUAGE = language * 4.6D

RFC_VERIFY_DESTINATION CALL FUNCTION 'RFC_VERIFY_DESTINATION' EXPORTING destination = dest_to_verify autoupdate = 'X' timeout = 60 EXCEPTIONS internal_failure = 1 timeout = 2 dest_communication_failure = 3 dest_system_failure = 4 update_failure = 5 no_update_authority = 6 OTHERS = 7.

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = csmdest action = 'M' * AUTHORITY_CHECK = 'X' * LOADBALANCING = ' ' systemid = csm_sys systemnr = systemnummer server = zielmaschine * GROUP = 'PUBLIC' * TRACE = ' ' trusted_system = ' ' * rfclogon_gui = 'X' * LANGUAGE = language * CLIENT = cli * 4.6D

RFC_VERIFY_DESTINATION CALL FUNCTION 'RFC_VERIFY_DESTINATION' EXPORTING destination = dest_to_verify autoupdate = 'X' timeout = 60 EXCEPTIONS internal_failure = 1 timeout = 2 dest_communication_failure = 3 dest_system_failure = 4 update_failure = 5 no_update_authority = 6 OTHERS = 7.

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

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = sysentry-ccms_obj TABLES properties = system_data * EXTENDED_VALUES = system_xval 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 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 = tables properties = repository_data * 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_ASSOCIATIONS CALL FUNCTION 'SCSM_RG_OBJ_GET_ASSOCIATIONS' EXPORTING ccms_obj_in = sysentry-ccms_obj association_scheme = scheme_bc association_class = asc_sysadm TABLES * ASSOCIATIONS = associations_alternate_format = system_admin_tbl EXCEPTIONS no_associations_found = 1 not_authorized = 2 OTHERS = 3 .

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -subordobj * RESTRICT_TO_PROPERTY = TABLES properties = sysadmin_props * 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_ASSOCIATIONS CALL FUNCTION 'SCSM_RG_OBJ_GET_ASSOCIATIONS' EXPORTING ccms_obj_in = dbentry-ccms_obj association_scheme = scheme_bc association_class = asc_dbadm TABLES * ASSOCIATIONS = associations_alternate_format = db_admin_tbl EXCEPTIONS no_associations_found = 1 not_authorized = 2 OTHERS = 3 .

SCSM_RG_OBJ_GET_PROPERTIES CALL FUNCTION 'SCSM_RG_OBJ_GET_PROPERTIES' EXPORTING ccms_obj_in = -subordobj * RESTRICT_TO_PROPERTY = TABLES properties = dbadmprops * EXTENDED_VALUES = EXCEPTIONS no_data_found = 1 internal_error = 2 not_authorized = 3 no_object_entry_for_guid = 4 OTHERS = 5 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-107 text_question = text-109 text_button_1 = text-110 text_button_2 = text-111 display_cancel_button = ' ' IMPORTING answer = ans EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-101 text_object = 'CSM_CENTRAL_SYSTEM_ROLE' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-101 text_object = 'CSM_SUBORD_SYSTEM_ROLE' EXCEPTIONS text_not_found = 1 OTHERS = 2.

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

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING scoping_object_guid = sysentry-ccms_obj object_key_elements = object_keys * other_proprty_values = data_table * extended_values = extended_values object_scheme = scheme_bc object_class = cls_db object_system = sy-sysid * OBJECT_STATUS = dominant_system = sy-sysid reporter = csm_standard_owner IMPORTING object_entry = dbentry 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 .

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = jobparin * ENDDATE = ' ' * ENDTIME = ' ' * IMPORTING * JOBSEL_PARAM_OUT = TABLES jobselect_joblist = joblist EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6 .

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = csm_std_reconciler curr_variant = csmvari vari_desc = csmvarid TABLES vari_contents = variparms vari_text = varitext EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 OTHERS = 9.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = csm_std_reconciliation_job IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = sy-uname jobcount = jobcount jobname = csm_std_reconciliation_job report = csm_std_reconciler variant = csmvari EXCEPTIONS bad_priparams = 1 bad_xpgflags = 2 invalid_jobdata = 3 jobname_missing = 4 job_notex = 5 job_submit_failed = 6 lock_failed = 7 program_missing = 8 prog_abap_and_extpg_set = 9 OTHERS = 10.

BP_STDT_EDITOR_MAIN CALL FUNCTION 'BP_STDT_EDITOR_MAIN' EXPORTING stdt_editor_input = jobstart_in stdt_editor_opcode = btc_edit_startdate stdt_editor_title = text-112 IMPORTING stdt_editor_output = jobstart_out stdt_editor_data_modified = jobstart_result EXCEPTIONS invalid_opcode = 1 OTHERS = 2.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = csm_std_reconciliation_job strtimmed = ' ' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = csm_std_reconciliation_job strtimmed = immed_start EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = csm_std_reconciliation_job laststrtdt = jobstart_out-laststrtdt laststrttm = jobstart_out-laststrttm * PRDDAYS = jobstart_out-prddays * PRDHOURS = jobstart_out-prdhours * PRDMINS = jobstart_out-prdmins * PRDMONTHS = jobstart_out-prdmonths * PRDWEEKS = jobstart_out-prdweeks sdlstrtdt = jobstart_out-sdlstrtdt sdlstrttm = jobstart_out-sdlstrttm strtimmed = ' ' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8 .

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING event_id = jobstart_out-eventid event_param = jobstart_out-eventparm event_periodic = jobstart_out-periodic jobcount = jobcount jobname = csm_std_reconciliation_job dont_release = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = csm_std_reconciliation_job predjob_checkstat = jobstart_out-checkstat pred_jobcount = jobstart_out-predjobcnt pred_jobname = jobstart_out-predjob EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = csm_std_reconciliation_job strtimmed = ' ' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_CLOSE ** CALL FUNCTION 'JOB_CLOSE' ** EXPORTING ** jobcount = jobcount ** jobname = *csm_std_reconciliation_job ** laststrtdt = jobstart_out-laststrtdt ** laststrttm = jobstart_out-laststrttm ** sdlstrtdt = jobstart_out-sdlstrtdt ** sdlstrttm = jobstart_out-sdlstrttm ** startdate_restriction = btc_process_always ** strtimmed = ' ' ** targetsystem = ' ' ** start_on_workday_not_before = jobstart_out-notbefore ** start_on_workday_nr = jobstart_out-wdayno ** workday_count_direction = jobstart_out-wdaycdir *** RECIPIENT_OBJ = ** targetserver = jobstart_out-instname ** dont_release = 'X' *** IMPORTING *** JOB_WAS_RELEASED = ** EXCEPTIONS ** cant_start_immediate = 1 ** invalid_startdate = 2 ** jobname_missing = 3 ** job_close_failed = 4 ** job_nosteps = 5 ** job_notex = 6 ** lock_failed = 7 ** OTHERS = 8 ** .

SCSMBK_SYSTEM_REGISTER



CALL FUNCTION 'SCSMBK_SYSTEM_REGISTER' DESTINATION csmdest EXPORTING registering_system = sy-sysid csm_maint_dest = dest_m csm_query_dest = dest_q rfc_type = '3' rfc_loadbalancing = csm_yes rfc_saveserver = csm_yes rfc_systemnumber = lsysno * RFC_HOST = rfc_group = lokgruppe rfc_messageserver = lmsgsrv_host rfc_logonclient = llogonclient EXCEPTIONS not_authorized = 1 OTHERS = 2 .

SCSMBK_SYSTEM_REGISTER CALL FUNCTION 'SCSMBK_SYSTEM_REGISTER' DESTINATION csmdest EXPORTING registering_system = sy-sysid csm_maint_dest = dest_m csm_query_dest = dest_q rfc_type = '3' rfc_loadbalancing = '' rfc_saveserver = csm_yes rfc_systemnumber = lsysno rfc_host = lzielmaschine * rfc_group = lokgruppe * rfc_messageserver = lmsgsrv_host rfc_logonclient = llogonclient EXCEPTIONS not_authorized = 1 OTHERS = 2 .

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = csmdest action = 'M' * AUTHORITY_CHECK = 'X' loadbalancing = 'X' systemid = csm_sys systemnr = systemnummer server = msgsrv_host group = lgruppe * TRACE = ' ' trusted_system = ' ' * rfclogon_gui = 'X' * LANGUAGE = language client = logonclient user = svcbenutzer * SAME_USER = ' ' password = pw * PASSWORDSCR = 'X' description = csm_cendesc * GWHOST = ' ' * GWSERVICE = ' ' * TRFCBTCSUPPR = ' ' * TRFCBTCTRIES = ' ' * TRFCBTCDELAY = ' ' * DESTCOPY = ' ' * DESTLOCK = ' ' * DEQUEUE_SYNCHRON = ' ' * ARFC_ACTIVE = 'X' * ARFC_METHOD = 'S' * ARFC_CYCLE = '10' EXCEPTIONS authority_not_available = 1 destination_already_exist = 2 destination_not_exist = 3 destination_enqueue_reject = 4 information_failure = 5 trfc_entry_invalid = 6 internal_failure = 7 OTHERS = 8 .

RFC_VERIFY_DESTINATION CALL FUNCTION 'RFC_VERIFY_DESTINATION' EXPORTING destination = dest_to_verify autoupdate = 'X' timeout = 60 EXCEPTIONS internal_failure = 1 timeout = 2 dest_communication_failure = 3 dest_system_failure = 4 update_failure = 5 no_update_authority = 6 OTHERS = 7.

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = csmdest action = 'M' * AUTHORITY_CHECK = 'X' * LOADBALANCING = ' ' systemid = csm_sys systemnr = systemnummer server = zielmaschine * GROUP = 'PUBLIC' * TRACE = ' ' trusted_system = ' ' * rfclogon_gui = 'X' * LANGUAGE = language * CLIENT = cli user = svcbenutzer * SAME_USER = ' ' password = pw * PASSWORDSCR = 'X' description = csm_cendesc * GWHOST = ' ' * GWSERVICE = ' ' * TRFCBTCSUPPR = ' ' * TRFCBTCTRIES = ' ' * TRFCBTCDELAY = ' ' * DESTCOPY = ' ' * DESTLOCK = ' ' * DEQUEUE_SYNCHRON = ' ' * ARFC_ACTIVE = 'X' * ARFC_METHOD = 'S' * ARFC_CYCLE = '10' EXCEPTIONS authority_not_available = 1 destination_already_exist = 2 destination_not_exist = 3 destination_enqueue_reject = 4 information_failure = 5 trfc_entry_invalid = 6 internal_failure = 7 OTHERS = 8 .

RFC_VERIFY_DESTINATION CALL FUNCTION 'RFC_VERIFY_DESTINATION' EXPORTING destination = dest_to_verify autoupdate = 'X' timeout = 60 EXCEPTIONS internal_failure = 1 timeout = 2 dest_communication_failure = 3 dest_system_failure = 4 update_failure = 5 no_update_authority = 6 OTHERS = 7.

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

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING namespace = csm_default_domain scoping_object_guid = domentry-ccms_obj object_key_elements = sysadm_key_table other_proprty_values = sysadm_data_table object_scheme = 'CIM' object_class = 'Person' object_system = sy-sysid object_status = csm_active dominant_system = sy-sysid reporter = csm_standard_owner IMPORTING object_entry = sysadm_object 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_RS_ASSOCIATION_INSTANTIAT CALL FUNCTION 'SCSM_RS_ASSOCIATION_INSTANTIAT' EXPORTING scheme = scheme_bc class = asc_class status = csm_active * OBJECT_SYSTEM = SY-SYSID * DOMINANT_SYSTEM = SY-SYSID reporter = csm_standard_owner * PROPERTY_VALUES = * EXTENDED_VALUES = IMPORTING object_entry = asc_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_RS_PROPERTYLIST_SET CALL FUNCTION 'SCSM_RS_PROPERTYLIST_SET' TABLES input_data = bk EXCEPTIONS not_authorized = 1 database_error = 2 extended_value_error = 3 OTHERS = 4.

SCSM_RS_ASSOCIATION_DELETE CALL FUNCTION 'SCSM_RS_ASSOCIATION_DELETE' EXPORTING association_guid = -assocobj * ASSOCIATION_SCHEME = * ASSOCIATION_CLASS = * IMPORTING * ASSOCIATION_DEFINITION = * REFERENCE_DEFINITIONS = * TABLES * REFERENCED_OBJECTS = EXCEPTIONS association_not_found = 1 specify_guid_or_class_and_refs = 2 specify_two_referenced_objects = 3 not_authorized = 4 internal_error = 5 OTHERS = 6 .

SCSM_RG_OBJ_GET_ASSOCIATIONS CALL FUNCTION 'SCSM_RG_OBJ_GET_ASSOCIATIONS' EXPORTING ccms_obj_in = -subordobj * ASSOCIATION_SCHEME = SCHEME_BC * ASSOCIATION_CLASS = TABLES * ASSOCIATIONS = associations_alternate_format = old_adm_assoc EXCEPTIONS no_associations_found = 1 not_authorized = 2 OTHERS = 3 .

SCSM_RS_OBJECT_DELETE CALL FUNCTION 'SCSM_RS_OBJECT_DELETE' EXPORTING object_guid = -subordobj EXCEPTIONS object_not_found = 1 not_authorized = 2 internal_error = 3 OTHERS = 4.

SCSM_RS_OBJECT_INSTANTIATE CALL FUNCTION 'SCSM_RS_OBJECT_INSTANTIATE' EXPORTING namespace = csm_default_domain scoping_object_guid = domentry-ccms_obj object_key_elements = sysadm_key_table other_proprty_values = sysadm_data_table object_scheme = 'CIM' object_class = 'Person' object_system = sy-sysid object_status = csm_active dominant_system = sy-sysid reporter = csm_standard_owner IMPORTING object_entry = sysadm_object 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_RS_ASSOCIATION_INSTANTIAT CALL FUNCTION 'SCSM_RS_ASSOCIATION_INSTANTIAT' EXPORTING scheme = scheme_bc class = asc_class status = csm_active * OBJECT_SYSTEM = SY-SYSID * DOMINANT_SYSTEM = SY-SYSID reporter = csm_standard_owner * PROPERTY_VALUES = * EXTENDED_VALUES = IMPORTING object_entry = asc_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 .

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-100 text_object = 'CSM_SUBORDINATE_TO_CENTRAL' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-101 text_question = text-102 text_button_1 = text-103 text_button_2 = text-104 display_cancel_button = ' ' IMPORTING answer = ans EXCEPTIONS text_not_found = 1 OTHERS = 2.

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

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-106 text_question = text-105 text_button_1 = text-103 text_button_2 = text-104 display_cancel_button = ' ' IMPORTING answer = ans EXCEPTIONS text_not_found = 1 OTHERS = 2.

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

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-100 text_object = 'CSM_CENTRAL_TO_NOROLE' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-100 text_object = 'CSM_CENTRAL_TO_SUBORDINATE' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-100 text_object = 'CSM_SUBORDINATE_TO_NOROLE' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-100 text_object = 'CSM_CENTRAL_SYSTEM_CHANGED' EXCEPTIONS text_not_found = 1 OTHERS = 2.

SCSM_RS_PROPERTYLIST_SET CALL FUNCTION 'SCSM_RS_PROPERTYLIST_SET' TABLES input_data = bk 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 = bk 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_REG or its description.