Top Banner
15/9/2014 SAP Basis Tutorials: 2011-06-12 http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 1/22 Hi..In this blog am covering SAP Basis/netweaver concepts, monitoring, administration, performance tuning, SAP implementations, FAQs. Please join as followers and please subscribe to get an update on new articles published. For SAP Training, [email protected] or contact Paralogica Bangalore('+91-888-458-4163') and Basislabs Hyderabad (+91-9246220422) and USA Contact +1- 312-833-4785: Training Link:http://sapbasisdurgaprasad.blogspot.com/2011/09/sap-basis- training.html SAP Basis Tutorials Home Authorisation Administration Database Performance Tuning FAQs Implementations Total Pageviews 1 7 4 3 0 1 0 SAP Basis/Netweaver Tutorials, Monitoring, Administration(Certification) and FAQs Headline Animator Thursday, 16 June 2011 What are the different background job statuses ? This article answers the following queries : What are the different statuses of a background job and their significance ? How to cancel or terminate a background job ? How to capture an active job ? What could be the reason for canceled status of a job ? -------------------------------------------------------------------------------------------- A background job can have following statuses : Scheduled : This means that the steps that are required to make up the job are already SAP BASIS Free Videos SAP Basis Training in Hyderabad SAP BASIS Training in Bangalore SAP BASIS Forums Subscribe to receive SAP BASIS certification questions
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 1/22

Hi..In this blog am covering SAP Basis/netweaver concepts, monitoring, administration, performancetuning, SAP implementations, FAQs. Please join as followers and please subscribe to get an update onnew articles published. For SAP Training, [email protected] or contact ParalogicaBangalore('+91-888-458-4163') and Basislabs Hyderabad (+91-9246220422) and USA Contact +1-312-833-4785: Training Link:http://sapbasisdurgaprasad.blogspot.com/2011/09/sap-basis-training.html

SAP Basis Tutorials

Home Authorisation Administration Database Performance Tuning FAQs Implementations

Total Pageviews

1 7 4 3 0 1 0

SAP Basis/Netweaver Tutorials, Monitoring, Administration(Certification) and FAQs Headline Animator

Thursday, 16 June 2011

What are the different background jobstatuses ?This article answers the following queries :

What are the different statuses of a background job and their significance ?

How to cancel or terminate a background job ?

How to capture an active job ?

What could be the reason for canceled status of a job ?

--------------------------------------------------------------------------------------------

A background job can have following statuses :

Scheduled : This means that the steps that are required to make up the job are already

SAP BASIS Free Videos

SAP Basis Training in Hyderabad

SAP BASIS Training in Bangalore

SAP BASIS Forums

Subscribe to receiveSAP BASIS certificationquestions

Page 2: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 2/22

completed but the start condition is not yet specified.

Released : This means that all the steps that are required to make up the job including

start condition are defined. A job cannot be released without a start condition. A job can

be released only by the administrator or by the user who has proper authorisations.

Ready : This means that the job is ready for execution. It is kept in the wait queue by the

job scheduler and is waiting for the next free background workprocess to assign the same.

Active : This means that the job is currently active. In this state, job cannot be deleted or

modified.

If the active job is not running correctly, either it can be terminated or it can be canceled

in a background workprocess in debugging mode, analyse it and can be released again.

How to capture a background job ?

Goto SM37 transaction and navigate to Jobs -> Capture active job to capture the job. Once

the job is captured , analyse the same and you can release it again.

Please note that you should be in the application server on which the job is running to

capture a job. Otherwise, you cannot capture it.

How to terminate a background job ?

Goto SM37 and list all the jobs that are active between some time interval.

Once it listed the active jobs, identify the job that is to be deleted. Then navigate to Job ->

Cancel Active job and cancel the job.

Finished : The execution of the job has completed successfully

Canceled : The job got aborted or canceled. This can happen for 2 reasons.

Name:

Email:

Submit

http://www.yektek.com/sap-basis-videos

SAP BASIS/Netweaver Trainingin Bangalore:

Paralogica Bangalore : +91-888-458-4163

SAP BASIS/Netweaver Trainingin Hyderabad:

