Reg Background job execution

Hi gurus,
I have a doubt in back ground job processing...We have a job which runs for very long time (archiving job). I want that job to run from Sunday morning to evening 6PM again I need to run the same job next sunday morning to evening continuing from previous week stop point.
My question , there is a option in SM37 to STOP the job. If I stop the job and then resume back the same job, will it continue from the point where it stopped?
Is there any way to execute the background job like above scenario. I know it can be done by 3rd party tool, but I want to do the same from R/3
Vinodh

Hi Vinodh,
In later versions of SAP (from Enterprise version if iam not wrong), you can interrupt the archive job and continue later. This is not the feature of background processing, but the archiving job itself.
Interruption is possible on basis of duration of the job and size of archive file. See the following link which details the mentioned feature; go to The Archive Development Kit and see the topic Interrupting and Continuing Archive Sessions:
http://help.sap.com/saphelp_47x200/helpdata/en/6d/56a06a463411d189000000e8323d3a/frameset.htm
Hope this helps to work towards the solution of your problem.
Regards,
Naveen

Similar Messages

  • Background Job execution enabled via pro-active monitoring

    Hi community,
    We're interested in CPS Redwood to help us in proactive monitoring of background jobs (Ad Hoc and Periodic) and impacts in system performance.
    The idea would be to have somehow a tool that monitor the number of available working process and system performance. When the system workload reaches a certain level, ex: 95%, this tool would intercept new jobs execution. After this, when the system workload goes down and the resources are free, the system would release all jobs to normal run again.
    Is it possible via CPS Redwood?
    Is there any other way to have something automatic like this?
    Thanks,
    Jose Antonio.

    Hi Jose,
    This is possible indeed using CPS. CPS can monitor various load metrics of your system, then adapt the scheduling logic if thresholds are exceeded.
    In your scenario, you would basically always intercept all jobs, but normally not enforce any limits so effectively that means all jobs still run immediately. If the load is too high, CPS would enforce a limit, so then jobs will be delayed until the load is lower again.
    Regards,
    Anton.

  • Reg Background Jobs

    Hi,
      I have scheduled a background job which have three steps. The first step is a zprogram and the second is standard program to generate sessions and the last step is to execute that session in background.
    The problem i m getting, when there are no records in the first step, it is going to the second step and getting cancelled.
    How can I come out of the other two steps in the job, when there are no records.
    Regards,
    Ramesh.

    Hi Jelena,
    The best option is to create 2 background jobs instead of 3.
    The first job as the Z program,write a Submit to the SAP standard  program from the first one only when there are records in the first one and create the 3rd as the second background job.
    I hope I have tried to answer to the best of my knowledge.
    In case you have any further queries,please let me know.
    Regards,
    Puneet Jhari.

  • Reg : Background job

    Hi Guru's
    I am sending IDOC from R/3 System to APO System.when idoc reached APO system.its triggers immediately and creating one file in application server(APO).sometimes this process makes more than 10 to 15 hours so user dont know whether is executing or failed. so i gave one soltion to user that is creating background job while idoc is executing when its idoc is processed then the background job also shows that finished..i dont know how to write this background job code in IDOC function module and also i dont know its possible in IDOC. i dont have knowledge in IDOC..Please helpme on this issue.
    anybody helpme on this issue.????
    Regards
    P.Senthil Kumar

    Hi,
    You have not to write Back Ground Code in FM of IDOC.
    To Process Idoc in Back Ground do following Step
    Go to T-CODE We20
    Select Partner
    Double Click on any IDOC Message type in Outbound Parameter like INVOIC
    In Outbound Options Tab, at Output Mode select Collect Idoc Radio Button.
    For Inbound parameterDouble Click on any Message type.
    Select Trigger by BackGround Program Radio Button
    Please use T-code SM36 to schedule program which process Idoc.
    The Program used is,
    RSEOUT00 : For Processing 30 Status IDocs For outbound Idoc
    RBDAPP01 : For Processing 64 Status IDocs For Inbound Idocs
    T-code BD87
    To Refer more about IDOC,
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE+IDOCS
    Thanks & Regards,
    ShreeMohan
    Thanks & Regards,
    ShreeMohan

  • Reg Background Job Notifications

    Hi,
    I wanna add a user email id for background job failure notifications. How do I do that.
    Thanks
    NM

    Hi,
    You can create a Custom program, which will pick the Jobs which have failed and then send the information through EMAIL.
    Check the following link.
    http://jplamontre.free.fr/SAP/Send%20background%20job%20failure%20alerts%20by%20email.htm
    Also go through this link. It might be useful
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/97d2e8b3-0b01-0010-b787-b8ce558a51c2
    Regards,
    Aj
    Reward points if useful
    Message was edited by:
            Abhishek Jolly

  • Reg:Background jobs are failing with out logs

    Hi Team,
    When i ran sm65 transaction in production i got the output.
      Test: Database table consistency test
         ==>  Inconsistent step no. for following job(s):
             ACS_SAP_HR                      14525701
             ACS_SAP_HR                      14525702
             ACS_SAP_HR                      14525801
             AUTO_SESSION_MANAGER            22091204
             AUTO_SESSION_MANAGER            22091301
             AUTO_SESSION_MANAGER            22132501
             EU_PUT                          19060603
             EU_REORG                        18180604
             OPEN_ENROLLMENT_SEND_EMAIL      15145305
             OPEN_ENROLLMENT_SEND_EMAIL      18301801
             RPTIME00                        22000822
             RSUVM008                        14330102
             SEND_INET_EMAIL                 08082001
    Can you please let me know how to proceed further.
    Thanks & Regards,
    Deve

    check this might help you
    http://mailman.mit.edu/pipermail/sap-wug/2005-July/018391.html
    Note 581692 - Apparently inconsistent job data - incorrect stepcount
    Note 1272015 - Jobs with empty job names or job count
    Note 37104 - Error analysis: Background processing system
    Edited by: Bhudev on May 22, 2009 6:22 AM

  • Reg : background job error

    hi,
    i have scheduled a job  in batch mode.
    the job is cancelled and got a error message saying that
    "Job cancelled after system exception ERROR_MESSAGE ".
    Can you please tell me what would be the problem??
    regards
    ravi

    hi actually my task is to find out why this error has occured.
    when i seee the prgs related to this job , i got two and in those no error msgs related to the error which i am getting is there.
    just they have given the screeen shot and said it is a prod issue. i dont know whether i can debug in production for this job,,
    can i debug the job as u said like typing in command line as jdbg??????????
    its an urgent one .. plz help me out

  • Reg: - Background job scheduling

    Hi experts,
    I have to develop a report which will execute in background mode every night.
    Based on some calculations i have to write some summary like if i am deleting some records from Z tables then i have to write 'Records deleted from Z table' with timestamp value.
    As per my understanding, I can use simple write statement & it will be written in spool. Next day user can see the spool with summary. I am not sure abt this approach.
    Please suggest me.
    with regards,
    Sachin

    hi
    1. The answer to your question is :
    the FM
    GET_JOB_RUNTIME_INFO
    2. Use this FM inside the code
    of your report.
    3. It will give you various details like.
    EVENTID
    EVENTPARM
    EXTERNAL_PROGRAM_ACTIVE
    JOBCOUNT
    JOBNAME
    STEPCOUNT
    regards
    ravish
    <b>plz reward points if helpful</b>

  • Scheduling function module execution in background jobs

    Hi,
    I have requirement where in after obtaining all the required inputs from the user we will call an function module to execute it.
    The requirement is that the execution of fm shld happen in background and a log must be created showing the user whther it was successful or if it failed with the list of errors.
    Can you kindly give some input on how to schedule the execution of function module in background job and if scheduled how to create the logs to display the success or error message.
    Warm Regards,
    Naveen M

    Hi,
    Just create a simple program where you have to call this FM.
    Pass the values to FM either by declaring some internal table of selection screen and execute the program in background.
    For Message Log, you can use structurre BDCMSGCOLL
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    After Call to FM, read from this internal table as follows
    READ TABLE MESSTAB WITH KEY MSGTYP = <Message Type>
                                            MSGNR  = <Message Number>.
    regds,
    Anil

  • Long time for execution for scheduled CIF background jobs

    Hi,
    we hv schedlued CIF background job to be run daily around 10.30 PST.
    there is large variation for the time required for execution of this job.
    on 26 Dec, it took approx 48000 seconds while regular average is 120 seconds only.
    today, despite past of 6000 seconds, the job is still in ACTIVE stage.
    can anyone know why such long delay for such jobs?
    how can i reduce its execution time (as one of case in a week)?
    rgds/Jay

    Hi Jay,
    A few obvious things to look for:
    1.  Multiple CIF activation jobs running at the same time
    2.  Large change in the master data, eg new plant, new Material Masters, new customers, etc etc.
    3.  Conflicts with other non CIF programs that may be going after the same data
    4.  Communication degradation between the OLTP and SCM clients
    Normally you refer such questions to someone on your Basis team, or perhaps your DBA.  They can turn on tracing tools that can track the changes in your environment that may be contributing to the changes in run time.
    Regards,
    DB49

  • Execution of Macro in Background job

    We have created a macro in APO DP that uses 4 characteristics and a key figure. As part of the macro we are executing a Z-function that we have created. The problem occurs when executing the macro in a background job. When the background job is executed the macro processes correctly (performs the correct calculations) for the first CVC that is processes, but it is not able to process the rest of the CVCs.
    <b>ERROR: "There are no plannable characteristic combinations",</b>
    The function copies data from the CVC that is being processed (source CVC) to another CVC (target CVC). The values for the target CVC to which the data has to be copied for a particular key figure are determined from the paramaters that are given to the function in the macro.
    The steps followed in the function are the following:
    1- Determine the relation between source and target CVC, ie, from the source CVC that is being processes in the macro, the function determines the target CVC to which the data has to be copied.
    2- Call BAPI "BAPI_PBSRVAPS_GETDETAIL2" to retrieve the valuesthat are in the Planning Book for the source CVC.
    3- Perform the addition of data (value retrieved from the source CVC is added to the target CVC).
    4- Write value to the target CVC using BAPI "BAPI_PBSRVAPS_CHANGEKEYFIGVAL2".
    When using the BAPIs the aggregation level used is the same aggregation as the one specified in the Background job used for the execution of the macro.
    This macro is executed in a background job, and the copy/calculation is performed correctly for the first CVC (first CVC contained in the data selection used in the background job) processed, but then it does not do anything else for the rest of CVC's. The error message given by the log of the background job is <b>"There are no plannable characteristic combinations",</b> when in fact, the characteristic combinations do exist in the Planning Object Structure.

    Hi Ian
    There are not any other macros in the planning book.
    In addition, if we execute the macro in interactive mode we have another error at the end of the execution (after doing all the combinations):
    <b>Invalid data status</b>.
    and we don't know why.
    Regards

  • Restrict background jobs to immediate execution

    Hello,
    we have got a central jobmanagment and want to restrict background jobs to immediate execution.
    Of course users should be able to send processes in the background, especially when creating a list needs a lot of performance. But users should not be able to plan these jobs to a time in future or perodically.
    So, in authorization object S_BTCH_JOB I didn't find a solution - just JOB_ACTION can be restricted to "RELE", so that a user needs a release from another user. This is not what we want.
    Is there a possibility to restrict the execution in background to the Option "immediate". The options "Date/Time", "After job", "After event", "at operation mode" should not be possible.
    Regards,
    Julia

    Hello Julius,
    with searchterm "BTCOPTIONS" I can't find suitable notes or anything else, even with a search machine.
    But I found thread Restrict periodic scheduling in SM37 which describes exactly this problem.
    So I will ask in that thread again, because there haven't been any news since may.
    Regards,
    Julia

  • Reg: Error in Mail sending through background job in SCOT

    Hello experts,
    I am trying to schedule a background job through SCOT so as to send the mails present in SOST.
    The job is running but it is giving error as "Invalid status  for recipient" in SOST.
    But when I am sending it directly from SOST it is delivered without any errors. The email address is maintained correctly and SMTP settings are also correct as while sending it directly from SOST it reaches the required recipient without any error.
    This error is observed only through background job. I am using program RSCONN01 with variant SAP&CONNECTINT in background job.
    Kindly suggest why I am getting the error "Invalid status  for recipient" in background job.
    Thanks & Regards
    Meraz
    +91 8894522860

    I am getting the exact same issue.
    were you able to fix this in the last 3 weeks?
    thanks.

  • Reg Super user for schedule background Jobs

    Hi Experts,
    I have created new user copied from DDIC with the same authorization. This is for scheduling Background Jobs. Now all the standard background Jobs are running fine. After scheduling the Jobs I have changed to system user. Now for audit purpose I need SAP note to do same. Please help me to get the sap note for the same. Please respond ASAP. treat this is as high priority.
    Thanks & Regards,
    Haseem.

    HI,
    It is not necessary for user having SAP_ALL authorization under which background job is running.
    Define specific users to use for background processing. Define them as system users (non-dialog) and give them only the necessary authorizations that are needed for the executed programs
    check  http://help.sap.com/saphelp_nw04/helpdata/en/db/f6f3393bef4604e10000000a11402f/frameset.htm
    also check Note 101146 - Batch: authorization object S_BTCH_JOB, S_BTCH_NAM
    regards,
    kaushal

  • Reg: File Extraction from SAP Queries via background job

    Hi ,
    Is it possible to Extract a file to the presentation Server by running the ABAP Query's through SQ01 as a back ground job to generate a file automatically without running it manually.
    I have tried recording the query's thru SQ01 with the File store Option to download it to Excel on the Presentation server.I have used CAll Transaction for SQ01 in the Zprg and submitted that Query to be able to download that Query in the mentioned path .The Zprg was executed via Background job.The file is extracted to the presentation server when the Zprg was executed via Foreground,but its not getting Downloaded to Excel Via Back ground job.
    Please provide me the solution.
    Thanks in advance,
    Prem

    Hi
    u cannot get file in presentation server.. in background..
    if you are scheduling any background jobs it should be out of any gui interface.. like gui_dowload , gui_upload// ur need to replace then with cl_gui_fronend_services Class
    or u have a option of writing file to application server in background using open dataset syntax.

