SAP Reports / Programs

RS_COMSTRU_ACTIVATE_ALL SAP ABAP Report - Activate all inactive communication structures







RS_COMSTRU_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_COMSTRU_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_COMSTRU_ACTIVATE_ALL. "Basic submit
SUBMIT RS_COMSTRU_ACTIVATE_ALL AND RETURN. "Return to original report after report execution complete
SUBMIT RS_COMSTRU_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 inactive communication structures
Text Symbol: 001 = Communication Structure
Text Symbol: 002 = successfully activated
Text Symbol: 003 = NOT activated successfully
Text Symbol: 004 = Activate manually
Text Symbol: 005 = Activate Communication Struct.
Text Symbol: 006 = Update Rule


INCLUDES used within this REPORT RS_COMSTRU_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:

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_cs-comstru i_objvers = rs_c_objvers-active 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_cs-comstru 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_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 i_date = l_date i_time = l_time.

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