Basislabs Hyderabad: +91-9246220422

SAP Online Training for All modules

USA: +1-312-833-4785

SAP TRAINING

Search

Search This Blog

live_stats

Page 3: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 3/22

Posted by DurgaPrasad at 18:37 6 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

One of the job step is terminated with an error

An administrator has deliberately terminated the job due to various reasonslike running unusually for a long time

The Moonglow CafeDeborah GarnerNew

Sweetly ContemporaryCollection - Pa...Jennifer BlakeNew

Torn ApartM A ComleyNew

+1 Recommend this on Google

How to change SAP parameters ?This article answers following query :

How to change or set a SAP parameter

SAP parameter can be set using RZ10 transaction. Go to RZ10, select the respective

instance profile of the application server on which you would like to change the

parameter.

From the dropdown of profile, select the instance profile (of the application server) on

which you would like to change the parameter.

After selecting the profile, select extended maintenance button and press change push

button.

It displays a screen with all the parameters as shown below :

Live Traffic Feed

Real-time view · Menu

A visitor from Seattle,Washington viewed "SAP BasisTutorials: 2011-06-12" 2 minsagoA visitor from Seattle,Washington viewed "SAP BasisTutorials: Database" 6 mins agoA visitor from Seattle,Washington viewed "SAP BasisTutorials: How to checktransactional RFC(tRFC) relatederrors?" 6 mins agoA visitor from Mexico, DistritoFederal viewed "SAP BasisTutorials: How to configureEarly Watch Alert report" 7mins agoA visitor from Cairo, AlQahirah viewed "SAP BasisTutorials" 12 mins agoA visitor from London viewed"SAP Basis Tutorials" 15 minsagoA visitor from Texas viewed"SAP Basis Tutorials: How totroubleshoot a background jobrunning for long duration insap?" 16 mins agoA visitor from Seattle,Washington viewed "SAP BasisTutorials: How to troubleshoot abackground job running for longduration in sap?" 16 mins agoA visitor from WappingersFalls, New York viewed "SAPBasis Tutorials" 17 mins agoA visitor from Mexico, DistritoFederal viewed "SAP BasisTutorials: How to configureEarly Watch Alert report" 17

SAP Basis Daily Monitoring TcodesProactive monitoring of the SAPsystems, will help to understandissues in advance & helps us to takecorrective actions and thus wil...

