What happens in the background when a job is scheduled!!!

Hi,
   Can anyone tell me what exactly happens in the background in SAP when a job is set to "Scheduled" ( sm37) .
Can v see the code executed in the background during the transtion from " Scheduled" state of a job to" Cancelled" to "Complete" state.
Its urgent,
Answers will rewarded,
regards,
Rohan

Hi Rohan,
Jobs and job steps enable you to treat complex tasks as single units. That is, you can schedule several programs needed to complete a particular task as steps within a single job, with the advantage of the job being single logical container for all the steps needed to complete the task. You need to schedule or review only one background job in order to schedule or review any of the individual steps necessary for completing the task.
Assume that a particular data transfer with batch input requires that you start two programs, an external program to prepare the batch-input session and an internal program to process the session. Creating a job made up of two steps lets you handle the two programs as a single unit. Scheduling that one job schedules both programs. The results of each program's run can be seen in the job log.
Some background processing attributes apply to entire jobs and, therefore, to all job steps within a job. For example, the earliest possible start time for any job steps will be the start time for the job. Frequency of repetition, priority, and other global attributes also apply to the whole job.
To ensure that you can flexibly run individual programs, you can set important attributes individually for each job step, too. Each job step can:
have its own spool, or output, specifications
run under the authorizations of a separate user
use a different language
have its own runtime options (for programs external to the SAP System), such as handling of error output and synchronicity
In general, job steps run sequentially and synchronously in the order they're entered in a job: the first step starts, runs, and is completed, then the second step starts, and so on. The only exception is when you schedule an external program to run asynchronously. In this case, the background processing system starts the next job step without waiting for a return code from the external program. If the external program runs long enough, then the start of the next job step may overlap it.
Job steps run partially independently of each other’s status. That is, the abnormal termination of one job step does not roll back the work of a previously completed job step if this previous step was executing a commit. If any job step fails, however, then the entire job fails. No further job steps are carried out, and the job's status changes to Canceled.
There are two types of job steps:
An executable ABAP program
Only type 1, or executable, ABAP programs can be used as job steps. Module pools and function groups, which are collections of ABAP modules, are not allowed. The specifications required for an ABAP job step are:
ABAP program + Variant + Print and archiving parameters + Language
An external command or external program
This type of job step allows you to run programs outside the SAP System. External commands are predefined, authorization-protected commands for end users. External programs are unrestricted, directly entered commands reserved for system administrators.
The type of external command and external program is unrestricted, meaning that you can use either compiled programs or scripts. Such programs can be run on any computer that can be reached from the SAP System. Parameter passing to non-SAP programs is completely unrestricted except by the predefinition mechanism for external commands.
Output of non-SAP programs, particularly error messages, is included in the job's log file.
Specifications required for an external command or program are:
External command + Type of operating system + (Parameters) + Target host system
External program + Parameters + Target host system
Job Step Language
If your SAP System runs with an Arabic, Cyrillic, or Asian character set, then you may need to change the language specified in the standard background jobs listed above. Languages are assigned to jobs based on job steps. Be sure that the language specified in the job step definition in each of these jobs is set to English (EN).
This change is required because not all languages are available with all code pages. If the job’s specified language is not available, the job will not run.
<b>Reward pts if found usefull :)</b>
Regards
Sathish

