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. 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

Similar Messages

  • ARV_BC_XMB_DEL Fails With Raise Exception

    Hi All,
        I have scheduled the archiving job in PI 7.0 through sxmb_adm -> Schedule Archiving.
        After scheduling I can see two jobs successfully released
                1. ARV_BC_XMB_DEL - This job uses the program "RSXMB_DELETE_ARCHIVED_MESSAGES"
                2. ARV_BC_XMB_WRP - This uses the program "RSXMB_ARCHIVE_MESSAGES"
        The second job (which is archiving of xml messages) is running good but the First Job "ARV_BC_XMB_DEL" fails with a
        "ABAP/4 processor: RAISE_EXCEPTION."
       Both the jobs are running fine on DEV & QA systems.
       But the first job fails on Pre-Prod & Prd (which are high available systems).
       Any hints/help on why its failing with an exception on Pre-PRD & PRD ?
    <removed by moderator>
    Edited by: Mike Pokraka on Jul 24, 2008 12:52 PM

    Yes. This is what it says.
    Short text
        Exception condition "NO_DDIC_TYPE" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        A RAISE statement in the program "CL_ABAP_TYPEDESCR=============CP" raised the
        condition "NO_DDIC_TYPE".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        "RAISE_EXCEPTION" " "
        "CL_ABAP_TYPEDESCR=============CP" or "CL_ABAP_TYPEDESCR=============CM00C"
        "CL_ABAP_TYPEDESCR=============CP" "NO_DDIC_TYPE"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.

  • SEND_SYSTEM_RELATIONSHIP_TO_SUPP job fails with "No customer numbers ..."

    While executing SOLMAN_CONNECT tcode, I get the error
    SEND_SYSTEM_RELATIONSHIP_TO_SUPP job fails with "No customer numbers in transaction AISUSER".
    SAP note
    says problem fixed against ST 400 with SP SAPKITL431.
    I'm running NW 7.0 SPS 15 which has ST 400 SAPKITL425.
    I need to get SAPKITL431. but when I search SWDC for this package, I can only find SAPKITL430. I need to get SAPKITL431 in the download basket and have someone at SAP to turn off the MOPZ requirement so I can use DLManager to get the SP dlownloaded and installed. Are there other dependent SPs required. Or am I better off downloading SPS 16 or later.
    I need the MOPZ requirement turned off for this until I can get the fix and get MOPZ up and running.

    Hi Andreas,
    AISUSER was unchanged, which contained the S-user # for user DDIC and myself.
    I went thru the steps in note 1140822, eventhough I had turned off BAdI months ago when I was setting up the RFCs for SAP-OSS. I maintain just one S-User. Therefore followed option 2 in the note.
    Trying to implement snote 114822.
    An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception of class CX_SY_NO_HANDLER
    An exception of type 'CX_SY_OPEN_SQL_DB' occurred, that was not caught anywhere in the call hierarchy. It was not handled locally or  declared using a RAISING clause.
    TC SE19 shows AI_SDK_SP_RFC_RP as active.
    Selected New BAdI and Display.
    Re-executed note 1140822 and it worked this time. Apparently, the display of AI_SDK_SP_RFC_RP activated this implementation.
    Snote 1140822 completed. I set process status to completed.
    I reran MOPZ under tc solution_manager. I now get a different error. ERROR: E:/TMWFLOW/MO_BACKEND:025.
    I forced a run immediately on SEND_SYSTEM_RELATIONSHIP_TO_SUPPORT, whcih ran successfully NOW. 
    Now MOPZ runs fine and I can see my files to download. I did not have any logical systems to select, but MOPZ did pickup some patches anyway. Not sure why no logical systems at this point. I defined a few logicals for both SM and satellite systems. I'll address this issue separately and open new thread, if need be. 
    The one question that remains is using SE19 to display status of AI_SDK_SP_RFC_RP appears to of activated it. Is this right? It fixed something such that now the applying the snote worked in de-activating it.
    Thanks for all your help.
    -Don Isler - HP SAP CC.
    P.S. Is there a way I can upload or email you a word doc that has my screen shots and details of what I tried?
    Edited by: Don Isler on Jul 29, 2009 1:36 PM

  • OIM - Reconciliation jobs fail with Error: OPERATIONS_ERROR

    after integrating OIM with OAM for Fusion Apps provisioning (11.1.3), LDAP Reconciliation jobs fail with error OPERATIONS_ERROR.
    Connection to LDAP looks OK, new users created in OIM are synchronized to LDAP, just Reconciliation jobs fail:
    <May 1, 2012 10:00:50 AM CEST> <Error> <oracle.iam.platform.entitymgr.provider.ldap> <IAM-0042016> <An error occurred while getting the change log from LDAP - {0}
    javax.naming.NamingException: Error: OPERATIONS_ERROR
    Virtualization Session closed [Root exception is oracle.ods.virtualization.service.VirtualizationException: Virtualization Session closed]
    at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.getChangelogResults(
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.deltaDetect(
    at oracle.iam.ldapsync.scheduletasks.user.LDAPUserChangesReconTask.execute(
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(
    at org.quartz.simpl.SimpleThreadPool$
    Caused By: oracle.ods.virtualization.service.VirtualizationException: Virtualization Session closed
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.checkActiveAndIncrementOp(
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.deltaDetect(
    at oracle.iam.ldapsync.scheduletasks.user.LDAPUserChangesReconTask.execute(
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(
    at org.quartz.simpl.SimpleThreadPool$
    Reconciliation worked before integrating OIM with OAM.
    Any ideas what could be wrong - or how to investigate this issue?

    OVD changelog adapter was OK, but OVD URL was missing in the IT resource.
    Reconciliation works now.
    Thanks for pointing me to correct direction.

  • 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
    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.
    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.

    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 ?

  • Background jobs failing with ABAP/4 processor: RFC_CONVERSION_FIELD

    Hi Guru's,
    Below are the backgroud jobs failing with runtime Error " ABAP/4 processor: RFC_CONVERSION_FIELD" in  solution manager system (solution manager 3.0,SR2). Not sure why all these jobs failing with this dump on of sudden. i haven't made any changes to the system in the recent past.
    ABAp Dump says that
    Conversion error between two character sets
    What happened?
    Conversion error "ab_rfccon" from character set 4103 to character set 1100.
    When executing a remote function call a conversion error occurred. This
    occurred when receiving or sending the data. The conversion error can
    only appear, when the data is transferred from a Unicode system to a
    non-Unicode system.
    Could some one please share some information if any one experienced the issue. Please note that all of our ECC systems are uni-code systems.
    Thanks & Regards,

    Hi Vinod
    Just try to understand the purpose of these jobs and may be these Notes will help you
    Note 814707 - Troubleshooting for RFC connections Unicode/non-Unicode
    Note 647495 - RFC for Unicode ./. non-Unicode Connections
    Note 1361970 - Conversion problems during RFC communication

  • Sync failed with the exception "We have encountered an issue in syncing your data."

    Getting this rather useless sync error. Can you help identify our problem please.
    Sync failed with the exception "We have encountered an issue in syncing your data."    For more information, provide tracing ID ‘56e1113f-93db-4cee-9088-81d29ee39687’ to customer support.
    CTO of Hard Medium Soft Ltd. and Independent Developer

    Sorry to hear you met this issue.
    Please post your subscription ID and Sync Group ID.The Microsoft support engineer will help to sovle the problem from backend.Sometime delay might be expected. Your patience is greatly appreciated. Thank you for your understanding and support.
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • The PowerShell script failed with below exception

    I'm receiving the following errors on all SQL Express Servers (every machine that has SQL Express inside).
    it seems that the discovery has found SQL Express but could not connect to the instance.
    details on the alerts:
    Date and Time:
    10/22/2013 12:04:22 PM
    Log Name:
    Operations Manager
    Health Service Modules
    Generating Rule:
    Collect Power Shell Module Events
    Event Number:
    Logging Computer:
    The PowerShell script failed with below exception
    System.Management.Automation.RuntimeException: Exception calling "Fill" with "1" argument(s): "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not
    accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
    At line:44 char:19
    + $SqlAdapter.Fill <<<< ($DataSet)|out-null
    at System.Management.Automation.FlowControlNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
    at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
    at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
    Script Name: StolenServerMemory2008.ps1
    One or more workflows were affected by this.
    Workflow name: Microsoft.SQLServer.2008.DBEngine.StolenServerMemoryMonitor
    Instance name: SQLEXPRESS
    Instance ID: {9705795C-4F3B-C2EF-AA7D-C736B40FD6A4}
    Management group: SCOMGROUP 

    Some additional inf.
    anyway you can disable this rule/monitor as no control from monitoring solution in that case. Or try to rewrite the same monitor...
    The problem in your case is when function tries to get Max Server Memory MB by connecting to master DB, but you can replace it with performance counter like Target Server Memory (KB)...
    just see the function main in StolenServerMemory2008.ps1 and what you need to replace
    $api = New-Object -comObject "MOM.ScriptAPI"
    $bag = $api.CreatePropertyBag()
    $msg = [Environment]::NewLine
    $err = [Environment]::NewLine
    #try {
    $maxMemoryMB = GetMaxServerMemoryMB $ComputerName $InstanceName
    $stolenPages = (Get-Counter ("\" + $PerformanceCounterObject + ":Buffer Manager\Stolen Pages")).CounterSamples[0].CookedValue
    $pakeSizeKB = 8
    [double]$stolenMemoryMB = $stolenPages * $pakeSizeKB / 1024                                      
    [double]$stolenMemoryPercent = 0
    if($maxMemoryMB -gt 0){
    [double]$stolenMemoryPercent= 100.0 * $stolenMemoryMB / $maxMemoryMB
    $bag.AddValue("StolenMemoryMB", $stolenMemoryMB)
    $bag.AddValue("StolenMemoryPercent", $stolenMemoryPercent)                                  
    $msg += "StolenMemoryMB=$stolenMemoryMB StolenMemoryPercent=$stolenMemoryPercent"
    $msg += [Environment]::NewLine                          
    #debug $api.LogScriptEvent("SQL 2008 Stolen Server Memory data source", $SCRIPT_EVENT_ID, $INFORMATION_EVENT_TYPE, $msg + $err)                     
    #catch {
    #             $header = "Managegement Group: $Target/ManagementGroup/Name$. Script: {0}" -f ($MyInvocation.MyCommand).Name.ToString()
    #             $msg += "Error occured during SQL 2008 Stolen Server Memory data source executing.{0}Computer:{1} {0}Reason: {2}" -f [Environment]::NewLine, $env:COMPUTERNAME, $_.Exception.Message
    #             $api.LogScriptEvent($header, $SCRIPT_EVENT_ID, $ERROR_EVENT_TYPE, $msg + $err)                           

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ----------------------------

  • 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.

    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.

  • Job failed with error tempdb is not available

    HI All,
    Backup job failed with error 'Unable to determine if the owner () of job backup_all_user_db_full has server access (reason: The log for database 'tempdb' is not available. [SQLSTATE HY000] (Error 9001)).'
    I checked in errorlog
    LogWriter: Operating system error 1784(The supplied user buffer is not valid for the requested operation.) encountered.                                        
                        Write error during log flush. Shutting down server
    2014-09-09 07:46:25.90 spid52    Error: 9001, Severity: 21, State: 1
    2014-09-09 07:46:25.90 spid52    The log for database 'tempdb' is not available..
    2014-09-09 07:46:25.92 spid51    Error: 9001, Severity: 21, State: 1
    Can anyone suggest to why it is happening

    From the error message, it looks like the drive on which the tempdb log file is residing is having issues. 
    Please involve your storage admin to look into the disk subsystem

  • Indexing Lotus Repository fails with an exception

    I am trying to index a lotus repository. But after indexing around 10000 documents the indexing fails with an exception.
    "Crawler global_index_Telstra Technology Doc Library failed - com.sapportals.wcm.service.xcrawler.XCrawlerException: crawler task INDEXMANAGEMENT_global_index.409bc343-1a86-2710-0292-b5747d8b1241 terminated unexpectedly (retriever failure)"
    Does anyone have an idea why its happening like this
    Its a bit urgent

    Hi Prakash,
    assuming your intrante sites are crawled by a crawler profile "for Web-RM" the most common things you may still need to do are:
    - In the crawler parameters, Mark "Follow Links (or Redirects on Web-Sites)", if your start page(s)
    - On the intranet sites, check if they use robot information that says "noindex" or "nofollow" and possibly change that
    If that does not help...sorry, it's OSS again.

  • Email notification if batch job fails

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

    Check this thread..
    When a Job in SM37 fails means a email should be send

  • Setting up alarms when batch jobs fails

    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,

    check this document
    see in page-2.

  • Project Server 2010 - Update Scheduled Queue job failed with error message" Error no 131- AssignmentAlreadyExists"

    When I tried to update the schedule of the project , the job failed with the error message " AssignmentAlreadyExists". I further looked into the ULS logs but it wasn't that helpful.
    This is the message I found in ULS logs "type = UpdateScheduledProject failed at Message 5 and is blocking the correlation Errors: AssignmentAlreadyExists,Leaving Monitored Scope (FillTypedDataSet -- MSP_WEB_SP_QRY_ReadTimeSheetAssignmentsAndCustomFieldData).
    Execution Time=398.730006187937"
    Pplease help me to understand the root cause of this problem.
    I have verified all the assignments in the plan and I did not find any duplicates.
    Thanks in advance.

    This issue might need detailed troubleshooting, I would suggest you raise a support case with Microsoft.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

Maybe you are looking for