SAP Basis TrainingDear Followers, As per request fromsome of my followers, have taken aninitiative to start i) SAP BasisTraining(Coac...

How to configure Early Watch AlertreportTo configure Early watch alert somespecific settings to be done atmanaging system (Solution managersystem) and satellite system( ormanag...

How to troubleshoot a background jobrunning for long duration in sap?This article answers how totroubleshoot a background jobrunning for a long duration -----------------------------------------------------...

SAP Java monitoring Check listThis article answers the followingqueries : Ø How to perform dailymonitoring of Java stack in SAP ? Ø

Popular Posts

Page 4: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 4/22

You can either search the parameter or create the parameter and then set the value to the

desired and save the same as below.

Set the parameter value in the text box provided and click copy button to copy the same

and then press back button and press copy again in the next screen. After that press the

back arrow to come to the following screen

Click on Save button to save and activate the profile.

What are the dailychecks...

How to create an RFCConnection in SAP ?This article answers thefollowing queries : Howto create an RFCconnection ? How to

test RFC connection ? How to deletean RFC ? ...

How to checktransactionalRFC(tRFC) relatederrors?This article answers thefollowing queries : ü

How to check transactional RFC(tRFC) related errors? ü How to findout status of transac...

SAP Basis sample CV - 1Hi Friends, Thought of sharing yousome SAP Basis CVs with you whichwill be helpful for you. Iam sure, youcan shape your CV based on th...

what is spool overflow ?How to troubleshootspool overflow issue ?This article answers thefollowing queries :What is spool overflow

? How to troubleshoot spool overflow? How to delete old spool requ...

How to find out who areall having access to aparticular tcode in SAPsystem?This article answers thefollowing queries ü

How to find out who are all havingaccess to a particular tcode in SAPsystem? ü How to fi...

► 2014 (1)

► 2013 (22)

► 2012 (19)

▼ 2011 (102)

► 11/27 - 12/04 (1)

► 10/02 - 10/09 (1)

► 09/25 - 10/02 (1)

► 09/18 - 09/25 (6)

► 09/11 - 09/18 (5)

► 09/04 - 09/11 (5)

► 08/28 - 09/04 (5)

► 08/21 - 08/28 (8)

► 08/07 - 08/14 (5)

► 07/31 - 08/07 (2)

► 07/24 - 07/31 (6)

► 07/17 - 07/24 (3)

► 07/10 - 07/17 (2)

► 07/03 - 07/10 (6)

► 06/26 - 07/03 (17)

Blog Archive

Page 5: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 5/22

Posted by DurgaPrasad at 17:58 21 comments

Press no to goto the next screen

Press yes, to activate the profile.

The parameter will take effect after restart of the application server

The Moonglow CafeDeborah GarnerNew

Sweetly ContemporaryCollection - Pa...Jennifer BlakeNew

Torn ApartM A ComleyNew

► 06/19 - 06/26 (10)

▼ 06/12 - 06/19 (14)

What are the differentbackground job statuses ?

How to change SAP parameters?

How to avoid TIME_OUTdumps in SAP system ?

What is Change and TransportSystem(CTS) in SAP ?

How to activate automatic sap*user in ABAP stack ...

How to schedule Basis standardjobs ?

What is the difference betweenConfig Tool and Vis...

What is lock table over flow ?How to resolve lock...

what is spool overflow ? How totroubleshoot spool...

What are the different Spoolstatuses and their si...

How to troubleshoot abackground job running forl...

How to find out long runningjobs in SAP ?

How to add or extend datafilesin sap system based...

Update got deactivated. Whatare the reasons for u...

► 06/05 - 06/12 (4)

► 05/15 - 05/22 (1)

Page 6: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 6/22

Links to this post

Reactions: funny (0) interesting (0) cool (0)

+1 Recommend this on Google

Wednesday, 15 June 2011

Posted by DurgaPrasad at 19:03 5 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

How to avoid TIME_OUT dumps inSAP system ?This article answers the following queries :

How to avoid TIME_OUT dumps in SAP system ?

There are lot of TIME_OUT dumps in ST22 transaction. How to avoid thesedumps ?

---------------------------------------------------------------------------------------------

These TIME_OUT dumps usually occur if the program has exceeded the maximum

permitted runtime without interruption. After this program will get terminated and in

ST22 a dump will get generated.

Usually SAP system will terminate the program after permitted runtime to make the work

area available to other users who may waiting and to prevent a work area being blocked

unnecessarily long time like

Eg: Database accesses without a suitable index (Full table scan)

Database access with a large result set

Endless loops (DO, WHILE) etc

In SAP, there is a parameter rdisp/max_wprun_time which limits the maximum

permitted runtime without interruption. By default this value is set to 600 seconds.

However, if you are frequently encountering more dumps in SAP system due to this, you

can consider increasing this value to 3600 seconds to avoid this issue.

How to change sap parameter ?

Black WidowerNew $1.99Best $1.99

Captain America: TheWinter Soldier ...New $4.99Best $4.99

The HobbitRichard Armitage, ...New $80.99Best $80.99

+2 Recommend this on Google

What is Change and TransportSystem(CTS) in SAP ?This article answers following queries in SAP ?

What is Change and Transport System (CTS) in SAP ?

What is Transport Management System(TMS) in SAP ?

Page 7: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 7/22

Posted by DurgaPrasad at 18:16 4 comments

Links to this post

Reactions: funny (0) interesting (1) cool (0)

What is Change and Transport Organiser (CTO) in SAP ?

What are the transport tools in SAP ?

What is the transport control program and what is its significance in SAP ?

What is the functionality of R3trans program in SAP?

---------------------------------------------------------------------------------------------

Change and Transport System (CTS) is the tool provided by SAP for the creation,

documentation and distribution of changes within a system landscape.

CTS comprises of

Change and Transport Organiser (CTO) : This provides several functions to facilitate

software development

Transport Management System (TMS) : This is used to setup transport routes in the

landscape. This provides functions to perform organize, monitor and perform transports

within the landscape

Transport Tools (R3trans and TP) : These are the tools that are used by SAP at operating

system level to communicate with SAP, database and the files generated during the export

process.

The transport control program (TP) is a utility for provided by SAP for managing

transports and to handle release upgrades. This utility is inturn called by other

programs like CTS, TMS and Upgrade control program (R3up)

R3trans is a transport program provided by SAP to handle transports between

different SAP systems and for the release upgrades. R3trans is usually not called

directly and it is called mostly by Transport control program(TP) and Upgrade

control program(R3up)

Black WidowerNew $1.99Best $1.99

Captain America: TheWinter Soldier ...New $5.99Best $5.99

Captain America: TheWinter Soldier ...New $4.99Best $4.99

+1 Recommend this on Google

How to activate automatic sap* user inABAP stack of sap?This article answers the following queries:

Forgot sap login password for ABAP stack . Donot have any other passwordfor any other user id. How to login to sap?

How to activate automatic sap* user in ABAP stack of SAP?

Unable to login to newly created client with sap* and default password. How

Page 8: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 8/22

Posted by DurgaPrasad at 16:27 10 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

to login now ?

Sap* user got locked for ABAP stack. Donot have any other user id to unlockthe same. How to login to system again?

---------------------------------------------------------------------------------------------

In SAP, there is a parameter login/no_automatic_user_sapstar whose default value is 1. If

the value is set to 1, automatic login of sap* into SAP system using password PASS won’t

be allowed.

In all of the above scenarios,

Pls set the value of parameter login/no_automatic_user_sapstar to 0 in both the default

profile and the instance profile and restart the instance. So automatic login of sap* with

default password will be enabled.

How to change SAP parameter ?

Afterwards, connect to the database and execute the following command :

In the following example am considering, oracle as the database.

sqlplus “/ as sysdba”

SQL > Delete from SAPSR3.USR02 where MANDT=’000’ and BNAME=’SAP*’;

In the above command, SAPSR3 is the schema of the database and USR02 is the table

name and MANDT is the client and BNAME is the user id.

In case you would like to activate sap* in client 500 and your schema name is SAPBPW

then the command would be as below :

SQL > Delete from SAPBPW.USR02 where MANDT=’500’ and BNAME=’SAP*’;

Once you successfully executed this command, you can login to sap system with SAP* user

id and default password PASS

Related Links :

Activating emergency user in java only system

The Moonglow CafeDeborah GarnerNew

What She Left for MeTracie PetersonNew

The Bone OrchardDaniel JudsonNew

+1 Recommend this on Google

Tuesday, 14 June 2011

How to schedule Basis standard jobs ?This article answers the following queries :

Page 9: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 9/22

How to schedule Basis standard jobs ?

What is the need of scheduling basis standard jobs ?

What are the Standard jobs that should run in an SAP system & theirsignificance?

--------------------------------------------------------------------------------------------

How to schedule Basis standard jobs ?

Goto transaction SM36 and click on "standard jobs" pushbutton. This inturn displays

standard jobs screen. Here select all the jobs and click on "default scheduling" push

button to schedule all of them as per their default schedule.

Incase you would like to change the default schedule for each job, it can also be done by

selecting each job and defining its start date/time and periodicity in the same screen.

What is the need of scheduling basis standard jobs ?

Standard jobs are the jobs that should run regularly in the SAP system. These jobs will

perform housekeeping like deleting old spool requests (thus avoiding spool overflow),

deleting old background jobs/logs/updates/batch input sessions/ABAP short dumps,

collecting operating system/database level statistics (used for workload reporting) etc

What are the Standard jobs that should run in an SAP system & their

significance ?

SAP_CCMS_MONI_BATCH_DP : Internally this job runs

RSAL_BATCH_TOOL_DISPATCHING report. This job dispatches monitoring

architecture methods

Page 10: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 10/22

Posted by DurgaPrasad at 19:22 7 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

SAP_COLLECTOR_FOR_JOBSTATISTIC : Internally this job runs RSBPCOLL report.

This job generates run time statistics for background jobs

SAP_COLLECTOR_FOR_PERFMONITOR : Internally this job runs RSCOLL00 report.

This job collects data for the performance monitor

SAP_COLLECTOR_FOR_NONE_R3_STAT : Internally this job runs

RSN3_STAT_COLLECTOR report. This job will collect non-abap statistic data

(Distributed Statistic Records - DSR)

SAP_REORG_ABAP_DUMPS : Internally this job runs RSSNAPDL report. This job

cleans up old abap short dumps

SAP_REORG_BATCH_INPUT : Internally this job runs RSBDCREO report. This job

cleans up old batch input sessions

SAP_REORG_JOBS : Internally this job runs RSBTCDEL report. This job cleans up old

background jobs

SAP_REORG_JOBSTATIC : Internally this job runs RSBPSTDE report. This job cleans

up old data from the run time statistics of the jobs

SAP_REORG_ORPHANED_JOBLOGS : Internally this job runs RSTS0024 report. This

job cleans up orphaned job logs. The logs that cannot be deleted by RSBTCDEL report (i.e

SAP_REORG_JOBS), remains as orphans which will be deleted by this job.

SAP_REORG_SPOOL : This job internally runs RSPO0041 report. This job deletes old

spool data

SAP_REORG_XMILOG : This job internally runs RSXMILOGREORG. This job deletes

XMI logs

SAP_SOAP_RUNTIME_MANAGEMENT : This job internally runs

RSWSMANAGEMENT report. This job does the SOAP runtime monitoring

SAP_REORG_UPDATERECORDS : This job internally runs RSM13002 report and this

deletes old update records

FireTube for YouTubeVoyage AppsNew $0.00Best $0.00

Despicable MeGameloftNew $0.00Best $0.00

SolitaireHarpan LLCNew $0.00Best $0.00

+1 Recommend this on Google

Page 11: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 11/22

What is the difference between ConfigTool and Visual Administrator tools inSAP?This article answers the below queries :

What are the prerequisites and uses of config tool ?

What are the prerequisites and uses of Visual Administrator ?

What are the limitations of Config tool ?

What is the difference between Config Tool and Visual Administrator tools inSAP?

--------------------------------------------------------------------------------------------

Config Tool and Visual Administrator(VA) are the administration and configuration tools

in SAP Netweaver AS Java.

What are the prerequisites and uses of config tool ?

The prerequisite for the config tool is database must be running, as this tool is used to

maintain the SAP Netweaver AS Java settings in the database. It is not necessary that Java

should be running to use config tool.

Uses of config tool :

The Java Virtual Memory(JVM) settings can only be maintained with theconfig tool.

Configuration of services and managers can be done with config tool

Limitations of Config tool :

Remote configuration cannot be done by Config tool

Start or stop of java cannot be done through config tool

Change of parameters at run time is not possible

What are the prerequisites and uses of Visual Administrator ?

With visual administrator, we can logon to the P4 port of the AS Java. Hence both

database and java should be running. This is the prerequisite for VA.

Uses of Visual Administrator :

Configuration of services and managers can be done

Remote configuration can be done ( It means VA can be installed and used forconfiguration in any host on which SAP Netweaver AS JAVA is not installed

Starting and stopping services can be done

Stopping an SAP NW As java instance can be done

What is the difference between Config Tool and Visual Administrator tools in

SAP?

Java Virtual Machine parameter settings can only be done through Configtool. VA cannot be used for this

To use VA, SAP Netweaver AS Java should be running but for config tool it isnot required

Changes to selected parameters can be done at run time through VA, which isnot possible with Config tool.

AS Java can be started/stopped by VA which is not possible by Config tool

Remote configuration can be done by VA but not by config tool

Page 12: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 12/22

Posted by DurgaPrasad at 18:01 2 comments

Links to this post

Reactions: funny (1) interesting (0) cool (0)

Related Link :

How to open config tool?

+1 Recommend this on Google

What is lock table over flow ? How toresolve lock table overflow issue ?This article answers the below queries ?

What is lock table overflow ?

How to identify lock table over flow issue ?

What is the parameter to be changed to increase lock table size in SAP ?

What is the reason for lock table overflow ?

How to resolve lock table overflow ?

--------------------------------------------------------------------------------------------

What is lock table overflow ?

SAP manages locks using lock table. The lock table contains all of the informaton related

to locks like who is holding the lock and which locks are currently held etc. The size of the

lock table can be specified by the SAP parameter enque/table_size. The size of the lock

table limits the number of locks, lock owners and lock names. If this size is exceeded, then

the lock table overflow occurs.

How to identify lock table overflow issue ?

In SM21 transaction log and ST22 dumps, if you find any error messages like

LOCK_TABLE_OVERFLOW, Lock table overflow, Internal lock administration error it

means there is a lock table overflow issue.

What is the parameter to be changed to increase lock table size in SAP ?

Parameter enque/table_size to be changed to increase or decrease lock table size using

RZ10 transaction. Default value of this parameter is 32768. The min value that can be set

is 4096 and max value is 102400. The unit for this parameter is KB.

How to change SAP parameter ?

As this is not dynamic parameter, for the new value to take effect, a system restart is

required after modifying the parameter.

What is the reason for lock table overflow ?

A lock table overflow can occur due to

The lock table is configured too small (i.e value set to enque/table_sizeparameter is very low)

Page 13: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 13/22

Posted by DurgaPrasad at 16:47 7 comments

Links to this post

Reactions: funny (0) interesting (1) cool (0)

Due to improper design of application which sets a large number of locks

Number of enqueue worprocesses configured in a sap system are less andupdate is very slow/hanging due to which lots of locks are accumulated in locktable

Running a custom report with improper selection criteria (like very long timeperiods data pull) which sets so many locks & eventually lock table overflowoccurs

How to resolve lock table overflow ?

Increase the size of lock table i.e increase the parameterenque/table_size value using RZ10 transaction.

To determine the optimal value for this parameter, you can check the maximum

locks set so far in the history and the current number of locks set from SM12 -> Extras ->

Statistics

Increase the number of enqueue workprocesses

How to increase the number of workprocesses ?

AmazonBasics High-Speed HDMI Cable -...AmazonBasicsNew $5.99Best $5.99

Google ChromecastHDMI Streaming Med...GoogleNew $34.56Best $19.63

Speck Products SPK-A3042 CandyShell ...Speck ProductsNew $34.95Best $34.95

+1 Recommend this on Google

what is spool overflow ? How totroubleshoot spool overflow issue ?This article answers the following queries :

What is spool overflow ?

How to troubleshoot spool overflow ?

How to delete old spool requests ?

How to avoid spool overflow issue ?

How to check spool numbers?

How to set the spool number in SAP ?

How to define storage location (Temse) of spool requests ?

--------------------------------------------------------------------------------------------

Page 14: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 14/22

What is spool overflow ? :

Spool request that got generated are stored in a temporary sequential file called Temse.

Please note that these are stored in Temse because these are not stored permanently. The

size of the Temse is limited 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 database performance. Due to limited storage

capacity of Temse, when this file got full, this throws an SAP spool overflow error.

If this happens, customers could not print from SAP. If you check in SM21 and ST22

transactions, you may encounter some error log or dumps like

ERROR IN SPOOL call : SPOOL OVERFLOW

SPOOL_INTERNAL_ERROR

System internal error in the spool system

How to troubleshoot spool overflow ?

To resolve this spool issue, some of the old spools can be deleted from 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 be displayed.

In that screen, you will be prompted to choose requests for deletion like

Old spool requests older than the maximum set age

Requests already printed

All spool requests

and enter value for minimum age (in days) text box.

Select the check boxes as per the requirement (eg: delete all requests already printed and

Page 15: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 15/22

minimum age in days equal to 30 days) and execute to delete old spool requests, which

will clear Temse and will resolve spool over flow issue.

Apart from this there are others ways of resolving spool overflow issue. They are

1) Run the report RSPO0041 from SE38 transaction to delete old spool requests

2) Run the report RSPO0043 from SE38 transaction, which checks the Temse/spool

consistency and reorganizes the spool

Page 16: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 16/22

How to avoid spool overflow issue ?

These reports RSPO0041 and RSPO0043 should be scheduled as backgroundjobs with proper variants on a periodic basis which avoids spool overflowissue.

You can try to increase the spool numbers from default 32000 to a bit highervalue but please note donot set this too high as it may impact databaseperformance

Proactive monitoring check can be made in RZ20 transaction to see how muchis the fill level of spool numbers.

How to check spool numbers ?

To check spool numbers : Goto RZ20 transaction, navigate to SAP CCMS Monitor

Templates -> Spool System.

Page 17: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 17/22

Here you can check the status of spool servers and the used numbers percentage of spool

numbers. If you find that used numbers is greater than 80%, you can manually run above

mentioned reports or delete old spool requests from SPAD tcode as mentioned earlier.

How to set the spool number in SAP ?

Using Transaction SNRO (Number range object maintenance) and object SPO_NUM, you

can set the spool number in an SAP system.

Page 18: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 18/22

Posted by DurgaPrasad at 13:01 55 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

Once you provide object as SPO_NUM, click on change icon. It displays another screen. In

that screen, click on Number Ranges push button. It displays another screen "Number

range for spooler numbers". Click on change icon here and set the value of spooler(from

number and to number). Please note that a change request may be generated here based

