INST_CREATE_CUA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Optional Setup of the Central User Administration (CUA) The CUA can be set up on the Smart Installation Workplace Server with report INST_CREATE_CUA...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter INST_CREATE_CUA 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: Installation: Create Central User Administration
Text Symbol: 006 = Check your database.
Text Symbol: 007 = Cannot create entry for logical system.
Text Symbol: 008 = Cannot create text entry for logical system.
Text Symbol: 009 = Logical system entry created/changed.
Text Symbol: 010 = Create your client in table T000.
Text Symbol: 001 = Do you want to exit the CUA configuration?
Text Symbol: 002 = Configuration of Central User Administration
Text Symbol: 003 = Error occurred during configuration.
Text Symbol: 004 = Check the error log for more information.
Text Symbol: 005 = Cannot create RFC destination.
Text Symbol: 011 = Cannot assign logical system to local client.
Text Symbol: 017 = Cannot read port of logical system.
Text Symbol: 018 = Check your system functions.
Text Symbol: 019 = Cannot read IDOC type for BAPI CCLONE.
Text Symbol: 020 = Check the ALE Basis system.
Text Symbol: 021 = Cannot read IDOC type for BAPO USERCLONE.
Text Symbol: 012 = Unexpected error when accessing the CUA model.
Text Symbol: 013 = Unexpected error when deleting the CUA model.
Text Symbol: 014 = Logical system not defined for this client.
Text Symbol: 015 = Cannot create distribution model for CUA.
Text Symbol: 016 = Cannot activate CUA distribution model.
Text Symbol: 028 = Cannot read installation parameters.
Text Symbol: 029 = You are not authorized to execute this operation.
Text Symbol: 030 = Cannot open Workplace Server configuration file.
Text Symbol: 031 = RFC configuration for Workplace Server is incorrect.
Text Symbol: 032 = Correct the configuration in the component system.
Text Symbol: 023 = Cannot send the CUA field selection.
Text Symbol: 024 = Check the availability of the target system.
Text Symbol: 025 = Ignored by selection.
Text Symbol: 026 = Logical system created during CUA configuration.
Text Symbol: 027 = Configuration of Central User Administration
Text Symbol: 033 = Technical error when reading the remote RFCDES table.
Text Symbol: 039 = Cannot resolve host name for specified IP.
Text Symbol: 040 = System is not available.
Text Symbol: 041 = Start the target system.
Text Symbol: 042 = Logical system entry missing.
Text Symbol: 043 = Will be corrected when you execute the function.
INCLUDE INST_FUNC_MODULES.
INCLUDE INST_CONST.
INCLUDE INST_CREATE_CUA_PARAM.
INCLUDE INST_CREATE_CUA_DEF.
INCLUDE INST_CREATE_CUA_MODULES.
No SAP DATABASE tables are accessed within this REPORT code!
DISTMODEL_ADDVIEW call function 'DISTMODEL_ADDVIEW' exporting modelview = cua_model_view exceptions unexpected_error = 1 duplicate_view = 2 duplicate_connection = 3 same_sender_receiver = 4 unknown_model_owner = 5 unknown_sender = 6 unknown_receiver = 7 unknown_bapi = 8 unknown_method = 9 invalid_message_filter = 10 invalid_bapi_filter = 11 invalid_model_date = 12 invalid_view = 13 others = 14.
OWN_LOGICAL_SYSTEM_GET call function 'OWN_LOGICAL_SYSTEM_GET' importing own_logical_system = own_ls exceptions own_logical_system_not_defined = 1 others = 2.
DISTMODEL_GETVIEW call function 'DISTMODEL_GETVIEW' exporting viewname = cua_view_name exceptions invalid_view = 1 unexpected_error = 2 others = 3.
DISTMODEL_DELVIEW call function 'DISTMODEL_DELVIEW' exporting modelview = cua_view_name flag_forced_mode = selected exceptions invalid_view = 1 others = 2.
MODEL_LOCK call function 'MODEL_LOCK' exceptions foreign_lock = 1 system_failure = 2 others = 3.
MODEL_UNLOCK call function 'MODEL_UNLOCK'.
LIST_FROM_MEMORY call function 'LIST_FROM_MEMORY' tables listobject = listreturn exceptions not_found = 1 others = 2.
LIST_TO_ASCI call function 'LIST_TO_ASCI' tables listasci = alistreturn listobject = listreturn exceptions empty_list = 1 list_index_invalid = 2 others = 3.
EDI_PORT_GENERATE_ALE call function 'EDI_PORT_GENERATE_ALE' exporting arfc_destination = dest arfc_description = dummy arfc_version = '3' importing port = port exceptions error_in_number_get_next = 1 error_insert_port = 2 adress_from_edi_port = 3 no_entry_in_rfcdes = 4 others = 5.
MODEL_DISTRIBUTE call function 'MODEL_DISTRIBUTE' exporting custmodel = cua_view_name tables lsys = xlsys log = it_log.
RFC_PING call function 'RFC_PING' destination p_prfcdest tables rfctab40 = xrfctab exceptions system_failure = 1 communication_failure = 2.
TH_SERVER_LIST call function 'TH_SERVER_LIST' tables list = it_server_list exceptions no_server_list = 1.
RFC_IP_TO_HOST call function 'RFC_IP_TO_HOST' "#EC NO_INCOMP exporting rfcip = val importing rfchost = val2 exceptions ip_to_host_conversion_error = 1 others = 2.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = profile_para importing parameter_value = profile_value.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = profile_para importing parameter_value = profile_value.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = profile_para importing parameter_value = profile_value.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = profile_para2 importing parameter_value = profile_value2.
SYSTEM_GET_LOGON_GROUP_INFO call function 'SYSTEM_GET_LOGON_GROUP_INFO' exporting mshost = mshostname msserv = msservice tables lgaslist = it_logon_groups exceptions connect_to_ms_failed = 1 invalid_parameter = 2 invalid_table_length = 3 others = 4.
SUSR_ZBV_FLD_SELECT call function 'SUSR_ZBV_FLD_SELECT' exporting custmodel = p_cua_view_name fieldgroup = p_field_group tables it_usrfldtsel = tmp_it_usrfldtsel.
SUSR_ZBV_FLD_TO_DB call function 'SUSR_ZBV_FLD_TO_DB' exporting custmodel = p_cua_view_name tables it_usrfldtsel = p_it_usrfldtsel.
SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 1 others = 2.
SUSR_ZBV_CENTRALSYSTEM_CHECK call function 'SUSR_ZBV_CENTRALSYSTEM_CHECK' exceptions duplicate_central_system = 1 new_system = 2 not_central = 3 others = 4.
SUSR_ZBV_LOCAL_PROFILES_SAVE call function 'SUSR_ZBV_LOCAL_PROFILES_SAVE' in background task.
SUSR_ZBV_LOCAL_ACTGRPS_SAVE call function 'SUSR_ZBV_LOCAL_ACTGRPS_SAVE' in background task.
SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 1 others = 2.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = sapsystem_para_name importing parameter_value = sapsystem_value.
RFC_IP_TO_HOST call function 'RFC_IP_TO_HOST' exporting rfcip = ip_str importing rfchost = host_str exceptions ip_to_host_conversion_error = 1 others = 2.
SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' exporting parameter_name = sapsystem_para_name importing parameter_value = sapsystem_value.
POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * TITEL = 'Central User Administration Setup'(027) * TEXTLINE1 = 'Can not open WPS configuration file.'(030).
GET_TABLEBLOCK_RFC call function 'GET_TABLEBLOCK_RFC' exporting tabname = 'TBDLS' get_systab = get_systab block_size = 1000 first_key = 'X' rfc_dest = dest importing ready_flag = ready_flag nr_of_rows = nr_of_rows tables name_tab = it_name_tab inttab = it_remote_ls changing last_key = last_key exceptions client_not_found = 1 protected = 2 read_error = 3 table_not_found = 4 too_small = 5 convert_error = 6 wrong_type = 7 fieldtab_error = 8 no_rights = 9 rfc_error = 10 length_error = 11 others = 12.
GET_TABLEBLOCK_RFC call function 'GET_TABLEBLOCK_RFC' exporting tabname = 'RFCDES' get_systab = get_systab block_size = 1000 first_key = 'X' rfc_dest = dest importing ready_flag = ready_flag nr_of_rows = nr_of_rows tables name_tab = it_name_tab inttab = it_rfcdest_remote changing last_key = last_key exceptions client_not_found = 1 protected = 2 read_error = 3 table_not_found = 4 too_small = 5 convert_error = 6 wrong_type = 7 fieldtab_error = 8 no_rights = 9 rfc_error = 10 length_error = 11 others = 12.
RFC_SYSTEM_INFO call function 'RFC_SYSTEM_INFO' destination dest importing rfcsi_export = rfcsi exceptions communication_failure = 1 system_failure = 2.
POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * TITEL = 'Central User Administration Setup'(027) * TEXTLINE1 = * 'Reading of Installation Parameters failed.'(028)
INST_GET_PARAM call function 'INST_GET_PARAM' exporting para_name = p_para_name importing para_value = p_para_value exceptions parameter_not_found = 1 others = 2.
RFC_SYSTEM_INFO call function 'RFC_SYSTEM_INFO' destination p_logsys importing rfcsi_export = rfcsysinfo exceptions system_failure = 1 communication_failure = 2.
RFC_WALK_THRU_TEST call function 'RFC_WALK_THRU_TEST' exporting test_in = test_in tables destinations = it_rfchosts log = it_log.
TH_SERVER_LIST call function 'TH_SERVER_LIST' tables list = it_server_list exceptions no_server_list = 1.
GET_TABLEBLOCK_RFC call function 'GET_TABLEBLOCK_RFC' exporting tabname = 'T000' get_systab = get_systab block_size = 1000 first_key = 'X' rfc_dest = dest importing ready_flag = ready_flag nr_of_rows = nr_of_rows tables name_tab = it_name_tab inttab = it_assign_ls changing last_key = last_key exceptions client_not_found = 1 protected = 2 read_error = 3 table_not_found = 4 too_small = 5 convert_error = 6 wrong_type = 7 fieldtab_error = 8 no_rights = 9 rfc_error = 10 length_error = 11 others = 12.
SCUA_GEN_GENERATE_PARTNER call function 'SCUA_GEN_GENERATE_PARTNER' destination dest exporting modelname = cua_view_name exceptions system_failure = 1 communication_failure = 2 others = 3.
RFC_HOST_TO_IP call function 'RFC_HOST_TO_IP' exporting rfchost = ifval importing rfcip = ifval2 exceptions host_to_ip_conversion_error = 1 others = 2.
RFC_IP_TO_HOST call function 'RFC_IP_TO_HOST' exporting rfcip = ifval importing rfchost = ifval2 exceptions ip_to_host_conversion_error = 1 others = 2.
INST_CHECK_SYSTEM_CONFIG call function 'INST_CHECK_SYSTEM_CONFIG' tables systemconfig = systemconfig.
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 INST_CREATE_CUA or its description.
INST_CREATE_CUA - Installation: Create Central User Administration INST_CREATE_CUA - Installation: Create Central User Administration INST_CONSTANTS_BACKGROUND - INSTCONSTANTSBACKGROUND INST_CONSTANTS - INSTCONSTANTS INST_CONST - INSTCONST INST_CLIENT_COPYCLX_VARSOURCE - Client Copy During Installation (source client specified)