We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.
Showing posts with label Background. Show all posts
Showing posts with label Background. Show all posts

Background Job Monitoring Monitor(CCMS)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

You can use the monitoring architecture to monitor selected jobs and to display problems as alerts (see Monitoring Jobs with the Alert Monitor). This job monitoring is deactivated by default; activation is described in Activating Monitoring of Jobs with the Alert Monitor.

After activation, the data is available in the context Background, Background Job Monitoring subtree. For the monitoring, it is useful to define your own monitor or to extend a monitor definition of your own to display the data. The monitor definition and the monitor produced from it are described here.

Prerequisites

You can define a rule-based or a static monitor to display data. For basic information about this, see Creating and Changing Monitors. For a rule-based monitor, the definition must contain a rule CCMS_GET_MTE_BY_CLASS with Job_Monitoring as the MTE class:

This graphic is explained in the accompanying text

If you are using a static monitor, choose the context Background ® Background Job Monitoring for the desired system:

This graphic is explained in the accompanying text

Features

With the definition above, the monitor created has the following structure. Here, the job SCHEDULED_JOB1 and all jobs whose names begin with JOB_EXAMPLE are to be monitored. A subtree is created for every name pattern for a monitored job (job chain):

This graphic is explained in the accompanying text

The monitor contains the following monitoring tree elements (MTEs):

MTE Name
(MTE Class)

Meaning

Details of Current Job
(Job_Monitoring_Details)

Double click this MTE to obtain the following current information about the current job:

· Name, number, and class of the job

· Date and time scheduled, the last change to and release of the job, and user that performed each of these actions

· Last planned start and the actual last start and stop of the job

· Server, work process number, and process ID of the last run of the job

· Status and target server of the job

Note

These values may differ from the values Delay and Runtime below, as the current values are collected here, while Delay and Runtime are collected by the data collection method, which runs every five minutes.

Status
(Job_Monitoring_Status)

Last entry in the job log for the job with the relevant name pattern: Name, number, status, and planned and actual execution time of the job. A job is reported in the job log if it has the status active, finished, or canceled.

A red alert is generated if the job exceeds its scheduled start time, remains in the Ready status for a long time, or was canceled.

Log of Current Job
(Job_Monitoring_Joblog)

In addition to possible error messages, this node displays the start, each step, and the end of each job that matches the relevant name pattern; logs for different jobs are separated by an empty line.

Runtime
(Job_Monitoring_Runtime)

Runtime of the current job of a chain of periodic jobs. If the current job has not yet been started, the node is green and the value for the runtime is 0.

Delay
(Job_Monitoring_Delay)

Delay of the current job of a chain of periodic jobs; if the planned start time of the current job has been exceeded and the job has not yet started, the node displays the difference between the measurement time point and the planned start time

Delay + Runtime
(Job_Monitoring_dplusr)

Total of Delay and Runtime

History
(Job_Monitoring_History)

Like the entries in the Status attribute (see above), however, not only the last entry, but a history of previous entries (choose the Display Details button (This graphic is explained in the accompanying text), to display the history)

Note

The entries also contain runtimes and delays. To improve clarity, these values are displayed in the following units:

t £ 300 sec. : Displayed in seconds

300 sec. < style=""> Displayed in minutes

t ³ 1 day: Displayed in days

Customizing Alert Generation

· Runtime, Delay and Delay + Runtime

Threshold values are already assigned to these performance attributes by default, so that an alert is generated as of a defined runtime or delay. To change the threshold value, select the desired performance attribute and choose Properties (see Changing Properties and Method Assignments). Ensure that you choose Edit ® Properties ® Use for individual MTE so that you do not change the threshold values for the other monitored jobs.

· History and Log of Current Job

By default, these log attributes always have the color green. However, you can also assign a yellow or red alert to particular messages of the attribute. To do this, choose Properties and specify the class and ID of the desired message on the Filter tab page.

