Skip to Content
author's profile photo Former Member
Former Member

Downloading a spool file

Hi all:

Using transaction SP01, I am trying to download my spool file to my hard drive but the records get truncated. I have tried the menu path:


and I've tried this path:


and I've also tried function module:


but all of these truncate the output.

Any ideas?


Dave Brown

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 03, 2005 at 06:57 PM

    Hi David,

    I am not sure if your output is more than 255 characters. Typically it happens with that. A round-about way to achieve what you want to do is as follows.

        submit rspolst2 exporting list to memory and return
                        with rqident = <your spool id>
                        with first = <from_line>
                        with last = <to_line>.
        call function 'LIST_FROM_MEMORY'
                  listobject = mem_tab
                  not_found  = 1
                  others     = 2.

    Check the contents of mem_tab and see(in debugging) if it has what you wanted to download and then download. But you may loose any formatting that you might have had.

    Let me know if it worked.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Srinivas Adavi


      I apologize for the delay in my response. All the elements that you referred to work, except that I could not get the LIST_TO_ASCI function module to convert the data to a readable format. It is still in HEX when I download the data.

      I have since found a workaround for this and no longer have a need to pursue this to a solution. Thank you very much for your help.

      Dave B.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.