Maybe you are looking for

  • Slow Access to NSS326 by Mac

    We have two brand new iMac with Mac OS X (10.6.8). They have 4GB and 8GB RAM for each. When they access to  the folders on the NSS3226, finder responds very slowly. Displaying files in a folder, expecially, if it has a lot of photos, takes very long.

  • Cost center group report

    Can I run cost center report referencing two cost center groups and two cost element groups. I know we can do multiple selection for cost centers and cost elements but that will not help my cause. Lets say we have cost center groups A & B and cost el

  • EXIT_SAPLMRMP_010 - User Exit for MIRO

    Hi, I'm trying to call this User Exit EXIT_SAPLMRMP_010, in the MIRO transaction, but it is not triggered at all. And so after troubleshooting, in one table TFDIR, for this function module, the MAND field is blank. Whereas the program expects charact

  • How update payload with new attributes

    Hi everyone, trying to update my payload after added a couple of new attributes. I've edited the xsd files but new attributes do not appear. The xsd file I edited is not the one under yìthe businessCatalog but the original so the xsd and wsdl files d

  • Photoshop to Illustrator (CS6), problem with linked images

    Hi, I have a very frustrating problem when importing .psd files to Illustrator CS6. I recieve files from an artist and have to make some sort of pre-print on them, add texts etc.. They are multi layer and upon opening in Illustrator I select Convert