Note

To determine this data for a message of the log attribute, follow the procedure below:

i. Select the desired log attribute and choose the Display Details button (This graphic is explained in the accompanying text).

ii. The Monitoring Attributes - Detail Data screen appears. To do this, select any row from the list of messages and choose Current Display Variant (This graphic is explained in the accompanying text).

iii. The Change Layout screen appears. Ensure that the fields for message class (MsgKlasse) and the message ID (MsgId) are displayed, and accept the changes.

iv. The class and ID of the message are now displayed in the list.



Keyword: BASIS
Title : Background Job Monitoring Monitor(CCMS)

Background Processing Monitor(CCMS)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Using this monitor, you can monitor the status of background processing in your SAP system both for the entire system and itemized by application servers on which background work processes are configured. For a general introduction to background processing, see Structure linkBackground Processing: Concepts and Functions.

Note

In addition to monitoring background processing in general, you can also monitor selected jobs using the Monitoring Architecture (see Monitoring Jobs with the Alert Monitor).

This graphic is explained in the accompanying text

Features

The monitor contains the following monitoring tree elements (MTEs):

MTE Name
(MTE Class)

Meaning

SystemWideQueueLength
(R3BPSystemWideQueueLen)

Number of jobs that are ready to be executed, have start authorization, and have no target server specified for which there are no free Structure linkbackground work processes, averaged over all application servers with background work processes.

SystemWideClassABPWP
(R3BPSystemWideClassABPWP)

System-wide number of background work processes that are reserved for high priority jobs (Structure linkClass A Jobs)

SystemWideFreeBPWP
(R3BPSystemWideFreeBPWP)

Number of free background work processes in the entire system

SystemWideTotalBPWP
(R3BPSystemWideTotalBPWP)

Number of background work processes in the entire system

R3Syslog\Background
(R3SyslogBackground)

Messages in the Structure linksystem log for the background processing category; you can set the category in which a message is reported, the message text, and the severity and criticality of the alert using the message ID in transaction SE92

Utilization
(BtcWpUtilisation)

Percentage of the background processing capacity currently utilized; the value is averaged over the background work processes and, by default, averaged over the last hour

NumberOfWpBTC
(R3NumberOfWpBTC)

Number of background work processes on an application server

ErrorsInWpBTC
(R3ErrorsInWpBTC)

Number of errors in background work processes since the monitoring segment was created (that is, since the application server was started)

ErrorFreqWpBTC
(R3ErrorFreqInWpBTC)

Number of errors in background work processes per minute

EndedWpBTC
(R3EndedWpBTC)

Number of background work processes terminated after an error; you can use the process overview (transaction SM50) to determine whether a work process should be restarted after an error

ProgramErrors
(R3BatchProgramErrors)

Program errors when executing background jobs

ServerSpecificQueueLength
(R3BPServerSpecQueueLen)

Number of released jobs that are explicitly to be executed on this application server, but for which there are no free background work processes

AbortedJobs
(R3BPServerSpecAbortedJobs)

Individual aborted jobs on an application server; a separate red alert is generated for each of these jobs

Activities

To start the monitor, follow the procedure below:

1. Start the Alert Monitor using transaction RZ20 or choose CCMS ® Control/Monitoring ® Alert Monitor.

2. On the CCMS Monitor Sets screen, expand the SAP CCMS Monitor Templates set.

3. Start the Background Processing monitor from the list by double-clicking it.

Procedure if an Alert Is Triggered

Utilization and SystemWideQueueLength show if there is a serious bottleneck in the capacity of the background processing. The optimal situation is that there is a high utilization of the work processes and a short wait queue length.

Background jobs are usually defined without a target server (Execution target in the Define Job initial screen of transaction SM36). This ensures an optimal distribution of the job workload. Jobs defined in this way therefore do not appear in the ServerSpecificQueueLength, but only in SystemWideQueueLength, meaning that the latter attribute is best for showing capacity problems in background processing.

