RSRETI05 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Test report for the indexing and attributing of a list (file/URL)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSRETI05 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.
Title: Test report for indexing from a list (file/URL) and attribute
Text Symbol: 007 = 'File destinations' are indexed
Text Symbol: 008 = 'URLs' are indexed
Text Symbol: 009 = The source specified is not supported :
Text Symbol: 010 = Error in calling indexing function SY-SUBRC :
Text Symbol: 011 = Input file no. :
Text Symbol: 012 = The following file could not be loaded :
Text Symbol: 001 = URLs are indexed
Text Symbol: 002 = Files from the file system are indexed
Text Symbol: 003 = Number of documents that were not indexed :
Text Symbol: 004 = Number of documents that were indexed correctly :
Text Symbol: 005 = Number of documents from input files :
Text Symbol: 006 = Number of input files :
Text Symbol: 019 = Non-indexed BIN documents :
Text Symbol: 020 = Indexed BIN documents :
Text Symbol: 021 = Sum of indexed documents :
Text Symbol: 022 = The initialization file :
Text Symbol: 023 = could not be found.
Text Symbol: 013 = Sy-SUBRC of the function module : WS_UPLOAD :
Text Symbol: 014 = Result :
Text Symbol: 015 = Files acc. to input file :
Text Symbol: 016 = Files with errors during uploading :
Text Symbol: 017 = Non-indexed text documents :
Text Symbol: 018 = Indexed text documents :
INCLUDE RSRETCON.
No SAP DATABASE tables are accessed within this REPORT code!
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = FILENAME_INI FILETYPE = 'ASC' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = INPUT_TAB_INI EXCEPTIONS OTHERS = 1.
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = FILENAME_INI FILETYPE = 'ASC' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = INPUT_TAB_INI EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = FILE_PERCENT TEXT = INPUT_TAB_INI.
SRET_DOCS_LS_SYN_INSERT CALL FUNCTION 'SRET_DOCS_LS_SYN_INSERT' EXPORTING CATID = CATID LANGU = LANGU * laiso = IMPORTING RCODE = RCODE TABLES DOCIDTAB = DOCIDTAB DOCATTRTAB = DOCATTRTAB DOCCONTTAB = DOCCONTTAB BINCONTTAB = BINCONTTAB EXCEPTIONS CATID_UNKNOWN = 1 NO_SSR_FOUND = 2 IDXCAT_IS_INACTIVE = 3 NO_DOCS_GIVEN = 4 LANGU_NOT_VALID = 5 CAT_HAS_NO_INDEX = 6 RFC_SYS_FAILURE = 7 RFC_COM_FAILURE = 8 XERROR = 9 OTHERS = 10.
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * codepage = ' ' FILENAME = FILENAME FILETYPE = 'BIN' * headlen = ' ' * line_exit = ' ' * trunclen = ' ' * user_form = ' ' * user_prog = ' ' IMPORTING FILELENGTH = INPUT_FILELENTH TABLES DATA_TAB = BIN_TAB EXCEPTIONS CONVERSION_ERROR = 1 FILE_OPEN_ERROR = 2 FILE_READ_ERROR = 3 INVALID_TABLE_WIDTH = 4 INVALID_TYPE = 5 NO_BATCH = 6 UNKNOWN_ERROR = 7 GUI_REFUSE_FILETRANSFER = 8 OTHERS = 9 .
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = FILENAME FILETYPE = 'ASC' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = ASC_TAB EXCEPTIONS CONVERSION_ERROR = 1 FILE_OPEN_ERROR = 2 FILE_READ_ERROR = 3 INVALID_TABLE_WIDTH = 4 INVALID_TYPE = 5 NO_BATCH = 6 UNKNOWN_ERROR = 7 GUI_REFUSE_FILETRANSFER = 8 OTHERS = 9.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSRETI05 - Test report for indexing from a list (file/URL) and attribute RSRETI05 - Test report for indexing from a list (file/URL) and attribute RSRETI04 - Test report for indexing from a list (file / URL) RSRETI04 - Test report for indexing from a list (file / URL) RSRETI03 - Test report for indexing URLs from a list RSRETI03 - Test report for indexing URLs from a list