on the client settings(if automatic recording of changes is set in SCC4 transaction of the

client)

How to define storage location (Temse) of spool requests ?

Every Temse object contains a header in TST01 table and the actual object. This can be

either stored in table TST03 or in file system. You can set a parameter rspo/store_location

in RZ10 to define whether to store Temse objects TST03 table or in filesystem.

If value G is set to this parameter, it will be stored in filesystem and if it is db it is stored in

TST03 table.

How to change a SAP parameter ?

AmazonBasics High-Speed HDMI Cable -...AmazonBasicsNew $5.99Best $5.99

Google ChromecastHDMI Streaming Med...GoogleNew $34.56Best $19.63

Speck Products SPK-A3042 CandyShell ...Speck ProductsNew $34.95Best $34.95

+1 Recommend this on Google

What are the different Spool statusesand their significance?This article answers the following queries :

What does spool request contain ?

Where is the spool request stored ?

Page 19: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 19/22

What are different Spool statuses and their significance?

Which workprocesses will create spool requests?

What is the difference between spool request and output request ?

Which workprocess will create output request or print request?

-------------------------------------------------------------------------------------------

What does spool request contain ?

Spool request contains detailed information regarding printer model, formatting to be

done on the data to be output.

Where is the spool request stored ?

The spool request that is generated is stored in the Temse( temporary sequential file)

