SAP Reports / Programs

RS_TRANSTRU_ACTIVATE_ALL SAP ABAP Report - Activate all active transfer structures for a source system







RS_TRANSTRU_ACTIVATE_ALL 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 RS_TRANSTRU_ACTIVATE_ALL 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 RS_TRANSTRU_ACTIVATE_ALL. "Basic submit
SUBMIT RS_TRANSTRU_ACTIVATE_ALL AND RETURN. "Return to original report after report execution complete
SUBMIT RS_TRANSTRU_ACTIVATE_ALL 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: ISOURCE = InfoSource (* gen)
Selection Text: ONLY_INA = Only Inactive
Selection Text: P_LOGSYS = Source System
Title: Activate all active transfer structures for a source system
Text Symbol: 001 = Transfer structure
Text Symbol: 002 = successfully activated
Text Symbol: 003 = NOT activated successfully
Text Symbol: 004 = Activate manually
Text Symbol: 005 = Activate transfer structures
Text Symbol: 006 = No Transfer Structure Selected


INCLUDES used within this REPORT RS_TRANSTRU_ACTIVATE_ALL

INCLUDE: LRSACTAB,
RSAGUILOG.


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_OLDNEW call function 'RSDS_DATASOURCE_OLDNEW' exporting i_datasource = l_s_isosmap-oltpsource i_logsys = l_s_isosmap-logsys i_objvers = rs_c_objvers-modified * I_REPAIR = RS_C_FALSE i_check_consistency = rs_c_true exceptions inconsistent = 1 both_active = 2 failed = 3 others = 4.

RSAR_INFOSOURCE_DEQUEUE CALL FUNCTION 'RSAR_INFOSOURCE_DEQUEUE' EXPORTING i_object = l_lock_object-object i_type = l_lock_object-type.

RSAR_INFOSOURCE_ENQUEUE CALL FUNCTION 'RSAR_INFOSOURCE_ENQUEUE' EXPORTING i_object = l_lock_object-object i_type = l_lock_object-type EXCEPTIONS object_locked = 1 OTHERS = 2.

RSAR_COMSTRUCTURE_GET CALL FUNCTION 'RSAR_COMSTRUCTURE_GET' EXPORTING i_comstru = l_s_isosmap-isource i_objvers = rs_c_objvers-active i_type = l_s_isosmap-istype i_segment_id = l_seg_id IMPORTING e_s_cs = l_s_cs e_t_csfield = l_t_csfield EXCEPTIONS comstru_not_found = 1 no_fields_to_comstru = 2 internal_error = 3 comstru_not_supported_for_type = 4 comstru_not_generated = 5 OTHERS = 6.

RSAR_COMSTRUCTURE_ACTIVATE CALL FUNCTION 'RSAR_COMSTRUCTURE_ACTIVATE' EXPORTING i_object = l_s_isosmap-isource i_objtype = l_s_isosmap-istype i_t_cssfield = l_t_cssfield * I_COMSTRU_NAME = * I_PERCENTAGE = 0 i_without_log = rs_c_true i_without_transport = rs_c_true i_without_authority = rs_c_true CHANGING c_s_is_admin = l_s_cs_admin EXCEPTIONS no_entries_in_fieldtable = 1 wrong_objecttype = 2 object_unknown = 3 ddic_error_by_saving = 4 ddic_error_by_activate = 5 internal_error = 6 different_comstru_name = 7 error_by_saving = 8 infoobject_inactive = 9 OTHERS = 10 .

RSAR_TRANSTRUCTURE_GET CALL FUNCTION 'RSAR_TRANSTRUCTURE_GET' EXPORTING i_transtru = l_s_isosmap-transtru i_objvers = rs_c_objvers-active IMPORTING e_s_ts = l_s_ts EXCEPTIONS transtru_not_found = 1 transtru_invalid = 2 internal_error = 3 OTHERS = 4.

RSAR_TRANSTRUCTURE_PREPARE CALL FUNCTION 'RSAR_TRANSTRUCTURE_PREPARE' EXPORTING i_object = l_s_isosmap-isource i_objtype = l_s_isosmap-istype i_logsys = l_s_isosmap-logsys i_oltpsource = l_s_isosmap-oltpsource i_segment_id = l_seg_id i_without_transport = rs_c_true IMPORTING e_t_rsstsmapping = l_t_tsmapping e_t_tsfieldsel = l_t_tsfield 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_ACTIVATE CALL FUNCTION 'RSAR_TRANSTRUCTURE_ACTIVATE' EXPORTING i_object = l_s_isosmap-oltpsource i_objtype = l_s_isosmap-istype i_logsys = l_s_isosmap-logsys i_t_tsfield = l_t_tsfield i_t_tsmapping = l_t_tsmapping i_transtru_name = l_s_isosmap-transtru i_no_prog_generate = l_no_prog_generate i_segment_id = l_seg_id i_without_log = rs_c_true i_without_versioning = l_without_versioning i_without_transport = rs_c_true CHANGING c_s_is_admin = l_s_is_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 infoobject_inactive = 11 error_by_create_transtru_biw = 12 program_generation_error = 13 communication_failures = 14 error_on_oltp_transtru = 15 OTHERS = 16.

RSAR_INFOSOURCE_LS_DEQUEUE CALL FUNCTION 'RSAR_INFOSOURCE_LS_DEQUEUE' EXPORTING i_logsys = l_s_isosmap-logsys i_object = l_s_isosmap-oltpsource i_type = l_s_isosmap-istype.

RSAR_INFOSOURCE_DEQUEUE CALL FUNCTION 'RSAR_INFOSOURCE_DEQUEUE' EXPORTING i_object = l_lock_object-object i_type = l_lock_object-type.

RSAL_LOG_SHOW CALL FUNCTION 'RSAL_LOG_SHOW' EXPORTING i_function = l_name.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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