Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Report in background, how to avoid the header at every new page?

Dear all,

I have a big report which gives time out, so I run it in background mode, the problem arises when I go to SP01 and download the output, it doesnt appear as a continuous list but as a bunch of pages with a header in each one, so it is a pain to work with it in Excel.

Any idea about downloadig it with out the header of the pages?

Thanks in advance,

Fede

Tags:
Former Member
replied

Write an utility for downloading from spool using below said fm and give the first_line parameter value as your first line after header

      call function 'RSPO_RETURN_ABAP_SPOOLJOB'
        exporting
          rqident              = wa_spool
          first_line           = 2   " Specify your  first line from header
        tables
          buffer               = i_spldata
        exceptions
          no_such_job          = 1
          not_abap_list        = 2
          job_contains_no_data = 3
          selection_empty      = 4
          no_permission        = 5
          can_not_access       = 6
          read_error           = 7
          others               = 8.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question