SAP Reports / Programs | SAP Business Information Warehouse | Warehouse Management | Data Staging(BW-WHM-DST) SAP BW

RSIMPCONTENT SAP ABAP Report - Transfer applications, InfoSources from the Business Content







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


Text pool values


Title: Transfer applications, InfoSources from the Business Content
Text Symbol: 001 = Applicat. hierarchy
Text Symbol: 002 = Transfer Business Content
Text Symbol: 003 = Transfer & selected objects
Text Symbol: 004 = from Content Release & ?
Text Symbol: 005 = Y
Text Symbol: 006 = No
Text Symbol: 007 = Business Content Release
Text Symbol: 010 = Select Business Content Release
Text Symbol: 011 = Choose source system
Text Symbol: 012 = Import of InfoSources of Business Content
Text Symbol: 013 = SAP Sys., Rel.
Text Symbol: 020 = Desired Business Content Release:
Text Symbol: 021 = Connect to source system (optional):
Text Symbol: 022 = Designated SAP OLTP Release (optional):
Text Symbol: 023 = Not InfoObjects that actively exist:


INCLUDES used within this REPORT RSIMPCONTENT

INCLUDE: LRSALK01.


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:

RSAR_LOGICAL_SYSTEM_GET CALL FUNCTION 'RSAR_LOGICAL_SYSTEM_GET' EXPORTING i_logsys = logsys IMPORTING e_saprl = g_saprl EXCEPTIONS OTHERS = 1.

RSAR_LOGICAL_SYSTEM_GET * CALL FUNCTION 'RSAR_LOGICAL_SYSTEM_GET' * EXPORTING * i_logsys = logsys * IMPORTING * e_saprl = g_saprl * EXCEPTIONS * OTHERS = 1.

RS_TREE_CREATE * CALL FUNCTION 'RS_TREE_CREATE' * EXPORTING * root_name = g_root_text * root_type = c_type_root * IMPORTING * root_id = g_rootid * EXCEPTIONS * OTHERS = 0.

RS_TREE_LIST_DISPLAY * CALL FUNCTION 'RS_TREE_LIST_DISPLAY' * EXPORTING * callback_program = g_repid * callback_user_command = 'USER_COMMAND' * return_marked_subtree = 'X' * use_control = stree_use_list * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_appl-applnm * insert_id = p_nodeid * relationship = c_child * new_type = c_type_shap * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_is-isource * insert_id = p_nodeid * relationship = c_child * new_type = c_type_shit * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_is-isource * insert_id = l_isnodeid * relationship = c_child * new_type = c_type_shts * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_os-osource * insert_id = p_nodeid * relationship = c_child * new_type = c_type_shim * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_os-osource * insert_id = l_osnodeid * relationship = c_child * new_type = c_type_shts * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

RS_TREE_ADD_NODE * CALL FUNCTION 'RS_TREE_ADD_NODE' * EXPORTING * new_name = g_s_ip-text * insert_id = p_nodeid * relationship = c_child * new_type = c_type_ship * display_attributes = l_s_treeattr * IMPORTING * new_id = l_lastid * EXCEPTIONS * OTHERS = 0.

POPUP_TO_DECIDE * CALL FUNCTION 'POPUP_TO_DECIDE' * EXPORTING * textline1 = l_text1 * textline2 = l_text2 * text_option1 = text-005 * text_option2 = text-006 * titel = text-002 * cancel_display = ' ' * IMPORTING * answer = l_answer * EXCEPTIONS * OTHERS = 0.

RSAL_LOG_OPEN * CALL FUNCTION 'RSAL_LOG_OPEN' * EXPORTING * i_log_object = 'RSAR' "sbiwl_c_object * i_log_subobject = 'METADATA' "sbiwl_c_subobject * i_function = text-012 * i_logsys = logsys.

DB_COMMIT * CALL FUNCTION 'DB_COMMIT' * EXCEPTIONS * OTHERS = 1.

RSAL_LOG_CLOSE CALL FUNCTION 'RSAL_LOG_CLOSE' EXPORTING i_intern = rs_c_true EXCEPTIONS OTHERS = 0.

RSAL_LOG_SHOW CALL FUNCTION 'RSAL_LOG_SHOW' EXPORTING i_intern = rs_c_true EXCEPTIONS OTHERS = 0.

