RS_TEMPLATE_MASS_ALTER 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_TEMPLATE_MASS_ALTER 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.
Web Template Conversion Results -...
Selection Text: B_FSSAVE = Save to Filesystem
Selection Text: B_LTNIN = Input file of template names
Selection Text: B_MANFI = Manual Selection
Selection Text: B_OPNO = No Operation(just down/upload)
Selection Text: B_OPXSL = XSLT-Transform
Selection Text: B_PATFI = Pattern Filter
Selection Text: B_REGEN = Regenerate Pattern
Selection Text: B_SAR = Search and Replace
Selection Text: B_SEAFI = Filter via string search
Selection Text: P_FBNM = Function Module name
Selection Text: P_FBP1 = Function Module param 1
Selection Text: P_FBP2 = Function Module param 2
Selection Text: P_FBP3 = Function Module param 3
Selection Text: P_FBP4 = Function Module param 4
Selection Text: P_FILP1 = XSLT Filter parameter 1
Selection Text: P_FILP2 = XSLT Filter parameter 2
Selection Text: P_FILP3 = XSLT Filter parameter 3
Selection Text: P_FILP4 = XSLT Filter parameter 4
Selection Text: P_FILXS = Filter-XSLT (SE80!->XSLT)
Selection Text: P_FNLST = Name of output list file
Selection Text: P_FNTLI = File input (list of names)
Selection Text: P_FOLIN = Folder input
Selection Text: P_FOOUT = Output Folder
Selection Text: P_OBJVER = Object version(A,M,D)
Selection Text: P_PATNM = Pattern name
Selection Text: P_SAR = Seach and replace
Selection Text: P_SEAFI = Filter Strings ( LOW,EQ[I,E] )
Selection Text: P_TYPE = Template Type(00,01)
Selection Text: P_XSLP1 = XSLT Transform Parameter 1
Selection Text: P_XSLP2 = XSLT Transform Parameter 2
Selection Text: P_XSLP3 = XSLT Transform Parameter 3
Selection Text: P_XSLP4 = XSLT Transform Parameter 4
Selection Text: P_XSLT = Modif. XSLT-Transform( SE80!)
Selection Text: S_LUSER = User (Last changed)
Selection Text: S_ROLES = Roles (Technical name)
Selection Text: S_TEMPL = Template name
Selection Text: B_FSLST = Output list of technical names
INCLUDE ICONS.
No SAP DATABASE tables are accessed within this REPORT code!
RSSB_AUTHORITY_ADMWB_OBJECT CALL FUNCTION 'RSSB_AUTHORITY_ADMWB_OBJECT' EXPORTING i_admwbobj = l_admwbobj i_actvt = l_actvt EXCEPTIONS user_not_authorized = 1 OTHERS = 2.
RSWAD_ALTER_TEMPLATE_SAMPLE CALL FUNCTION p_fbnm " 'RSWAD_ALTER_TEMPLATE_SAMPLE' EXPORTING p_1 = l_s1 p_2 = l_s2 p_3 = l_s3 p_4 = l_s4 CHANGING c_s_templateinfo = l_s_templateinfo c_templatestring = l_testrun EXCEPTIONS OTHERS = 2 .
RS_HELP_HANDLING CALL FUNCTION 'RS_HELP_HANDLING' EXPORTING dynpfield = field dynpname = sy-dynnr object = 'FB' progname = 'RS_TEMPLATE_MASS_ALTER' suppress_selection_screen = 'X'.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' "#EC * EXPORTING textline1 = 'This report will destroy BW Templates if improperly used!'(002) textline2 = 'OK to continue? '(003) titel = l_title2 * START_COLUMN = 25 * START_ROW = 6 defaultoption = 'N' IMPORTING answer = l_answer. "#EC *
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = i_file filetype = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 read_by_line = 'X' * DAT_MODE = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * CHECK_BOM = ' ' * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = l_t_tmpllist EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17 .
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = l_filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' write_lf = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * WRITE_BOM = ' ' * TRUNC_TRAILING_BLANKS_EOL = 'X' * IMPORTING * FILELENGTH = TABLES data_tab = l_t_out EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = 'RSZW_S_TMPL_INFO_PROCESSING' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = l_t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 * OTHERS = 3 .
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_prog i_callback_pf_status_set = 'ALV_SEL_STATUS' i_callback_user_command = 'ALV_SEL_CALLBACK' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'rszw_s_tmpl_info_processing' * I_BACKGROUND_ID = ' ' i_grid_title = 'Select your templates'(062) * I_GRID_SETTINGS = is_layout = l_s_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = IMPORTING e_exit_caused_by_caller = l_c1 es_exit_caused_by_user = l_c2 TABLES t_outtab = g_t_templateinfos EXCEPTIONS program_error = 1 * OTHERS = 2 .
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' "#EC * EXPORTING textline1 = 'This report will destroy BW Templates if improperly used!'(002) textline2 = 'OK to continue? '(003) titel = l_title2 * START_COLUMN = 25 * START_ROW = 6 defaultoption = 'N' IMPORTING answer = l_answer. "#EC *
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_prog i_callback_pf_status_set = 'ALV_SEL_STATUS' i_callback_user_command = 'ALV_SEL_CALLBACK' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'rszw_s_tmpl_info_processing' * I_BACKGROUND_ID = ' ' i_grid_title = l_title * I_GRID_SETTINGS = is_layout = l_s_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = IMPORTING e_exit_caused_by_caller = l_c1 es_exit_caused_by_user = l_c2 TABLES t_outtab = g_t_templateinfos EXCEPTIONS program_error = 1 * OTHERS = 2 .
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = 'RSZW_S_TMPL_INFO_PROCESSING' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = l_t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_prog * i_callback_pf_status_set = 'ALV_SEL_STATUS' i_callback_user_command = 'ALV_SEL_CALLBACK' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'rszw_s_tmpl_info_processing' * I_BACKGROUND_ID = ' ' i_grid_title = l_title * I_GRID_SETTINGS = is_layout = l_s_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = IMPORTING e_exit_caused_by_caller = l_c1 es_exit_caused_by_user = l_c2 TABLES t_outtab = g_t_templateinfos EXCEPTIONS program_error = 1 * OTHERS = 2 .
RSWEB_BCT3X_REGENERATE_PATTERN CALL FUNCTION 'RSWEB_BCT3X_REGENERATE_PATTERN' CHANGING c_s_templateinfo = c_s_templateinfo c_templatesource = c_src EXCEPTIONS no_pattern = 1 xslt_failure = 2 xslt_missing = 3 OTHERS = 4.
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_TEMPLATE_MASS_ALTER or its description.
RS_TEMPLATE_MASS_ALTER - Web Template Mass Maintenance/Conversion RS_TEMPLATE_MASS_ALTER - Web Template Mass Maintenance/Conversion RS_TEMPLATE_MAINTAIN_70 - BW 7.0 Template Maintenance RS_TEMPLATE_MAINTAIN_70 - BW 7.0 Template Maintenance RS_TEMPLATE_MAINTAIN - Template Editor (with Transport Connection) RS_TEMPLATE_MAINTAIN - Template Editor (with Transport Connection)