How to delete Background job

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 advance

hi
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

Similar Messages

  • Urgent..How to delete background job permanently....!

    Guru's!
    How do i track that background job... that is running for every 5 mins,
    In sm37 i know the job name , it is executing for every 5 mins, and that is interrupting , and causing  me huge prblm.
    my basis person suspended the job , but that is started executing again from yesday.
    I found that job name in sm37 like below
    BI_WRITE_PROT_TO_APPLLOG,
    more than that m not getting  any additional info abt it..
    I can say this is the job that is interrupting R3 transaction
    Guys pls advise me How do i get related info abt taht job...
    n pls provide me sol'n to delete it permanently..........
    Thanks
    Srujan

    HI,
    Report - RSBATCH_WRITE_PROT_TO_APPLLOG is shceduled in BW every particular minutes to write an application log ,this report is having job name BI_WRITE_PROT_TO_APPLLOG .
    This report must neither be descheduled nor deleted, as long as BW is working live, because otherwise any error messages that appear are not written to the application log.
    This log files can grow large (intensive read on table
    TBTCO and TBTCB ),especially logs from Job BI_WRITE_PROT_TO_APPLLOG and might impact some of the performances like system slow down.
    Check unused Job logs with Report RSBTCDEL2 and clean out if
    and see this posts,
    Re: Issue regarding BI_WRITE_PROT_TO_APPLLOG
    notes:769414
    if it is useful assign points
    Regards,
    Senthil

  • How to delete a job in background programatically after 10 sec

    Hi all,
    Can anyone tell me how to delete a job in background programatically after the transaction is trigerred in 10 sec.
    Yours help will be greatly appreciated
    Yathish

    Have a look at standard report RSBTCDEL. May be helpful to you.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • How to monitor background jobs automatically

    Hello,
    How to monitor background jobs automatically
    (we have more then 100+ jobs in a month and some jobs are repeating 4 - 5 times in a same day )  Now i am searching any salutation for monitor background jobs automatically
    Let me know the  options
    Thanks,
    Suresh

    Hi,
    If your batch job is creating a file in SAP and sending it to another system. These are some things you could do, if you have tools and resources available.
    1) When the job ( SAP program ) runs to create the file, ensure there is no file already existing in the landing zone ( AL11), if it does then do not over write, just throw an error, because the last file created did not leave the landing zone, because the other system or middle were did not pick it up. Usually when the middleware or third party system picks up your file from the landing zone, it may delete the file, so next time fresh file can be picked up. It is always good to have date and time stamp on the file that you create on the landing zone, so we could uniquely track which files were creates, when it was created and transmitted.
    2) Lets say your job created the file in the landing zone, the FTP program or what ever service or tool that you use to pick the file, if it is running as per design, then it should pick it up, if not you need to see why it is not running, usually the FTP softwars like GIS will throw an error if no file is found, and we could track them.
    I am sure there are many other ways to handle if the file really left the landing zone or not. Something to think about. thanks

  • How to terminate background job for MRP

    Hi dudes,
    how to terminate background job set earlier and i want start again with fresh scheduling. as user discontinued using the MRP process.
    thanks inadvance for quick response.
    Robert.

    Robert,
    Just though of sharing the alternate way to do this work, instead of DELETE use CHANGE option.
    1. Execute transaction SM37 for the program "RMMRP000" and Job name what you have specified with job status "Scheduled" check box activated. Job Overivew screen appears
    2. Now select the job in the Job Overivew screen and use Menu bar: Job--->Change or Ctrl+F11. Change Job Screen appears
    3. In the change Job screen Hit the function button Start Condition (Green Flag). Start time screen appears.
    4. In the Start time screen define your Job schedule and save the time parameters and save change job screen. Now your job is scheduled with new parameters what you have entered.
    Regards,
    Prasobh

  • How to debug background job?

    Hi, All:
    How to debug background job.
    Thanks,

    Hello,
      Take a look a this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&">blog</a>, it says all what you need to know about strange debuggings (=
    Regards

  • How to do background job on dtp

    how to do background job on dtp

    hi,
    whenever you run the DTP in Process chain it will be running in background.
    hence in BI it is recommended to use PC.
    if you execute it will be running immediately.
    Ramesh

  • HOW TO DELETE SCHEDULED.JOBS

    hi.
    i have 4 simple questions.
    1.how to view all procedures name
    2.how to view all scheduled jobs name.
    3.how to delete all scheduled jobs
    4.how to delete sceduled job with with specific name.
    thanks in advance
    regards
    sajid

    Hi,
    1.
    SELECT *
      FROM all_procedures;2.
    SELECT * FROM ALL_SCHEDULER_JOBS;  
    SELECT * FROM ALL_SCHEDULER_PROGRAMS;3. (But I would not do this)
    BEGIN
       FOR rec IN (SELECT job_name
                     FROM user_scheduler_jobs)
       LOOP
          dbms_scheduler.drop_job(rec.job_name);
       END LOOP;
    END;4.
    DBMS_SCHEDULER.DROP_JOB;In general, If you need some dictionary view, but not sure what's it called, query the dictionary itself, Example;
    SELECT *
      FROM DICTIONARY
    WHERE table_name LIKE '%SCHEDU%';Regards
    Peter
    Regards
    Peter

  • How to debug background jobs?

    Hi all,
            How to debug background jobs?
    Rgds,
    Balaji

    Hi ,
    Goto sm37-> select active job , tcode jdbg with out /n or / .
    or goto sm50-> select job program/mode-> program-> debuging.

  • How to Save Background job report out put in local / Network Drive?

    Hello Techies,
    How to Save Background job report out put in local / Network Drive.
    Actually we have option to send mail aftr complete but  i need to save in local drive or network drive .

    Hi ,
    Background job runs in application server , and your local /network drive is basically presentation server. So you cant save it in local /network drive from the job itself. But to download files, you can write the files to the application server using DATASET, in the background and then use the transaction CG3Y in the foreground to download the file.

  • 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

  • Delete Background jobs

    Hi ,
    How to delete the automatic back ground jobs for report.
    One report is running in background at end of day regularly.
    I want delete that options.
    help me in this.
    regards,
    Ajay Reddy

    hi use this ..
    go to sm37->f6->selection name(daily) --->delete
    regards,
    venkat.

  • Delete background job

    Hi All,
    I have defined a background job. This job is executed after an event. Now I want to delete the job and create another job with different name. How can I delete this job. Please explain me with steps.
    Regards,
    Jeetu

    1. Go to SM37
    2. Select Scheduled and Released
         Remove the Date fields
         Choose the Event which triggers the Batch job from the After event filed Drop down Box and           Execute
    3. Select the Job and delete

  • Delete Background JOB permanently.

    Dear All,
    How can i delete schedule background Job which is defined in SAP Systems,
    when i check through sm37 i found that there is one job schedule on hourly period & showing status Cancel,.,
    JOB Name is SAPOSCOL
    also please find details of this Job,
    Massage Text
    JOB Started,
    Login of User basis in Client 800 failed when starting a step.
    How can i delete this job permanently.
    Regards,
    Jiitendra.

    Hi,
    The job is getting cancelled because the login BASIS with which the job is scheduled is failing to start it and this might because the ID is locked or password expired. Kindly check that to resolve the issue. But, if you want to delete the job then do it as said above by selecting the job with scheduled or released status.
    Regards,
    Sharath

  • How to create Background job for Dialog program

    Hi Experts,
    I have copied Standard tcode to Z-tcode (CS12 tcode).
    Now my requirement is to create background job for this program (but program is not a 'E' type its 'I').
    How we can schedule Dialog program to Background.
    Pls suggest me.
    Regards
    SK

    Hi do as below :
    Reefer below :
    Bakcground Job Creation
    You will have to submit your report using Submit statement ,
    then inside the submitted report write open_job.
    Regards,
    Uma