What are different Spool statuses and their significance?

Spool requests will have different statuses like

Completed (The output request printed successfully)

Waiting (Spool request is in waiting status and spool system has not yetprocessed the output request and not yet sent to the host system)

Inprocess (The spool workprocess is in the process of formatting outputrequest for printing)

Printing (The host spool is in the process of printing the output request

Problem (This indicates there are some minor errors. It means output requestprinted but contains some errors like 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 spool system untilthey 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 an archivingdevice. This status means that the spool request was already processed by thespool 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 the hostsystem and no output request exists)

+ ( This plus status means that the spool request is being generated and it isstored in the spool system )

Which workprocesses will create spool requests? :

Spool requests will be created by dialog or background workprocesses.

Please note that spool work processes donot create spool requests

What is the difference between spool request and output request ?

Spool request contains detailed information regarding printer model, formatting to be

done on the data to be output. Output request contains all the data in the format that the

printer understands.

A spool workprocess formats the data specified in the spool request and generates the

output request. Output request is also termed as print request.

Which workprocess will create output request ?

Output request will be created by spool workprocesses.

Page 20: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 20/22

Posted by DurgaPrasad at 12:49 9 comments

Links to this post

Reactions: funny (0) interesting (0) cool (0)

The Moonglow CafeDeborah GarnerNew

Sweetly ContemporaryCollection - Pa...Jennifer BlakeNew

Torn ApartM A ComleyNew

+1 Recommend this on Google

Monday, 13 June 2011

How to troubleshoot a background jobrunning for long duration in sap?This article answers how to troubleshoot a background job running for a long duration

--------------------------------------------------------------------------------------------

1) First of all identify the job that is long running and identify details like job class,

