Schedule a program to run after a substituition exit is triggered??

Hello developer gurus,
We need to run a report to correct some consistency in settlement document table. The requirement is we need to run this after a substituition exit is triggered and finished updating a settlement rule in a WBS.
Woule you please suggest how this can be achieved?
Monica

Hi,
You can use these FMs to submit job in background
1.job_open
2.job_submit
3.job_close
You can go to transactions like SM36 - for job scheduling
SM37 - for Job overview.
Regards,
Jyothi CH.
Edited by: Jyothi Chinnabathuni on Feb 6, 2009 11:16 AM

Similar Messages

  • Schedule my report to run after every hour

    Hi All,
    Can someone please tell me how can I schedule my report to run after every 1 hour so that the dashbaord performance increases.I have started the scheduler service .
    Thanks a lot for your help

    Hi,
    create an ibot for the report.
    first configure the BI delivers, you can find the steps here,
    http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
    sorry. as you have already started the scheduler service you don need to go thru the above link.
    thanks,
    karthick
    Edited by: kart on May 24, 2010 12:44 PM

  • Scheduling ABAP Program to run Daily

    Hi,
    In my current scenario, i require my ABAP program(ZMYPROGAM) to run periodically (say every 1 hour/ 1 Day). Is it possible to schedule it so?
    kindly let me know how to go about.
    Regards,
    Siva Maranani.

    Hi Siva,
    You can schedule your program as a background Job SM36. Please check the transaction. You will have to set your ABAP program as the job STEP (if you probably have selection screen for your report then you will also need a variant for your report).
    Do schedule your program as a 'Periodic Job' and your personal period (daily/hourly).
    After you save your settings you can also monitor your job (ABAP Program) from the same transaction or even from CCMS if you like.
    hope this helps,
    ZAM

  • How to schedule a program in background after 5 or 10 sec

    Hi All,
           Can anyone tell me how to schedule a program after 5 or 10 sec in background after the transaction is completed.
    It is not a custom transaction. I want to execute a Z program in background  in a BADI
    Regards
    Yathish
    Message was edited by:
            Yathish Gundlupet

    Programattically?   You can add this code to the end of your transaction(if it is custom, of course).
    report zrich_0004 .
    data:   sdate type sy-datum,
            stime type sy-uzeit,
            l_valid,
            ls_params like pri_params,
            l_jobcount like tbtcjob-jobcount,
            l_jobname  like tbtcjob-jobname.
    start-of-selection.
    * Get Print Parameters
      call function 'GET_PRINT_PARAMETERS'
           exporting
                no_dialog      = 'X'
           importing
                valid          = l_valid
                out_parameters = ls_params.
    * Open Job
      l_jobname = 'THIS_JOB'.
      call function 'JOB_OPEN'
           exporting
                jobname  = l_jobname
           importing
                jobcount = l_jobcount.
    * Submit report to job
      submit <your_program_name
           via job     l_jobname
               number  l_jobcount
           to sap-spool without spool dynpro
               spool parameters ls_params
                  and return.
    * Kick job off 10 seconds from now.
      sdate = sy-datum.
      stime = sy-uzeit + 10.
    * Schedule and close job.
      call function 'JOB_CLOSE'
           exporting
                jobcount  = l_jobcount
                jobname   = l_jobname
                sdlstrtdt = sdate
                sdlstrttm = stime
    Regards,
    RIch Heilman

  • Scheduled jobs fail to run after reboot

    A couple of months back we moved our CF 8 server to a VM (VMWare). We have noticed that after the server (Windows OS) is rebooted, all scheduled jobs do not run. There are no errors in the logs. One oddity is that after the reboot in the scheduler log there are a series of entries for all jobs with the ThreadID of "main", after that there are no other entries. Normally when the job runs the ThreadID will be something like “Scheduler-1”. Here is where it gets really strange. Simply logging into the console will “trigger” the jobs and they will run. I do not have to manually initiate on of the jobs. This can be repeated over and over simply by rebooting the server. Manually stopping and starting the service does not trigger this issue nor will it “kick start” the jobs to run.

    Update:
    I opened up a case with Microsoft Support and resolved the issue. Apperantly this is a known issue and the bug will be addressed in CU6. Microsoft was able to give me a hotfix (QFE_MOMEsc_4724.msi) which I applied on all systems that have SCOM Console. I
    am told that this issue occurs when SCOM 2007 R2 CU5 runs on SQL 2008 R2.
    I hope it helps to others that run into same problem.
    ZMR 

  • How to schedule batch jobs to run after another periodically?

    Hi good people,
    I want to schedule batch jobs to run periodically one after another.
    Here is the problem:
    I have scheduled JOB1 to run once a week and I scheduled JOB2 to run after that job (JOB1). The problem is that JOB2 runs only after the first time that JOB1 runs. The second time the JOB1 runs the JOB2 is not started. I presume that the reason for that is that JOB2 is tied to the job number for the JOB1, and since a new job (with the new number) is created every week, the JOB2 is only tied to the first instance of JOB1.
    So does anyone have an idea how to get JOB2 to automatically run every week after JOB1? One idea is to use events, but that I'm hoping that there is a bit cleaner solution..
    Best Regards,
    Armin

    Hi
    Try scheduling both JOB1 & JOB2 in a single job in steps.
    First schedule JOB1 & then give JOB2 in steps.
    Kindly check the following link to do job scheduling in steps:
    http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a7ed1505211d189550000e829fbbd/frameset.htm
    In the above help documentation, look for the topic <b>"job steps"</b> in
    "Background Processing: Concepts and Features"
    hope it helps!
    best regards,
    Thangesh

  • Task scheduler service fails to run after windows update

    OS: W2008R2x64
    We noticed that our daily tasks are not running anymore since the last windows updates few days ago. When running the task scheduler mmc, we get the following:
    Looking further, the service did not seems to be running. If we try to start the service we get the follow message:
    "The Task Scheduler service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
    Now we noticed that did problem started after following updates, though not all machines are infected!!:
    Cumulative Security Update for Internet Explorer 9 for Windows Server 2008 R2 x64 Edition (KB2925418)
    Security Update for Windows Server 2008 R2 x64 Edition (KB2930275)
    Windows Malicious Software Removal Tool x64 - March 2014 (KB890830)
    Update for Windows Server 2008 R2 x64 Edition (KB2929733)

    Hi,
    Here is a similar thread for your reference, please go through it and troubleshoot the issue:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/task-scheduler-wont-start/11394a52-d7de-496b-880b-733123579b9b
    Regards,
    Yan Li
    Regards, Yan Li

  • How to schedule a job to run after completion of each run using DBMS_JOB ?

    Hi Gurus,
    Please let me know if the subject requirement can be fulfilled. I want to schedule a job using DBMS_JOB to run a script sequentially after completion of each run.
    Thanks in advance.
    Santosh

    Hi Santosh
    Instead to use the old dbms_job package use the dbms_scheduler and raise / catch events.
    Oracle create dbms_scheduler also for this purpose you need.
    You can find tons of examples on the web.
    Aurelio

  • Key Apple software programs not running after install

    Hola
    I have an Intel Mac Book Pro that has recently had a hard disk failure( 3rd in 5 years) and subsequent replacement. Before the failure I had , rather stupidly , upgraded to 10.8 (bought from Apple online) which caused my machine to run at an almost constant beach-ball status. Anyway it fell over, drive replaced and today i reinstalled 10.6 from my original upgrade disks. I also tried to reinstall ILife and IWork. However I'm informed that I'm unable to do so unless i upgrade to 10.7 or 10.8. This is useless. My machine falls over when you use 10.8. I have paid foe and own 10.6 original disks, however I'm unable to install the Life and Work programs. In addition I'm unable to re-install my contacts, notes, calendar.
    Does anyone have any ideas as to how i can continue to run the 10.6 associated programs.
    Rather ironically the Microsoft programs re-installed perfectly!
    Help please....

    The problem is actually that Leopard's VNC server only supports 32 bit color. If your client tries to request a lower resolution the connection will fail. It doesn't work on my pocket pc VNC client either.
    Chicken of the VNC still works if you enable 'let server decide' on the resolution. I agree though, this seems like a downgrade to me.
    Via
    http://www.macosxhints.com/article.php?story=20071109130303999

  • Programs wont run after compiling

    not sure what I'm doing wrong here, looked around on the forums for anything, and found nothing regarding this issue.
    I have tried to install a few programs now, AWN, and Cairo-Clock, downloaded the tar files, unpacked them, cd to the directory, and run
    ./configure
    make
    make install
    and then when I try to run the program, i get an error saying the program could not be found, but it is in the menu to run it, what am I doing wrong here?
    Sry for all the noob ?s on the first night with Arch, but this is confusing the hell out of me, I get no errors during configuring, or installing, but the program just will not run. Any help would be appreciated.
    Last edited by McLovin (2008-03-26 06:56:32)

    McLovin wrote:
    not sure what I'm doing wrong here, looked around on the forums for anything, and found nothing regarding this issue.
    I have tried to install a few programs now, AWN, and Cairo-Clock, downloaded the tar files, unpacked them, cd to the directory, and run
    ./configure
    make
    make install
    and then when I try to run the program, i get an error saying the program could not be found, but it is in the menu to run it, what am I doing wrong here?
    Sry for all the noob ?s on the first night with Arch, but this is confusing the hell out of me, I get no errors during configuring, or installing, but the program just will not run. Any help would be appreciated.
    My guess you're installing in a prefix which is not in your path (maybe /usr/local ?).  Either add it to your path, or change the prefix when running configure like
    ./configure --prefix=/usr
    On a side note, why don't you use the packages provided in the AUR. If you use those they will get managed by pacman as a bonus

  • SERVIC~1.EXE Stays Running After PC Suite Exits

    It's great that automatic start-up is now optional in PCS version 6.80.20, and that you can 'Exit' from the sys tray icon. But when I use Exit, it always leaves SERVIC~1.EXE running. Does this matter and is it a bug? (XP2 fully patched; Nokia 6021; Bluetooth).

    In most cases and by default, the frmweb process will die approximately 15 minutes after receiving its last heartbeat from the client. This assumes the runtime is not in a hung or spinning state. My recommendation is the following:
    1. Set networkRetries to 5 (in formsweb.cfg)
    2. Set FORMS_TIMEOUT to 10 (in default.env)
    3. Set HEARTBEAT to 5 (in formsweb.cfg)
    Finally, be sure you are using a newer, certified JRE. For example 1.6.0_31.

  • Workflow Agent Listener and Workflow Background program run after each minute

    Hello,
    We have scheduled Workflow agent listener program to be run after 5 minutes but it runs every minute more than once and fills concurrent request queue.
    Please help.
    EBS 12.1.1, DB 11.1.0.7, Linux 5.
    Thanks & Regards
    Aneel Ahmed

    We have scheduled Workflow agent listener program to be run after 5 minutes but it runs every minute more than once and fills concurrent request queue.
    Looks like this concurrent program was scheduled to run more than once? Maybe under a different application user?
    What if you cancel the recent schedule you made, would you be able to reproduce the issue then?
    Thanks,
    Hussein

  • Scheduled jobs do not run as expected after upgrading to 10.2.0.3 or 4

    FYI, we've had a ticket open for several days because our scheduled jobs (dbms_scheduler) would no longer run as scheduled after an upgrade to 10.2.0.4 on HPUX, couldn't find the solution by searching in metalink, nor did I find it here or using Google - obviously I wasn't searching correctly. There is a note id that references a set of steps that appears to have resolved our problem. I am putting this note out here so that if you encountered the same difficulty you may come across this note earlier in your troubleshooting efforts rather than later. The full title of the note is: 'Scheduled jobs do not run as expected after upgrading to either 10.2.0.3 or 10.2.0.4'. The Doc ID is: 731678.1.

    Thanks - our ticket should be getting closed out on it (our dba will be updating it), the scheduler has been running reliably since we took the steps in the doc mentioned.

  • How to schedule ETL jobs to run periodically after BI Apps is up and runnin

    Hi,
    How do you schedule ETL jobs to run periodically after BI Apps is install and configured? Is there document out there that explains how the ETL scheduling is setup?
    Thanks

    Using DAC we can schedule the ETL to run periodically. In DAC Execute -> Scheduler you can set the date and time for the ETL which need to be scheduled. You can get detail information in guide 'Oracle® Business Intelligence Data Warehouse Administration Console User’s Guide'

  • How to schedule an abap report program to run every day, weekend etc..

    Hi,
    I want to schedule an abap report program to run every day, week, fortnight or month and the output to be redirected to the printer. How to achieve this ?
    thanks

    Hi,
    go to t.code sm36 there give the name of the program which u want to eecute in background if u want u can give periodic that depends upon ur requirement from there in sm37 u can check the stauts and directly print from there
    hope i am clear to u
    plzz reward if it is useful...

