Job Error Message "There is a job that has not yet ended"

Hi.
I have an Report that must starts with an Job. The Reports calls the report RFBIBL00.
I create an entry in the Transaction OBDU and then i define a job.
At the first run, all is ok. But when the job must run a second time, i get the error  message BD 077. There is a job that has not yet ended....
What must I do? The both job have the status "finished"...
Thanks
Marcus
Edited by: Marcus Ventur on Jun 26, 2009 11:26 AM

Hi,
Use this code, it may help you.
FORM BACK_GROUND_JOB.
  W_JOBNAME = 'JOB1'.
  CALL FUNCTION 'JOB_OPEN'
       EXPORTING
            JOBNAME          = W_JOBNAME
       IMPORTING
            JOBCOUNT         = W_JOBCOUNT
       EXCEPTIONS
            CANT_CREATE_JOB  = 1
            INVALID_JOB_DATA = 2
            JOBNAME_MISSING  = 3
            OTHERS           = 4.
  IF SY-SUBRC NE 0.
    MESSAGE S368(00) WITH 'Error Creating Job'
    SY-SUBRC.
    EXIT.
  ENDIF.
  SUBMIT Prgoram
      VIA JOB W_JOBNAME
      NUMBER W_JOBCOUNT
      AND RETURN.
  CALL FUNCTION 'JOB_CLOSE'
       EXPORTING
            JOBCOUNT          = W_JOBCOUNT
            JOBNAME           = W_JOBNAME
            STRTIMMED         = 'X'  " Immediate
       EXCEPTIONS
            INVALID_STARTDATE = 1
            JOBNAME_MISSING   = 2
            JOB_CLOSE_FAILED  = 3
            JOB_NOSTEPS       = 4
            JOB_NOTEX         = 5
            LOCK_FAILED       = 6
            OTHERS            = 7.
  IF SY-SUBRC > 0.
    MESSAGE S368(00) WITH 'Closing Job Failed'
    SY-SUBRC.
    EXIT.
  ENDIF.
ENDFORM.                    " BACK_GROUND_JOB
Thanks
Ravi Kanth