Similar Messages

  • What happens to the outputs when I reconfigure the 6524 card?

    I have an application where I want to recongure the card throughout my program. For example I might initially want to set a single 8 bit port, so I could use Dig_Prt_Config and Dig_Out_Prt. Then I might want to output a batch of data using buffered IO so I use DIG_Block_PG_Config and DIG_Grp_Config to configure the card again. My question is what happens to the output states when I do this. If the port is then assigned to a group what happens to the outputs at that point? Do they remain unchanged until I do a Dig_Block_Out or do they all turn off? I guess I will find out when I try it, but it would save me from throwing away code if I knew now,
    Thanks,
    David

    David,
    I assume you have the 6534 board. On the 6534 board, reconfiguring the port will not affect the output value. Well, as long as the direction map doesn't change. Anyway, hope that helps.
    Ron

  • What happens to the conversation when you delete or move a message?

    I've always been a bit unclear what happens to other message in a thread/conversation when you delete or move the current message you are reading.
    Therre are 3 relevant view settings it seems:
    Organize by conversation (turned on).
    Display selected message only (not selected - why would one want to select this if organizing by conversation? Is there a use for that?)
    Show/Hide related messages (turned on so I can see replies I sent in the conversation).
    If I want to move the current message I'm reading, it seems to move the entire conversation to the target folder. But that's not what I want to do.
    Yet if I delete the current message I think it only deletes that one message.
    I'm a bit confused about how to think of this. Sometimes I see messages show up under "related messages" that are a year old that I thought I long deleted.
    Any easy way of thinking about how this is all working?
    Thanks,
    doug

    After using deauthorize all you need to authorize any computer that you wish to use to manage content on the device or unauthorized & protected content will be removed next time you make any changes to the content on the device.
    tt2

  • What happens to the apps when I press the home button on iPod touch?

    Yeah, I know that sounds obvious, but I need to know the idea behind it. In iOS 4, you can multitask, but only if you have an iPod touch 3rd generation (32 or 64 GB). I don't have an iPod touch 3rd generation; I have the 8 GB 2nd generation, which I upgraded to iOS 4, so I have no multitasking for 3rd party apps.
    So my question is: On my 2nd generation iPod touch that runs iOS 4, if I close a 3rd party app that uses Push Notifications (such as Facebook or Textfree Unlimited) by pressing the home button, will it still run in the background?
    Message was edited by: dlee099

    I'm not dead certain of this, but I think the only push mail supported is Apple's MobileMe. When you launch another app the current app is closed. The Home button should close any running app. The only exception I've noted is if you are playing music on the Touch which seems to continue playing even when running another app.

  • Smart object - what happens to the pixels when i transform?

    So i place an image into an open photoshop document, using the place command, of course. it is now a smart object, my question is when i transform or resize without constrain proportions( for example only enlarge the width, the hight unchanged) resample should occur right? are there pixels added only to the width and what kind of resample method is used? oh and how about when i warp this smart object, how do its pixels behave then?

    Good day!
    As far as I know the Image Interpolation Preference should determine the resample method.
    Regards,
    Pfaffenbichler

  • What happens to the users when ISE is reloaded?

    Hello,
    We have a need to reload ISE and I am wondering what the end user experience would be.  Will they be booted from the network or will the reload be transparent to them?
    Version:
    1.2.0.899
    Patch Information:
    1,2
    Please let me know if there is more information needed in order to answer the question.
    Thank you!
    Beth

    What Robert said is correct.  One thing to add.  If an authentication timer expires for a currently authenticated session and the client is asked to reauthenticate, this will also fail until the ISE services are back up.

  • What happened to the ding when I got new mail?

    How do I get a "sound" when I receive a new e-mail message? Up until today I would hear a ding but now it is not sounding.

    Thanks. I read the doc, and basically the method I used to resolve the problem was based on that. Since the import dump will generate an archivelog, in my case more than 25G, How can I avoid the archiveloging during theb import dump, some kind of switch-off? Otherwise, how can I know how much archivelog will be generated by the process in order to change flash_recovery_area.
    Message was edited by:
    user508054

  • What happens to the catalog with an improper shutdown?

    I am wondering what happens to the catalog when lightroom does not shut down properly.
    After using lightroom for almost 2 years with no problems, the past few days have just been insane with issues and lost work.
    Today, our power went out while I was working and when I turned my computer back on, sure enough my catalog was corrupt.
    Thankfully It was able to repair itself. It got me thinking though, I have had this happen a few times before in the past couple years and I have NEVER had a damaged catalog until this week. What happens with an improper shut down that screws the catalog up so badly?
    I am now to the point where I am terrified to work in fear that I will lose everything. I am hoping the XMP thing will save my butt in the future, but should I always have to be worried like this? Lightroom just doesn't feel as strong as it used to now that everything we have worked on this week has been damaged...

    A crash of any sort while you're working with any complex application with major work going on is disheartening/frightening/annoying. I have been fortunate to have escaped any O/S or power deficiencies in my time with LR, but no one is completely immune.
    If you have major stuff going on and aren't backed up the way you'd like, just quit LR, make a copy of the current catalog, .lrcat, and relaunch. You can also send the metadata to the files, as you've noted, but I like the former way. Or do both!  -Hope this helps allay some fear.

  • What happens to the open item in bsid table when it is cleared

    hi experts,
                   i have a doubt about open and cleared items of accounting documents. as we know open items of customers are stored in bsid and cleared ones in bsad. For suupose, an open item is closed ina particular period then what happened to the entry in bsid and bsad table. an entry regarding is stored in bsad (cleared),and what happens to the entry in bsid, still it will be there or removed from it.

    Hi,
    When ever we clear the document(Complete payment) that document will be moved to BSAD table. Other wise it will remain in BSID.
    If u are making partial payment then all the partial payment documents along with original document will be stored in BSID till u made the complete payment for that invoice.
    Assumption is u have to give all partial payment documents made for particular invoice item while u are making complete payment in F-28 transaction. So that these partail payment documents will also be cleared while making complete payment and moved to BSAD table.
    This trasaction can be used for both partial and complete payments.
    Irrespective of complete or partial payments made all the documents will remain stored in BKPF and BSEG tables.
    BSID and BSAD are index tables to address performance issues with BKPF and BSEG tables.
    So all open and cleared documents will be there in BKPF and BSEG tables.
    All cleared documents will be there in BSAD table.
    Alll open documents will be there in BSID table.
    Hope it is clear.
    Thanks,
    Vinod.

  • TS2972 I just updated all of our computers to itunes 11 and now when we try to use our home sharing, we can't import songs.  What happened to the easily located "import song" feature?  I wish now that I wouldn't have updated to the new itunes 11.

    I recently updated all of the computers in the house to itunes 11.  Now when we try to import songs from homesharing, we are unable to.  What happened to the conveniently located "import song" button on the old version of itunes.  Please help an old mother out please!

    diesel vdub, i use 11.1.1
    solved the issue today. first sync with itunes, so all the stiff you bought on the mobile will be backuped.
    1. uncheck sync music in itunes and sync. all the music will be erased from mobile device
    2. check music player on the mobile device. just the unwanted songs will still be there
    3. go on the iphone to settings, general, usage, music player. there is just a few mb from the remaining unwanted songs. swipeleft and erase the content. switch iphone off and on again
    4. repeat step 2. there will be no data. otherwise repeat step 3
    5. check sync music in itunes and sync. all the music will be back again but not the unwanted songs.

  • What happened to the nifty "sync" button in iTunes? It syncs as soon as I plug it in, and that's great! BUT! When I go to the iTunes Store and buy new stuff, I can't just 'sync' the device again so my new stuff gets added. Why?

    What happened to the nifty "sync" button in iTunes? It syncs as soon as I plug it in, and that's great! BUT! When I go to the iTunes Store and buy new stuff, I can't just 'sync' the device again so my new stuff gets added. Why?

    Nothing happened to it.
    It is still there.  Maybe it says apply now, not sure, but it is still there.

  • When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    MacPro bought in 2010
    MacBook Pro
    MacBookPro7,1
    Intel Core 2 Duo
    2,4 GHz
      Nombre de processeurs :          1
      Nombre total de cœurs :          2
      Cache de niveau 2 :          3 Mo
      Mémoire :          4 Go
      Vitesse du bus :          1,07 GHz
      Version de la ROM de démarrage :          MBP71.0039.B0B
      Version SMC (système) :          1.62f6
      Numéro de série (système) :          W804853GATP
      UUID du matériel :          716CB476-983B-5C43-B363-988FB608C01C
      Capteur de mouvement brusque
    État :          Activé
    System:
    Mac OS X 10.6.7 (10J869)
    Darwin 10.7.0
    Video DIsplay Card
    NVIDIA GeForce 320M :
      Jeu de composants :          NVIDIA GeForce 320M
      Type :          Processeur graphique (GPU)
      Bus :          PCI
      VRAM (totale) :          256 Mo
      Fournisseur :          NVIDIA (0x10de)
      Identifiant du périphérique :          0x08a0
      Identifiant de révision :          0x00a2
      Révision de la ROM :          3533
      Moniteurs :
    LCD couleur :
      Résolution :          1280 x 800
      Profondeur de pixels :          Couleurs 32 bits (ARGB8888)
      Miroir :          Activé
      État du miroir :          Miroir matériel
      Connecté :          Oui
      Intégré :          Oui
    Is that what you asked ?  Do you need other data ?
    Note that I have also strong distorison when running slides show with iphoto.
    Thanks

  • When I edit and/or delete photos from an album in iPhoto is there a way to make that what happens in the folder in finder?

    When I edit and/or delete photos from an album in iPhoto is there a way to make that what happens in the folder in finder? I am new to Mac. I've updated the operating system and iPhoto.

    If your iPhoto Advanced preference pane is setup like this
    all photos you import into the library are COPIED into the library.  Thus those photos in the folders outside of iPhoto are redundant and can be deleted to save space on your hard drive. There no need to keep those copies in the folders.
    If you do have your advance preferences set as shown above you can access your photos for use outside of iPhoto according to the following User Tip by Terence Devlin which is the best treatise on how to access photos (for use outside of iPhoto):  How to Access Files in iPhoto.  Otherwise you access your photos from within iPhoto. 

  • What happens if the exception occurs in a thread when it has a lock

    what happens if the exception occurs in a thread when it has a lock
    on object. Is the lock released ?

    Rastogha wrote:
    ok so lock is released if we are putting code in try-catch block. . right ?
    1) But suppose what abt runtime exceptions which i am not catching. It doesn't matter what kind of exception it is. The lock is released when control is transferred outside the sync block.
    2)Also the thread will be suspended in both the cases or not ( both cases mean for runtime exception and checked exception)Again, the kind of exception doesn't matter. Whether you're in a sync block or not doesn't matter: When an exception occurs, control transfers to the nearest catch block that can handle it. If you don't provide a handler for it, the thread terminates.
    If something is not clear, post code that shows the specific situations you're curious about. Make sure you use the CODE button or [code] and [/code] tags.

  • You guys know what happens to the money it paid for mobileme what happens when you pass the iclud?

    you guys know what happens to the money it paid for mobilemewhat happens when you pass the iclud?

    No. That is how Apple has it set up.

