cancel
Showing results for 
Search instead for 
Did you mean: 

Background Job & Spool List Recipient not receiving all pages

Former Member
0 Kudos

I have a program that is run during our nightly cycle and is scheduled in SM36 with a spool list recipient designated for the report to be delivered to the user's SAP Inbox. The job completes successfully and creates a report that is over 100 pages. The user is only receiving 10 pages in their SAP Inbox. Is this a Basis system setting? Can we changes this on a per user basis?

Thanks,

Holly

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

U can also change the setting ?

1. in sm36---. select any Spool request and

2. Goto->disply request->settings .

3. there u will find Display area> by default it is 10pages

4. So chage that one to Required pages

Former Member
0 Kudos

Hi Holly,

it's sound like the <b>SAP-Note: 329537</b>

-


Symptom

If a batch job creates a spool and sends it to a recipients, only the first 1000 lines are sent.

Other terms

SAPOffice, spool list recipient

Reason and Prerequisites

For performance reasons, the output sent to SAPOffice is limited to 1000 lines.

Solution

If you wish to send spools longer than 1000 lines in Releases > 4.6B, proceeed as follows:

1. Apply the support packages or correction instructions mentioned in this note.

2. Create the following two entries in table TSPOPTIONS with transaction SE16:

option: BTC_FIRSTLINE value: < desired value, probably 1>

option: BTC_LASTLINE value: < desired value, e.g. 99999>

1. Call function module RSPO_OPTION_FLUSH with value NAME = '*'.

Please note that this change may impact performance, depending on the selected line interval.

In Releases < 4.6C or if you are not able to apply the support packages or corrections, you can accomplish this with a minor code change.

In program RSBTCRTE, change the parameter sent to the function module

RSPO_SPOOLJOB_TO_OFFICE as follows:

call function 'RSPO_SPOOLJOB_TO_OFFICE'

exporting

rqident =

spo_list_id

first_line

= 1

last_line =

1000 "<<< Delete

last_line =

99999 "<<< Insert

receiver

= recipient_object

mail_title

= document_data-obj_descr

exceptions

-


Former Member
0 Kudos

Thank you for your answer. This looks like it will fix my problem. Now, I need to see if we want to change the system constraint. If so, we need to decide on the number of lines.

Have you actually applied this OSS note? I was wondering if I could only use this when I send a spool list through my ABAP program or can I use this when my job is through SM37 and specifies a spool recipient? I was a bit confused due to the following line in the OSS note:

RSPO_OPTION_FLUSH with value NAME = '*'.

I wouldn't be able to call this command when my job is scheduled in SM37?

Thanks for your help and quick response!

Holly

Former Member
0 Kudos

Hi Holly,

the functionmodul RSPO_OPTION_FLUSH with value NAME = '*' has only be called if you make the entry in the current system without a restart.

You can call the functionmodul it in the SE37.

Please keep in mind that <b>the note will affect the whole system.</b> Please clearify this with your responsible system administration.

Thanks,

Stefan

Regards,

Stefan