sapnote 329537

3
01.11.2007 Page 1 of 3 Note 329537 - Spool cut off at 1000 lines when sent to recipient Note Language: English Version: 20 Validity: Valid from 19.07.2007 Summary Symptom If a batch job creates a spool and sends it to a recipients, only the first 1000 lines are sent. More Terms SAPOffice, spool list recipient, SM37, limitation, truncation, attachment, email, mail Cause 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> 3. Call function module RSPO_OPTION_FLUSH (transaction SE37) with value NAME = '*'. With a value of '2147483647' ( = 2^31-1) for BTC_LASTLINE, there will be no limitation. Please note that this change may impact performance, depending on the selected line interval, as more data has to be processed. 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

Transcript of sapnote 329537

Page 1: sapnote 329537

01.11.2007 Page 1 of 3

Note 329537 - Spool cut off at 1000 lines when sent to recipient

Note Language: English Version: 20 Validity: Valid from 19.07.2007

Summary

SymptomIf a batch job creates a spool and sends it to a recipients, only the first1000 lines are sent.

More TermsSAPOffice, spool list recipient, SM37, limitation, truncation, attachment,email, mail

Cause and PrerequisitesFor performance reasons, the output sent to SAPOffice is limited to 1000lines.

SolutionIf 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 inthis note.

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

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

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

3. Call function module RSPO_OPTION_FLUSH (transaction SE37) with valueNAME = '*'.

With a value of '2147483647' ( = 2^31-1) for BTC_LASTLINE, there will be nolimitation.

Please note that this change may impact performance, depending on theselected line interval, as more data has to be processed.

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

In program RSBTCRTE, change the parameter sent to the function moduleRSPO_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

Page 2: sapnote 329537

01.11.2007 Page 2 of 3

Note 329537 - Spool cut off at 1000 lines when sent to recipient

Header Data

Release Status: Released for CustomerReleased on: 19.07.2007 20:02:47Priority: Correction with medium priorityCategory: Program error

Main Component BC-CCM-BTC Background ProcessingAdditional Components:

BC-CCM-PRN Print and Output Management

BC-SRV-GBT Please use BC-SRV-COM

Valid Releases

Software Component Release FromRelease

To Release and Following

SAP_APPL 40 40A 40A X

SAP_APPL 45 45A 45A X

SAP_APPL 46 46A 46A X

SAP_BASIS 46C 46C 46D X

SAP_BASIS 60 610 640 X

SAP_BASIS 70 700 700 X

SAP_BASIS 710 710 710 X

Support Packages

Support Packages Release Package Name

SAP_BASIS 46C SAPKB46C50

SAP_BASIS 46C SAPKB46C55

SAP_BASIS 46D SAPKB46D40

SAP_BASIS 610 SAPKB61043

SAP_BASIS 620 SAPKB62050

SAP_BASIS 620 SAPKB62063

SAP_BASIS 640 SAPKB64012

SAP_BASIS 640 SAPKB64021

SAP_BASIS 700 SAPKB70014

SAP_BASIS 710 SAPKB71004

Related Notes

Page 3: sapnote 329537

01.11.2007 Page 3 of 3

Note 329537 - Spool cut off at 1000 lines when sent to recipient

Number Short Text

930570 Problems with sent OTF documents

760838 Spool lists are not sent

Attributes

Attribute Value

weitere Komponenten BC-ADM-PRN

weitere Komponenten BC-SRV-OFC

Correction Instructions

CorrectionInstructions

Validfrom

Validto

SoftwareComponent

Type*)

ReferenceCorrection

LastChanged

370512 640 640 SAP_BASIS C Y6DK029952 14.02.2005 23:51:42

370713 46C 46C SAP_BASIS C Y9CK027690 15.02.2005 01:18:00

571843 46C 46C SAP_BASIS C Y9CK059893 13.07.2007 01:29:24

571844 620 620 SAP_BASIS C Y6BK086367 13.07.2007 01:57:21

571845 640 640 SAP_BASIS C Y6DK067251 13.07.2007 02:02:30

575296 700 700 SAP_BASIS C Y7AK060052 20.07.2007 03:55:11

713531 620 620 SAP_BASIS C Y6BK025295 19.04.2005 17:35:22

713534 620 620 SAP_BASIS C Y6BK041092 19.04.2005 17:45:07

713535 620 620 SAP_BASIS C Y6BK006321 19.02.2007 20:01:21

*) C Correction, B Pre-Implementation, A Post-Implementation, M Undetermined