If a bottleneck exists, it is often useful to divide the existing jobs between more servers. You can do this, for example, by switching dialog work processes to background work processes during the operation mode switch to night operation. Before you increase the number of background work processes, note that it does not make sense to have more than three background work processes for each CPU on a background server, as these work processes will already be fully utilizing the CPU. Set the number of these work processes using the system parameter rdisp/wp_no_btc.

For more information about this topic, see SAP Note 39412 (How many work processes to configure).

An alert for ServerSpecificQueueLength when there is a short SystemWideQueueLengthindicates that the distribution of the jobs is not optimal. You should only specify a target server when it is absolutely necessary that the job is started on this server.



Keyword: BASIS
Title : Background Processing Monitor(CCMS)

Checking your program Background Job Status

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Checking your job status with SM50 (processor type BTC) is more accurate then SM37. SAP updates the tables TBTCO wheneveryour background jobs status change. If SAP is shutdown, the currentjobs might not be update ontime to the table. (e.g. a background job wasshown as Active (SM37), in fact it real status should be Cancelled.

The type of work process:

  • DIA - work process for executing dialog steps in user transactions
  • UPD - update process for executing U1 (time-critical) database changes
  • UP2 - update process for executing U2 (non-critical) database changes
  • ENQ - for setting and releasing locks on SAP lock objects
  • BTC - for executing background jobs
  • SPO - for spool formatting processes
PID: Process ID of the work process

Keyword: BASIS
Title : Checking your program Background Job Status

Background Processing VS Batch processing

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Can someone tell me what the difference between backgroud processing and batch processing is. Also does the access to this function be limited.

I have a requrinment where they want everyone to have access to batch processing and just wanted to know how i should be handling this request.

Please help

Answer:
You have to get clarification from the requester. Most often Batch and background mean the same. There is a SAP useage which means Batch Data Communication ( BDC) that is sometimes refered to as Batch but most often refered to as BDC. Batch anf Background is controlles with S_BTCH_JOB and BDC is S_BDC_MONI. You need clarification fromt he requester.

Answer:
And if the user also has S_BTCH_ADM = Y and S_BTCH_NAM = DDIC (or *), then they can schedule the jobs, release, delete etc (as per S_BTCH_JOB actions permitted), but.. in the name of and with the authorizations of the other user names.

You can check with SUIM reports who can use your user account (for example) without having to know your password.

The myth that one cannot logon with a batch user is therefore true, because you don't need to logon with it...

Cheers,
Bob

Answer:
There is no myth about "loggin on to a Batch id" it does logon to run the batch job it just cannot be used in DIALOG mode. S_BTCH_NAM allows you to run a batch job using that users' access be it DDIC ( which should not have SAP_ALL) or any other id BATCH or DIALOG.

Answer:
There is no myth about "loggin on to a Batch id" it does logon to run the batch job it just cannot be used in DIALOG mode. S_BTCH_NAM allows you to run a batch job using that users' access be it DDIC ( which should not have SAP_ALL) or any other id BATCH or DIALOG.

It does logon, but unlike Communication users, the password is not critical for this login so you can change it. Like Communication users, one does not have to know what the password is... just access to see that someone once did and left it behind in the system. For Communication users one does not need to know the password either, but changing it, would make the access to the user more difficult.



Keyword: BASIS
Title : Background Processing VS Batch processing

Background Jobs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

What is the general practice for running Background jobs? Under the individual's user ID or one generic ID which has wide authorisations?

If it is run under the individual ID, then how is it handled when the person leaves the company?

What are the pro's and con's of running it under one generic ID?

Thank you
Jaynick
_________________
SAP Rules!!!

Answer:
We make sure that all background jobs are scheduled against a background user. This way we ensure that there is sufficient access to complete the job without having to give the individual users the same level of access. At the same time we can lock leavers and inactive users without being concerned of jobs falling over

To do this, you need to make sure that only a limited number of people can schedule batchjobs against the background ID. If not, you risk people obtaining access they should not have.

You can also ensure that the jobs won't have a negative performance impact on the system, as they will be scheduled with the right parameters.

Hope it helps

Answer:
If you currently allow users to create background jobs, checking for jobs scheduled for a particular ID should be a standard part of user decomissioning.

Answer:
Thanks Henrik! Any other input from SAP fans as to what the general practice out in the world is?

Jaynick

Answer:
I have a question about this also. I understood that a Basis admin could schedule background jobs to run under the userid of a system user, so that the system user (non dialog) could be granted broad authorizations, and not the dialog user, and also no maintenance is required if basis admin leaves the company.

I know that there are a few things that will require that the basis admin who schedules the background job to run under the auths of the system user id, also have the authorizations in his/her role also, or they will not be allowed to schedule it to run under the system id, even if the system id has the auths. Which is an understandable security measure. But these are only for a few things like os command and program execution considered critical, and not like broad business applications which the admin would not have in his admin role, and yet there is no problem scheduling jobs under the system id which does process business application jobs.

I have been told by some that they needed to create a generic dialog user like "JOBSCHEDULER" and use it to schedule jobs. I don't understand why they need to do this. Can anyone tell me why there would be a technical problem if they simply used their own id to schedule these jobs to run under the authorizations of the system id set up for this purpose?
_________________
Gary Morris
SAP Security Analyst/Developer
garymorris@sapsecurity.net

Answer:
Hi Gary,

Do you mean that the job admin is a generic account? That makes the connection between the dialog user ID and the name of the background user in which the job step is running even more obscure...

The belief that SOD conflicts between dialog users with S_BTCH_NAM = 'BATCHUSER' and the authorizations of 'BATCHUSER' itself is bad enough!

If you mean the job steps running in the name of the generic account as a dialog user, I have observed some OSS notes on a related topic which you can find with a search on 'call transaction' (I was looking for something else). Some programs may call a transaction screen which is not a parameter transaction and requires dialog interaction - at least that is what I understood the notes to be describing.

If I find an example again, I will post it.

Noddy

Answer:
There are two types of background jobs:
1. Repetative Production scheduled jobs to support a business process.
2. Adhoc reporting in background to keep the dialog processes free for "real" work. ( transaction processing)

The repetative Production jobs should be formalized with a standard naming convention for the job name and scheduled by the Batch administrator at the appropriate time, generally on a basis person's id not a generic one as there is no accountability on a geeric ID. The batch admin will need sufficient access to create the job, not run the report if internal authorization is needed to run the report (generally S_BATCH_NAM and S_PROGRAM, plus the S_BTCH_ADM access is sufficient. This allows scheduling the jobs in ANY class to limit their run to a specific batch processes controled by basis), and the STEPS should be run under an ID setup as a batch ID for the specific module ( not a user and not the batch admin person), like BATCH_FIAR , BATCH_HR, BATCH_MM, BATCH_SEC, etc. the batch Ids (setting in SU01) should have broad functional module access, not all access.

Adhoc reporting SHOULD be encouraged to keep the dialog processes free to enter the data into the system that SAP was purchased for, entering sales orders, getting money, and paying bills, ALL more important tha a poorly defined batch job report.

The user should have access to schedule jobs but NOT S_BTCH_ADM, this then forces all the job into class C which allows basis to manage when and where batch jobs are run. Since the user is running a report in backgroung that they could run in foreground, the report SHOULD be part of their role and the report tied to the role menu and the access in the report granted. The job is then scheduled on the user' s ID and run under the user's ID.

Answer:
Thanks John, That is exactly what I have told others, but for some reason I did not understand, they were saying they had some kind of technical problem when using system admin IDs, instead of this generic one. I will try and narrow done exactly what it was. They understand that the job will not fail if the admin leaves if it is scheduled under a batch-id but they still want to use a generic dialog user to schedule all of the jobs under one batch id.

Will they encounter a technical problem if they schedule too many jobs under the same user? Will there ever be any difference in the performance of the background processing with the same user such as maybe some kind of wait time when the same system id is logging in for multiple jobs, whereas if the user ids were different it would not have waited? Or rfc trace files getting wierd error messages because the background user is trying to authenticate when it is not necessary such as wrong classification of the user id causes the kernel to handle the login in a way that it would not if the classification of the user type trying to connect was set to cpic instead of system etc..



Keyword: BASIS
Title : Background Jobs

Deleting a scheduled Background job

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

To delete a job:
Go to Transaction SM37. Select a job (or jobs) from the Select Background Jobs screen. In the Job Overview, mark the job or jobs you want to delete by checking the box to the left of the job name. Choose Job --> Delete.


Deleting Jobs That Have Dependent Jobs:

If you delete a job that must be processed before another job can be started, the dependent job can no longer be started. The system will inform you of any such existing dependent, or successor, jobs. You'll then need to either reschedule or delete the dependent job.
If you try to release a job whose predecessor job was deleted, the system sets the status of the job to Planned. To start this job, you must release it and specify the start conditions.



Keyword: BASIS
Title : Deleting a scheduled Background job

background job failed because of authorization

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

We have a job which runs OK in foreground but when defined in background.
It failed and the log said it is an authorization problem. Unlike a
foreground job which we can always run SU53 after the execution to get
which auth is needed, the log of the background job didn't tell more
detail other than "it is an auth problem". Pls help us with this. is
there a way to find out what is the exactly reason after a background job
failed because of authorization?

thanks.

Answer:
Several solutions:
1) Copy the batch user to a dialogue user, then logon and run the job. You will then have your error online and maybe the SU53 you are looking for.
2) Check S_PROGRAM value for the batch user. Maje sure the batch user has activity BTCSUBMIT for the program auth group. Have you checked the job log in SM37?? You can usually drill-down to see some type of error. Common errors are S_PROGRAM and S_DATASET authotizations' missing.

