Create A JOB  must execute in every 20 minutes from 8:00 AM to 8:00 PM

Hi,
Can any one a write a script to create a job suppose “ERP_CONS_POST_JOB” in a database.
This job must execute in every 20 minutes from 8:00 AM to 8:00 PM.
Thanks in advance.Please reply me its urgent.

bpat wrote:
Go through the below link
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm
http://psoug.org/reference/dbms_job.html
It will provide a better understanding.
Look at the INTERVAL procedure.That's not really correct.
The dbms_job package is the "old" way of scheduling jobs.
Since 10g the dbms_scheduler package has superceded that and is the preferred option, as well as it offering greater flexibility. dbms_job is only kept for backwards compatibility.

Similar Messages

  • Creating a Job to execute a .sh file

    Hi,
    I have an important issue creating a Job to execute a .sh file,
    the .sh (start_execution.sh) contains a lot of random calls like this:
    #!/bin/bash
    . /home/crm/.bash_profile
    . /home/crm/argentina/crm/crmdw/clusters/mt/mt_pull_push/start.sh
    . /home/crm/argentina/crm/crmdw/clusters/ota/ota/start.sh
    sqlplus dware/argu01@crmarg @/home/crm/crmdw/AR/exec_dw.sql "MT"
    sqlplus dware/argu01@crmarg @/home/crm/crmdw/AR/exec_dw.sql "OTA"
    sqlplus dware/argu01@crmarg @/home/crm/crmdw/AR/exec_dm.sql "DAILY_DOWNLOADS"then creating the next job
    Begin
    dbms_scheduler.create_job
    (job_name=>'job_AR',
    job_action=>'/home/crm/crmdw/AR/start_execution.sh',
    number_of_arguments=>1,
    job_type=>'executable',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=MINUTELY; INTERVAL=20',
    enabled=>false,
    auto_drop => TRUE,
    comments=> 'Run shell-script test_dbms_scheduler.sh');
    dbms_scheduler.set_job_argument_value(job_name =>'job_AR', argument_position => 1, argument_value => 'Parameter passed from Oracle to Unix');
    dbms_scheduler.enable('job_AR');
    end;
    /the system executes all process at the same time instead of one to one,
    Is necessary the system executes one to one becouse is a Hierarchy of process with
    corresponding dependencies.
    what could I do to resolve the issue??
    any ideas??
    Thanks in advanced...

    the problem is the content of the .sh file(start_execution.sh) is generated ramdomly and automatically and the code is :
    FUNCTION F_GET_EXECUTION_PLAN
        CONN_STRING_TRG VARCHAR2--'dwa/arg@arg'
      , EXEC_TEMP_DIR VARCHAR2--'/home/crm/crmdw/AR/'
      ) RETURN CLOB AS
      BEGIN
      DECLARE
        v_conn_string_trg VARCHAR2(255);
        v_exec_temp_dir VARCHAR2(255);
        v_select_aux VARCHAR2(32767);
        v_select CLOB := ' ';
        v_process_type VARCHAR2(5);
        v_process_name VARCHAR2(50);
        v_location VARCHAR2(255);
        v_result NUMBER := 0;   
        TYPE t_array IS TABLE OF VARCHAR2(255);
        TYPE t_cursor IS REF CURSOR;
        v_array t_array := t_array();
        c1 t_cursor;   
      BEGIN 
        v_conn_string_trg := CONN_STRING_TRG;
        v_exec_temp_dir := EXEC_TEMP_DIR;
        DBMS_LOB.TRIM(v_select, 0);
        DBMS_LOB.APPEND(v_select, '#!/bin/bash' || chr(13) || chr(10));
        DBMS_LOB.APPEND(v_select, BASH_PROFILE || chr(13) || chr(10));
        DBMS_LOB.APPEND(v_select, chr(13) || chr(10));
        v_select_aux := '
          SELECT A.process_type, b.process_name, b.LOCATION
          FROM
            SELECT process_type, process_id, LEVEL level2
            FROM
              SELECT process_type, process_id, dep_process_type, dep_process_id
              FROM crmdw_master_dependencies
              WHERE dependency_type <> ''PREVIOUS_DATE''
              UNION ALL
              SELECT process_type, process_id, NULL, NULL
              FROM
                SELECT ''STG'' process_type, ID process_id
                FROM crmdw_master_stg
                UNION ALL
                SELECT ''DW'', ID
                FROM crmdw_master_dw
                UNION ALL
                SELECT ''DM'', ID
                FROM crmdw_master_dm
                MINUS
                SELECT d.process_type, d.process_id
                FROM crmdw_master_dependencies d
            START WITH dep_process_type IS NULL
            CONNECT BY PRIOR process_type = dep_process_type
            AND PRIOR process_id = dep_process_id
          ) a
          INNER JOIN
            SELECT 1 ordinal, ''STG'' process_type, s.ID process_id, s.process process_name, c.location, s.active 
            FROM crmdw_master_stg s
            INNER JOIN crmdw_master_clusters c ON (c.id = s.id_cluster)
            UNION ALL
            SELECT 2, ''DW'', ID, process, ''' || v_exec_temp_dir || ''', active
            FROM crmdw_master_dw
            UNION ALL
            SELECT 3, ''DM'', ID, process, ''' || v_exec_temp_dir || ''', active
            FROM crmdw_master_dm
          ) b ON (A.process_type = b.process_type AND A.process_id = b.process_id)
          WHERE b.active = 1
          ORDER BY b.ordinal, a.level2
        BEGIN
          OPEN c1 FOR v_select_aux;
          LOOP
            FETCH c1 INTO v_process_type, v_process_name, v_location;
            EXIT WHEN c1%NOTFOUND;
            v_result := F_CHECK_NEED_TO_EXECUTE (
                            v_process_type
                          , v_process_name
            IF (v_result = 1) THEN        
              IF (v_process_type = 'STG') THEN
                v_select_aux := '. '  || nvl(v_location, '/') || lower(v_process_name) || '/start.sh';
              ELSIF (v_process_type = 'DW') THEN
                v_select_aux := 'sqlplus ' || v_conn_string_trg || ' @' || v_location || 'exec_dw.sql "' || v_process_name || '"';
              ELSIF (v_process_type = 'DM') THEN
                v_select_aux := 'sqlplus ' || v_conn_string_trg || ' @' || v_location || 'exec_dm.sql "' || v_process_name || '"';
              ELSE
                v_select_aux := '';
              END IF;
              IF (v_array.COUNT > 0) THEN
                FOR i IN v_array.FIRST .. v_array.LAST LOOP
                  IF ((v_array.EXISTS(i)) AND (v_array(i) = v_select_aux)) THEN
                      v_array.DELETE(i);
                      EXIT;
                  END IF;
                END LOOP;
              END IF;
              v_array.EXTEND;       
              v_array(v_array.LAST) := v_select_aux;     
            END IF;
          END LOOP;
          CLOSE c1;
          FOR i IN v_array.FIRST .. v_array.LAST LOOP
            IF (v_array.EXISTS(i)) THEN
              DBMS_LOB.APPEND(v_select, v_array(i) || chr(13) || chr(10));
            END IF;
          END LOOP;     
        EXCEPTION
          WHEN OTHERS THEN
            DBMS_LOB.APPEND(v_select, chr(13) || chr(10));
        END;       
        RETURN v_select;
      END;
      END F_GET_EXECUTION_PLAN; 

  • Query runs every minute from B1 client - read B1 log file

    Hi all,
    We found this query has been run every minute from B1 client. It slows down the system, as we have over 100,000 records in table OCLG - activities. How do we stop this query to be run from B1 client. Also, anyone know what is the number for Duration in B1 log file, does the number mean CPU time? We got Duration=3581 for this query. but it takes about 10-15 seconds to run the same query from SQL 2005 management studio. Any idea?
    Thanks,
    David
    ============================================================================================
    16/02/2010  12:10:42:295830    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe            PID=1972             TID=1920             Duration=3581  Fetched=0
                                                                                    Query     
    SELECT T0.[ClgCode], T0.[Action], T0.[Details], T1.[Name], T0.[Recontact], T0.[BeginTime], T0.[AttendUser] FROM  [dbo].[OCLG] T0   LEFT OUTER  JOIN [dbo].[OCLO] T1  ON  T1.[Code] = T0.[Location]   WHERE T0.[Reminder] = (N'Y' )  AND  T0.[RemSented] = (N'N' )  AND  (T0.[RemDate] < (CONVERT(DATETIME, '20100216', 112) )  OR  (T0.[RemDate] = (CONVERT(DATETIME, '20100216', 112) )  AND  T0.[RemTime] <= (1210 ) ))

    Thanks Paulo,
    I found another two queries that also run every minute on each B1 workstation. What is the measurement for the duration number in the log file, like  Duration=1391?
    David
    ============================================================================================
    17/02/2010  11:32:46:620527    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=1868     TID=3236     Duration=1391     Fetched=21
                                  Query      SELECT T0.[ClgCode], T0.[AttendUser], T0.[Closed], T0.[Recontact], T0.[endDate], T0.[Action], T0.[BeginTime], T0.[ENDTime], T0.[Duration], T0.[DurType], T0.[Details], T0.[Notes], T0.[personal] FROM [dbo].[OCLG] T0 WHERE (T0.[Recontact] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[Recontact] <= CONVERT(DATETIME, '20100221', 112)  )  AND  T0.[endDate] = T0.[Recontact]  AND  T0.[inactive] = (N'N' )  AND  T0.[BeginTime] IS NOT NULL   AND  T0.[ENDTime] IS NOT NULL   AND  (T0.[Action] = (N'C' )  OR  T0.[Action] = (N'M' )  OR  T0.[Action] = (N'N' ) ) AND  (T0.[AttendUser] = (612 ) )  ORDER BY T0.[Recontact],T0.[BeginTime]
    17/02/2010  11:32:54:917455    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=1868     TID=3236     Duration=487     Fetched=0
                                  Query      SELECT T0.[ClgCode], T0.[AttendUser], T0.[Closed], T0.[Recontact], T0.[endDate], T0.[Action], T0.[BeginTime], T0.[ENDTime], T0.[Duration], T0.[DurType], T0.[Details], T0.[Notes], T0.[personal] FROM [dbo].[OCLG] T0 WHERE (((T0.[Recontact] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[Recontact] <= CONVERT(DATETIME, '20100221', 112)  )  OR  (T0.[endDate] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[endDate] <= CONVERT(DATETIME, '20100221', 112)  ) ) OR  (T0.[Recontact] < (CONVERT(DATETIME, '20100215', 112) )  AND  T0.[endDate] > (CONVERT(DATETIME, '20100221', 112) ) )) AND  T0.[endDate] <> T0.[Recontact]  AND  T0.[inactive] = (N'N' )  AND  T0.[BeginTime] IS NOT NULL   AND  T0.[ENDTime] IS NOT NULL   AND  (T0.[Action] = (N'C' )  OR  T0.[Action] = (N'M' )  OR  T0.[Action] = (N'N' ) ) AND  (T0.[AttendUser] = (612 ) )  ORDER BY T0.[Recontact],T0.[BeginTime]

  • Creating the job to execute automatically the program RSWUWFML2

    Hi guys,
    Iu2019m setting up the job to send Workitems to internet periodically with the program RSWUWFML2, when I create the job It ask me for a responsible user in the u201Cstepu201D, this user is going to be the one to execute this job, I usually call this user u201CWORKFLOWu201D and I need to set the Email account (Workflow) for this user (Tcode SU01) because on this Email account  the system will be sending a kind of log for the workitems sent to users and which of them have been opened by the user.
    The question I have is in SU01 which u201CROLESu201D have to be set for this user to be able to make all the thinks to send the workitmes to the users and send this Email as a log and make all the things related to execute the RSWUWFML2 report.
    Tanks a lot

    >
    FelipeUribe wrote:
    > Hi Ravi, tanks a lot for your answer, The problem using user  WF-BACH as a user to be placed in the Job (Tcode SM36  -> Step u2026 field u201CUser = Background User Name for Authorization Checku201D) is that I get an error because this user canu2019t be a u201Ccommunicationu201D useru2026.the Tcode SWU3 create this user WF-BATCH automatically with this features.
    Hi Felipe
    Here's Help from the user type field in SU01 for B it says,
    System 'B'
    Use the system user type for internal system processes (-> background processing) or system-related processes (-> ALE, workflow, TMS, CUA).
    Dialog logon (using SAP GUI) is not possible.
    A user of this type is excluded from the general settings for password validity. Only user administrators can change the password using transaction SU01 (Goto -> Change Password).
    Multiple logons are permissible.
    I have checked one of our productive systems and it is set to B for WF-BATCH. The error message you get is because your WF-BATCH is a C type.
    Hope this helps.
    Good Luck
    Ravi

  • Launchd agent is called every minute for 1 hour

    Here is the text of a launchd agent that I put together to fire every Monday at 7:00 PM:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>cas.tch.Machiver</string>
    <key>LowPriorityIO</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
    <string>/Users/cas/bin/Machiver.sh</string>
    </array>
    <key>ServiceDescription</key>
    <string>Calls the Machiver shell script to delete contents of folders in /Users/cas/bin/Folders2Clean.txt every Monday at 7:00 PM</string>
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>19</integer>
    <key>Weekday</key>
    <integer>1</integer>
    </dict>
    </dict>
    </plist>
    It works tremendously, except that it fires every minute from 7:00 until 7:59 PM before it stops. I have tried to re-order the StartCalendarInterval keys to this:
    <key>StartCalendarInterval</key>
    <dict>
    <key>Weekday</key>
    <integer>1</integer>
    <key>Hour</key>
    <integer>19</integer>
    </dict>
    But, whenever I do, it reverts to the first order upon loading. (Hour, then Weekday).
    Does anyone know, or have any suggestion as to why this is happening?
    Thank you very much.

    Tell it at which minute to run:
    Minute <integer>
    The minute on which this job will be run.
    along with the other values you're currently using.

  • Doubt to create a job to run a executable oracle 10g

    Hi guys,
    I´m using oracle 10gR2 and trying to schedule a job to execute a automatic import every night and then drop the dmp file.
    I would like to know if it´s possible..
    I´m configuring via web enterprise manager and in the option :
    "Command
    Select the command type for the job, then enter the command requirements."
    And I´m changing the command type to executable and passing
    $ORACLE_HOME/bin/imp sys/password file=mydump.dmp fromuser=user1 touser=user2
    but it´s failing. Anybody knows what I´m doing wrong ?

    No, that you cant.
    Instead create a shell script for the import and then put that as the command in oem.
    Message was edited by:
    orafad

  • Job to execute every half hour

    Hello,
    I need to create a job which should execute every half hour starting from morning 6:AM to evening 4:PM every day.
    How can I do this?
    Thanks

    Try something like this
    VARIABLE jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(:jobno,
    'begin if (to_char(sysdate, 'HH24MI') between '0600' and '1600') then my_proc; end if; end;'
    TRUNC(SYSDATE, 'HH')+ 1/24,
    'TRUNC(SYSDATE,''MI'')+30/(24*60));
    commit;
    END;
    Message was edited by:
    Jens Petersen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Run a cron job every minute

    Hi,
    I would like to run a cron job every minute.
    I can find cron.hourly, cron.daily, cron.weekly, cron.monthly in my /etc, but no cron.minutly.
    Can I get it? What should I do?
    Thanks!
    Nathan

    run
    crontab -e
    . this opens an editor. therein you type :
    #min hour day month weekday command
    */1 * * * * <your command>
    dw was faster
    Last edited by DonVla (2008-11-17 16:56:42)

  • [SOLVED] Cron Job that starts every 30 minutes from boot

    I wish to have a cron job that runs a script every 30 minutes from boot, without any users logging in.
    I know about crontab -e, but I think that would I only run once i'm logged in. I've also heard about @reboot, but that would only run the script once.
    RabbidRabbit
    Last edited by rabbidrabbit (2012-01-31 20:14:13)

    Cron jobs will run whenever the system is up, regardless of whether or not anyone is logged in.
    I don't remember the syntax, but I know that at least some cron implementations have a way to run a job every 30 minutes, starting for the first time 30 minutes after reboot.
    EDIT: I just checked the syntax for fcron, which is what I use, and it seems like doing @ 30 your/command/here will make it run every 30 minutes of uptime.
    Last edited by kyla (2012-01-31 00:17:30)

  • Can a dbms_job.run execute a job that execute another dbms_job.run?

    Hi,
    I'm using Oracle9iR2 database.
    I create a package procedure that loop through a list of jobs from user_jobs table and run it using dbms_job.run(jobid).
    Then I schedule this package procedure as a job (say JobA) itself to execute the above procedure every 15 minutes.
    However, it always fail. When I execute JobA manually from sqlplus, I get the folllowing error. Any idea what's wrong?
    SQL> exec dbms_job.run(55805);
    BEGIN dbms_job.run(55805); END;
    ERROR at line 1:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 406
    ORA-06512: at "SYS.DBMS_JOB", line 272
    ORA-06512: at line 1
    Please advise.
    Thank you.
    Message was edited by:
    bchurn

    Hi,
    I am bchurn's colleague who is currently also looking into this problem. The code that we have is similiar to yours except there's a cursor looping through all the failed jobs and executing them.
    I am not sure what is the actual difference but it is actually a job running a procedure instead of through SQL Plus.
    However, we found out that a job cannot run another job. But it seems to be alright with your settings :-/
    What we have is actually a job created for every email to be sent out to our users (jobA). But many a times, the emails were not sent out because of unknown problems (during that time - I think it's the ORA-00600 error).
    The last time we created the second job (jobB) for the purpose of re-executing failed jobA jobs. The errors are that a job cannot execute another job.
    Then, we worked around to change jobB to re-adjust the execution time for all the jobA jobs instead of directly reexecuting them. While some failed jobA jobs are executed successfully because of it, some still remains. We found out that the errors from failed execution of jobA jobs as following:
    ORA-00600: internal error code, arguments: [kgassg_2], [], [], [], [], [], [], []
    ORA-29279: SMTP permanent error: 555 5.5.4 <fieldNameHere> parameter unrecognized
    The second error very seldom. First one most common. The jobs eventually being executed successfully after many re-execution (sometimes about 3 to 4 times, some over 20 or 60 times). Anyone can give suggestions or inputs on the first error? The error log file and its trace files do not give much information on the errors with something like the following:
    Error log file:
    Errors in file /opt/app/oracle/products/920/admin/testapp/bdump/somefilename.trc:
    ORA-00600: internal error code, arguments: [kgassg_2], [], [], [], [], [], [], []
    And when I go and search for the somefilename.trc, it does not exist.
    Any idea on how to solve this or identifying the actual problem?
    Thank you in advance.

  • Solution Manager failure of job EFWK RESOURCE MANAGER (01 MINUTE

    I'm having a problem with job "EFWK RESOURCE MANAGER (01 MINUTE", which runs every minute.  In the job log it appears the job is successful, but it always generates 4 shortdumps.  It is job "EFWK RESOURCE MANAGER (01 MINUTE" and the steps are "E2E_EFWK_RESOURCE_MGR" with a specified user.  I've tried every user with Trusted RFC authorization and it still hasn't worked.  It looks like the problem is an internal call from within Solution Manager.
    Here's the error:
    Client.............. 001
    User................ "xxx"
    Transaction......... " "
    Call Program........."E2E_EFWK_RESOURCE_MGR"
    Function Module..... "E2E_ME_RFC_ASYNC_NO_RR_255"
    Call Destination.... "<hostname>_SMA_00"
    Source Server....... "<hostname>_SMA_00"
    Source IP Address... "xxx.xxx.xxx.xxx
    The values in E2E_Resources table are fine and it doesn't show any errors in the job log.
    Notice that the call destination is the same as the source server.  I'm stumped on this.  Any ideas?

    I checked that and everything is fine.
    I left out that we are seeing this also in the short dump:
    Error during call of SAP back end system
    An error occurred when executing a REMOTE FUNCTION CALL.
    It was logged under the name "Error during call of SAP back en"
    on the called page.
    The current ABAP program "SAPLE2E_FUNC" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The error occurred during an RFC call to another system.
    In the target system, a short dump has been written as well.
    More detailed information on the error cause can be found there.
    When I run the E2E_EFWK_RESOURCE_MGR program in SA38, everything is fine and there are no resource bottlenecks.
    I've found in other links that this job has to be run with with authorizations of the user SMD_RFC. I was never asked to create that user.  Do you know what the authorizations are supposed to be?
    PS We're on SP 36
    Edited by: George Hamilton on Sep 23, 2011 4:00 PM

  • Execution problem while creating a job

    Hi,
    I have written a procedure to generate a csv file to a destination ( procedure name - sp_write_to_file).
    I have created a job for this procedure to be executed after every 2 minutes using the package dbms_job as follows;
    sql>VARIABLE jobno NUMBER;
    sql>execute DBMS_JOB.SUBMIT(:jobno,'sp_emp_write_file;',INTERVAL =>
    'SYSDATE+(2/24/60)');
    ---- I got a successful execution message as;
    PL/SQL procedure successfully completed.
    But the file is not getting generated.
    When i execute the job manually as;
    exec dbms_job.run(25); --- i got the job number as 25.
    Then the file gets created.
    What is the error ?
    plz guide.

    How about:
    execute DBMS_JOB.SUBMIT(25,'sp_emp_write_file;',INTERVAL => 'SYSDATE+(2/24/60)');
    commit;Also I'm not sure about the interval. Maybe you don't have to enter the interval as a string.
    Message was edited by:
    Sven W.

  • Create Background jobs

    How can i create background jobs and link them to the Event so that they will be triggered? I have no clue on this, can anyone explain in a detailed manner with the Transaction codes for each.
    Thanks in advance.

    Hi laitha,
    JOB is a program which starts to a determined point of time and executes some standard programs in the system. JOBs can be planed to a determined point of time on the regular basis (every night, for example) or to some discret time moments. So, the JOB can be planed and then will be started automatically without the manual start.
    Realtime programs are understood in the most cases as actual program execution which is started by somebody to the actual moment of time.
    Typically per JOBs some special processes will be started that should be executed automatically and regularly: for example, IDOC application, some correction reports, statistic updates etc.
    Standard jobs are those background jobs that should be run regularly in a production SAP System These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    Use
    As of Release 4.6C, the Job Definition transaction ( sm36 ) provides a list of important standard jobs, which you can schedule, monitor, and edit.
    Standard jobs are those background jobs that should be run regularly in a production SAP System. These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw70/helpdata/en/24/b884388b81ea55e10000009b38f842/frameset.htm
    About Events:
    Events have meaning only in the background processing system. You can use events only to start background jobs.
    Triggering an event notifies the background processing system that a named condition has been reached. The background processing system reacts by starting any jobs that were waiting for the event.
    Types of Events:
    There are two types of events:
    1.)System events are defined by SAP. These events are triggered automatically when such system changes as the activation of a new operation mode take place.
    2.)User events are events that you define yourself. You must trigger these events yourself from ABAP or from external programs. You could, for example, signal the arrival of external data to be read into the SAP system by using an external program to trigger a background processing event.The event scheduler processes an event if the event is defined in the system.
    For example, if a system (System 1) receives an event from another system (System 2), the event scheduler of System 1 processes the event only if it is defined in System 1. That event does not need to be defined in System 2 (the sending system).
    You define an event by assigning a name (EVENTID) to it. When defining an event, you do not define the event arguments.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm
    When you schedule the process chain or infopackages the jobs associated with it run in the background mode. In case you want to create a job for a specific activity you can do so in SM36. You would be creating jobs that would get executed in any one of the options:
    1. Immediate
    2. Date & Time
    3. After event.
    4. After job.
    5. At Operation mode.
    In case you want to view the job logs go to sm37.
    _List of Background Jobs_
    BIREQU - Load of a Request/Reconstruction of a request
    BI_AGGR4 - Aggregates activation
    BI_BTCH - Any batch job like ABAP program run in background
    BI_DELR - Deletion of request
    BI_HIER - Hierarchy loading/activation
    BI_ODSA - ODS activation
    BI_PROCESS_ABAP - ABAP program in process chain
    BI_PROCESS_LOADING - Data Loading in process chain using nfopackage
    BI_PROCESS_ODSACTIVAT - ODS actiavation in Process chain
    BI_PROCESS_TRIGGER - Trigger job for process chain
    BI_PSAD - probably PSA deletion
    BI_STAT - Building statistics
    BI_STRU - Change run job
    BI_WRITE_PROT_TO_APPLLOG - Application log job
    RANATL_ACCT_CACHE_WARMUP
    Use tcode SM62 to create User events.
    Use tcode SM64 to trigger the event.
    Wizards for Event Creation :pls chk this link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/f7/d1c20a02d511d3a6550060087a79ea/frameset.htm
    *pls assign points,if info is useful**
    Regards
    CSM reddy

  • Running Background jobs in peticular period every day

    Hi All,
    I want to run a background job to run every three minutes between 3:00 to 4:30 PST every day.
    Can we run this kind of backgroud job.
    Where to give end time for this. 
    Thanks
    Anil

    Hi,
    Yes you can, when you create the job in sm36 you have the ability to have "no start after %date,time%"
    I mean you can restrict the required date and time from Start0 "Condition ->Date & Time"  tab of SM36
    Scheduled start -- time --
    No Start After  -- time --
    With Regards,
    Krishna.

  • How to create a job in Autosys?

    Hello All,
    I have a requirement wherein Client wants to run a job in Autosys.
    Need to create a job for ABC plant and 123 MRP controller. Now there are 3 MRP controllers 345, 231, 123 for indirect materials.
    Now Job should run after checking 345,231 and then 123 every wednesday at 10 am.
    let me know the steps to create the job.
    Thanks in advance.
    Forum

    Hello Sir,
                  There must be some standard Template for the sam with the Basis Team, ask for the same anf give in the program name and the time of run that is you need on weekly basis, and also give in the time for the run.
    they will schedule the job and send the spool to you.
    Hope it helps you.
    Regards,
    Yawar Khan

Maybe you are looking for

  • Material allocation for a customer with a SO

    Hi, Is it possible to allocate a stock against a customer even though the SO is not available in the system. If yes then how this is possible in APO? regards, Mohit

  • Unit Tester: Bug in Export/Import of Suites

    I was moving my Unit Test repository from one schema to another, so I first exported all of my suites and then imported them into a new repository. But, when I imported them into their new repository, all of the tests forgot what specific function/pr

  • Weird problem using "Login" in MaxL script

    Hi there I have created a MaxL script for loading som data into an Essbase. The script you can see below. login 'user' 'password' on 'nkm18k14'; import database 'realtest'.'Loadtest' data from text data_file '\\nkm18k00\Planning\Loaddata\lonbud.txt'

  • When can I use USSD code in iPad ?

    Dears, I'm using iPad Mini 2 with Cellular. Sometimes I need to use USSD code to check internet balance but i can't. Do you have plan to update USSD Code Function in iPad in the future ? Best Regards, Phatcharaphon JO

  • Mac/FireFox Java/JavaScript interaction bug

    Hi, I'm desperately trying to find a solution to a very platform-specific issue. Basically, I'm trying to get an applet to interact with the DOM of a web page. The basic procedure should be as follows: 1) Page loads 2) Applet loads 3) Applet reads in