Background program is not working properly,when i am using job_open ,submit

hai ,
i am using job_open ,submit and job_close for scheduling one program background and use submit to another program ,all are working properly but it is working as a forground program not as abackground program. i want to work it as a background program.
plz give a solution.

Hi,
Please find a sample program format for executing a submit program in background.
DATA: number           TYPE tbtcjob-jobcount,
      name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
      print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
  EXPORTING
    jobname          = name
  IMPORTING
    jobcount         = number
  EXCEPTIONS
    cant_create_job  = 1
    invalid_job_data = 2
    jobname_missing  = 3
    OTHERS           = 4.
IF sy-subrc = 0.
  SUBMIT submitable TO SAP-SPOOL
                    SPOOL PARAMETERS print_parameters
                    WITHOUT SPOOL DYNPRO
                    VIA JOB name NUMBER number
                    AND RETURN.
  IF sy-subrc = 0.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = number
        jobname              = name
        strtimmed            = 'X'
      EXCEPTIONS
        cant_start_immediate = 1
        invalid_startdate    = 2
        jobname_missing      = 3
        job_close_failed     = 4
        job_nosteps          = 5
        job_notex            = 6
        lock_failed          = 7
        OTHERS               = 8.
    IF sy-subrc <> 0.
    ENDIF.
  ENDIF.
ENDIF.
Thanks & Regards,
Harish