Answer:
You can also run an authorization trace from ST01 for the "job step executor" (the background user) -- not the batch job scheduler, unless if they're run by the same people.

Also -- make sure you run ST01 on the exact application server the batch job is running to capture the trace.

Answer:
Tried to run the job online, it went through w/o problem.

Tried it in background again, failed with same authorization problem.

Does this make sense for you guys? Should running online and running in background have the same authorization check?



Keyword: BASIS
Title : background job failed because of authorization

SAP Background Job Administration

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Dialog work processes are intended for dialog processing. For this reason, the duration of a dialog step is limited. Background processing is intended for operations that require a longer time to run.

Background processing is also suitable for activities that are scheduled to run regularly.

A background job consists of one or more steps.
An ABAP program
An external command
An external program

Each job is processed without interruption by a single background work process.

Types of background jobs: Background jobs can be classified into six types. i.e.
Class A: with/without target server
Class B: with/without target server
Class C: with /without target server

Class A: These are the high priority jobs which can be scheduled according to
User request . Eg;- payroll run, daily,weekly, monthly reports etc.
In order to execute class A jobs we need a dedicate background
Work process of type A ( needs to be defined while configuring
Operation mode)

Class B: Standard jobs/housekeeping jobs like SAP_Collector_for_performance
SAP_REORG_SPOOL etc.

