Batch Jobs fail because User ID is either Locked or deleted from SAP System

Business Users releases batch jobs under their user id.
And when these User Ids are deleted or locked by system administrator, these batch jobs fail, due to either user being locked or deleted from the system.
Is there any way that these batch jobs can be stopped from cancelling or any SAP standard report to check if there are any batch jobs running under specific user id.

Ajay,
What you can do is, if you want the jobs to be still running under the particular user's name (I know people crib about anything and everything), and not worry about the jobs failing when the user is locked out, you can still achieve this by creating a system (eg bkgrjobs) user and run the Steps in the jobs under that System User name. You can do this while defining the Step in SM37
This way, the jobs will keep running under the Business User's name and will not fail if he/she is locked out. But make sure that the System User has the necessary authorizations or the job will fail. Sap_all should be fine, but it really again depends on your company.
Kunal

Similar Messages

  • Email notification if batch job fails

    Hi,
    My requirement is to send a notification to a user if the batch job fails.
    The batch job is a Z report program.
    Regards
    Suresh Kumar

    HI,
    Check this thread..
    When a Job in SM37 fails means a email should be send
    Regards,
    Omkar.

  • A Crystal Reports job failed because a free license could not be obtained i

    We have an enterprise application installed at a clients site where they have 10 CITRIX clients connecting to 5 APPLICATION servers (the servers are being load balanced). The application allows users to generate reports. The reports are generated on the APPLICATION servers. We have written some queued components which allow up to 5 reports to be generated at the same time. We have crystal reports XI installed on the APPLICATION servers. Currently we get the following error when users attempt to generate reports:
    A Crystal Reports job failed because a free license could not be obtained in the time allocated
    However if you change the queued components to only generate 1 report at any given time we do not get the error.
    Any ideas on what could be causing this?
    Thanks in advance.
    Raman.

    duplicate - please do not post multiple times

  • Temporary error "A Crystal Reports job failed because a free license ..."

    Hi all,
    We coded with VS 2003 a .NET 1.1 application which using the Crystal Report 9 Redistribution package .NET ready to display reports from measured data from our device. The data is stored in a SQL Server 2000 MSDE. Crystal Report has his own DB connection to the SQL server to read the data to display the report.
    Our application runs well on approx. 100 distributed installations. But on six customers installation we get this error. Actual on two customers PCs using the same DB we get the error "A Crystal Reports job failed because a free license could not be obtained in the time allocated.". This error pop up every time, when the report is shown. Although the report get shown completely.
    I observed in the 'Windows Event Viewer => "System" log after the above-mentioned error following entry "Crystal Report job was delayed 2 (sec)." once for every time when the user requested a report.
    I restored an empty DB on customers PC and the error don't pop up anymore.
    All CR .NET assemblies have the version 9.2.3300.0. I tested also the "CrystalReportNET_keycodefix.zip", but it doesn't help. I had checked for hours all the issues about this error message on the internet. I tested the most fitting solutions, but not one fix the problem.
    I tested customers full DB on my Virtual Machine with same installation, but I don't get the error.
    Cheers
    Ronny

    Hi Ludek<br>
    <br>
    Thanks for your answer. I checked all the things you asked me to do on both system.<br>
    <br>
    Here are the results from my investigations:<br>
    <br>
    <b>1) The keycode.dll was not on the not working PC.</b><br>
    I copied it to the root of C: as on the working PC. I registered it with regsvr32.exe and tested the issue.<br>
    => The problem still exist.<br>
    <br>
    <br>
    <br>
    <b>2) I compared the keycode on both system:</b><br>
    HKLM\SOFTWARE\Crystal Decisions\9.0\Crystal Reports\Keycodes\CR Ent<br>
    <br>
    non working PC:<br>
    1 AAP50-GS00000-U7000RN 131203342 3979604006<br>
    The code is different in comparison to the working PC, because I carried out the 'CrystalReportNET_keycodefix.zip'. Before this I made an export of the above registry key. Afterwards I wasn't able to merge this export (backup) again with the registry. I assume due to the included carriage returns in the keycode.<br>
    <br>
    working PC<br>
    1 XXXXX <br>
    <br>
    <br>
    <br>
    <b>3) I used the Process Monitor and got following error during the error sequence:</b><br>
    <br>
    I list only some key entries from the hundreds of error entries. Please inform me, how I can provide you the full logger files.<br>
    <br>
    non working PC:<br>
    WriteFile         C:\...\Administrator.QCNIR002\Local Settings\temp\~cpe{AD83....}    Fast IO Disallowed<br>
    RegEnumKey HKCR\Drive\shellex\FolderExtensions                                                 NO MORE ENTRIES<br>
    RegOpenKey HKLM\Software\Crystal Decisions\9.0\Crystal Reports\Database      NAME NOT FOUND<br>
    RegOpenKey HKCU\Software\Crystal Decisions\9.0\Crystal Reports\Database      NAME NOT FOUND<br>
    RegOpenKey HKLM\Software\Policies\Microsoft\Windows NT\DnsClient                 NAME NOT FOUND<br>
    <br>
    But I observed beside the results: No more entries, Name not found, Fast IO Disallowed, Buffer overflow (RegQueryKey) and Range not locked (UnlockFileSingle of printer driver) no other errors.<br>
    <br>
    <br>
    working PC<br>
    Operation:      Path:                                                                                Result:<br>
    WriteFile         C:\...\Administrator\Local Settings\temp\~cpe{AD83....}                 Fast IO Disallowed<br>
    RegEnumKey HKCR\Drive\shellex\FolderExtensions                                            NO MORE ENTRIES<br>
    RegOpenKey HKLM\Software\Crystal Decisions\9.0\Crystal Reports\Database NAME NOT FOUND<br>
    RegOpenKey HKCU\Software\Crystal Decisions\9.0\Crystal Reports\Database NAME NOT FOUND<br>
    <br>
    <br>
    <br>
    <b>4) Service Packs</b><br>
    We could only compare the file size of the Merge Module we used with the one you provided me in the above link.<br>
    <br>
    <table border=0 cellpadding=0 cellspacing=0>
    <tr>
    <td>file name</td>
    <td>file size of used Merge Module</td>
    <td>file size of SP1 Merge Module</td>
    </tr>
    <tr>
    <td width=150>crnetruntime.msm</td>
    <td width=100>4'764'672 Byte</td>
    <td width=100>4'770'304 Byte</td>
    </tr>
    <tr>
    <td>license.msm</td>
    <td>578'048 Byte</td>
    <td>578'048 Byte</td>
    </tr>
    <tr>
    <td>reportengine.msm</td>
    <td>10'701'824 Byte</td>
    <td>10'905'088 Byte</td>
    </tr>
    </table>
    <br>
    But I tried to install SP7 on my PC and on customers PC, but I got following error after I accepted the license agreement in the setup.exe: titlebar of window 'Information', Msg: 'Failed to create Backup folder -110' and just a button 'OK'. I got into an infinit loop and I could only end the process: 'IKernel.exe'.<br>
    Remark: I get the same error with SP5 and SP6.<br>
    <br>
    <br>
    <br>
    <b>5) Modules - comparison of DLL's</b><br>
    <br>
    I cross checked all the DLL in Modules, which begin with CR and some other, because there were over 100 DLL's.<br>
    <br>
    <table x:str border=0 cellpadding=0 cellspacing=0 width=834 style='border-collapse:
    collapse;table-layout:fixed;width:626pt'>
    <col width=385 style='mso-width-source:userset;mso-width-alt:14080;width:289pt'>
    <col width=179 style='mso-width-source:userset;mso-width-alt:6546;width:134pt'>
    <col width=110 style='mso-width-source:userset;mso-width-alt:4022;width:83pt'>
    <col width=80 span=2 style='width:60pt'>
    <tr height=17 style='height:12.75pt'>
      <td height=17 width=385 style='height:12.75pt;width:289pt'>CRHEAPALLOC.DLL</td>
      <td width=179 style='width:134pt'>9.2.0.2</td>
      <td width=110 style='width:83pt'>9.2.0.2</td>
      <td width=80 style='width:60pt'></td>
      <td width=80 style='width:60pt'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRPE32.DLL</td>
      <td>9.2.3.1183</td>
      <td>9.2.3.1183</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRQE.DLL</td>
      <td>9.2.1.625</td>
      <td>9.2.1.625</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRTOWORDS_EN.DLL</td>
      <td>9.2.0.14</td>
      <td>9.2.0.14</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE.DLL</td>
      <td>9.3.9500.10</td>
      <td>9.3.9500.10</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.REPORTAPPSERVER.CLIENTDOC.DLL</td>
      <td>9.2.3300.0</td>
      <td>9.2.3300.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.REPORTSOURCE.DLL</td>
      <td>9.3.9500.7</td>
      <td>9.3.9500.7</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.SHARED.DLL</td>
      <td>9.3.9500.10</td>
      <td>9.3.9500.10</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.WINDOWS.FORMS.DLL</td>
      <td>9.3.9500.12</td>
      <td>9.3.9500.12</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALKEYCODELIB.DLL</td>
      <td>9.2.3300.0</td>
      <td>9.2.3300.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>keycode.dll</td>
      <td>9.0.0.281</td>
      <td>9.0.0.281</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADCE.DLL</td>
      <td>2.81.1135.0</td>
      <td>2.81.1135.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADCER.DLL</td>
      <td>2.81.1117.0</td>
      <td>2.81.1117.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADO15.DLL</td>
      <td>2.81.1128.0</td>
      <td>2.81.1128.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADRH15.DLL</td>
      <td>2.81.1117.0</td>
      <td>2.81.1117.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSCORLIB.DLL</td>
      <td class=xl26>01/15/09 22:31:34</td>
      <td class=xl26>7/7/08 13:39</td>
      <td class=xl24></td>
      <td class=xl25></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>sqlresld.dll</td>
      <td>2000.80.382.0</td>
      <td>2000.080.0382.00</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>crdb_ado.dll</td>
      <td>9.2.1.542</td>
      <td>9.2.1.542</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    </table>
    <br>
    Please specify the more detailed, if you mean the Crystal framework files or the .NET files. Could you give me please the location of the framework dlls and database client dlls like a folder name, so that I can check also all of them.<br>
    <br>
    I can provide you also the Module logger files, if you require them.<br>
    <br>
    <br>
    I would appreciate your further help very much.<br>
    <br>
    Cheers<br>
    <br>
    Ronny
    Edited by: Ronny S. on Jul 6, 2009 4:57 PM
    Edited by: Ronny S. on Jul 6, 2009 5:02 PM
    Edited by: Ronny S. on Jul 6, 2009 5:17 PM
    Edited by: Ronny S. on Jul 8, 2009 11:44 AM
    Edited by: David Hilton on Jul 15, 2009 11:04 AM
    Removed private keycode.

  • Setting up alarms when batch jobs fails

    Hi,
    I hv a requirement to setup alarms whenever a sap batch job fails,  Can anyone help me in this regards.
    Thank you very much in advance.
    Kind Regards,
    Ahmed.

    check this document
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8065591d-ea33-2b10-a0af-f17c923874c8
    see in page-2.
    кu03B1ятu03B9к

  • Cisco ISE (Authentication failed: 24415 User authentication against Active Directory failed since user's account is locked out)

    Hi,
    I have a setup ISE 1.1.1. Users are getting authenticate against AD. Everything is working fine except some users report disconnection. I see in the ISE that (Authentication failed: 24415 User authentication against Active Directory failed since user's account is locked out). Users are using Windows 7 OS.
    Error is enclosed & here is the port configuration.
    Port Configuration.
    interface GigabitEthernet0/2
    switchport access vlan 120
    switchport mode access
    switchport voice vlan 121
    authentication event fail action next-method
    authentication event server dead action reinitialize vlan 120
    authentication event server alive action reinitialize
    authentication host-mode multi-auth
    authentication order mab dot1x
    authentication priority dot1x mab
    authentication port-control auto
    authentication periodic
    authentication timer reauthenticate server
    mab
    dot1x pae authenticator
    dot1x timeout tx-period 60
    spanning-tree portfast
    ip dhcp snooping limit rate 30 interface GigabitEthernet0/2
    switchport access vlan 120
    switchport mode access
    switchport voice vlan 121
    authentication event fail action next-method
    authentication event server dead action reinitialize vlan 120
    authentication event server alive action reinitialize
    authentication host-mode multi-auth
    authentication order mab dot1x
    authentication priority dot1x mab
    authentication port-control auto
    authentication periodic
    authentication timer reauthenticate server
    mab
    dot1x pae authenticator
    dot1x timeout tx-period 60
    spanning-tree portfast
    ip dhcp snooping limit rate 30
    Please help.

    The error message means that Active Directory server Reject the authentication attempt
    as for some reasons the user account got locked.I guess, You should ask your AD Team to check in the AD
    Event Logs why did the user account got locked.
    Under Even Viewers, You can find it out
    Regards
    Minakshi (Do rate the helpful posts)

  • Application user RMCM was found to be deleted from CUCM but agents unable to log into ACD queue was reported 2 weeks later

    Hello All, During an investigation Application user RMCM was found to be deleted from CUCM as per CUCM logs but the first issue of agents unable to log into ACD queue was reported 2 weeks later following a publisher reboot, I am trying to understand what could have caused this ? The reboot obviously could not have made any changes but the logs says RMCM users deleted on 09 May but issue was reported on 20 May and in the meantime services were said to be working without interruption . Can i have some suggestion to understand this to explain customer ?

    The RMCM user being deleted might not have triggered a JTAPI update on the UCCX side.  The publisher reboot which restarted CTIManager would have definitely triggered the update and forced UCCX to re-authenticate with the now non-existent user.

  • Hello everyone...I got my very first macbook pro just today and i have a problem deleting the "test" user account. if i can't delete it, the system won't let me turn off the system. I don't know what to do! HELP!!!!

    hello everyone...I got my very first macbook pro just today and i have a problem deleting the "test" user account. if i can't delete it, the system won't let me turn off the system. I don't know what to do! HELP!!!!

    Have you created another admin user? Go to system preferences click users and click the + to add a user; if you haven't already. Once you have another admin user other then the "test" user make sure you're signed out of the test user account. Sign in with the alternate ADMIN USER that you just created or had created already and go back to SYSTEM PREFERENCES and click the same USERS icon near the bottom. Now select the TEST user and click the - sign. This should prompt you if your sure you want to delete the user account. And your done.
    New User created and Test User deleted... I hope this helps.

  • User couldn't recieve the mail from SAP SYSTEM

    Hi all experts,
    User couldn't recieve the mail from SAP SYSTEM since the Unicode changes were pushed ,
    how to fix the issue ?
    Thanks & Best regards,
    Michael

    Hi Michael,
    Is the SAPConnect configured as per note [455140|https://service.sap.com/sap/support/notes/455140] ?
    Since you are talking about receiving emails, do you see the emails in SOIN transaction (or report RSBCSIN)? Have you tried telnet directly to the SAPConnect plugin as described on note [607108|https://service.sap.com/sap/support/notes/607108]
    What is the value of parameter is/SMTP/virt_host_<*>?
    Regards,
    Tiago

  • KSV5 Batch Job fails on second day

    Hi All,
    We execute KSV5 in batch for first four days(i.e. 01 till 04 of new month) of new month.
    First day the Batch job runs successfully, but balance 3 days the job fails with an error as
    (program RKGALKSV5, variant XXXX DSB, user ID BATCH)
    The reversal has not been updated
    Message no. GA534
    Diagnosis
    Because CCA: Actual Distribution has already run, old document numbers are reversed before processing begins. Processing can only begin once reversals have been updated. If processing occurred earlier, debits and credits not yet reversed would be affected.
    To ensure this, the reversal sets a lock (ENQUEUE EK811D) which is only removed once updates have been made.
    The processing waits until the block has been removed. The maximum time processing will wait is determined by the profile parameter ENQUE/DELAY_MAX. The default for this parameter is 5 seconds. Normally this amount of time is sufficient; however, certain factors such as high system usage can delay updates.
    This is the case here.
    System Response
    Processing of CCA: Actual Distribution is not started.
    Procedure
    Wait until the reversal has been updated. You can monitor the update with the menu path Tools -> Administration. If the update is not made due to a system error, contact your system administrator. If the reversal is updated, restart the processing. Because reversal has been performed, processing starts immediately.
    If this error occurs repeatedly, increase the value of the ENQUE/DELAY_MAX profile parameter. Processing then will wait longer for the reversal to be updated. Consult your system administrator before you change the parameter.
    We are not sure where & how to update the wait time in Profile Parameter.
    Can you pls advice, how to fix it.
    Appreciate your help.
    Regards,
    Dixon.

    Hello Dixon,
    Are you running the same cycle each time ?
    so you run, and reverse and then run and reverse  ??
    or is it 4 different cycles ?

  • Batch job failing with INVALID_STARTDATE exception

    Hello Experts,
    our batch  job  runs 17th minute of every hour on daily basis.It is running successfully from 00:17 AM to 20:17 PM and gets completed within 1 hour for every run.
    But when it is starting 21:17PM, it keeps on running for next 5-6 hours and then gets cancelled with error "Invalid_startdate"
    Currently it is posting all the idocs.Idoc status is 53. But the problem is  closing the job Function module JOB_CLOSE is throwing an exception "INVALID_STARTDATE" and gets cancelled.
    Could anyone please provide us any help on this.

    Usually this message is raised because of:
    Unsupported combinations of specifications, such as periodic repetition of jobs that were scheduled to wait for a predecessor job
    Incomplete or incorrect specifications, such as an incomplete start date.
    but..is your SAP in a time zone 3 hours different from yours?
    e.g. New York has already a new day when you have 9PM in LA

  • TS3992 icloud phone backup failing because wifi disconnects automatically when locked

    I'm trying to use icloud backup for the first time. I have 15GB storage available and my backup is going to be a little over 5GB.
    Every time I start the backup, it fails because it says I am not connected to wifi. I do have a very good wifi signal and I am plugged in, the problem is that when the phone is locked, the wifi automatically disconnects.
    What can I do?
    Thanks

    Replace your router the issue is your router isn't maintaining connectivity

  • User does not appear in group created from SAP role

    Hello --
    I have a user that has logged into InfoView successfully with SAP authentication and is showing in the CMC under the "User List." When I view the list of users in the group that was created from the SAP role he was a part of, he is not there.   When I go to the user account and view "Member of," the group IS shown in the list. 
    Any idea?  Any way I can "refresh" the group or anything like that?
    Thanks
    Casey

    Thanks for the replies.
    We are on XI 3.1 FP1.8 and we do have a CMS cluster.  Server reboots this weekend seem to have resolved the problem. I am curious why this question was asked, though:
    "Did you reassign the user to another SAP role after the user has already logged at least once in the InfoView?"
    Is this something that could have caused the problem or is it a possible workaround if we run into the issue again? 
    Thanks again...
    Casey

  • User not able to receive an emaik from SAP to Outlook.

    User is not able to receive an email from SAP to Outlook.In SCOT the configuration to receive email has been set up and all other users are able to receive the emails except one user. Even the email address of the user is correctly entered in the user master record. What is the authorization required to be setup for this user from security perspective ?
    Thanks.

    Hi,
    We have configured  the SMTP server in our system to send out mails, but we donot know the configurations for receiving mails. [ We are not using SAP exchange connector (is it needed?) ]
    I have read the note 455140 and 54617.
    But i am stuck on , What are the configurations to be done on the MS Exchange Server 2003 for redirecting the mails received in the inbox of a particular user to the SAP system.
    The note says it has to be configured to redirect mail to <hostname>: <port>  But where exactly do we define the routing rules.
    If anyone has a detailed document on what are the configurations involed in receiving mails, Please send it.

  • Batch job failing-error"SUBMIT authorization F_001 required"

    hi Experts,
    One job kept failing -job log saying"SUBMIT authorization F_001 required"-please guide

    Hi Julius and all,
    Thanks for inputs,here the Auth group missing is clear--its "F-001".
    But the problem is this that User is able to run this some days before and still able to run the job in quality,(and also i am able to run the job in Fix and quality systems for test id created identical as user),but getting this error only in production.
    Same roles are given in all systems.(with No f_001 is given under P-Group in Fix and Quality also)
    Also nothing comes up in traces
    Is it possible that this Auth Group is given under some more broad auth group/s whoes access granged in Quality systems like two or three Auth group defined under some Auth group and access is coming from that Parent Auth Group?
    Please tell if this kind of Grouping and relation-ship possible for Auth Groups or not
    Thanks Again

Maybe you are looking for

  • Is there a way to prevent Itunes from transfering a single album to Ipod?

    Hello everybody, I am trying to find an alternate way to prevent a cd from transfering from my Itunes library to Ipod, instead of turning off the auto-update and manually transfering my music. any help will be appreciated. Thanks

  • Not displaying correctly on my LCD HDTV?

    Ok everytime I plug in my MacBook Air to my Dell Flat Panel TV/Monitor with the VGA cable, I get the desktop background (Aurora) only, there are no icons, menu, mouse etc., it is like frozen Please help.

  • Calling one application into another

    how can i call one application file into another so that session should not expire in any way Has anyone done such like that

  • External URL for a webform

    Hello, I am using Oracle BPM Webforms and I was wondering if it is possible to have an external URL for a webform so a user wouldn't have to login to workspace to kick of the process? Thanks!

  • Account cannot be directly posted

    Dear Expert, Running the  FAGL_FC_TRANSLATION program and upon running the program it has an error due to trying to post to reconciliation accounts. Assets & AP. Do you know if their is a area to configure? Regards Tom