CCMS Monitor to Pager for Failed Background Jobs
Hello Experts,
I am currently leveraging Central CCMS monitoring to alert us via email whenever a background job fails in production using the MTE Class R3BPServerSpecAbortedJobs.
I am trying to find a way that I can tweak the monitor to alert me ONLY when specific background jobs fail.
We want this alert to notify the oncall pager only when a handful of critical jobs fail. Does anyone know how I can delimit this MTE?
For example, we will be creating jobs that begin with Z_ALERT* that I will tie to an auto-react method that will email a pager.
Thanks in advance.
Bill
Hi Sundara.
From following link, you can download step by step setup information.
So please check following documents.
http://www.service.sap.com/bpm
=>Media Library=>Technical Information
=>1. Business Process Monitoring - Setup Roadmap
=>2. Setup Guide - Business Process Monitoring
Before you start setup, I recommend you to check
SAP Notes 521820 to ensure whether you already fulfill
prerequestions.
Basically what you have to do is following.
1. Describe your business process under following area.
(T-CD DSWP =>Solution Landscape =>Solution landscape maintenance)
2. Setup BPMon session.
(T-CD DSWP =>Operation Setup => Solution Monitoring =>
Business Process Monitoring)
in BPMon session, select job monitoring. And define background
job that you want to monitor.
In BPMon job monitoring, you can monitor, cancel, delay, duration,
unexpected parallelization, also job log and so on.
I hope this information help you.
Best Regards
Keiji Mishima
Similar Messages
-
Trigger substitution rule for a background job
Hi all,
I ve written a subroutine in Substitution rules for FI in GGB1 tcode for F110 transaction to replace the section code (bseg-secco) while posting a fi document.
but the substitution rule is not getting triggered as F110 runs a background job to post the document...
The substitution is active and the activation level is active all the time.
Could u please suggest how to get it triggered for a background job...Measuring External Processes
Use
The runtime analysis allows you to switch into work processes that are already running and to measure the runtime of dialogs running in them as though they were running in the current session. You can have up to ten external sessions, which may be of any type for example, dialog, update, or spool. This runtime analysis variant is ideal for monitoring long-running background jobs.
Filename and Directory
If you do not want to use the default filename and directory to store files, you can change them using the profile parameter abap/atrapath. If the profile parameter does not contain an entry at all, an error occurs when you start the runtime analysis. -
Runtime analysis(SE30) for a Background job
Hi Experts,
How to get runtime analysis for a Background job in SE30 transaction. Please advise.
Thanks in advance,
Vivenchandar RMeasuring External Processes
Use
The runtime analysis allows you to switch into work processes that are already running and to measure the runtime of dialogs running in them as though they were running in the current session. You can have up to ten external sessions, which may be of any type for example, dialog, update, or spool. This runtime analysis variant is ideal for monitoring long-running background jobs.
Filename and Directory
If you do not want to use the default filename and directory to store files, you can change them using the profile parameter abap/atrapath. If the profile parameter does not contain an entry at all, an error occurs when you start the runtime analysis. -
Workprocess for Infinite background job in ABAP
Dear all,
I have a background job which has an infinite loop i.e. WITHOUT any exit condition. The loop contains WAIT UPTO x mins statement.
So my query is if I run this program in background then will the Background Work process which executes this job, always be occupied and cant be used for other background jobs ? In other words, will I be wasting 1 BG workprocess for this job since it will never be freed to be used for other background jobs?
LOOP AT ITAB
WAIT UP TO x MINS.
ENDLOOP.
Requesting your expert insights .
Thanks in advance.
BR
NileshI am not so sure if this is correct. To my knowledge, BTC processes, as opposed to DIA, never perform "roll out" (e.g. during an RFC call) but just wait until processing continues. I just made a quick test in NW 740 release, there the BTC process remains occupied by my job when it does WAIT UP TO xxx SECONDS. So you occupy one BTC process as long as your job runs.
Please try out yourself and then award points to whoever is right, please.
Regards,
Alex -
Trigger a substitution rule for a background job
Hi all,
I ve written a subroutine in Substitution rules for FI in GGB1 tcode for F110 transaction to replace the section code (bseg-secco) while posting a fi document.
but the substitution rule is not getting triggered as F110 runs a background job to post the document...
Could u please suggest how to get it triggered for a background job...Hi,
Please mainatain another substitution rule.
PREREQUISTE : 40(POSTING KEY )=SPARE PARTS(gl) and 50(posting key )=Inventory write off
Sustitute : Dtype = VA
Regards
jabeen -
Reg Super user for schedule background Jobs
Hi Experts,
I have created new user copied from DDIC with the same authorization. This is for scheduling Background Jobs. Now all the standard background Jobs are running fine. After scheduling the Jobs I have changed to system user. Now for audit purpose I need SAP note to do same. Please help me to get the sap note for the same. Please respond ASAP. treat this is as high priority.
Thanks & Regards,
Haseem.HI,
It is not necessary for user having SAP_ALL authorization under which background job is running.
Define specific users to use for background processing. Define them as system users (non-dialog) and give them only the necessary authorizations that are needed for the executed programs
check http://help.sap.com/saphelp_nw04/helpdata/en/db/f6f3393bef4604e10000000a11402f/frameset.htm
also check Note 101146 - Batch: authorization object S_BTCH_JOB, S_BTCH_NAM
regards,
kaushal -
Can we change the selection criteria for RV60SBAT Background Job for Billin
We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
Thanks,
MattHi Matt
For your requirement , copy the standard RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
Regards
Srinath -
Trigger mail for cancelled background jobs scheduled using SM37
Dear Experts,
My requirement is to trigger email whenever a job gets cancelled in background.
For this I have already tried creating a workflow using BO BPJOB for event ABORTED.
But for some reason the event is never getting triggered.
I tested executing the workflow from tcode SWDD, it was running successfully, which means that there is no issue with my workflow.
Now I want to resolve the above issue OR
I want to raise the event manually from the program through some BADI or Exit.
But I didn't find any BADI or Exit for tcode SM37. Can anybody let me know if any.Hi,
Please refer the below links.
Workflow- Background job fail
Re: Send mail when job fails
Regards
GK.
Moderator message: please do not post just links without any further explanations.
Edited by: Thomas Zloch on Sep 20, 2010 11:53 AM -
Dynamic variants for a background job
Hi,
I need to set up a background job for a dynamic variant. To elaborate my selection screen has date ranges which need to change dynamically , if the job is secheduled on weekly basis the selection date range should change automatically in the variant. I got to know that the same is possible through the table TVARV. Can I know about the method of setting up the same?
Thanks,
ShailajaYou can set a dynamic date to today date or some other date without using the table TVARV.
To set the dynamic date:
Save variant on the selection screen.
In the vairant screen, press F4 against your field in the column "Selection Variable"
Select D here.
In the column Name of the variable, press F4 to have the list of the possible rules.
Here you can select "Current date - xxx,current date + yyy" if you want to have certain period.
When you select this system will pop up to put the values for XXX and YYY.
Say for last 7 days, you can set the values XXX as 7 and YYY as0.
But the best way is to change the program, if possible, and fill the select option in the intialization event.
Regards,
Naimesh Patel -
Adding steps for a background job
Hello All,
I am creating a background job through a program and submitting another program for running in the background.
I would like to add steps for the backgound job which I created trough my program.
So background job will have different steps for the same program which I submitted.
Could any one of you help me on how to add steps for background job which is already running.
Thanks and Regards,
VijayHi Naimesh,
Thanks for the Reply.
Sorry for replying late.
The problem I am facing is we need only one job with multiple step .
for example if we have job named BCKGRD.
Under this job we need to create Step 1, Step 2, Step 3..
Regards,
Vijay -
Is there a system variable indicator for a background job?
Hello all.
Is there a way for me to know, in the ABAP program, at runtime, whether the program is beeing run by a background job or not?
Thanks!Hi
check
SY-BATCH for Program running in background cehck in SYST table for all.
Thanks & Regards,
Chandralekha. -
API for scheduling background jobs
Hello friends,
What is the API provided by R/3 to schedule background jobs, apart from the internal transactions, sm36 ?
regards,
Tanmay.Hi,
There are FMs to create and schedule jobs instead of manually going to transaction SM36.
JOB_OPEN (create a job)
JOB_SUBMIT (attach program to be scheduled and set other scheduling parameters)
JOB_CLOSE (finally release it for use)
Hope your question is answered...
Regards, Tapas
<Pls reward if useful or answered> -
How to check the ALV output for the background job
Hi Guru,
We are having a cutomized report which will display the result like a ALV report.
We configured it as an background job, after the completion of the background job, it will send the result to the SPOOL, and we can use SP02 to check the output,
But it is not easy for user to directly check the result easily, is there an method we can save it as an spreadsheet and send the output to a specific location or mailbox and then user can check it easily
thanks,In SM37 ,select the Job > Spool > Select Spool No > Display Contents > Here it will show you the Output of the Report.Now select Ctrl +Shift + F12 , it will ask you to save the Spread sheet in specified location.
Best Regards,
Ankur -
Mail not being sent for a background job scheduled.
Hello all,
We have a report which is scheduled in background. The job runs for every 10 mins in development server and sends the status to various mail IDs. The job runs successfully and the status shows as 'FINISHED'. But users are not able to recieve the mail.
Mails are sent using the FM "SO_DOCUMENT_SEND_API1".
When the debug the report everything works fine and the user recieved the mail. Any pointers to this would be of great help.
I tried searching in SDN for existing posts but could not find any relevant thread.
Thanks in advance.
Regards,
Chandra.Hello,
PFB piece of code showing how the FM is called.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = wa_doc
sender_address = wf_sender
sender_address_type = 'SMTP'
TABLES
packing_list = it_paklist
object_header = it_obj_head
contents_bin = it_obj_bin
contents_txt = it_obj_txt
receivers = it_obj_rcv.
Also , please note that this report has been scheduled some time in last year i.e. 2008 and it was running successfully by sending mails. But from past 2 months the report is not sending mails.
Regards,
Chandra
Edited by: Chandra A on Sep 7, 2009 2:17 PM
Edited by: Chandra A on Sep 7, 2009 2:17 PM -
CCMS Background Job Monitoring
We have setup CCMS background job monitoring and use it to send alerts for failed CH_* jobs. We activated an autoreaction for Job_Monitoring_Status.
Our autoreaction method has some extra functions to suppress duplicate alerts. It uses the alert text to check this. The standard alert text for Job_Monitoring_Status includes the job id + the end time: e.g.:
u201CCH_APAC_SD_RVV50R10C_DEL_BS_S1 | 03282700 | Termin, started at 12.10.2011,03:28:27 terminated at 12.10.2011,03:28:29u201D
This will let us duplicate suppression fail. We only need the job name in the alert text.
Can we change the message class for the Job_Monitoring_Status? Do we need to write our own message class?Hi,
This is possible and perhaps the link in the thread below should help:
Simple question for CCMS Output format
Regards,
Srikishan
Maybe you are looking for
-
Data getting truncated while exporting report to a text file in crystal 10?
Hi All, I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and i
-
Ipod cherges but wont appear in itunes or computer.
I need help I have done the trouble shooting still no luck.Ii cant sync it or anything it doesnt seem to find it. PLEASE HELP!!!!
-
I have text documents in my email folders which I can't open. They are PDF files and Open Office documents. How do I open these documents?
-
Sir, How to host a database in Oracle. For example. I am working in India. I have to set up database In my office india. Webserver is Weblogic. We have one application deployed in Weblogic. Clients will access this application from USA. What all thin
-
I am attempting to build a fluid grid site, however, after the initial page creation the option on the "insert" tab for "fluid div" (shown in all fluid grid videos & tutorials) doesn't show up. Instead only "div" or "draw absolute position div" are