RSRETI04 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 indexing from 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 RSRETI04 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)
Text Symbol: 010 = Error in calling indexing function SY-SUBRC :
Text Symbol: 011 = Input file no. :
Text Symbol: 012 = Error in calling indexing function RCDOE :
Text Symbol: 101 = Number of keys :
Text Symbol: 102 = Number of indexed documets :
Text Symbol: 103 = Number of documents with errors :
Text Symbol: 104 = Number of files :
Text Symbol: 105 = Number of documents :
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: 007 = 'File destinations' are indexed
Text Symbol: 008 = 'URLs' are indexed
Text Symbol: 009 = The source specified is not supported :
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.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = PERCENT TEXT = PROGR_TXT.
SRET_DOCS_LS_SYN_INSERT CALL FUNCTION 'SRET_DOCS_LS_SYN_INSERT' EXPORTING CATID = P_CATID * langu = p_langu LAISO = P_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 = 'ASC' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = INPUT_TAB EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
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 RSRETI02 - Test report for indexing URLs RSRETI02 - Test report for indexing URLs