Start of Content Area

Function documentation Customer Enhancement for Spool Accounting  Locate the document in its SAP Library structure

Use

For purposes accounting, the spool system maintains detailed usage statistics. The spool system does not provide an accounting tool, but instead makes this data available by way of the spool accounting user exit. You can address the exit using the enhancement SPOOACC.

Functions

The task of the exit is to evaluate and store the accounting information before all the information is deleted.

The exit is called when the report RSPO1041 is run to delete spool requests. An internal table of type TSPJSTAT is transferred. This table contains the information about all print requests to be deleted.

Only those records not processed elsewhere are transferred (see documentation for TSPJSTAT).

Activities

Use the following profile parameters to activate spool accounting:

·        rspo/stat/jobs: An entry is written to the table TSPJSTAT for every output request.

·        rspo/stat/query: Every time a printer is queried, data about the queue is written to table TSPQSTAT.

ExampleFor an example of the analysis of the spool data statistics, see report RSPOSTAT.

NoteFor general information about SAP function exits, see The SAP Enhancement Concept and transaction cmod.

This graphic is explained in the accompanying text SAP Printing Guide start page

 

 

End of Content Area