SAP Reports / Programs

RSPO1042 SAP ABAP Report - Consistency Check for Spool Files







RSPO1042 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report checks whether spool requests still exist in the DIR_GLOBAL directory (ADS and SAP GUI for HTML print requests)...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 RSPO1042 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSPO1042. "Basic submit
SUBMIT RSPO1042 AND RETURN. "Return to original report after report execution complete
SUBMIT RSPO1042 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: KEEPDAYS = Delete if Older Than (Days):
Selection Text: SIMONLY = Simulation Only
Selection Text: WEBGUI = Check WebGUI Print Requests
Title: Consistency Check for Spool Files
Text Symbol: 001 = Delete Orphaned Spool Files in GLOBAL_DIR
Text Symbol: 700 = Directory Name
Text Symbol: 710 = File Name
Text Symbol: 720 = Created On
Text Symbol: 730 = Created At
Text Symbol: 740 = Deleted
Text Symbol: 750 = Spool Request No.
Text Symbol: 760 = Error Message


INCLUDES used within this REPORT RSPO1042

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

AUTHORITY_CHECK_DATASET * CALL FUNCTION 'AUTHORITY_CHECK_DATASET' * EXPORTING ** PROGRAM = * activity = sabc_act_delete * filename = dirname * EXCEPTIONS * no_authority = 1 * OTHERS = 2.

RSPO_FILENAME_TO_NUMBER CALL FUNCTION 'RSPO_FILENAME_TO_NUMBER' EXPORTING tmp_filename = tmp_filename IMPORTING sponum = rspoid pjnum = pjnum.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = grid_title is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gt_exclude[] i_default = 'X' i_save = 'A' TABLES t_outtab = del_files EXCEPTIONS program_error = 1 OTHERS = 2.

TZON_GET_OS_TIMEZONE CALL FUNCTION 'TZON_GET_OS_TIMEZONE' IMPORTING ef_timezone = tz ef_not_unique = unique ef_not_found = not_found.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSPO1042 or its description.