Tuesday, February 3, 2015

ABAP TIP Download Spool Data






Chapter 090
Download Spool Data
Source : http://abapjoy.blogspot.com

While the background job is executing, all results from write stamen in program is saved into SPOOL.
In order to check the background jobs results, we use the  button in T-CODE:SM37.
Then, the spool lists are limited to be displayed 10 pages, its really hard to input page number manually.
Only 1 0 pages is displayed

To display next 10 pages, you should press  button and input page number in the form page field.


There are useful ways to download the spool data at once.

1. T-CODE:SP01
2. use function module : RSPO_DOWNLOAD_SPOOLJOB

1.  T-CODE:SP01 and spool download

With the spool number in SM37, you can download the spool file.

Select Menu : Forward -> Export as text

Once the file download is completed, file directory path and name is displayed.


Now you can open the text file downloaded.

2. T-CODE:SE37 and use function RSPO_DOWNLOAD_SPOOLJOB

In T-CODE:SE37, you can download the spool data with function RSPO_DOWNLOAD_SPOOLJOB
You enter the spool number, file name and path.

The spool data is also downloaded into the local file.




No comments:

Post a Comment