RSAL_LOG_CLOSE CALL FUNCTION 'RSAL_LOG_CLOSE' EXPORTING i_intern = rs_c_false EXCEPTIONS OTHERS = 1.

RSAR_META_DATA_APPL_INSERT * CALL FUNCTION 'RSAR_META_DATA_APPL_INSERT' * CHANGING * c_t_appl = l_t_appl * c_t_applt = l_t_applt * EXCEPTIONS * OTHERS = 1.

RSAR_TRANSPORT_CHECK CALL FUNCTION 'RSAR_TRANSPORT_CHECK' EXPORTING i_t_rsis = l_t_isapp i_bapi_call = rs_c_false i_meta_data_upload = rs_c_true EXCEPTIONS display_only = 1 cancelled = 2 OTHERS = 3.

RSAR_TRANSPORT_INSERT





CALL FUNCTION 'RSAR_TRANSPORT_INSERT' EXPORTING i_t_rsis = l_t_isapp i_bapi_call = rs_c_false i_meta_data_upload = rs_c_true EXCEPTIONS failed = 1 OTHERS = 2.

RSAR_ISOURCE_TD_T_MULTI_SAVE CALL FUNCTION 'RSAR_ISOURCE_TD_T_MULTI_SAVE' EXPORTING i_meta_data_upload = rs_c_true CHANGING c_t_isapp = l_t_isapp c_t_isoltp = l_t_is c_t_ist = l_t_ist c_t_isofield = l_t_isofield c_t_isoselfd = l_t_isoselfd EXCEPTIONS OTHERS = 1.

RSAR_TRANSPORT_CHECK * CALL FUNCTION 'RSAR_TRANSPORT_CHECK' * EXPORTING * i_t_rsos = l_t_osapp * i_bapi_call = rs_c_false * i_meta_data_upload = rs_c_true * EXCEPTIONS * display_only = 1 * cancelled = 2 * OTHERS = 3.

RSAR_TRANSPORT_INSERT * CALL FUNCTION 'RSAR_TRANSPORT_INSERT' * EXPORTING * i_t_rsos = l_t_osapp * i_bapi_call = rs_c_false * i_meta_data_upload = rs_c_true * EXCEPTIONS * failed = 1 * OTHERS = 2.

RSAR_ISOURCE_MD_T_MULTI_SAVE CALL FUNCTION 'RSAR_ISOURCE_MD_T_MULTI_SAVE' EXPORTING i_meta_data_upload = rs_c_false CHANGING c_t_osapp = l_t_osapp c_t_osoltp = l_t_os c_t_ost = l_t_ost c_t_osofield = l_t_osofield c_t_osoattfd = l_t_osoattfd c_t_ososelfd = l_t_ososelfd EXCEPTIONS OTHERS = 1.

RSAR_ISOURCE_TD_GET CALL FUNCTION 'RSAR_ISOURCE_TD_GET' EXPORTING i_isource = l_s_is-isource IMPORTING e_s_is = l_s_isource_check EXCEPTIONS isource_not_found = 1 unauthorized = 2 OTHERS = 3.

RSAR_COMSTRUCTURE_SAVE CALL FUNCTION 'RSAR_COMSTRUCTURE_SAVE' EXPORTING i_object = l_s_is-isource i_objtype = l_s_is-istype i_t_cssfield = l_t_csfield i_owner = sy-uname i_objvers = rs_c_objvers-modified i_without_transport = p_without_transport CHANGING c_comstru_name = l_comstru EXCEPTIONS OTHERS = 1.

RSAR_COMSTRUCTURE_ACTIVATE CALL FUNCTION 'RSAR_COMSTRUCTURE_ACTIVATE' EXPORTING i_object = l_s_is-isource i_objtype = rsa_c_istype-data i_t_cssfield = l_t_csfield i_comstru_name = l_comstru i_without_transport = p_without_transport EXCEPTIONS OTHERS = 1.

RSD_IOBJ_GET CALL FUNCTION 'RSD_IOBJ_GET' EXPORTING i_iobjnm = l_s_os-osource i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_true IMPORTING e_s_viobj = l_s_viobj EXCEPTIONS iobj_not_found = 1 illegal_input = 2 OTHERS = 3.

RSAR_TRANSPORT_CHECK CALL FUNCTION 'RSAR_TRANSPORT_CHECK' EXPORTING i_comstru = l_comstru i_bapi_call = rs_c_false i_meta_data_upload = rs_c_false EXCEPTIONS display_only = 1 cancelled = 2 OTHERS = 3.

