Spool process

3,377 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,377
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
89
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Spool process

  1. 1. What are the different Spool statuses and their significance?This article answers the following queries:1. What does spool request contain?2. Where is the spool request stored?3. What are different Spool statuses and their significance?4. Which work processes will create spool requests?5. What is the difference between spool request and output request?6. Which work process will create output request or print request?1. What does spool request contain?ANS: Spool request contains detailed information regarding printermodel, formatting to be done on the data to be output.2. Where is the spool request stored?ANS: The spool request that is generated is stored in theTemse(temporary sequential file)3. What are different Spool statuses and their significance?ANS: Spool requests will have different statuses like Completed (Theoutput request printed successfully) Waiting (Spool request is in waitingstatus and spool system has not yet processed the output request andnot yet sent to the host system)In process (The spool work process is in the process of formattingoutput request for printing) Printing (The host spool is in the process of
  2. 2. printing the output request Problem (This indicates there are someminor errors. It means output request printed but contains some errorslike incomplete character set etc)Error (This status indicates some serious issues such as network error. Itmeans the requests have not printed and they remain in the spoolsystem until they are deleted or until they reach their expiration date.After expiry date, they are deleted by the reorganisation jobs.Archive (This status is set for spool requests that are sent to anarchiving device. This status means that the spool request was alreadyprocessed by the spool system and it is now waiting to be archived)Time (This status means that the user who has created the spool hasmentioned some specific time for output)- (This minus status means that the spool request is not yet sent to thehost system and no output request exists)+ (This plus status means that the spool request is being generated andit is stored in the spool system)4. Which work processes will create spool requests?ANS: Spool requests will be created by dialog or background workprocesses. Please note that spool work processes do not create spoolrequests4: What is the difference between spool request and output request?ANS: Spool request contains detailed information regarding printermodel, formatting to be done on the data to be output. Output requestcontains all the data in the format that the printer understands.
  3. 3. A spool workprocess formats the data specified in the spool requestand generates the output request. Output request is also termed asprint request.5: Which work process will create output request?Ans:Output request will be created by spool work processes.Spool overflow issues :what is spool overflow ? How to troubleshoot spool overflow issue ?1. What is spool overflow ?2. How to troubleshoot spool overflow ?3. How to delete old spool requests?4. How to avoid spool overflow issue?5. How to check spool numbers?6. How to set the spool number in SAP?7. How to define storage location (Temse) of spool requests ?1. What is spool overflow ?ANS: Spool request that got generated are stored in a temporarysequential file called Temse. Please note that these are stored in Temsebecause these are not stored permanently. The size of the Temse islimited by the parameter definition.The default size of Temse is 32,000 and it can be increased till 2 billion.However, defining very high value can effect the databasePerformance.
  4. 4. Due to limited storage capacity of Temse, when this file got full, thisthrows an SAP spool overflow error.If this happens, customers could not print from SAP. If you check inSM21 and ST22 transactions, you may encounter some error log ordumps likeERROR IN SPOOL call: SPOOL OVERFLOWSPOOL_INTERNAL_ERRORSystem internal error in the spool system2. How to troubleshoot spool overflow?ANS:To resolve this spool issue, some of the old spools can be deletedfrom the sap system. Goto transaction SPAD. From the initial screen,navigate to Administration -> Clean_up_spool. Once you click this,Spool Administration: Delete old spool requests screen will bedisplayed.In that screen, you will be prompted to choose requests for deletionlikeOld spool requests older than the maximum set age, Requests alreadyprinted .All spool requests and enter value for minimum age (in days)text box. Select the check boxes as per the requirement (eg: delete allrequests already printed and minimum age in days equal to 30 days)and execute to delete old spool requests, which will clear Temse andwill resolve spool over flow issue. Apart from this there are others waysof resolving spool overflow issue. They are
  5. 5. 1) Run the report RSPO0041 from SE38 transaction to delete old spoolrequests2) Run the report RSPO0043 from SE38 transaction, which checks theTemse/spool consistency and reorganizes the spool3. How to avoid spool overflow issue?ANS: These reports RSPO0041 and RSPO0043 should be scheduled asbackground jobs with proper variants on a periodic basis which avoidsspool overflow issue. You can try to increase the spool numbers from default 32000 to a bithigher value but please note do not set this too high as it may impactdatabase performanceProactive monitoring check can be made in RZ20 transaction to seehow much the fill level of spool numbers is.4. How to check spool numbers?ANS: To check spool numbers: Goto RZ20 transaction, navigate to SAPCCMS Monitor Templates -> Spool System.Here you can check the status of spool servers and the used numberspercentage of spool numbers. If you find that used numbers is greaterthan 80%, you can manually run above mentioned reports or delete oldspool requests from SPAD tcode as mentioned earlier.5: How to set the spool number in SAP?ANS: Using Transaction SNRO (Number range object maintenance) andobject SPO_NUM, you can set the spool number in an SAP system.Onceyou provide object as SPO_NUM, click on change icon.
  6. 6. It displays another screen. In that screen, click on Number Ranges pushbutton. It displays another screen "Number range for spoolernumbers". Click on change icon here and set the value of spooler (fromnumber and to number). Please note that a change request may begenerated here based on the client settings (if automatic recording ofchanges is set in SCC4 transaction of the client)6.How to define storage location (Temse) of spool requests ?Ans:Every Temse object contains a header in TST01 table and the actualobject. This can be either stored in table TST03 or in file system. Youcan set a parameter rspo/store_location in RZ10 to define whether tostore Temse objects TST03 table or in filesystem.If value G is set to this parameter, it will be stored in filesystem and if itis db it is stored in TST03 table.

×