Regarding Bakcground jobs

Hello Experts,
I want to know about the 'sequential background job'.  how it works and what are the main parameters we need to pass to the function module called JOB_CLOSE through ABAP code in programming.
Please help me in this regard,
Thank you.
Regards,
Anand.

Hi,
i think kbs anand is refering to his post from yesturday "run a program in packeges". I suggested to call a sub-programm in background so it can get processed in parallel batch jobs.
but i dont know whats up with the "sequential background job".
kbs anand can you please explain what you want to do in detail, so we can help you better?
regards
Stefan Seeburger

Similar Messages

  • Regarding Background Jobs

    Hi Basis Gurus,
      I have a small doubt regarding Background jobs.
       Can we       edit    a job which is in the        Scheduled     status. .
    If that can be done , i am unable to edit a job . When i am trying to edit the job
    the  message i am getting is --- 
    " Definition of job Z_MM_MMPV is incomplete. Operation is not
        possible "
    Please  guide me how i can resolve this issue,
    Thanks in Advance,
    Vikram krishna.

    Hi Vikram,
    Yes, this is possible.
    Goto SM37 and display the Job, then select the job and from the menu: Job->Change, and click on Steps. Again select the Job and click on the change button to change whatever you want.
    Hope this helps.
    Thanks,
    Srinivasa

  • How to send a report for particular job chain every hour regarding the job

    Hi Gerben/Anton
    We are running one jobchain for all billing jobs . Is any chance is there to send a report automatically to certain pupils for every one hour regarding the job status(excel format ) .
    Coudl you please help on this it should be good if i get any reply on this .
    Thanks
    Ramkumar

    Hi Ram,
    I need your help on getting mail alert with  log file.
    here is how i have provide the parameter valure for job definition: system_mail_sent.
    Step1 with one job1 and step2 with one job1
    In step2 , i have included the job definition to send mail. with below parameter.
    Relative Job: Step 1, Job 1
    Job File: step 1, job 1: step 1/log.txt
    Please let me  know if the above method is correct or not.
    NOTE: mail server and from address are configured.
    Thanks,
    Karthik

  • Regarding Background job vs Performance.

    Hi all,
      I ran 2 similar programs in background through SE30 for comparing the performance.In SM37 the Duration(sec.) for the 2nd program is 3 times less than the first program after execution.But runtime analysis shows the performance of the first program is better than the second program by 1.5 times. Why is this difference!
      My question here is, can we consider the time duration shown in SM37 for performance comparison? Why do we get different results in SM37 and SE30?
    What factors affect the background process?
    Please clarrify.
    Regards,
    Venkatesh Kumar S.

    Hi Venkatesh!
    You have overflows. The total in SE30 is just 0.3 sec and 0.4 sec - but in SM37 3086 and 1112 seconds. After a conversion into microseconds, you would have 3 086 000 000 - which is obviously to much.
    For such long times, you can only look on the SM37 times - if you like to get more details, make info messages - they will be in the job log with a time stamp and you can inform about 'data read', 'data converted', 'data output' or something like this.
    Regards,
    Christian

  • Regarding Background Job scheduling for file to file scenario

    Hi Guru's
    Good morining all of u
    I have one doubt on ...
    can we do background job scheduling for file to file scenario?
    Please give me response as early as possible.
    thanks and regards
    sai

    background jobscheduling for file adapter...
    you can schedule the file adapter according to your requirement as follows:
    In the  Communication Channel Monitoring Locate the link Availability Time Planning,  In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

  • Regarding Batch Jobs for migration of data from client DB to our local DB

    Hi Folks,
    GoodDay, Previously I worked as a Oracle Developer and recently shifted into a BIG organisation as PL?SQL developer. Here my base work is with INTERFACES(Stored Procedure). That is retrieving data from client DB and need to put the data in our staging tables. For that i created 2 INTERFACES(stored procedures). One is for one time migration. No need to run on regular basis. The second one is to run regularly why because if any updations are done in client DB that should be replicate to our DB. For that we need to run a BATCH JOB regulary 24X7 basis.
    But i dont have any working knowledge on BATCH JOB creation and running. Please let me guide on this issue ASAP.
    Regards,
    Ramesh.

    You can try
    dbms_job(9i)
    or
    dbms_scheduler(10g)
    just out of curiosity.. tell me if you are interested...
    what you were doing as a "oracle developer" ( is it like writing only "sql" )...

  • DB13 bakcground job - error

    Hi,
    I have scheduled for the update optimizer statistics immediately in DB 13 it failed with the error as
    "Job started                                                                 
    Step 001 started (program RSDBAJOB, variant &0000000000012, user name SBUDDAR
    Execute logical command SAPDBA On host sap2dqsrv
    Parameters: -u / -analyze DBSTATCO
    Can't exec external program (No such file or directory)
    WaitForSingleObject failedwith %d (No such deviceor address)
    Job finished"
    similarly for  " Check optimizer stattistics"                                         
    "Job started                                                                             
    Step 001 started (program RSDBAJOB, variant &0000000000013, user name SBUDDARA)         
    Execute logical command SAPDBA On host sap2dqsrv                                        
    Parameters: -u / -checkopt DBSTATC_TAB                                                  
    Can't exec external program (No such file or directory)                                 
    WaitForSingleObject failedwith %d (No such deviceor address)                            
    Job finished"
    similarly for "Adapt next extents"
    "Job started                                                                          
    Step 001 started (program RSDBAJOB, variant &0000000000015, user name SBUDDARA)      
    Execute logical command SAPDBA On host sap2dqsrv                                     
    Parameters: -u / -next PSAPBTABD                                                     
    Can't exec external program (No such file or directory)                              
    WaitForSingleObject failedwith %d (No such deviceor address)                         
    Job finished"
    Our environment is windows 2003 server, SAP 4.6C.
    Please help us how resolve above issue.
    Thanks and Regards
    Satya

    Hi Eric,
    Thank you for the information that is really helpful. After following that note, I can successfully ran it.
    When I ran database check in db13 calendar in production, I got the following issue.
    BR0978W Database profile alert - level: ERROR, parameter: COMPATIBLE, value: 10.2.0.2.0 (<> 10.2.0)               
    BR0978W Database profile alert - level: WARNING, parameter: DB_FILE_MULTIBLOCK_READ_COUNT, value: 8(not default)  
    BR0978W Database profile alert - level: ERROR, parameter: FILESYSTEMIO_OPTIONS, value:   (<> SETALL)              
    BR0978W Database profile alert - level: WARNING, parameter: LOG_CHECKPOINTS_TO_ALERT, value: FALSE (<> TRUE)      
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_CACHING, value: 0 (>< 100,20)         
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_COST_ADJ, value: 100 (>< 50,10)       
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_MODE, value: CHOOSE (not default)           
    BR0978W Database profile alert - level: ERROR, parameter: QUERY_REWRITE_ENABLED, value: TRUE (<> FALSE)           
    BR0978W Database profile alert - level: ERROR, parameter: RECYCLEBIN, value: ON (<> OFF)                          
    BR0978W Database profile alert - level: ERROR, parameter: REMOTE_OS_AUTHENT, value: FALSE (<> TRUE)               
    BR0978W Database profile alert - level: ERROR, parameter: REPLICATION_DEPENDENCY_TRACKING, value: TRUE (<> FALSE) 
    BR0978W Database profile alert - level: WARNING, parameter: TIMED_STATISTICS, value: TRUE (not default)           
    Similarly for my quality..
    BR0970W Database administration alert - level: ERROR, type: ARCHIVE_STUCK, object: E:\oracle\QA1\saparch\QA1arch, value: 93.62%  
    BR0970W Database administration alert - level: WARNING, type: MANY_EXTENTS, object: (index) SAPR3.D010TAB~0, value: 80.67% (> 80 
    BR0970W Database administration alert - level: ERROR, type: TABLES_NOT_IN_TABLE_TABLESPACE, object:(index) SAPR3.MLICHECK~0, va  
    BR0280I BRCONNECT time stamp: 2009-04-27 04.01.26                                                                               
    BR0972I Checking database operations...                                                                               
    BR0973W Database operation alert - level: ERROR, operation: 0811132000.opt, time: 2008-11-13 20.00.05, condition: Last successfu 
    BR0280I BRCONNECT time stamp: 2009-04-27 04.01.26                                                                               
    BR0974I Checking database messages in E:\ORACLE\QA1\SAPTRACE\BACKGROUND\alert_qa1.log ...                                        
    BR0976W Database message alert - level: ERROR, line: 5846, time: 2009-01-01 07.29.39, message:                                   
    Checkpoint not complete                                                                               
    BR0976W Database message alert - level: ERROR, line: 5864, time: 2009-01-01 07.29.52, message:                                   
    Checkpoint not complete                                                                               
    BR0976W Database message alert - level: ERROR, line: 5882, time: 2009-01-01 07.30.10, message:                                   
    Checkpoint not complete                                                                               
    BR0976W Database message alert - level: ERROR, line: 5900, time: 2009-01-01 07.30.29, message:                                   
    Checkpoint not complete                                                                               
    BR0976W Database message alert - level: ERROR, line: 38376, time: 2009-04-24 22.07.48, message:                  
    Checkpoint not complete                                                                               
    BR0976W Database message alert - level: ERROR, line: 38411, time: 2009-04-24 22.16.10, message:                  
    Checkpoint not complete                                                                               
    BR0280I BRCONNECT time stamp: 2009-04-27 04.01.26                                                                
    BR0977I Checking database profile...                                                                             
    BR0978W Database profile alert - level: WARNING, parameter: DB_BLOCK_BUFFERS, value: 0 (< 8960)                  
    BR0978W Database profile alert - level: WARNING, parameter: DB_FILE_MULTIBLOCK_READ_COUNT, value: 128 (> 8)      
    BR0978W Database profile alert - level: ERROR, parameter: LOG_ARCHIVE_START, value: FALSE (<> TRUE)              
    BR0978W Database profile alert - level: WARNING, parameter: LOG_BUFFER, value: 54942720 (>< 1100,300 KB)         
    BR0978W Database profile alert - level: WARNING, parameter: LOG_CHECKPOINT_INTERVAL, value: 0 (< 3000000000)     
    BR0978W Database profile alert - level: WARNING, parameter: LOG_CHECKPOINT_TIMEOUT, value: 1800 (> 0)            
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_FEATURES_ENABLE, value: 10.2.0.1 (<> 8.0.4)
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_COST_ADJ, value: 100 (<> 10)         
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_MODE, value: ALL_ROWS (<> CHOOSE)          
    Can you please help me how to correct this error?
    Thanks and Regards
    Satya
    Edited by: Satyanarayana Buddarapu on Apr 28, 2009 12:47 AM

  • Help Required Regarding - SAP Job names using R3 data flows

    We are calling a set of SAP Jobs using R3 data flows in data services. When ever a job fails we first kill the active SAP jobs by logging into SAP and then restarting the Jobs.
    There are about 100 odd SAP jobs that we call using these Data services Jobs so we wanted to kill the jobs using a reusable code on the SAP side by passing the Job name just before every R3 flows just incase its still in active status.
    So wanted to know if there are any short cuts to retrive the set of associated SAP job names because it will be a tedious process to hardcode the SAP job names and pass them as parameters for all the 100 + SAP job names in the custom defined resuable code.
    Any help or advice on this please !!

    The program is not meeting the expectations
    and the problem is due to reflection.Do we know this for certain?
    ... my application gets the class name, field name
    etc. from an XML file so i don't know their method names
    beforehand .
    Now since every class instance corresponds to a row
    in the database and i have to call get and set
    methods of each class instance so the performance
    keeps on degrading as the number of columns and rows increase .
    Can somebody suggest some improvement regarding this
    and regarding creating multiple instances of the same object Class.forName() will be using a hash already, so there is probably not much room for improvement.
    Class.newInstance() probably does not take significantly more processing than a simple "new Fubar();".
    Umpteen reflective method invokations (one per column) for each row/instance - Are you saying these are the problem?
    You can test this easy enough.
    If you comment out the reflective method invocations and leave the rest of your code untouched,
    does your application processing speed up significantly?

  • Regarding background job.

    Hi All,
    I have to debug background job which is currently running.
    I know how to get the job in debug mode, that is through SM51 transaction...But once i m done with seeing some values in debug mode. I need to put this job back again in the background. Becasue since this is long running job i can not run it in forground.
    Plase guide me in this regards.
    -Sanjay

    Hi,
    You can debug batch jobs by going to 'SM37', type in 'JDBG' in the
    command line ( no '/' ), put the cursor on the job and press enter - will
    take you to the job in debug mode.
    You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job also sy-batch will set to 'X'.
    So type in the transaction code 'JDBG' and place your cursor on the job after It has finished. It will take you to a SAP program in debug mode. Step through this program which is about 10 lines, after this your program will be executed in the debug mode.
    Steps
    1. Create variant called BACKGROUND for program to be debugged.
    2. Execute ZDEBUGBG (pgm code below) in background for immediate processing.
    3. Execute transaction SM50.
    4. Select process that runs ZDEBUGBG.
    5. Goto 'Program/Session' 'Program' 'Debugging'.
    A se80 debug session will open.
    6. Change variable W_EXIT to 'E'.
    7. Step thru (F6) until ZWBTEST comes up.
    1. Go to Transaction SM66 and find your work porocess.
    Select the line work process is on and click on the Debugging button.
    If this is a custom program, you can put a wait statement in the code to buy yourself sometime.
    2. Go to Transaction SM50. From the tool bar "Program/session"->Program->Debugging.
    goto SM37 and from Program menu(not sure.. try other menu's)
    -->Catchjob . it will goto the active job in debugging mode.
    Regards,
    Raj.

  • Regarding the Job name

    Hi,
    I am having an issue with loading the data. To troubleshoot it, I need to know the technical name of the job. How to find of the Job name. I am only able to get the prefix of the Job Name : BI_BTCH.
    Please let me know the procedure to find the job name.
    Regards
    YJ

    In the infopackage -> Scheduler tab -> You would find the BI_BTCH*** job Id if the load was scheduled as a background job. You also have a button there to see the status of the job.
    If you are unable to find it and you had executed the job. Then go to SM37 give the job id as BI*** , your user id and the date as selection and find the job id. The Job log would have the cube technical name also.
    Hope this helps.

  • Regarding DB13 jobs and Mail

    Hi All,
    How can i send email if any background jobs which all are completed completed.
    My specific requirement is for any database specific jobs completed, means whatever job i scheduled through DB13, if it is completed either completed successfully or not, administrator should get alert on mail.
    I have checked through SM36, and given one email id in spool recipient, but it is not working.
    Waiting for your kind response.
    Thanks and Regards
    K R Singh
    SAP Basis Consultant
    IIL

    Hi Karmesh,
    although I'm not too sure if doing this is a good idea in terms of efficiency of monitoring there is (of course) an option to implement this.
    As (most) of the database jobs are monitored in CCMS (RZ20) you can modify the appropriate monitor there.
    Add a "AUTO-REACTION" to send an E-Mail to every monitored alert.
    See note
    <a href="http://service.sap.com/sap/support/notes/502959">#502959 -RZ20: Externe Email als Autoreaktion</a>
    and of course the documentation
    <a href="http://help.sap.com/saphelp_bw30b/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/content.htm">Define Automatic Alert Notification (SAP Library - The Alert Monitor)</a>
    for details on this.
    KR Lars

  • Bakcground Job Creation

    Hello everybody,
    I have the next requirement, I need an option in the menu in a Z dynpro program to execute the transaction in a background job, the problem is that i need it to work just like this option works with selection screens, that in the Program option in the menu it has the Execute in background, so it generates automatically the job, I've seen the functions JOB_OPEN, JOB_SUBMIT and JOB_CLOSE they will work the problem is with the variant cause there is no variants and i don't know how the system generates some kind of temporal variant with a name such as &00000000054 and so on, does anyone know how can i do this, thanks in advance.
    Regards,
    Julio Cesar

    You don't need a temporary variant for this.  Just use the SUBMIT statement and pass your data(captured in the screen) to another "Z" program using the WITH statement.  Problemm solved.
    data:   l_valid,
            ls_params like pri_params,
            l_jobcount like tbtcjob-jobcount,
            l_jobname  like tbtcjob-jobname.
    * Get Print Parameters
      call function 'GET_PRINT_PARAMETERS'
           exporting
                no_dialog      = 'X'
           importing
                valid          = l_valid
                out_parameters = ls_params.
    * Open Job
      l_jobname = 'Z_SUBMITTED_PROGRAM'.
      call function 'JOB_OPEN'
           exporting
                jobname  = l_jobname
           importing
                jobcount = l_jobcount.
    * Submit report to job
      submit z_submitted_program
           with P_parm1 = <some_value>
           with P_parm2 = <some_value>
           via job     l_jobname
               number  l_jobcount
           to sap-spool without spool dynpro
               spool parameters ls_params
                  and return.
    * Schedule and close job.
      call function 'JOB_CLOSE'
           exporting
                jobcount  = l_jobcount
                jobname   = l_jobname
                strtimmed = 'X'.
    Regards.
    Rich Heilman
    Edited by: Rich Heilman on May 21, 2008 3:51 PM

  • Doubt regarding background job?

    Hi,
         I am working on IW32 transaction.
    iam going store Sys stataus SETC orders in one internal table then i need to schedule back ground job for orders complete by below procedure i.e <b>Go to Orders-Functions-complete----complete bussiness.</b>.
    Is there any automate procedure to do the same? or we can switch to recording for the that?
    URGENT...
    Regards
    Message was edited by:
            shiva kumar

    Hi shiva,
    I'm afraid I haven't worked at all with this transaction. But maybe I can give you some hints.
    My question is: when you access this menu "Goto > Orders > Functions > complete > complete business", is this creating a background job? If so, you have won the first prize? Because you can go to transaction SM37, display the jobs you have created, and then keep track of the report and the variant that SAP used to schedule this job. Finally, you may enter transaction SM36 to create a new repeating job using <b>exactly</b> the same report name and variant.
    I hope this helps. Best regards,
    Alvaro

  • Query regarding Background Jobs

    I have 3 Application servers + Central instance.
    After a background job has been completed/cancelled, how do I determine on which App Server it was executed?
    Also, Waht does the big Button 'Application Server' display. I am guessing list of all available servers, right?
    Thanks in advance.

    Hello Gautam,
    You can  follow the approach suggested by Santosh. However this approach can be used for only one job at a time. If you want to do it simultanoeusly for several jobs then you can follow the below process:
    1. In SM37 give the selection criterion for the desired  job output and execute.
    2. Now you will have a complete list of the desired jobs.
    3. In the application menu bar you will fiind an icon for Define output fields(normally this icon is reserved for variants). Click on the icon. If you are  not able to find the icon you can also use CTEL+F7.You will get a popup.
    4. In this pop up there will be 2 columns. On the left hand side will be the fields which are already being shown in SM37. On right side you will find the hidden fields like: Progress, Executing server etc.
    5. Select executing server and click the single arrow icon (in the middle) pointing towards left side. Press COPY button and now see the result.
    Regards.
    Ruchit.

  • Regarding Batch job "RISTRA20" getting fail

    Hi,
    There is one bacaground Job which is active for the past three days with no error it has not gererated an output also, its a standard report "RISTRA20" for PM module.
    have you got any idea why the job is active such a long time, it has not finished though the required output is generated.
    Please help me with the solution if you ever have exprience this probelm.
    Regards,
    Vishvesh

    Hi
    Yes you are right the batch job is related to ip30.
    We have scheduled background job (Ristra20) for generating maintenance orders through maintenance plan. Every night it runs automatically and generates orders.
    This batch job is running for the complete day without any output, May be it is going into loops beacuse of some data issue or the other.
    If you can please help me to investigate the same.
    Thanks in advance.
    Vishvesh

Maybe you are looking for

  • Is there a way of moving music from iPod Mini to computer?

    Hi, I've got heaps of tracks on my iPod Mini, that I don't seem to have in my iTunes Library... Is there a way to transferring these tracks back onto my computer? Thanks!

  • Looking for a better way to backup end users

    Hello there. Not sure if this the best forum for this post but here goes. Last week my company had a break in and a couple of laptops got lifted. Not a big deal as I had backups of the machines on tape. It did take a while to recover the files though

  • New ipod touch won't connect to itunes

    My new iPod touch won't connect to itunes on my iMac.  I have several devices already connected to this itunes library, any suggestions?  Thanks.

  • Mac OS 10.9 Maverick -- no "open in new window" option

    Upgraded to the new Mac 10.9 Maverick and now there are no "open folder in new window" option, or at least it doesn't work. Please advise. Thanks!

  • No extensions work at all, why?

    I have a CF multiserver setup with CF7, CF8, and CF9 all running on JRun. I have CFBuilder installed as plugins to a clean version of Eclipse 3.5 64-bit for OS X. I installed the basic extensions to map to the CF9 server. I also installed a couple fr