workprocess that is executing the job

How to identify long running background jobs

2) Click on the job to view the display job screen. In the screen, click on job log to

understand what is being performed by the job currently. This may give details like job is

currently extracting some data packages or processing data packages etc

3) Identify the executing server and process id of the job from the step 1 and goto

transaction SM50 of the respective executing server to view more details about the

background job running.

Figure out the status of the job like On Hold or running from the process overview. If the

job is On Hold, find out the reason for On Hold by examing the "Reason" column of SM50

transaction. Reason for On Hold could be due to CPIC/RFC/DEBUG/ENQ/PRIV/UPD

etc.

Double click on the reason column for detailed information on the same and troubleshoot

accordingly. If reason is RFC, check out which RFC it is referring to and cross check

whether destination system is up or not and any other problems with that system.

If it is ENQ, check out any lock issues like lock overflow etc

If it is PRIV, check out for memory bottlenecks

If it is UPD, check out whether any update issues

If it is CPIC, check out for any network , gateway, message server and othercommunication problems

4) After performing step3, if you figure out job is not on Hold and it is in running state,

then examine report column to identify what report/program is being executed by the job.

Once you got the report/program details, figure whether it sap program or custom

program and take actions accordingly.

5) Also examine Action and table columns in SM50 transaction of respective executing

