RSPOLST2 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 RSPOLST2 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: Display ABAP Spool List
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSPO_DISPLAY_SPOOLJOB CALL FUNCTION 'RSPO_DISPLAY_SPOOLJOB' EXPORTING RQIDENT = RQIDENT FIRST_LINE = FIRST LAST_LINE = LAST EXCEPTIONS NO_SUCH_JOB = 1 JOB_CONTAINS_NO_DATA = 2 SELECTION_EMPTY = 3 NO_PERMISSION = 4 CAN_NOT_ACCESS = 5 READ_ERROR = 6 OTHERS = 7.
RSPO_GET_SIZE_OF_LAYOUT CALL FUNCTION 'RSPO_GET_SIZE_OF_LAYOUT' EXPORTING layout = rq-rqpaper IMPORTING * ANSWER = * COLUMNS = lines = lines * PFORMAT = .
RSPO_OUTPUT_LIST_JOB CALL FUNCTION 'RSPO_OUTPUT_LIST_JOB' EXPORTING rq = rq list_first = first_page list_count = page_count * list_end = 'X' DISPLAY_ACC_LINES = space total_pages = total X_SUPPRESS_PI = 'X' * IMPORTING * SWITCH_MODE = EXCEPTIONS error = 1 OTHERS = 2 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.