SAP Reports / Programs

ESH_DS_GENERATE_CONTENT SAP ABAP Report - Program ESH_DS_GENERATE_CONTENT







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


Text pool values


Selection Text: P_AREA = InfoArea
Selection Text: P_DS = D .
Selection Text: P_LOG = D .
Selection Text: P_LOGSYS = D .
Selection Text: P_NODE = D .
Selection Text: P_OBJTYP = D .
Selection Text: S_FIELDS = D .
Title: Program ESH_DS_GENERATE_CONTENT
Text Symbol: 002 = Enterprise Search Hub


INCLUDES used within this REPORT ESH_DS_GENERATE_CONTENT

No INCLUDES are used within this REPORT code!


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:

RSDS_DATASOURCE_COLLECTION_DEL CALL FUNCTION 'RSDS_DATASOURCE_COLLECTION_DEL' EXPORTING i_t_objnm = l_t_objnm i_with_cto = rs_c_false i_context = 'SEARCH_APPLIANCE' " ??? * IMPORTING * E_T_LOG = EXCEPTIONS OTHERS = 1.

ENQUEUE_EESH_LOGSYS CALL FUNCTION 'ENQUEUE_EESH_LOGSYS' EXPORTING logsys = p_logsys _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

RSSM_SLEEP_DEBUG CALL FUNCTION 'RSSM_SLEEP_DEBUG' EXPORTING i_seconds = 1 i_always = 'X'.

RSDS_DATASOURCE_REPLICATE CALL FUNCTION 'RSDS_DATASOURCE_REPLICATE' EXPORTING i_datasource = p_ds i_logsys = p_logsys * i_applnm = p_applnm " with param --> all the DS of application will be replicated i_activate_rsds = rs_c_false " don't activate now i_preftype = cv_ds_new IMPORTING e_t_msg = l_t_msg EXCEPTIONS failed = 1 OTHERS = 2.

DEQUEUE_EESH_LOGSYS CALL FUNCTION 'DEQUEUE_EESH_LOGSYS' EXPORTING logsys = p_logsys _scope = '1'.

DEQUEUE_EESH_LOGSYS CALL FUNCTION 'DEQUEUE_EESH_LOGSYS' EXPORTING logsys = p_logsys _scope = '1'.

RSDS_DATASOURCE_OLDNEW CALL FUNCTION 'RSDS_DATASOURCE_OLDNEW' EXPORTING i_datasource = p_ds i_logsys = p_logsys i_objvers = rs_c_objvers-active * I_REPAIR = RS_C_FALSE * I_CHECK_CONSISTENCY = RS_C_FALSE IMPORTING e_new_isused = l_new_ds e_old_isused = l_old_ds EXCEPTIONS inconsistent = 1 both_active = 2 failed = 3 OTHERS = 4.

RSDS_DATASOURCE_MIGRATE CALL FUNCTION 'RSDS_DATASOURCE_MIGRATE' EXPORTING i_datasource = p_ds i_logsys = p_logsys * I_EXPORT = RS_C_FALSE * I_FORWARD = RS_C_TRUE i_no_transport = rs_c_true i_do_replication = rs_c_true EXCEPTIONS failed = 1 OTHERS = 2.

RSDS_DATASOURCE_SINGLE_GET CALL FUNCTION 'RSDS_DATASOURCE_SINGLE_GET' EXPORTING i_datasource = p_ds i_logsys = p_logsys i_objvers = rs_c_objvers-modified i_old_ds = rs_c_false "keine 3.x DS

RSDS_DATASOURCE_SAVE CALL FUNCTION 'RSDS_DATASOURCE_SAVE' EXPORTING i_without_enqueue = rs_c_false i_t_dst = lt_dst i_t_dsseg = lt_dsseg i_t_dssegt = lt_dssegt i_t_dssegfd = lt_dssegfd i_t_dssegfdt = lt_dssegfdt i_t_dsaccessattr = lt_dsaccessattr CHANGING c_s_ds = e_ds EXCEPTIONS failed = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RSDS_DATASOURCE_COLLECTION_ACT CALL FUNCTION 'RSDS_DATASOURCE_COLLECTION_ACT' EXPORTING i_t_objnm = lt_tlogo i_with_cto = rs_c_false "avoid transport popup IMPORTING e_t_log = l_t_msg EXCEPTIONS failed = 1 OTHERS = 2.

RSDS_DATASOURCE_SINGLE_GET CALL FUNCTION 'RSDS_DATASOURCE_SINGLE_GET' EXPORTING i_datasource = p_ds i_logsys = p_logsys i_objvers = rs_c_objvers-modified i_old_ds = rs_c_false "keine 3.x DS