Maybe you are looking for

  • Clarification required as to installing Arch Linux onto Macbook Pro

    I own a 13 inch Mid 2010 Macbook Pro with the base configuration. When partitioning my hard drive what hexadecimal flag should the 100 MiB boot partition be given and what format should it be formatted to? Also upon running iwconfig wlan0 does not ap

  • Dynamic call of a static method of an static attribute

    Hi all, is it possible to call dynamically a static method of a static attribute of a class. The statement without dynamic call would look like this: cl_test_class=>static_attribute=>static_method( ). I would like to do it like this: ('CL_TEST_CLASS'

  • [Xorg 7.0] Changing Cursor Theme

    Hi guys, I used to change my cursor theme modifying /usr/X11R6/lib/X11/icons/default/.? (I don't remember the name of that file), what about Xorg 7.0?, where should I put my cursor theme, and where make it default?

  • Problem Updating iPod software on iTunes

    I am having problems updating my iPod software through iTunes. As soon as it gets to the end of the download, an error message comes up (-48, I think) that states there was an error in downloading the update. It suggests to check my internet connecti

  • Systemcopy using R3load - Index creation VERY slow

    We exported a BW 7.0 system using R3load (newest tools and SMIGR_CREATE_DDL) and now importing it into the target system. Source database size is ~ 800 GB. The export was running a bit more than 20 hours using 16 parallel processes. The import is sti