Background job deleted automtically
Dear All,
We have scheduled a job to execute after every minute, after a week or two jobs get deleted. Is there any way to know that who is deleting my background jobs?
Regards,
FR
You can see who did it by using STAD,
Search for usage of SM37,
09:11:33 <host> 5 BT SM37
09:11:33 <host> 5 Dia SM37
09:11:33 <host> SAPLBTCH
09:11:35 <host> SAPLBTCH DOIT <USER>
09:11:43 <host> SAPLBTCH DEL <USER>
09:11:47 <host> SAPLBTCH YES <USER>
09:11:50 <host> SAPLBTCH GOUT <USER>
You can see that a job deletion was executed and who did it.
Regards
Juan
Similar Messages
-
Background jobs deleted when planning version is deleted
Hi everyone,
We are implementing SAP APO version 4.1. We have the following problem. We have a simulation version used from time to time. When it is not used, it is deleted for performance reasons. However, when we delete planning version, background demand planning jobs (SNP jobs as well) are deleted although we do not want this to happen. Is there any suggestion to overcome this problem?
Thanks in advance. Regards,
JennyHi Jenny,
As mentioned by R. Senthil Mareeswaran. it is (unfortunately) standard.
The easiest solution in my opinion is to never delete completely a version.
However you can, to reduce the space consume by the version, "reinitialise" it: instead of deleting it, copy back the active version on your simulaiton version but FOR MASTER DATA ONLY.
This way all transactional data are deleted, which save a lot of space.
I think this will also automatically deinitialise the planning area... If not do that to!
Good new: if you do that yur jobs will not be deleted.
Next time you want to use the version, do again a copy, with transactional data!
Ps: your job can be transported from on system to another, so hopfully you haven't lost them all: just transport / reimport the request
good luck
Thanks and Regards
Julien -
Background job delete or move file
Hi all ,
IS THERE ANY METHOD TO TRIGGER AN OS COMMAND TO RUN WHEN WE RUN OUR PROGRAM IN BACKGROUND?
I HAVE TO DELETE OR MOVE A FILE AFTER IT IS READ IN BACKGROUND.
Thankshi,
you can check:
IF sy-batch EQ 'X'.
==> program runs in background
ELSE.
==> program runs in foreground
ENDIF.
hope this helps
ec -
Periodic Background Job Deletion
Dear All ,
i want to Permamently Delete a particular Periodic Jobs in my Production server , pls let me know any suggestion
note : Job has been Scheduled Daily at 1:00
regardsHello,
Login into the client where the job runs, do not give any input in the feilds From date and To date.
Just give the job name and status scheduled, released and press F8, this will give you the scheduled jobs in future just select and delete.
Regards,
Yoganand.V -
In my system the background jobs deleted.
I need to restore some of them
does anyone know how to restore background job log?
Thanks in advance
ItzikHi all,
Please give some inputs on the above question. and any clarifications pls let me know.
Regards,
Prabhu
Edited by: prabhu jayaraman on Dec 9, 2008 7:06 AM -
System exception while deleting the file from app server in background job
Hi All,
I have a issue while the deleting the file from application server.
I am using the statement DELETE DATASET in my program to delete the file from app server.
I am able to delete the file from the app server when i run the program from app server.
When i run the same report from background job i am getting the message called System exception.
Is there any secuirity which i need to get the issue.
Thank You,
TaraginiHi All,
I get all the authorization sto delete the file from application serever.
Thing is i am able to run the program sucessfully in foreground but not in the background .
It i snot giving any short dump also just JOB is cancelled with the exception 'Job cancelled after system exception ERROR_MESSAGE'.
Can anybody please give me suggestion
Thanks,
Taragini -
Hi Experts,
i want delete the "SM:SELFDIAGNOSIS" background job on solution manager system .
and i have deleted, go to next date and then delete the released job but after one day again its showing in released.
so how i can delete it properly .
Regards
jai kr.Shiv,
First check the frequency of this job from SM37
Go to SM37 -> give your job name ->and select all the options like
delete the entries in start date and end date fileds. then execute.
If you find job in Released state ,simply go to menu Job -> click on release to schedule.
Now this job will in Schedule and won't run untill you release it.
Deleting the jobs is not good idea ,simply you can suspend it.
Regards,
Srinivas Chapa. -
Delete Spools created by one background job
Hi ,
I have a background job which runs every now and then and it creates spools. My requirement is to delete all spools created by this one job only in regular intervals via another program.
Regards,
Arun.Hi J@Y,
the spools that my background job is creating should stay in the system for a while for users to go and see it. After a specific interval, say every 30 minutes, i want all the spools created by that one job till that time to be deleted
regards,
Arun. -
hi all,
i am working on ECC6.0.
i am not able to find the path to delete background job completly.
can any body give me the navigation for the same in ECC6.0
Thanks in advancehi
hopen ths wll help
To delete a background job explicitly, use:
BP_JOB_SELECT to obtain the jobname and job number of the job that you wish to delete.
You can select jobs according to all of the criteria available in the interactive background processing management system:
Jobname: Using a well-planned naming convention for your jobs will help you to select them precisely.
Job number
Name of the user who scheduled a job
Specifications for the start-time window/no start time scheduled
Start dependent upon predecessor jobs
Start dependent upon an event and event argument
Job status (preliminary, scheduled, ready, running, finished, aborted).
BP_JOB_DELETE to delete the job. The job log is deleted as well, if the job has already been run.
A job cannot delete itself. Also, a job that is currently running cannot be deleted. However, you can have it deleted automatically if it is completed successfully. See the DELANFREP parameter of JOB_OPEN.
Sample Program: Deleting a Background Job
Data declarations: BP_JOB_SELECT
DATA JSELECT LIKE BTCSELECT.
DATA SEL_JOBLIST LIKE TBTCJOB OCCURS 100 WITH HEADER LINE.
Sample selection criteria
JSELECT-JOBNAME = 'Name of job'.
JSELECT-USERNAME = SY-UNAME.
CALL FUNCTION 'BP_JOB_SELECT'
EXPORTING
JOBSELECT_DIALOG = BTC_NO
JOBSEL_PARAM_IN = JSELECT
IMPORTING
JOBSEL_PARAM_OUT = JSELECT
TABLES
JOBSELECT_JOBLIST = SEL_JOBLIST
EXCEPTIONS NO_JOBS_FOUND = 1
SELECTION_CANCELED = 2
OTHERS = 99.
In this example, the program loops over the internal table
SEL_JOBLIST and deletes each of the jobs that was selected.
Alternative: Have the user select the job to be deleted
with BP_JOBLIST_PROCESSOR. For an example, please see
Sample Program: Wait for Predecessor Job with JOB_CLOSE.
LOOP AT SEL_JOBLIST.
CALL FUNCTION 'BP_JOB_DELETE'
EXPORTING
FORCEDMODE = 'X'
JOBNAME = SEL_JOBLIST-JOBNAME
JOBCOUNT = SEL_JOBLIST-JOBCOUNT
EXCEPTIONS
OTHERS = 99.
ENDLOOP. *
FORCEDMODE deletes the job header even if other portions of the
job cannot be deleted from the TemSe facility, where they are
held.
FORCEDMODE can be used without fear of causing problems in the
System. Any TemSe problem that affects background jobs can be
resolved directly in the TemSe system and does not require the
job header.
regards
navjot
reward if helpfull -
How to delete/deactivate a background job.
Hi Gurus!
Is there any way to delete a background job?
I have a send job which sends email notifications to internet mails.
I want to deactivate or completely delete the job.
Please guide on what to do.
I'll give points for answers.
Regards,
VhongHi,
To delete the job, go to sm36, choose 'own jobs' and delete your job.
As I experienced Selecting and deleting the job in sm37 does not delete the job, but just delete the scheduled or released job in database.
P.S:
It is kind of weird that, each time you schedule and save a job, it is scheduled in background. Even if you want to change the step definition and you save, you will see that the job is scheduled for the second time with the latest version. The last save does not cancel the previous job schedule. So you have to do it manually.
Hope this helps
Derya -
Mass deletion or cancellation of background Jobs.
hi,
Can anybody tell me the program name or the Job name by which we can cancel or delete all the jobs i.e mass deletion or cancellation of background Jobs.Hi,
One clarification:
BTCTRNS1 report/program suspends all Released jobs (not Scheduled status) and make the status 'Released/Suspended' - so that they will not run during your activity.
When you will run report/program BTCTRNS2 (using se38/sa38) it will release them again.
Note: You can not freeze/suspend jobs which are event triggered. You have to set them using sm37 (released -->scheduled) - option is available in the menu.
Jobs in scheduled status never run.
Don't release/submit any job after BTCTRNS1, the new job will run (it will not be suspended). Please instruct other user also not to submit any job further.
Thanks,
Subrata -
Setting up archive delete functionalities using background job
Hi,
Through SARA transaction there we can set up a archive delete job by selecting the files, job timing details. Instead of this, we want to set up this functionality using a background job as per the variant and timing requirements.
Is there any option to set up a background job of archive delete functionality by selecting the files through a program or function moduel. Please suggest me if anyone has done this in previous.
Thanks,
SivaHello,
Take a look at OSS note 205585 which describes how to schedule archive delete jobs indirectly using program RSARCHD.
Hope this helps.
Best Regards,
Karin Tillotson -
Hi,
I want to delete a back ground Job which is scheduling Daily.
How to do that?
Thanks in advance!Hi,
To delete background jobs in bulk, schedule the SAP program RSBTCDEL.
1. Schedule a background job that has RSBTCDEL as an ABAP program step.
2. Indicate the variant, or criteria, of the jobs you want to delete, including:
job name
· name of user, or person who scheduled job
· jobs start and end times or dates
· age of the job (e.g., older than xx days)
· jobs status (scheduled, released, finished, canceled)
· event ID or parameter for event-driven jobs
3. Run this new background job.
The program RSBTCDEL should be scheduled to run regularly to flush various database tables (TBTCO, TBTCS, BTCEVTJOB, TBTCP, etc.) to keep them from getting unnecessarily large.
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7fef505211d189550000e829fbbd/content.htm -
How to delete variant form background job
Hi,
I have one background job with 5 variants associated with iy.
Now i want to remove 2 variant from that background job.
is it posible???
if yes then how to do that?
Thanks,Hi.
Go to SM37, execute report to see it, click on modify, and change steps.
If you have problems, delete job, and create a new one.
Best regards.
Valter Oliveira. -
How to retrive the deleted background job !
Hello Friends,
I accientaly deleted a background job.
Could any one help to retrive the original job.
Thanks,
Senthil<b> SMX View background jobs
SM36 Background Job Scheduling
SM37 Background Job Monitoring </b>
<b> Schedule Manager </b>
Automate your routinue task with Schedule Manager. It facilitate the definition, scheduling, execution, and review of tasks that are executed on a regular basis, such as period-end closing.
<b> SCMA</b> - Schedule Manager
Checking your program Background Job Status
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.
regards
vinod
Maybe you are looking for
-
Hi Frds Consider 1 PO and 1 Line Item and for that i have Multiple GRs and IR GRs. I wants to write code for these ,can anyone help me which are tables and fields ,give me some tips . its urgent Thanks Pari
-
Safari keeps quiting unexpectedly every time
Whenever i open safari it immediatly closes and gives me the log which has: Process: Safari [935] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 7.0 (9537.71) Build Info:
-
Flex 4.1 changed creationpolicy?
good day I just upgraded to flashbuilder 4.0.1/flex 4.1 and all my creationpolicy tags that are creationPolicy="queued" are broken the error message says invalid value queued it must be one of auto,all,none. did the specification change or is it a b
-
each time i turn my macbook pro on, i get all of the microsoft office applications opening up and my iphotos and email. how do i turn this off?
-
Error when Customer message create
Dear All, when i create the new message from service.sap.com,the System ID, Name and Installation Number is disable, so i am unable to create the new message. Only System Search is visible. When i Double click on the System ID or Installation No. The