RSRETI01 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 of KPro data with file information...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 RSRETI01 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 KPRO data using file info
INCLUDE RSRETCON.
No SAP DATABASE tables are accessed within this REPORT code!
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = WS_FILENAME FILETYPE = 'DAT' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = MAPPING_TAB EXCEPTIONS OTHERS = 1.
WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = WS_FILENAME FILETYPE = 'DAT' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = P_ACCESS_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 = WS_FILENAME FILETYPE = 'DAT' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = P_ATTRIB_TAB EXCEPTIONS OTHERS = 1.
WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING FILENAME = WS_FILENAME FILETYPE = 'DAT' * IMPORTING * FILELENGTH = P_ITAB_DOCIDTAB TABLES DATA_TAB = P_ITAB_DOCIDTAB * FIELDNAMES = EXCEPTIONS OTHERS = 1.
WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING FILENAME = WS_FILENAME FILETYPE = 'DAT' * IMPORTING * FILELENGTH = P_ITAB_DOCIDTAB TABLES DATA_TAB = P_ITAB_DOCATTRTAB * FIELDNAMES = EXCEPTIONS OTHERS = 1.
WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING FILENAME = WS_FILENAME FILETYPE = 'DAT' * IMPORTING * FILELENGTH = P_ITAB_DOCIDTAB TABLES DATA_TAB = P_ITAB_DOCCONTTOB * FIELDNAMES = 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.
RSRETI01 - Test report for indexing KPRO data using file info RSRETI01 - Test report for indexing KPRO data using file info RSRETERR - documentation and ABAP source code RSRETDT01 - Deindexing test for a document RSRETDT01 - Deindexing test for a document RSRETDELTAINDEXING - test for delta indexing