Class C: Low priority jobs

To define a new job, use transaction SM36, define new jobs as follows:
Specify job name, class, and optional target server.
Define a job step (a step can be an ABAP program, external command, or external program).
Add further steps (if necessary).
Start condition (time or event based).
Complete the definition.




A job step can be any one of the following.
ABAP program
External command
External program


The start conditions of a job can be time based or event based.
Time based:
Immediate
At date/time On a chosen workday (defined as a certain workday per month)

All time-based start conditions can be periodic. That is, a job can be performed at regular, defined time intervals. Days that are not workdays can be treated as exceptions.

Event based:
After event (optional parameters can be used to further specify events) These can be periodic. That is, the job can be triggered every time the event occurs.
After job (this can depend on the status of the previous job)
At change of operation mode (for example, between day and night)






Status of Jobs



The job status can be any of the following:

Scheduled: job is created but has no start condition
Released: job is completely defined and waiting for selection
Ready: job has been selected for execution
Active: job is being executed by a background work process
Finished: the entire job has been successfully executed
Canceled: job terminated with problems

As long as a job has status scheduled or released, it can still be changed.

If execution of a job has already started, its progress can be monitored in the job log. If the job contains ABAP programs, their output is stored in spool lists.

To create the steps of a new job from an existing job, choose Copy.