Maybe you are looking for

  • How can i delay the present of direct connected route?

    Hi, I got 2 3550SMI switch interconnecting by Etherchannel. Each 3550 has an uplink to its upstream router (R1-SW1=SW2-R2). R1 and R2 connects to the remote site routers (say R3 and R4). With EIGRP redistribute connected, R1 update the direct connect

  • Sd-Scenarios

    Dear SDN'rs, can any one help me to get some Business scenarios for the following things, 1)  Third-party order processing 2)  Cross Company Sales Activities 3)  Stock Transfer Cross Company Stock Transfer. 4)  Backorder Processing. Points are assure

  • I can't see all my movies from my itunes library

    When i go to "Purchased" movies on my apple tv, only 2 movies show up from a library of purchased movies of about 20. Can anyone help?

  • Strange bookmark behaviour

    All, Safari (4.1.3) used to work fine. Then at some stage I cannot add or edit bookmarks. That is, I can, but on closing Safari and reopening everything is back to how it was. This is what I've tried to solve this: * emptied cache * removed the Libra

  • Incorrect PDS in APO

    Dear All , After CIFFED BOM and Routing from ERP, PDS is not showing ACTIVITY and OPERATION (APO-PPDS). It is only showing Components and Configuration. Can any body guide to correct the same?? Regards, NS