Skip to Content

Spool download issue

Dear All,

There is SAP std program for Employee leave absense report (RPLABSG0_ABSENCE_OVERVIEW ), we have copied and enhance with few additional fields.

We have schedule these program for background processing. As this is ALV report, the output is getting automatically write to spool. Here we are facing issue when we are downloading the spool file as the number of count displayed in spool is not same as the actually downloaded file. Downloaded file is contains less records. When we compare it to the std program spool, std program spool is generated correctly. While debug I checked the number of records passed to REUSE_ALV_GRID_DISPLAY are same in both programs.

There are few diff in both program that I have notice is, Z program has LINE-COUNT set to 65535 which is not in std program.

Another diff is, in standard program TOP_OF_PAGE is set and Structure name is passed.

Can any one guide me what will be exact issue. How I can resolve it. We are downloading spool using SM37.

Thanks In Advance.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 28, 2016 at 11:46 AM

    How do you "download" the spool? Note that when you display a spool (SP01/SM37), only the first ten pages are displayed by default.

    You should also read the documentation for LINE-COUNT. Really 65535 lines per page?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 12:03 PM

    This is an ALV, so why don't you wrap it (*) in another report with class cl_salv_bs_runtime_info, so you would will be able to display or download it.



    (*) or adapt your clone, was it not possible to enhance standard report?

    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.