To monitor jobs, call transaction SM37.

From the job overview, you can navigate to various detailed job-related views:
The job log enables you to monitor the progress of a job.
The spool list contains the output of ABAP programs, if any.
Job details include the job definition, execution time, and background work process number.


Keyword: BASIS
Title : SAP Background Job Administration

how you can assign a Background work process as a Class A Background Work process

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Go to transaction code rz04 then button Operation Modes / Instances. Then select the Operation mode and double click on it. Then you will see a window with no of Background work process. In the field named Class A increase the no to 1 (use the + button to increase that). Default value is zero. Then click on the save button to save the configuration



Keyword: BASIS
Title : how you can assign a Background work process as a Class A Background Work process

background jobs via background users

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

I need some opinions about following issue:

We have some jobs who have to be done every day. So, these jobs are planned every morning. The jobs are backgroundjobs and [b]one[/b] system user runs [b]all the jobs[/b]. Therefore, this system user has a SAP_ALL.
A system user can't login on a normal basis but I don't feel well with the SAP_ALL.

I have the idea to split this user in several system users, with a big profile of the module which need some background jobs. (HR-user for HR-backgroundjobs, FI-user for FI-backgroundjobs,...)

Is this realistic or is there an other solution? Maybe our situation at this moment isn't so bad as I think???
Can someone help me?

Thanks in advance!
Bart

Answer:
It's perfectly feasible to split them by function or module.

For non-sensitive stuff I generally have a user e.g. FIBATCH with auths to cover what's needed. It takes a bit more work to set up but helps keep things arranged in an orderly manner.

Answer:
I’ve been through audits in the past where they have been satisfied with the background user having SAP_ALL as long as you have tightly controlled who can actually schedule jobs etc against that ID.

Answer:
I’ve been through audits in the past where they have been satisfied with the background user having SAP_ALL as long as you have tightly controlled who can actually schedule jobs etc against that ID.

Its all about risk. System users can also be used as communications users and there are some tricks that could allow someone to abuse a systems user in an RFC call. (They involve a kind of password hack). If you restrict the authority of the systems user you can diminish the opportunity for abuse.

You also have to be very restrictive about authority for S_BTCH_NAM.
_________________
bwSecurity

Answer:
I’ve been through audits in the past where they have been satisfied with the background user having SAP_ALL as long as you have tightly controlled who can actually schedule jobs etc against that ID.
When I perform audits I prefer not to see the ID with SAP_ALL - as there are plenty of ways it can be misused if the required restrictions are not in place.

If you do want to use one user, at least use a chopped down version of SAP_ALL with some of the more sensitive auths removed or very tightly controlled to grant what specifically is used.



Keyword: BASIS
Title : background jobs via background users

Introduction to Background Jobs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Keyword: BASIS
Title : Introduction to Background Jobs

Defining Background Jobs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Keyword: BASIS
Title : Defining Background Jobs

Creating Background Jobs - Job Steps

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Keyword: BASIS
Title : Creating Background Jobs - Job Steps

