Batch jobs with status "active" but aren't really active

We have 4 jobs that show up in SM37 with a status of "active", but they aren't really active.
They are from 1998, and the client & server listed no longer exist. The PIDs listed do not exist on any servers.
We have tried to cancel, delete, check status, nothing works.
Is there some way to get rid of these jobs from the system?
RSBTCDEL / RSBTCDEL2 will not work, because the jobs are active.
Thank you.

When I try to cancel the "active" job, I get message "Error occured determining batch work process information" (Message BT241).
When I do a Check Status, it just says "1 jobs were checked and 0 jobs were corrected"
When I try to delete, it says "Job xxxx is active. The selected function cannot be performed"
We have jobs SAP_REORG_JOBS and SAP_REORG_JOBSTATISTIC running. I cannot find a standard job SAP_REORG_JOBSSTATUS mentioned in Yves reply. If this existst, can you tell me what program is being executed by the job?
We shut down / restarted one of the systems that has some of the old jobs yesterday, and the problem still exists.
We are at Basis release 702, SP 12.
I will take a look at the BP_JOB* function modules

Similar Messages

  • View for active Incidents related to WI (Problem) with status (Active) works but can't be changed.

    Hi,
    I wanted to create a view of Incidents which are linked to a Problem (any problem).
    I did a quick test using the Incident (advanced) class, selected to display Incidents with status Active and [Work Item] Is Related To Work Item and status for Problem with the status Active.
    At this first test I didn't bother to select any specific columns to display but just went with the pre-selected ( Description, Display Name, Display Name) and it worked. 
    I got a list of expected Incidents in the view but having the Description column made it quite useless.
    So, when I try to select the columns I find useful it will not update and it returns a No items found message instead.
    (image removed due to limitations)
    It is of course possible to group by one of the Display Name fields and collapse to get a more workable view but it still lacks a lot of good information. One would like to include ID, title, Created date,
    date modified, Display Name for Affected User and Assigned to user, and a few others.
    I was just a bit stumped as to why this fails when changing the columns on a view that obviously is possible to create.
    Thanks in advance,
    Daniel

    Consider using the Advanced View Editor( or
    the free edition), since it has much more robust criteria and column editing capabilities. 

  • Batch job with 2 conditions

    Hi,
    We have a program that will create a batch job and then we need to go to SM35 to run that batch job manually. We want to avoid this manual step and what we want to do is to as soon as our program runs it will create a batch job and then batch job should kick off automatically.
    One of the solution that came to my mind is to schedule a batch job with two conditions:
    1. in first condition it will run our main program
    2. and in 2nd step it will look out for the batch job that created in SM35 and will kick off that, but I am not sure how can i do this using Sm36.
    I was also wondering if there is another way so that we can just avoid the batch run for the second step?
    So can you please help me with this.
    Thanks,
    Rajeev

    SM35 -> batch sessions, so I assume you are talking about these.
    You can start sessions under program control by submitting program RSBDCSUB after creation of the session.
    Thomas

  • Batch job with user name

    Hi,
    Is it possible to create a batch job with another user name using JOB_OPEN?
    and what is the use of JOB_GROUP option??
    Thx in advance.
    PRa

    use:
    CALL FUNCTION 'JOB_OPEN'...
    *--create Step
        SUBMIT RFBIBL00 AND RETURN
               USER SY-UNAME VIA JOB JOBNAME NUMBER JOBCOUNT
               WITH DS_NAME = FILE
               WITH CALLMODE = 'B'.
    greetings

  • CVI7 initial partial order is created with status SY but it is not distrib.

    hi,
    In CVI7 initial partial order is created with status SY but it is not distributed to recepient list attached with documnet which required to be sent,
    Please any one can let me know the process flow for this,

    hi,
    In CVI7 initial partial order is created with status SY but it is not distributed to recepient list attached with documnet which required to be sent,
    Please any one can let me know the process flow for this,
    Hi guru's,
    the above problem is sorted with help of workflow and basis consultant as in SWU3 RFC destination was not enabled,
    as now it is enabled, workflow is getting triggered but after creating distribution package it is generating error saying no receipient found,
    the mail is not reaching the SAP INBOX,
    Kindly let me know whether i missing any config.

  • Sftp batch job with password?

    Hi folks.
    We're trying to develop scripts to automate the transfer of files from various Windows machines to a Linux server.  Because the job involves moving multiple files to multiple directories, I wanted to use sftp's -B batchfile option to transfer the files instead of having to reauthenticate every time we transfer files to a different location.  However, the man page says:
    Batch mode. Reads commands from a file instead of standard input. Since this mode is intended for scripts, SFTP2 will not try to interact with the user, which means that only passwordless authentication methods will work.
    I would love to use keys to get this done but unfortunately, the type of authentication on the server is out of our control and not likely to change (it's straight password).  So, is there any way I can do this in batch mode with password authentication?  I thought about using scp but, as far as I can tell, it doesn't have great support for delivering multiple local files (in different locations) to multiple remote locations.  One would have to re-authenticate for every scp command, right?
    Any help would be appreciated.  Thanks.

    Thanks for the recommendation, Endperform, but after reading up on expect and autoexpect, I realized I'd rather not have usernames and passwords hard coded into the script.
    After much research, I think I've found a solution.  It's a little odd but the Maverick Ant library does exactly what I need it to do.  It can actually read an ssh profile, perform multiple transfers without having to re-authenticate and execute multiple remote commands without having to reauthenticate.  The native Ant libraries can't do this.  There is no sftp Ant task and the scp and sshexec tasks are lacking to say the least.
    If anyone else runs into a similar situation, I highly recommend the Maverick tool.

  • MRP Batch job RMMRP000 not woking but MD01 works

    Hi Gurus,
    We have a batch job running nightly for program RMMRP000 (MRP) in the morning when we check it, it does not propose any requirment. But when we run MD01 in the morning. It proposes requirments for materials. Why is this happening? I was told to check if the material is in the planning file and it is.
    What Am i missing.
    Thanks,
    Jograd

    Hi,
    That's okay, I think your background job running is no problem, because there are 64 materials planned. You should double check the other parts' planning file entry, whether they should be taken into account the MRP run? Normally there are the following prerequisitions:
    Material master data changed, e.g. some fields in MRP1, 2, 3 and 4 views;
    BoM or Routing changed;
    The requirements of parts with Higher Low-Level code changed, e.g. sales order, sales scheduling agreement;
    Production plan changed.
    And so on, all data is relevant to MRP. Check your production plan, it's daily plan or weekly plan!
    Regards
    Tao

  • Query on batch jobs with overlapping time during execution time

    Dear experts,
    This post is related to a task in SAP SCM EM module and currently I am working on an archival activity that comprises of two tasks to be done through 2 different programs (scheduled through batch jobs)
    Job 1 is created to deactivate particular Event Handler records (changing a status field on the EH record)
    Job 2 (archival job) runs daily and writes deactivated EHs to a local file and subsequently deletes this from SAP server.
    Archival job takes an average of 30 hrs to complete .
    Therefore my query is on how to schedule Job1, as these seem to be dependent and might impact each other in unexpected manner.
    Please advise.
    Thanks & regards,
    Mohan

    Hi Mohan,
    You can try as Daniel suggested. Delay Archieving job or can run after deactivating Event Handler records job is finished. Check any parallel processing is available or not.
    It can stop your overlapping issue and can increase your performance.
    Thanks,
    Bala.

  • Creating batch job with 5 classes

    Hi All,
    I have a requirement in which I have to do five different operations at different time instances.
    1.Generate a report at morning 11.00 AM.
    2.update a table with more than 6000 rows at night 12.30 AM
    3.Generate a second report querying from the database at 10.00 AM Everyday.
    4.Generate an automail at 11.30 Am Everyday
    All these are plain Java classes and not web components. How could I effectively design the batch job so that it doesnot take nmuch memory and design classes so that they must be reusable like DB connection,Getting a db field value frequently etc.
    Can any one help me on this.

    http://www.google.com/search?q=job+schedule+in+java&client=netscape-pp&rls=com.netscape:en-US

  • Idoc sent with status 03 but not arrive to destination

    Hi experts,
    I am working on idoc scenario on ECC6.0.I am pushing the idoc from R/3 system to Cast Iron Midleware (non SAP aplication).I have done all the prerequisites involved to pushing idoc-----
    maintain Rfc destinations,maintain port,partner profile,distribution model....
    But when i am pushing the reduced idoc from sender it's showing the status 03.when i am running RBDMOIND, some Idocs change status to 12 and others not, still in 03.
    I always sent the same Idoc to the customer. The strange thing here is that sometimes the same Idoc arrives destination without any problem and sometimes the exactly same idoc not arrives. That´s doesn´t make any sense..
    When I enter to SM58 I can see this message: Commit fault: java.lang.RuntimeException: java.lang.NullPointerException. Message no. SR053
    If I execute LUW the following message appears: Function module does not exist or EXCEPTION raised. Message no. SY359.
    Please tell me what I need to do or check. This problem is about to explote.
    Thanks a lot!

    Dear Federico,
    How you resolved this issue? I am getting the same, please find below log -
    RfcException: [ABC.com|ESB]
        message: check TID fault: java.lang.NullPointerException
        Return code: RFC_FAILURE(1)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
    Exception raised by ABC.com|ESB
    >>> RfcAbort [7] >Fri Apr 04 12:16:54,346< ...
    >>>> RfcAbort called by external program ...
        handle = 7
        text = check TID fault: java.lang.NullPointerException

  • Kill a job with status "Ready"

    HI all,
    Is there any way that I can delete or cancel a job which has a status "Ready"?
    Thanx in advance.
    Rgds
    Lalit Rana

    please only post your question in 1 forum.
    I answered you at How to kill a job in "Ready" status.

  • Camera photos look off-center but aren't really

    Does anyone have this problem? You take a pic with the iPhone camera and every one looks off-center? I tried taking a few today for the first time and they were all a little to the left. So I trashed them then tried again and same thing. Then I turned the iPhone landscape and voila the pic was centerd correctly. I turned the iPhone back straight up and again it stayed centered.
    But if I go back to the home screen, choose Photos, and select the same one, it's off-center again, until I turn it landscape and back, and then it's fine again.
    I post this to find out if this is happening to others or whether it's just a glitch in my iPhone. It's worth mentioning I figure since it may cause you to mistakenly think you took a bad picture and then trash it.

    Yes, I have this problem and searched forum and found your message. Thank you for the solution of rotating to landscape. It was driving me nuts. I don't know what is causing this behavior but am very surprised you have not received a response. This seems a very noticeable problem, but not so bad now that I have found out from you the image is actually ok. thanks, ralph
    Does anyone have this problem? You take a pic with
    the iPhone camera and every one looks off-center? I
    tried taking a few today for the first time and they
    were all a little to the left. So I trashed them then
    tried again and same thing. Then I turned the iPhone
    landscape and voila the pic was centerd correctly. I
    turned the iPhone back straight up and again it
    stayed centered.
    But if I go back to the home screen, choose Photos,
    and select the same one, it's off-center again, until
    I turn it landscape and back, and then it's fine
    again.
    I post this to find out if this is happening to
    others or whether it's just a glitch in my iPhone.
    It's worth mentioning I figure since it may cause
    you to mistakenly think you took a bad picture and
    then trash it.
    1.67 GHz 17" PB & 20" ACD, PowerMac Dual 2.5 & 23" ACD, Fuji F31fd   Mac OS X (10.4.10)   Airport Extreme Base Station and Airport Express

  • How to get all AD User accounts, associated with any application/MSA/Batch Job running in a Local or Remote machine using Script (PowerShell)

    Dear Scripting Guys,
    I am working in an AD migration project (Migration from old legacy AD domains to single AD domain) and in the transition phase. Our infrastructure contains lots
    of Users, Servers and Workstations. Authentication is being done through AD only. Many UNIX and LINUX based box are being authenticated through AD bridge to AD. 
    We have lot of applications in our environment. Many applications are configured to use Managed Service Accounts. Many Workstations and servers are running batch
    jobs with AD user credentials. Many applications are using AD user accounts to carry out their processes. 
    We need to find out all those AD Users, which are configured as MSA, Which are configured for batch jobs and which are being used for different applications on
    our network (Need to find out for every machine on network).
    These identified AD Users will be migrated to the new Domain with top priority. I get stuck with this requirement and your support will be deeply appreciated.
    I hope a well designed PS script can achieve this. 
    Thanks in advance...
    Thanks & Regards Bedanta S Mishra

    Hey Satyajit,
    Thank you for your valuable reply. It is really a great notion to enable account logon audit and collect those events for the analysis. But you know it is also a tedious job when thousand of Users come in to picture. You can imagine how complex it will be
    for this analysis, where more than 200000 users getting logged in through AD. It is the fact that when a batch / MS or an application uses a Domain Users credential with successful process, automatically a successful logon event will be triggered in associated
    DC. But there are also too many users which are not part of these accounts like MSA/Batch jobs or not linked to any application. In that case we have to get through unwanted events. 
    Recently jrv, provided me a beautiful script to find out all MSA from a machine or from a list of machines in an AD environment. (Covers MSA part.)
    $Report= 'Audit_Report.html'
    $Computers= Get-ADComputer -Filter 'Enabled -eq $True' | Select -Expand Name
    $head=@'
    <title>Non-Standard Service Accounts</title>
    <style>
    BODY{background-color :#FFFFF}
    TABLE{Border-width:thin;border-style: solid;border-color:Black;border-collapse: collapse;}
    TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: ThreeDShadow}
    TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: Transparent}
    </style>
    $sections=@()
    foreach($computer in $Computers){
    $sections+=Get-WmiObject -ComputerName $Computer -class Win32_Service -ErrorAction SilentlyContinue |
    Select-Object -Property StartName,Name,DisplayName |
    ConvertTo-Html -PreContent "<H2>Non-Standard Service Accounts on '$Computer'</H2>" -Fragment
    $body=$sections | out-string
    ConvertTo-Html -Body $body -Head $head | Out-File $report
    Invoke-Item $report
    A script can be designed to get all scheduled back ground batch jobs in a machine, from which the author / the Owner of that scheduled job can be extracted. like below one...
    Function Get-ScheduledTasks
    Param
    [Alias("Computer","ComputerName")]
    [Parameter(Position=1,ValuefromPipeline=$true,ValuefromPipelineByPropertyName=$true)]
    [string[]]$Name = $env:COMPUTERNAME
    [switch]$RootOnly = $false
    Begin
    $tasks = @()
    $schedule = New-Object -ComObject "Schedule.Service"
    Process
    Function Get-Tasks
    Param($path)
    $out = @()
    $schedule.GetFolder($path).GetTasks(0) | % {
    $xml = [xml]$_.xml
    $out += New-Object psobject -Property @{
    "ComputerName" = $Computer
    "Name" = $_.Name
    "Path" = $_.Path
    "LastRunTime" = $_.LastRunTime
    "NextRunTime" = $_.NextRunTime
    "Actions" = ($xml.Task.Actions.Exec | % { "$($_.Command) $($_.Arguments)" }) -join "`n"
    "Triggers" = $(If($xml.task.triggers){ForEach($task in ($xml.task.triggers | gm | Where{$_.membertype -eq "Property"})){$xml.task.triggers.$($task.name)}})
    "Enabled" = $xml.task.settings.enabled
    "Author" = $xml.task.principals.Principal.UserID
    "Description" = $xml.task.registrationInfo.Description
    "LastTaskResult" = $_.LastTaskResult
    "RunAs" = $xml.task.principals.principal.userid
    If(!$RootOnly)
    $schedule.GetFolder($path).GetFolders(0) | % {
    $out += get-Tasks($_.Path)
    $out
    ForEach($Computer in $Name)
    If(Test-Connection $computer -count 1 -quiet)
    $schedule.connect($Computer)
    $tasks += Get-Tasks "\"
    Else
    Write-Error "Cannot connect to $Computer. Please check it's network connectivity."
    Break
    $tasks
    End
    [System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
    Remove-Variable schedule
    Get-ScheduledTasks -RootOnly | Format-Table -Wrap -Autosize -Property RunAs,ComputerName,Actions
    So I think, can a PS script be designed to get the report of all running applications which use domain accounts for their authentication to carry out their process. So from that result we can filter out the AD accounts being used for those
    applications. After that these three individual modules can be compacted in to a single script to provide the desired output as per the requirement in a single report.
    Thanks & Regards Bedanta S Mishra

  • Splitter program for processing the IDOCS with status 64.

    Hello folks,
    I have a requirement explained below. I am looking for a sample code which could help me to jump start with initial development.
    Requirement:
    Develop a splitter program which retrieves all the IDCOS with status 64, create and schedule batch jobs with 200 IDOCS each. The splitter program with be scheduled every 15 min.
    Restrictions
    Only 150 batch jobs can be created at a time.
    Estimation
    There may be around 36000 IDOCS with status 64 every hour.

    Srinivas,
    Here is the explaination why we require a splitter program.
    Using RBDAPP01 parellel processing
    Let us assume there are 4 servers A, B, C and D in a server group. If we select RBDAPP01 parellel processing there will be too many RFC calls to the servergroup.
    (there are some more RFC calls later on for Order creation for example). As there is a restriction with number of RFC calls, we need to clear other RFC's before making new one. This is making complex and messy.
    Using RDBAPP01 serial processing
    For the volume of orders getting created each day, it takes a week to process those Idoca created in one day. Hence it is not a good solution.
    Splitter program
    We spawn 150 batch jobs with 200 records each. This way if we think it takes 20 min for each job to complete...by the end of 20th min we must had processed 30000 idocs.
    Hence it is the solution offered.
    Srinivas...still this confuses me..but if I am wrong anywhere please correct me.
    But your initial response has helped me a lot. Everything was blank to me, ur reply made it clear over the requirement.
    Thanks a lot,
    Naren

  • Material with Skip Inspection but no Skip-to-stock goods movement

    We have a material with the following QM setting:
    Inspection Type : 01 (Active)
    Skips Allowed = Yes
    automatic usage decision = Yes
    Inspection with Task list = No
    Dynamic Modification Rule = Set
    Cont.Ins Lot creation (QMAT-CHG) = "1. For each Material Doc, material, batch and sloc)
    Current DMR Stage is a Skip Stage
    For the above settings, when a GR is done for a material in Skip status, the system creates a Inspection Lot with status "SKIP" but still moves the stock to Q-stock.
    We expect the movement to be to "unrest" but this does not happen. Also, this Q-Stock Stock Type prints on the GR Slip, which incorrectly prompts the goods to be sent to Quality Inspection. This causes a lot of confusion in the GR/Inspection process
    I contacted SAP and they came back with this very unclear message:
    if you are using any form of the inspection lot collection the quantity of the inspection lot will be cumulated during the goods receipt postings. So a skip-to-stock would be dangerous as no check of the quality (UD) of the coming goods receipt would occur after the first goods receipt
    Has anyone else had this issue? Is there a use-exit that will work around this and move stock directly to Unrestricted use stock?

    Hi,
    We faced the same problem and went back to option:
    Cont.Ins Lot creation (QMAT-CHG) = "For each Material Document item
    This solves the problem and was in our case the solution for receipts from production. But at goods receipt for purchase orders we still use the option for each material document, batch and SL.
    There we pick up the materials in WM by hand by scanning the bar codes on the pallets (printed at GR). The transfer order creates a negative quant in unrestricted use that is later filled by the automatic usage decision that moves the stock from quality to unrestricted in the same bin.
    Hope this helps.....
    Arno

Maybe you are looking for

  • How can I create cd from IPhoto pictures

    How can I create a cd from my IPhoto pictures?

  • Win10 Preview : SendInput not working in certain condition

    OS : Windows 10 Preview, EN-US, x64 I have a background application use the SendInput() with the INPUT_MOUSE type to move the cursor. It fails when those applications of "Administrative Tools" in activate state. Is this the policy of Windows 10. Alfr

  • The Official Unofficial 'Arch is Best' Thread

    (Arch is the best distro ever...) ...at least for me. i know that one should not make claims that this or that distro is the best os.  my past 2,5 years have been a constant distro hopping. i've tried tons of distros, the only one that comes close to

  • Trying to put a background Image to a Page no-repeat top left failed.

    Trying to take advantage of the great work at CSS Zen Garden [ http://www.csszengarden.com/ ] yes is more than 1000 CSS Templates that can be used in a very good looking sites, my first attemt was to put a simple background Image in the page. On Page

  • Fechas

    Tengo una tabla que contiene una columna que es varchar. Si la fila tiene como tipo_dato=4 indica que fecha solo va a contener fechas del tipo 12-02-2004 Si tipo_dato es distinto de 4 no contiene fechas puede contener numeros, cadenas,.... Lo que pre