RSAR_TRANSPORT_INSERT CALL FUNCTION 'RSAR_TRANSPORT_INSERT' EXPORTING i_comstru = l_comstru i_bapi_call = rs_c_false i_meta_data_upload = rs_c_false EXCEPTIONS failed = 1 OTHERS = 2.

RSAR_ISOURCE_TD_T_GET * CALL FUNCTION 'RSAR_ISOURCE_TD_T_GET' * EXPORTING * i_isource = l_s_is-isource * i_logsys = logsys * IMPORTING * e_s_isoltp = l_s_isoltp * EXCEPTIONS * isource_not_found = 1 * unauthorized = 2 * OTHERS = 3.

RSD_CHKTAB_GET_FOR_CHA_BAS * CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS' * EXPORTING * i_chabasnm = l_s_osoltp-osource * IMPORTING * e_chktab = rsks-comstru_tech * EXCEPTIONS * name_error = 1 * OTHERS = 2.

RSSM_GET_TIME * CALL FUNCTION 'RSSM_GET_TIME' * IMPORTING * e_timestamps = rsks-timestmp * EXCEPTIONS * OTHERS = 1.

RSAR_BUFFER_RESET * CALL FUNCTION 'RSAR_BUFFER_RESET' * EXCEPTIONS * OTHERS = 1.

RSAR_TRANSTRUCTURE_PREPARE * CALL FUNCTION 'RSAR_TRANSTRUCTURE_PREPARE' * EXPORTING * i_object = l_s_isoltp-isource * i_objtype = l_objtype * i_logsys = l_s_isoltp-logsys * i_without_transport = rs_c_true * i_without_authority = rs_c_true * IMPORTING * e_t_rsstsmapping = l_t_tsmapping * e_t_tsfieldsel = l_t_tsfieldsel ** E_T_ISFIELD = ** E_S_INFOSOURCE_HEADER = * CHANGING * c_s_loadmeth = l_s_loadmeth * EXCEPTIONS * wrong_objecttype = 1 * object_unknown = 2 * unknown_logsys = 3 * object_locked = 4 * inconsistency = 5 * error_by_comstructure = 6 * error_by_transtructure = 7 * transport_failure = 8 * unreachable = 9 * no_idoc_to_oltp = 10 * OTHERS = 11.

RSAR_TRANSTRUCTURE_SAVE * CALL FUNCTION 'RSAR_TRANSTRUCTURE_SAVE' * EXPORTING * i_object = l_s_isoltp-isource * i_objtype = l_objtype * i_logsys = l_s_isoltp-logsys * i_t_tsfield = l_t_tsfieldsel * i_t_tsmapping = l_t_tsmapping * i_objvers = rs_c_objvers-active * i_without_log = rs_c_true * i_without_transport = rs_c_false * CHANGING * c_transtru_name = l_transtru_new * c_s_is_admin = l_s_admin * EXCEPTIONS * no_entries_in_fieldtable = 1 * wrong_objecttype = 2 * object_unknown = 3 * no_active_comstructure = 4 * unknown_logsys = 5 * object_locked = 6 * inconsistency = 7 * transport_failure = 8 * OTHERS = 9.

RSAR_TRANSTRUCTURE_ACTIVATE * CALL FUNCTION 'RSAR_TRANSTRUCTURE_ACTIVATE' * EXPORTING * i_object = l_s_isoltp-isource * i_objtype = l_objtype * i_logsys = l_s_isoltp-logsys * i_t_tsfield = l_t_tsfieldsel * i_t_tsmapping = l_t_tsmapping * i_transtru_name = l_transtru_new * i_without_log = rs_c_true * i_without_transport = rs_c_false * CHANGING * c_s_is_admin = l_s_admin * EXCEPTIONS * no_entries_in_fieldtable = 1 * wrong_objecttype = 2 * object_unknown = 3 * no_active_comstructure = 4 * unknown_logsys = 5 * object_locked = 6 * inconsistency = 7 * error_by_save_table = 8 * error_by_name_determination = 9 * error_by_activate_convrules = 10 * OTHERS = 11.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'CONTREL' titel = text-010 IMPORTING ind = l_index TABLES fields = l_fields full_table = l_values EXCEPTIONS OTHERS = 0.