How to stop Active Background Jobs?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

We cannot stop the active background job, however we can pause the active jobs. Goto SA38 and run the report "BTCTRNS1" to suspend/deschedule all the scheduled jobs,ie Move Jobs with Status "Rescheduled due to Upgrade",use program BTCTRNS2 Release jobs with status "Descheduled due to upgrade".



Keyword: BASIS
Title : How to stop Active Background Jobs?

Background Processing Problems due to Segment Size Limitations, Especially in OS IBM AIX

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Symptom

Under AIX, the heap memory may not exceed 256 MB. Extensive background processing jobs that exceed this limit may allocate R/3 Extended Memory; however, the Extended Memory may be used up.

Corrective action

Try to solve the problem using the following procedures. Note the sequence they are given in. If the problem cannot be corrected with one of these procedures, try the next procedure.

  • For reports started in the background, use more restrictive selection criteria to process smaller amounts of data.


Keyword: BASIS
Title : Background Processing Problems due to Segment Size Limitations, Especially in OS IBM AIX

SAP Background Jobs or Update Process Canceled due to Insufficient Swap Space

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Symptom

Error messages in the trace files dev_w, where the texts malloc failed, rstg PERM, etc., appears, especially if the background jobs are active with large amounts of data.

Corrective action

Increase the swap space or decrease the R/3 Extended Memory.

If necessary, increase the roll area.

Check if the maximum process size (operating system parameter) is sufficient.

See: Swap Space Bottleneck During R/3 Operation



Keyword: BASIS
Title : SAP Background Jobs or Update Process Canceled due to Insufficient Swap Space

Assign a Background WP to Class A Background WP

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Go to transaction code RZ04 then button Operation Modes / Instances. Then select the Operation mode and double click on it. Then you will see a window with no of Background work process. In the field named Class A increase the no to 1 (use the + button to increase that). Default value is zero. Then click on the save button to save the configuration



Keyword: BASIS
Title : Assign a Background WP to Class A Background WP

Background Jobs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Background Jobs:

Background processing is used to: Reduce the load on the dialog processor, as the dialog wp duration is limited.

You can define and schedule background jobs in two ways from the Job Overview:

  • Directly from Transaction SM36.
  • The Job Wizard : To use the Job Wizard, start from Transaction SM36, there you'll find Job Wizard
Procedure
  1. Call Transaction SM36.
  2. Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
  3. Set the job’s Priority or Job Class
  • High priority: Class A
  • Medium Priority: Class B
  • Low priority: Class C
Target server field, indicate whether to use system load balancing.
  • For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
  • To use a particular application server to run the job, enter a specific target server.
  1. If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
  2. Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
  3. Define the by choosing Step, then specify the ABAP program,external command or external programe to be used for each step.
  4. Save the fully defined job to submit it to the background processing system.

Status of Background Job:

Scheduled: Job created but start condition not defined.
Released: Job completely defined and is waiting for selection
Ready: Job has been selected for execution
Active: Job is being executed by a Background processor
Finished: Job successfully completed.
Canceled: Job terminated.

Start Condition:
Time Based : Immediate, At a date or time, On a chosen workday
Event Based: After an event, After a Job, After an operation mode switch.

Using SM37 you can monitor the Background Jobs.









Keyword: BASIS
Title : Background Jobs

Status of Background JObs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

There are 6 status for background jobs


Scheduled - The job has been created, but it has not yet been assigned a starting time.
Released - The job has been created and it has been assigned a starting time.
Ready - The job is ready to be processed.
Active - The job is being processed.
Finished - The job has finished successfully.
Cancelled - The job did not finish successfully.



Keyword: BASIS
Title : Status of Background JObs

Check own Background Jobs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

To check one's own Background Job's go to the TCode "SMX"



Keyword: BASIS
Title : Check own Background Jobs

T r a n s l a t e to your language