RSPO0065 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 RSPO0065 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.
Selection Text: CLIENT = Client
Selection Text: COMMIT = Commit Counter
Selection Text: DEVICE = For output devices (generic)
Selection Text: LISTONLY = Display only
Selection Text: USER = User Name (Generic)
Selection Text: WITHPROT = With log?
Title: Output All Existing Spool Requests
Text Symbol: 032 = Spool Request
Text Symbol: 041 = Error :
Text Symbol: 100 = Error Message
Text Symbol: 110 = Error
INCLUDE RSPOTIME.
No SAP DATABASE tables are accessed within this REPORT code!
DB_SET_ISOLATION_LEVEL CALL FUNCTION 'DB_SET_ISOLATION_LEVEL'.
RSPO_L_RSELECT_SPOOLREQS CALL FUNCTION 'RSPO_L_RSELECT_SPOOLREQS' EXPORTING rqnone = 'X' rqproc = space rqsucc = space rqerr = space TABLES s_rqdestl = device s_rqclie = client s_rqowne = user result_tsp01 = rqtab EXCEPTIONS error = 1 OTHERS = 2.
DB_RESET_ISOLATION_TO_DEFAULT CALL FUNCTION 'DB_RESET_ISOLATION_TO_DEFAULT'.
RSPO_OUTPUT_SPOOL_REQUEST CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST' EXPORTING spool_request_id = rqtab_line-rqident EXCEPTIONS archive_dest_invalid = 1 archive_dest_not_found = 2 archive_dest_no_right = 3 cannot_archive = 4 change_archdest_no_right = 5 change_copies_no_right = 6 change_dest_no_right = 7 change_devtype_no_right = 8 change_prio_no_right = 9 change_telenum_no_right = 10 change_title_no_right = 11 dest_invalid = 12 dest_not_found = 13 dest_no_right = 14 internal_problem = 15 invalid_fax_attribute = 16 invalid_parameters = 17 non_owner_no_right = 18 no_layout = 19 no_spool_request = 20 out_again_no_right = 21 spooler_problem = 22 OTHERS = 23.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = my_program i_callback_user_command = 'USER_COMMAND' i_structure_name = 'REQUEST' * i_grid_title = sy-title is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gt_exclude[] i_default = 'X' i_save = 'A' is_print = alv_print TABLES t_outtab = requests EXCEPTIONS program_error = 1 OTHERS = 2.
RSPO_RID_SPOOLREQ_LIST CALL FUNCTION 'RSPO_RID_SPOOLREQ_LIST' EXPORTING id_list = p_idtab[] * SUMMARY = ' ' 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.