Similar Messages

  • My program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.  I uninstalled the program and reinstalled again but nothi

    my program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.
    I uninstalled the program and reinstalled again but nothing gone better-
    What should I do?
    Best regards

    Do you have Logitech gaming software installed on the PC? If so, perhaps try the suggestion from the following post:
    Re: Everytime I close Itunes it loads back up

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • Clip inspector in imovie not working properly - when I select a picture - and select clip adjustment it tells me that I need to select one or more clips to view Inspector tools and in a clip the audio adjustment only shows a speaker? help

    Clip inspector in imovie not working properly - when I select a picture (in project library) - and select clip adjustment it tells me that I need to select one or more clips to view Inspector tools and when I select a movie clip and then click on audio adjustments the audio adjustment appears as a speaker icon and I don't know how to get to the various audio options? It was working fine one minute and then I seemed to lose the functionality. Also editing a photo in a photo or getting rid of ken burns effect etc does not seem to work. help

    Can anyone shed any light on this as I am having the same problem? One minute it works fine, the next you get the error message above.
    Many thanks.

  • Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • My macbook pro is not working properly , when is turned on after then show apple logo and continue show this or nothing.

    my macbook pro is not working properly , when is turned on after then show apple logo and continue show this or nothing

    Gray, Blue or White screen at boot, w/spinner/progress bar

  • I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    bunjamin wrote:
    There is now a new line in BBM that wasn't there before which covers the message that I am typing, so I can't actually see what I am typing.
    Hi bunjamin,
    just go to BlackBerry World, and update all your apps including BBM.
    bunjamin wrote:
    Every time I unlock my phone, my screen enlarges so I can't really see much on the hub/notification screen and it defaults to the hub which it didn't do before).
    you can turn off the magnifying glass :
    device settings >> accessibility >> magnify mode >> OFF
    you can deactivate the "reset to Hub view" :
    hub >> overflow (bottom right button) >> Settings >> Display and actions >> Return to Default View When Idle >> OFF
    bunjamin wrote:
    my ringtone is much softer than it was previously
    yes, BlackBerry has acknowledged this bug in this article from the public knowledge base:
    KB36755 After upgrading BlackBerry 10 OS to version 10.3.1 the volume for notifications is noticed to be significantly lower than in the previous version
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Swf is not working properly when upload to server

    I develop 1.swf which is having 3 buttons each one having
    anather .swf to call 2.swf, 3.swf respectively.
    This application is running perfectly on my PC, but
    While uploading the swf to server the 2.swf and 3.swf is
    not running. Can any one tell how to recover from this kind
    of problem.

    justbipin wrote:
    > basically my code working perfectly,
    > but its not working properly when upload to server
    > can anybody having any ref. or link to solve this
    issues.
    why is that we insist on seeing the source file ?
    There is no one way of doing things in flash and no one can
    help
    you based on "does not work description".
    This is way to broad of a subject to even try to guess.
    Same as asking "my car does not work, what's up with
    that"....
    Please upload the problematic file and provide url for us to
    check.
    Otherwise you need to try to troubleshoot it yourself as we
    can't
    guess from here what possibly is wrong with that file.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • TS1630 My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    You might like to define "not working properly".

  • Application does not work properly when I press a CommanButton

    Hi all, I am having a problem with weblogic 10.3.5.
    It turns out that an application built with JDeveloper 11.1.5, I test it, and everything goes well in the JDeveloper integrated Weblogic.
    But when deploy in a standalone weblogic 10.3.5 server, the application does not work properly when I press a CommanButton to go to another page search (the property "action" is set correctly) , but nothing happens, stays in the same home page. Similarly when a commanButton link to run a task-flow, It do not work , however in the JDeveloper integrated Weblogic it runs correctly.
    How I can solve these problems?
    Thanks.

    Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
    " http://<our ip>:7001/myApp/faces/index.jspx "
    this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
    But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
    In the Afternoon we gonna give you more information about it .

  • Flip Card Animation is not working properly when Button's PointOver State remain Activated.

     I am facing problems with flip car animation which is not working properly when its mouse point over state remains activated but it works perfect when its tapped two times and instantly change pointer position. Kindly Help me out as soon as possible.
    Code is here:
    Xaml:
    <Image Name="imgCapital" RenderTransformOrigin=".5,.5" Tag="1" Tapped="imgCapital_Tapped">
    <Image.Projection>
    <PlaneProjection RotationY="0"/>
    </Image.Projection>
    </Image>
    <Image Name="imgSmall" RenderTransformOrigin=".5,.5" Tag="2" Opacity="1" Tapped="imgSmall_Tapped">
    <Image.Projection>
    <PlaneProjection RotationY="-90"/>
    </Image.Projection>
    </Image>
    Storyboard:
    <Storyboard x:Name="FlipOpen">
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="imgCapital">
    <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="90"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="imgSmall">
    <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-90"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
    </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Name="FlipClose">
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="imgCapital">
    <SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="90"/>
    <SplineDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="imgSmall">
    <SplineDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
    <SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="-90"/>
    </DoubleAnimationUsingKeyFrames>
    </Storyboard>

    Actually i simply want flip card animation which is not working here in my code. When i tapped button to invoke animation its behavior not exactly flipping.  Its one side work properly but other collapsed suddenly not rotate if i keep mouse right at
    the button, but if i change mouse pointer at that very time after tapping it works properly. Mouse Pointer Over mean screen points where i tapped.
    Triggered Function is here:
      private void btnChangCase_Tapped(object sender, TappedRoutedEventArgs e)
                if(isCaseChanged==false)
                    isCaseChanged = true;
                    FlipOpen.Begin();
                else if(isCaseChanged==true)
                    isCaseChanged = false;
                    FlipClose.Begin();

  • I had photoshop elements 8 installed on my previous computer and it did not work properly when it came to sizing  photos for a website I was adding to.  I now have a new computer which runs windows 7.  Is it worth installing it again on my new computer?

    I had photoshop elements 8 installed on my previous computer and it did not work properly when it came to sizing  photos for a website I was adding to.  I now have a new computer which runs windows 7.  Is it worth installing photoshop elements 8 again on my new computer or will it be a waste of time?

    I have PSEv.8 on my computer running WINDOWS 7. It works perfectly..
    Perhaps you need help with saving files for web use.. Will be pleased to assist you when you get everything set up.

  • I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4?

    I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4? Mac OS X 10.6.8.  17" MacBook Pro

    Use your Software Update under the Apple menu, it SHOULD bring Safari up to 5.1.9 on OS X 10.6.8.
    Apple IS issuing security and other updates for Snow Leopard users.
    OS X 10.4/10.5 need to upgrade, 10.6.8 ok still
    Safari 6+ is only for 10.7+ users as OS X is morphing into iOS.
    10.7 and 10.8 will not run your PPC based apps of 10.5/10.6
    If Software Update is not working, then you have other issues, backup your users folders off the machine to a external storage drive (not TimeMachine!) and run through this list of fixes.
    Most commonly used backup methods
    ..Step by Step to fix your Mac

  • I have just downloaded Yosemite but I find that Photoshop Elements 11 does not work properly. If I use a tool like a paint brush or spot healer I cannot paint a full stroke?

    I have just downloaded Yosemite but I find that Photoshop Elements 11 does not work properly. If I use a tool like a paint brush or spot healer I cannot paint a full stroke does anyone else have this issue or know a solution?

    Many thanks that does work. But it now leads to another question is this simply a trackpad issue and if so will it be fixed? I use Elements every day and was thinking I would have to go back to Mavericks.

  • Image display control scrolling does not work properly when zoomed in

    I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
    Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
    Dirk

    Hello,
    no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
    I have attached a VI for simplicity (although there is hardly any code in it).
    If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
    I think it is a bug in the implementation of the image display control.
    Thanks,
    Dirk
    Attachments:
    scrolling.vi ‏818 KB

Maybe you are looking for

  • -5000 Error with no fix

    Hello. On July 27th i purchased Avenged Sevenfolds Nightmare (Deluxe Version). Everything downloaded just fine with the exception of the Nightmare (Deluxe Version)iTunes LP. This is a 254.1 mb file that holds all the extra things. The download progre

  • I can not download an update.

    Every day for the past week or so, I have received an Update notice. The notice says there is a security & stability update available and it is strongly recommended that I update ASAP. However, when I opt to download the update, my computer responds

  • How can i preview my persona in firefox if not submitted yet firefox 10.0.2

    How can i preview my persona in firefox if not submitted yet firefox 10.0.2, I cannot find the option

  • Pasted symbol from Illustrator becomes bitmap CS5

    I am working with Illustrator and Flash CS5.1 (working in AS2 document). I laid out a timeline in Illustrator and each timeline entry is a symbol with a line, the text for the entry, and a small document icon (also a symbol). I group those 3 items to

  • Audio for the menu

    I can't add audio to the main menu