server to identify what is the action( roll in/roll out /Sequential read/Physical

read/insert/update/delete etc) being carried out by the job currently and what is the table

on which action is being carried out.

If it is sequential read, figure out the cost of that sequential etc and consider for indexing

Page 21: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 21/22

Newer Posts Older PostsHome

Subscribe to: Posts (Atom)

Posted by DurgaPrasad at 19:11 21 comments

Links to this post

Reactions: funny (0) interesting (1) cool (0)

etc. If it is physical read, check out whether there are too many swaps and consider

resizing buffers accordingly. If you observed delay is due to high roll in/roll out, identify

reasons for the same and tune buffer/memory parameters accordingly.

6) Once you get the table details on which action is being carried out, figure out

How many records are existing in the table ?

Is this taking long time due to volume of records ?

Are there proper indexes on the table ?(If no proper index, consider indexcreation by taking help of DBA )

Is the table having upto date statistics ? (If statistics are out of date,

consider updating statistics of that table)

7) Consider debugging the process in SM50 ( Program/Session -> Program -> Debugging

) to figureout the issue

8) Using ST05 or ST12, a trace can be taken for background job to figure out where exactly

time is being consumed and to identify various cpu/memory bottlenecks or any buffer

issues.

9) STAT/STAD transcation can be used to figure out what is the reason for high response

