Skip to Content

Spooling

Hi,

I have never done anything related to spooling. So, I have some very basic questions about it.

I have some documents that I process in a program. After the processing is over, I display the documents in the form of an ALV report. Now, I need to create a spool so that the data in the ALV can be accessed at a future date.

As you might have gussed from my question, I have little idea bout spooling. Please provide me detailed description on the apporach to this problem.

Regards,

Divyaman

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 08, 2008 at 02:45 PM

    Hi ,

    In the ALV there is an option to print the ALV list directly...without displaying , for this u have to set the parameter IS_PRINT.

    IS_PRINT-print = 'X'.

    When u do this, the Print screen list.. . here u select new spool request....

    Hope this will help U..

    -


    Patil

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Santosh,

      Thanks for your response. I tried what you had recommended. What is happening now is that the report is not getting displayed. Instead, I get an output asking for the output device. So, a spooling request is being created.

      What I want to do is the following: -

      I want the report to be displayed on the screen and at the same time I want a spooling request to be generated for it as well (not the output request). and I want all this to happen programatically. So, that the user can see the ALV report on the screen and also view it at a later stage from the output controller.

      Please let me know if this is feasible. Also, let me know the detailed steps for this.

      Thanks in advance,

      Divyaman

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 02:57 PM

    Hi Divyaman,

    Create a background job for that ALV report and schedule it when u want it to get executed. Automatically you will get a spool output from where you can check the output.

    Raghav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2008 at 02:56 AM

    Execute a report using the Execute and print function

    Switch on printing in a report using the ABAP statement NEW-PAGE PRINT ON.

    Call a report using the statement SUBMIT rep TO SAP-SPOOL

    Schedule a report as a background job using the statement SUBMIT rep USER user VIA JOB job NUMBER n TO SAP-SPOOL. When the report runs, the system writes the output to the spool system.

    Schedule a report as a background job using the function module JOB_SUBMIT. When the report runs, the sytsem writes the output to the spool system.

    Add a comment
    10|10000 characters needed characters exceeded

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.