RSDS_DATASOURCE_SAVE CALL FUNCTION 'RSDS_DATASOURCE_SAVE' EXPORTING i_without_enqueue = rs_c_false i_t_dst = lt_dst i_t_dsseg = lt_dsseg i_t_dssegt = lt_dssegt i_t_dssegfd = lt_dssegfd i_t_dssegfdt = lt_dssegfdt i_t_dsaccessattr = lt_dsaccessattr CHANGING c_s_ds = e_ds EXCEPTIONS failed = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RSDS_DATASOURCE_COLLECTION_ACT CALL FUNCTION 'RSDS_DATASOURCE_COLLECTION_ACT' EXPORTING i_t_objnm = lt_tlogo i_with_cto = rs_c_false "avoid transport popup IMPORTING e_t_log = l_t_msg EXCEPTIONS failed = 1 OTHERS = 2.

RSSM_SDL_GET_IPAK_FOR_DS_QS CALL FUNCTION 'RSSM_SDL_GET_IPAK_FOR_DS_QS' EXPORTING i_ds = e_ds-datasource i_qs = p_logsys i_objvers = rs_c_objvers-active TABLES e_t_rsldpio = lt_rsldpio.

RSPC_GET_CHAIN CALL FUNCTION 'RSPC_GET_CHAIN' EXPORTING i_type = 'LOADING' i_variant = ls_rsldpio-logdpid i_objvers = 'A' i_with_dialog = ' ' i_one_no_dialog = ' ' i_langu = sy-langu i_filter_client = ' ' IMPORTING e_t_chaint = lt_chaint EXCEPTIONS aborted_by_user = 1 OTHERS = 2.

RSSM_SDL_INFOPACKAGE_DELETE





CALL FUNCTION 'RSSM_SDL_INFOPACKAGE_DELETE' EXPORTING i_logdpid = ls_rsldpio-logdpid i_logsys = ls_rsldpio-logsys i_source = ls_rsldpio-source i_variant = ls_rsldpio-variant i_text = ls_details-text * I_TP = ' ' IMPORTING e_subrc = lv_subrc.

BAPI_IPAK_CREATE CALL FUNCTION 'BAPI_IPAK_CREATE' EXPORTING details = ls_details scheduling_params = ls_sched_params destinations = ls_destinations IMPORTING infopackage = lv_infopackage TABLES return = lt_return.

ENQUEUE_ERSPCCHAINATTR CALL FUNCTION 'ENQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

RSSM_SLEEP_DEBUG CALL FUNCTION 'RSSM_SLEEP_DEBUG' EXPORTING i_seconds = 1 i_always = 'X'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

RSPC_TRIGGER_GENERATE CALL FUNCTION 'RSPC_TRIGGER_GENERATE' EXPORTING i_variant = lv_variant i_variant_text = lv_chain_descr i_startspecs = lv_startspecs * I_META = i_no_transport = 'X' EXCEPTIONS exists = 1 failed = 2 OTHERS = 3.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

RSDS_DATASOURCE_SINGLE_GET CALL FUNCTION 'RSDS_DATASOURCE_SINGLE_GET' EXPORTING i_datasource = p_ds i_logsys = p_logsys i_objvers = rs_c_objvers-active i_old_ds = rs_c_false "keine 3.x DS

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

RSAR_ODS_GET CALL FUNCTION 'RSAR_ODS_GET' EXPORTING i_logsys = p_logsys i_oltpsource = p_ds * I_SEGMENT_ID = IMPORTING e_s_odslist = ls_odslist EXCEPTIONS missing_parameter = 1 no_active_ods = 2 OTHERS = 3.

DEQUEUE_ERSPCCHAINATTR CALL FUNCTION 'DEQUEUE_ERSPCCHAINATTR' EXPORTING chain_id = lv_chain_name _scope = '1'.

RSPC_TRIGGER_DELETE CALL FUNCTION 'RSPC_TRIGGER_DELETE' EXPORTING i_variant = lv_variant i_no_transport = 'X' EXCEPTIONS failed = 1 OTHERS = 2.

RSPC_GET_CHAIN CALL FUNCTION 'RSPC_GET_CHAIN' EXPORTING i_chain = lv_tmp_chain_name * I_OBJVERS = 'A' * I_WITH_DIALOG = ' ' * I_ONE_NO_DIALOG = ' ' i_langu = '%' IMPORTING e_t_chainattr = lt_chain_attr EXCEPTIONS aborted_by_user = 1 OTHERS = 2.




BAL_DB_ENQUEUE CALL FUNCTION 'BAL_DB_ENQUEUE' EXPORTING i_log_handle = iv_log i_scope = '2' EXCEPTIONS enqueue_failed = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = iv_log i_s_msg = ls_message EXCEPTIONS log_not_found = 01 msg_inconsistent = 02 log_is_full = 03.

BAL_DB_DEQUEUE CALL FUNCTION 'BAL_DB_DEQUEUE' EXPORTING i_log_handle = p_log.



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