BAPI_SRCSYSTEM_GETLIST CALL FUNCTION 'BAPI_SRCSYSTEM_GETLIST' EXPORTING systemtype = rs_c_false TABLES sourcesystemlist = l_t_bapi6101l seltextlong = seltextlong selsourcesystem = selsourcesystem EXCEPTIONS OTHERS = 01.




HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LOGSYS' titel = text-011 IMPORTING ind = l_index TABLES fields = l_fields full_table = l_values EXCEPTIONS OTHERS = 0.

RSAP_INFOSOURCE_TRANSFER * CALL FUNCTION 'RSAP_INFOSOURCE_TRANSFER' DESTINATION logsys * EXPORTING * i_isource = l_s_is-isource * EXCEPTIONS * isource_not_found = 1 * invalid_structure = 2 * OTHERS = 3.

RSAR_CHECK_INFOSOURCES * CALL FUNCTION 'RSAR_CHECK_INFOSOURCES' * EXPORTING * is = l_s_is-isource ** OS = * logsys = logsys * IMPORTING * status = l_status * EXCEPTIONS * OTHERS = 1.

RSAP_BASIC_CHAR_TRANSFER * CALL FUNCTION 'RSAP_BASIC_CHAR_TRANSFER' DESTINATION logsys * EXPORTING * i_chabasnm = l_s_os-osource * TABLES * i_t_langu = l_t_langu_dummy * EXCEPTIONS * chabasnm_not_found = 1 * invalid_structure = 2 * OTHERS = 3.

RSAR_CHECK_INFOSOURCES * CALL FUNCTION 'RSAR_CHECK_INFOSOURCES' * EXPORTING ** is = l_s_is-isource * os = l_s_os-osource * logsys = logsys * IMPORTING * status = l_status * EXCEPTIONS * OTHERS = 1.

RSAR_INFOOBJECTS_GET_TEXTS * CALL FUNCTION 'RSAR_INFOOBJECTS_GET_TEXTS' * IMPORTING * e_not_all_active = l_status * CHANGING * c_t_iobj = l_t_iobj * EXCEPTIONS * OTHERS = 1.

POPUP_GET_SELECTION_FROM_LIST ** CALL FUNCTION 'POPUP_GET_SELECTION_FROM_LIST' ** EXPORTING ** DISPLAY_ONLY = 'X' ** TABLE_NAME = 'RSDIOBJ' ** TITLE_BAR = TEXT-023 ** TABLES ** LIST = L_T_IOBJ ** EXCEPTIONS ** NO_TABLEFIELDS_IN_DICTIONARY = 1 ** NO_TABLE_STRUCTURE = 2 ** NO_TITLE_BAR = 3 ** OTHERS = 4.

RSD_IOBJ_GET * CALL FUNCTION 'RSD_IOBJ_GET' * EXPORTING * i_iobjnm = l_s_iobj-iobjnm * IMPORTING * e_t_atr = l_t_atr * e_t_atr_nav = l_t_atr_nav * EXCEPTIONS * iobj_not_found = 1 * illegal_input = 2 * OTHERS = 3.

RSAR_INFOOBJECTS_GET_TEXTS * CALL FUNCTION 'RSAR_INFOOBJECTS_GET_TEXTS' * IMPORTING * e_not_all_active = l_status * CHANGING * c_t_iobj = l_t_iobj * EXCEPTIONS * OTHERS = 1.

POPUP_GET_SELECTION_FROM_LIST ** CALL FUNCTION 'POPUP_GET_SELECTION_FROM_LIST' ** EXPORTING ** DISPLAY_ONLY = 'X' ** TABLE_NAME = 'RSDIOBJ' ** TITLE_BAR = TEXT-023 ** TABLES ** LIST = L_T_IOBJ ** EXCEPTIONS ** NO_TABLEFIELDS_IN_DICTIONARY = 1 ** NO_TABLE_STRUCTURE = 2 ** NO_TITLE_BAR = 3 ** OTHERS = 4.

RSAA_ROUTINE_MULTI_PUT * CALL FUNCTION 'RSAA_ROUTINE_MULTI_PUT' * EXPORTING * i_objvers = rs_c_objvers-modified * i_t_arout = l_t_arout * i_t_aabap = l_t_aabap * i_t_aroutt = l_t_aroutt * EXCEPTIONS * database_write_error = 1 * OTHERS = 2.



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