time and actions can be taken accordingly

10) By taking help of ABAP er, even ABAP run time analysis can be done using SE30

transaction

By following the above steps, you can pin point the issue and take actions accordingly to

minimize runtime of long running background jobs.

Black WidowerNew $1.99Best $1.99

Captain America: TheWinter Soldier ...New $5.99Best $5.99

Captain America: TheWinter Soldier ...New $4.99Best $4.99

+1 Recommend this on Google

SAP Online Training

Page 22: Trubleshoting sap

15/9/2014 SAP Basis Tutorials: 2011-06-12

http://sapbasisdurgaprasad.blogspot.mx/2011_06_12_archive.html 22/22

Home Services SAP Training Enquiry here Trainer Registration

SAP BASIS Online TrainingSAP Netweaver Online TrainingSolution Manager Online TrainingSAP HANA Admin OnlineTrainingSAP Security Online TrainingSAP GRC Online TrainingSAP MDG Online TrainingSAP CRM Online TrainingSAP SD Online TrainingSAP FICO Online TrainingSAP BPC 10 Online Training

Home

About us:

Yektek is one of the most prosperous and

SAP All Modules onlineTraining

Traducir

Basislabs

SAP Basis/Netwever Training

LoadRunner Training

DurgaPrasad

Contributors

Google Analytics

Watermark template. Powered by Blogger.