ESH_POST_INSTALLATION 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 ESH_POST_INSTALLATION 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.
Selection Text: P_USERC = User for connect. other syst.
Selection Text: P_USERA2 = User for connect. other syst.
Selection Text: P_USERA = User for connect. other syst.
Selection Text: P_TYPE1 = HTTP connection type
Selection Text: P_TYPE = HTTP connection type
Selection Text: P_SIDJ = SID Java system (->proposal)
Selection Text: P_ROUTER = SAP Router string (proposal)
Selection Text: P_RFCDES = RFC Destination of TREX
Selection Text: P_PSWC_R = Confirm Password
Selection Text: P_PSWC = Password
Selection Text: P_PREFIX = Path Prefix for Config
Selection Text: P_PREFI1 = Path Prefix for Search
Selection Text: P_PORT = Port
Selection Text: P_NR = Port No.
Selection Text: P_JAVA = Java Host
Selection Text: P_HTTP1 = HTTP Destination for Search
Selection Text: P_HTTP = HTTP Destination for Config
Selection Text: P_HOST = Web Disp.Host(fully-qualified)
Selection Text: P_GWSERV = SLD Bridge: Gateway Service
Selection Text: P_GWHOST = SLD Bridge: Host of ABAP syst.
Selection Text: P_DESCR1 = Descript. of HTTP Destination
Selection Text: P_DESCR = Descript. of HTTP Destination
Selection Text: P_CCMS = RFC Destination for CCMS Agent
Title: Post-Install process: Configuration for ABAP Stack
Text Symbol: 013 = Configuring Access to the Enterprise Search Java Web Service
Text Symbol: 012 = Configuring RFC Destination of TREX
Text Symbol: 011 = Authority for user Search_Conn on Appliance
Text Symbol: 010 = Enterprise Search Connecting
Text Symbol: 009 = Search_Conn
Text Symbol: 008 = Authority for user Search_Admin on Appliance
Text Symbol: 007 = Enterprise Search Config/Monitoring
Text Symbol: 006 = Search_Admin
Text Symbol: 005 = Configuring the RFC Destination for the CCMS Agent
Text Symbol: 004 = Create Users for the ABAP System
Text Symbol: 003 = Configuring Access to the Enterprise Search Java Web Services
Text Symbol: 002 = Configuring Internet Communication Framework (ICF)
Text Symbol: 001 = Registering the ABAP System as a Data Supplier
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' IMPORTING rfcsi_export = ls_rfcsi.
GET_SYSTEM_NUMBER CALL FUNCTION 'GET_SYSTEM_NUMBER' IMPORTING instancenumber = lv_syst_nr.
SUSR_USER_CHECK_EXISTENCE CALL FUNCTION 'SUSR_USER_CHECK_EXISTENCE' EXPORTING user_name = p_userc EXCEPTIONS user_name_not_exists = 1 OTHERS = 2.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = p_userc TABLES activitygroups = lt_roles return = l_t_bapiret2.
BAPI_USER_CREATE1 CALL FUNCTION 'BAPI_USER_CREATE1' EXPORTING username = p_userc logondata = l_s_bapilogond password = lv_psw_convert defaults = l_s_defaults address = l_s_bapiaddr3 TABLES return = l_t_bapiret2.
BAPI_USER_ACTGROUPS_ASSIGN CALL FUNCTION 'BAPI_USER_ACTGROUPS_ASSIGN' EXPORTING username = p_userc TABLES activitygroups = lt_roles return = l_t_bapiret2.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' * EXPORTING * services = 255 * sysservice = 0 TABLES list = lt_inst * LIST_IPV6 = EXCEPTIONS no_server_list = 1 OTHERS = 2.
SMLG_GET_DEFINED_GROUPS CALL FUNCTION 'SMLG_GET_DEFINED_GROUPS' EXPORTING grouptype = ' ' TABLES groups = lt_groups EXCEPTIONS foreign_lock = 1 system_failure = 2 invalid_group_type = 3 no_groups_found = 4 OTHERS = 5.
SMLG_MODIFY CALL FUNCTION 'SMLG_MODIFY' EXPORTING set_lock = rs_c_true grouptype = ' ' TABLES modifications = lt_modif erfc_modifications = lt_erfc_modif EXCEPTIONS invalid_mod_identifier = 1 deletion_failed = 2 update_failed = 3 insertion_failed = 4 foreign_lock = 5 system_failure = 6 invalid_group_type = 7 internal_error_in_number_gen = 8 OTHERS = 9.
PFL_IMPORT_ACTIVE_SRV_PROFILES CALL FUNCTION 'PFL_IMPORT_ACTIVE_SRV_PROFILES' TABLES protocol = lt_protocol EXCEPTIONS authorization_missing = 1 OTHERS = 2.
PFL_GET_PROFILE_LIST CALL FUNCTION 'PFL_GET_PROFILE_LIST' EXPORTING profile_type = 'I' "instance profile TABLES profile_header_tbl = lt_profile_hdr EXCEPTIONS no_profile_found = 1 invalid_profile_type = 2 OTHERS = 3.
PFL_READ_PROFILE_FROM_DB CALL FUNCTION 'PFL_READ_PROFILE_FROM_DB' EXPORTING profile_name = lv_profile_name * PROFILE_VERSION = PFL_YOUNGEST_VERSION IMPORTING profile_header = ls_profile_hdr TABLES dtab = lt_param EXCEPTIONS pfl_doesnt_exist = 1 OTHERS = 2.
PFL_WRITE_PROFILE_TO_DB CALL FUNCTION 'PFL_WRITE_PROFILE_TO_DB' EXPORTING profile_header = ls_profile_hdr TABLES dtab = lt_param EXCEPTIONS pfl_write_error = 1 pfl_data_missing = 2 pfl_name_missing_in_header = 3 pfl_version_missing_in_header = 4 authorization_missing = 5 OTHERS = 6.
PFL_ACTIVATE_PROFILE CALL FUNCTION 'PFL_ACTIVATE_PROFILE' EXPORTING profile_name = lv_profile_name profile_version = ls_profile_hdr-versnr fully_qualified_profilename = ls_profile_hdr-pffile profile_type = ls_profile_hdr-type EXCEPTIONS pfl_doesnt_exist = 1 pfl_is_empty = 2 pfl_open_error = 3 unknown_error_occured = 4 pfl_header_update_error = 5 invalid_profile_type = 6 version_is_not_youngest = 7 authorization_missing = 8 file_is_no_profile = 9 OTHERS = 10.
RFC_READ_HTTP_DESTINATION CALL FUNCTION 'RFC_READ_HTTP_DESTINATION' EXPORTING destination = p_http authority_check = 'X' * BYPASS_BUF = EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 no_http_destination = 5 OTHERS = 6.
RFC_MODIFY_HTTP_DEST_TO_EXT CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT' EXPORTING destination = p_http * ACTION = 'I' authority_check = 'X' servicenr = p_nr server = p_java path_prefix = ls_prefix user = lv_alias password = lv_psw description = p_descr * proxy_host = * proxy_service = * proxy_user = * proxy_password = * SSLAPPLIC = 'DFAULT' * AUTHORITY = ' ' logon_method = 'B' "Basic Authentication * SSL = ' ' * DESTLOCK = ' ' * DESTCOPY = ' ' * DEQUEUE_SYNCHRON = ' ' * HTTP_TIMEOUT = '0' * HTTP_VERSION = '0' * HTTP_COMPRESS = '0' * COMPRESSREPLY = '0' * COOKIE_ACCEPT = '0' sso_ticket = ' ' "no Send SAP Logon Ticket * CATEGORY = ' ' 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 snc_information_failure = 8 snc_internal_failure = 9 destination_is_locked = 10 invalid_parameter = 11 OTHERS = 12.
RFC_READ_HTTP_DESTINATION CALL FUNCTION 'RFC_READ_HTTP_DESTINATION' EXPORTING destination = p_http1 authority_check = 'X' * BYPASS_BUF = EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 no_http_destination = 5 OTHERS = 6.
RFC_MODIFY_HTTP_DEST_TO_EXT CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT' EXPORTING destination = p_http1 * ACTION = 'I' authority_check = 'X' servicenr = p_nr server = p_java path_prefix = ls_prefix user = lv_alias password = lv_psw description = p_descr1 * proxy_host = * proxy_service = * proxy_user = * proxy_password = * SSLAPPLIC = 'DFAULT' * AUTHORITY = ' ' logon_method = 'B' "Basic Authentication * SSL = ' ' * DESTLOCK = ' ' * DESTCOPY = ' ' * DEQUEUE_SYNCHRON = ' ' * HTTP_TIMEOUT = '0' * HTTP_VERSION = '0' * HTTP_COMPRESS = '0' * COMPRESSREPLY = '0' * COOKIE_ACCEPT = '0' sso_ticket = ' ' "no Send SAP Logon Ticket * CATEGORY = ' ' 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 snc_information_failure = 8 snc_internal_failure = 9 destination_is_locked = 10 invalid_parameter = 11 OTHERS = 12.
CALL FUNCTION 'BAPI_SLD_SUPPLIER_CONFIG_SET' EXPORTING gwhost = p_gwhost gwserv = p_gwserv startcoll = 'X' sync_coll = 'X' TABLES return = lt_return.
RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = p_ccms action = 'I' systemid = ls_rfcsi-rfcsysid systemnr = l_systemno server = lv_server language = sy-langu client = sy-mandt user = p_userc password = p_pswc description = lv_descript 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 snc_information_failure = 8 snc_internal_failure = 9 destination_is_locked = 10 OTHERS = 11.
SSF_GET_PARAMETER * CALL FUNCTION 'SSF_GET_PARAMETER' * EXPORTING * mandt = sy-mandt * application = 'SSO2' * IMPORTING * str_profile = lv_profile * EXCEPTIONS * ssf_parameter_not_found = 1 * OTHERS = 2.
SSFC_GET_CERTIFICATELIST * CALL FUNCTION 'SSFC_GET_CERTIFICATELIST' * EXPORTING * profile = lv_profile * IMPORTING * certificatelist = lt_certificates * EXCEPTIONS * ssf_krn_error = 1 * ssf_krn_nomemory = 2 * ssf_krn_nossflib = 3 * ssf_krn_invalid_par = 4 * ssf_krn_nocertificate = 5 * OTHERS = 6.
SSFC_PARSE_CERTIFICATE * CALL FUNCTION 'SSFC_PARSE_CERTIFICATE' * EXPORTING * certificate = ls_certificate * IMPORTING * issuer = ls_issuer * EXCEPTIONS * ssf_krn_error = 1 * ssf_krn_nomemory = 2 * ssf_krn_nossflib = 3 * ssf_krn_invalid_par = 4 * OTHERS = 5.
RSPOR_SETUP_IMPORT_CERTIFICATE * CALL FUNCTION 'RSPOR_SETUP_IMPORT_CERTIFICATE' * EXPORTING * i_certificate_xcert = lv_import_string * i_ep_sid = lv_wps_sid * i_ep_client = lv_wps_client * IMPORTING * return = l_s_bapiret2 * EXCEPTIONS * no_authorization = 1 * file_not_exist = 2 * get_sapsys_pse_failed = 3 * enqueue_pse_failed = 4 * load_pse_failed = 5 * upload_file_failed = 6 * parse_certificate_failed = 7 * remove_certificate_failed = 8 * put_certificate_failed = 9 * store_pse_failed = 10 * dequeue_pse_failed = 11 * open_temp_pse_failed = 12 * delete_temp_pse_failed = 13 * add_certificate_to_acl_failed = 14 * OTHERS = 15.
TR_INSERT_REQUEST_WITH_TASKS * CALL FUNCTION 'TR_INSERT_REQUEST_WITH_TASKS' * EXPORTING * iv_type = 'W' "Customizing request * iv_text = lv_text ** IV_OWNER = SY-UNAME ** IV_TARGET = ** IT_ATTRIBUTES = * it_users = lt_users ** IV_TARDEVCL = ** IV_DEVCLASS = ** IV_TARLAYER = * IMPORTING * es_request_header = ls_tr_header ** ET_TASK_HEADERS = * EXCEPTIONS * insert_failed = 1 * enqueue_failed = 2 * OTHERS = 3.
TRINT_EC_CUST_ORIG_LANG * CALL FUNCTION 'TRINT_EC_CUST_ORIG_LANG' * EXPORTING * it_objects = lt_e071 * iv_checkmode = lv_check_mode * CHANGING ** CT_KEYS = * ct_messages = lt_messages * EXCEPTIONS * change_not_allowed = 1 * OTHERS = 2.
HTTP_ACTIVATE_NODE CALL FUNCTION 'HTTP_ACTIVATE_NODE' EXPORTING * NODEGUID = url = lv_serv_path1 * HOSTNAME = 'DEFAULT_HOST' * EXPAND = 'X' EXCEPTIONS node_not_existing = 1 enqueue_error = 2 no_authority = 3 url_and_nodeguid_space = 4 url_and_nodeguid_fill_in = 5 OTHERS = 6.
TR_INSERT_REQUEST_WITH_TASKS CALL FUNCTION 'TR_INSERT_REQUEST_WITH_TASKS' EXPORTING iv_type = 'K' "Workbench request iv_text = lv_text * IV_OWNER = SY-UNAME * IV_TARGET = * IT_ATTRIBUTES = it_users = lt_users * IV_TARDEVCL = * IV_DEVCLASS = * IV_TARLAYER = IMPORTING es_request_header = ls_tr_header * ET_TASK_HEADERS = EXCEPTIONS insert_failed = 1 enqueue_failed = 2 OTHERS = 3.
HTTP_ACTIVATE_NODE CALL FUNCTION 'HTTP_ACTIVATE_NODE' EXPORTING * NODEGUID = url = lv_serv_path_files * HOSTNAME = 'DEFAULT_HOST' * EXPAND = 'X' EXCEPTIONS node_not_existing = 1 enqueue_error = 2 no_authority = 3 url_and_nodeguid_space = 4 url_and_nodeguid_fill_in = 5 OTHERS = 6.
HTTP_ACTIVATE_NODE CALL FUNCTION 'HTTP_ACTIVATE_NODE' EXPORTING * NODEGUID = url = lv_serv_path_ui * HOSTNAME = 'DEFAULT_HOST' * EXPAND = 'X' EXCEPTIONS node_not_existing = 1 enqueue_error = 2 no_authority = 3 url_and_nodeguid_space = 4 url_and_nodeguid_fill_in = 5 OTHERS = 6.
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 ESH_POST_INSTALLATION or its description.
ESH_POST_INSTALLATION - Post-Install process: Configuration for ABAP Stack ESH_POST_INSTALLATION - Post-Install process: Configuration for ABAP Stack ESH_OM_UPDATE_FROM_SAP_MODEL - Update models from data delivered by SAP ESH_OM_UPDATE_FROM_SAP_MODEL - Update models from data delivered by SAP ESH_OM_UPDATE_DB_STATISTICS - Update data base statistics (DB20) for all repository tables ESH_OM_UPDATE_DB_STATISTICS - Update data base statistics (DB20) for all repository tables