Similar Messages

  • I've tried to open itunes but just get error message saying this version of itunes has not been correctly localized for this language. Please run the english version

    Looking for some help.  I am trying to open itunes and I keep getting an error message saying "This version of itunes  has not been correctly localized for this language. Please run the english version"
    Can anyone help.

    Hi there nisbetk,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    -Griff W.

  • I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    Yes, the store didn't properly activate the card. If the store is nearly then you could try going back and asking them to do so, if it isn't (or if they can't/won't help) then try contacting iTunes Support (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • When i log in my apple id in itunes a message prompt me "This Apple ID has not yet been used with the itunes store" what do i need to do?

    when i log in my apple id in itunes a message prompt me "This Apple ID has not yet been used with the itunes store" what do i need to do?

    If you can log into the computer, go to the Mac App Store and purchase Mavericks under your AppleID.   Even though its free, they still consider it a purchase.
    If you are not able to log into your Mac you can try on a different Mac.  Once you purchase it, you can stop the download if you want.
    Once you do that then you should be able to reinstall via the Recovery HD

  • Hi! I can not go to ITunes. An error. It says: This Apple ID has not yet been used with the iTunes Store. What to do?

    Hi!
    I can not go to ITunes. An error. It says: This Apple ID has not yet been used with the iTunes Store.
    What to do?

    Go view your account and make sure you have a valid payment method in your account.

  • I have Apple ID but I can not download Apps even for free, message box appeared "This Apple ID has not yet been used with the iTunes".

    I have Apple ID but I can not download Apps even for free, message box appeared "This Apple ID has not yet been used with the iTunes".

    You can create an account without a credit card, check here:
    Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card

  • When i try to update OS it's showing this message why? This Apple ID has not yet been used with the App Store.

    when i try to update OS it's showing this message why? This Apple ID has not yet been used with the App Store.

    Hello Daijalove97,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    To use your Apple ID at the iTunes Store
    Open the latest version of iTunes.
    Choose Store > Sign In from the Store menu.
    Enter your Apple ID and password, then click Sign In.
    Click Review when asked to review your information.
    Enter your billing information, a credit card will be required.
    Click Continue when you're done entering your credit card and billing information.
    Best of luck,
    Mario

  • Error Message: Photoshop detected graphics hardware that is not officially supported.

    When I first installed the Beta version of CS6 a message saying "Photoshop detected graphics hardware that is not officially supported." came up. When I tried using the Oil Paint filter this came up.
    http://i338.photobucket.com/albums/n426/island_girl6363/GraphicsError.png
    How can I fix this?

    Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:5, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 2
    Processor speed: 2128 MHz
    Built-in memory: 3767 MB
    Free memory: 1725 MB
    Memory available to Photoshop: 3230 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: False.
    OpenGL Allow Advanced Mode: False.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: Intel
    Video Card Renderer: Intel(R) HD Graphics
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 768, right: 1366
    Video Card Number: 1
    Video Card: Intel(R) HD Graphics
    OpenCL Unavailable
    Driver Version: 8.15.10.2202
    Driver Date: 20100825000000.000000-000
    Video Card Driver: igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics
    Video Card Memory: 1755 MB
    Video Rect Texture Size: 4096
    Serial number: Tryout Version
    Does this help? It didn't say 2000 or 3000 (or at least that I could tell)

  • Abort task that has not yet completed writing

    I am generating some analog signals through DAQmx -- these waveforms can be >10 seconds long by necessity (the sample rate is very low). I would like to be able to stop the output of the waveform when I press a button. What happens now, when I use the Clear Task vi, Labview waits some time and throws an error (Error -200292, Some or all of the samples to write could not be written to the buffer yet. More space will free up as samples currently in the buffer are generated.). The task is subsequently cleared, which is what I want, but I don't want the wait time. Is there some way to interrupt the writing of the task? I know it is theoretically possible, becuase I can stop the vi and the output stops, but that is not really a feasible solution.
    Thanks! 
    Solved!
    Go to Solution.

    Like the DAQmx Stop Task VI?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is it possible to embed a Juicebox gallery to a Muse site that has not yet been launched?

    I tried FTP'ing my gallery files to my current hosting service and pasting the link into the html object for the new site I'm doing in Muse, which I haven't officially launched. This didn't work. Does the Muse site have to be hosted and in the same directory as the gallery in order for this to fly? I don't know a thing about code or webpage development besides what I've poked around and learned using Muse over the past few weeks. Any insight would be greatly appreciated.

    In short, yes, your site files including Gallery 'should' be on the same server and within the same directory structure. I say 'should' because technically that is the way it works. There is specific instances that it is not the case but in the case you are describing the answer would be they need to be together.

  • Error message. "This version of itunes has not been correctly localized for this language.  Please run the English version."

    itunes will not boot up.... get this message - but no idea of what to do to correct. 
    help

    Hi aber123,
    This article has troubleshooting for launch issues:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Alternatively, you could follow this article and just try to reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Cheers,
    - Ari

  • How can i delete my Apple ID to a email that is not yet been used with the iTunus Store

    hey is there any way i can delete an account that has not yet been used with the iTunus Store because back when i created that Apple ID I did not do it well so i couldnt use it but it was created now i can nor erase or use this account (without credit card) It would really help me if you helped Thanks.

    Bolitho wrote:
    I changed my Apple ID,
    You updated your AppleID with new email address or you created a new AppleID account?

  • How can I delete a purchase (Mavericks) that has not downloaded from my account?

    How can I delete a purchse that has not yet downloaded (Mavericks) from my account? I contacted App Store support and my responder claims to have deleted Mavericks from myaccoount. He didn't; it is still there, under the purchases tab-in the cloud. Thank you.

    Hi Dah-veed
    Thanks for your response. But it doesn't make sense. Mavericks wouldn't download, and although I decided that I wasn't ready for it yet (incompatibility issues), I would like to be ale to get it (OSX) in the future, and if it shows as 'purchased', I won't be able to 'start over' fresh.
    Rachel

  • Error in Transport- has not yet been imported successfully in target system

    Hi Folks,
    I'm facing a problem with the transport of a workflow : it 's creating following error :
    Diagnosis: The object R3TR SOBJ ZYBUS2000 has not yet been imported without error.
    System response
    Import post-processing is not performed for this object.
    Procedure
    Examine the import log for this transport request for error messages.
    Repeat the import after removing the cause of the errors.
    How can I solve this ? could you please suggest me.
    thanks in advance !
    Regards,
    Naresh

    Hi,
    Check the transport log of the request and the long text where you can find the detailed descrition of the error. Change the BOR accordingly.  Check the syntax of the BOR object ZYBUS2000 regenrate , activate it and  retransport.
    Regards,
    Vaishali.

  • Sending job error message to admin by email

    Hi everyone...
    Anyone knows how to send job error message to admin by email? For example, if crawler failed, an email is sent to admin with the error message. I'm thinking of building windows service which run at the background and knows when a job fail and send the error message through email to admin.
    Is there a better way?
    Cheers,
    Jefi Santoso

    hi,
    >>>Can this be achieved through BPM?
    yes you can put your transformation step
    and send step in a block and specify an exception
    branch and catch all exceptions that will
    occur during transformations and the send step
    then you can send info from the exception branch to
    any other system
    you won't be able to catch the error's name
    but you will be able to notify any thinrd party
    about the error
    more on error catching:
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm
    Regards,
    michal

Maybe you are looking for

  • Acrobat printing certain PDF's with 8 - 9 lines across the pages.

    A few Acrobat user's are seeing thin black lines on the printed pages.  We do not see the lines on the PDF on the computer screen.  I am unable to reproduce the issue with Acrobat Pro 10.1.3, I upgraded the user that brought this to my attention to A

  • Runtime.exec - Too Many Open Files

    System version : Red Hat Enterprise Linux 2.4.21-47.ELsmp AS release 3 (Taroon Update 8) JRE version : 1.6.0-b105 Important : the commands described below are launched from a Web application : Apache Tomcat 6.0.10 Hello, I'm facing a problem already

  • Help!! Calling PL/SQL with table of objects params

    Hi JDBC experts, This is probably a familiar problem to many of you and I was hoping you can help me. I have a JDBC application that makes calls to a PL/SQL stored procedure that accepts and returns tables (arrays) of objects. I have an equivalent re

  • HR & Payroll Archiving

    Hi, Can anyone explain the activities to be carried out by a SAP HR consultant for achiving HR & payroll data? Any checklist has to be followed for pre archival and post archival? Thanks Rajesh

  • Transparent Data Encryption clarification

    Hello All, {color:#993300}http://www.oracle.com/technology/deploy/security/database-security/transparent-data-encryption/tde_faq.html#A12010 Does the database memory (SGA) contain clear-text or encrypted data? With column-level TDE, encrypted data re