Maybe you are looking for

  • Saving to remote location

    Is it possible to back up my hard drive from a remote location. For instance, we have 5 computers connected together. Can i back up computer A's files from Computer B's TM and its external hard drive? Thanks for your help.

  • Getting error in SM21

    Dear All, we are usinf ecc6 on windows with ms cluser on2 active server and oracle 10g. In sm21 i am getting the workprocesses was restarted many times. the disp log  DpHdlDeadWp: restart wp (pid=1328) automatically and  WARNING => ThHdlReconnect: no

  • The best way to implement graphics for a monopoly game

    Hello, I am implementing the graphics for a simple Monopoly game. I am currently creating a subclass of Canvas for drawing the board but when I repaint the canvas multiple times, you can clearly see the canvas repaint (a white area quickly flashs up

  • Flash CS5 will not open!

    I downloaded adobe cs5 from my school's website and everything downloaded on my mac correctly. But when I go to open up any product (specifically flash cs5),it looks like its about to open but then automatically closes! I don't know what to do! Help!

  • Uninstall BB Desktop Software Version 5.0.1.37

    BB friends, I have tried all suggested means to uninstall BB desktop software 5.0.1.37 from my computer. The files do not exist anymore, but the program remains in the control panel program overview. I am intending to reinstall the version 5.0.1.37 t