BI : Trigger Job

Hi Experts,
I need to create a job which wil trigger at Last monday of fiscal month.
I found FM which will do that work. I want to know is there any table in BI from where i can derive the date of last monday and trigger the job. Kindly advise.
thanks & regards,
M.S

Hi MS,
you can trigger the Job or process chain in BW from your source system.
There is a good blog which tells how to do that. Let me know if you've any doubts
/people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc

Similar Messages

  • How to schedule my "trigger" job.

    Hi,
    Actually i do have a script which actually trace.who are all the users/schema(SLDBA) have involved into the particular database.
    the scipt(trigger) as follows:
    TRIGGER LOGON_SLDBA AFTER LOGON ON SLDBA.SCHEMA
    BEGIN
    insert into logon_SLDBA
    select sysdate, ora_login_user, machine, program, osuser
    FROM SYS.DUAL,
    SYS.V_$SESSION
    WHERE SYS_CONTEXT('USERENV','SESSIONID' ) = audsid(+
    AND machine <> 'sis-slrs02.sl.ad';
    END;
    So the above "logon trigger" will writes their user information..
    So actually my requirement is
    I need to schedule the above "logon trigger" script automatically run for the time 11.00 AM daily,and it should send an message to some of user receipents.
    Is any script/scheduler available for my task.............
    For information
    I do not have an much PLSQL knowledge.
    Looking for Helpful answers....
    Thanks in Advance
    Edited by: mafaiz on May 27, 2011 12:28 PM

    Dear,
    TRIGGER LOGON_SLDBA AFTER LOGON ON SLDBA.SCHEMA
    BEGIN
    insert into logon_SLDBA
    select sysdate, ora_login_user, machine, program, osuser
    FROM SYS.DUAL,
    SYS.V_$SESSION
    WHERE SYS_CONTEXT('USERENV','SESSIONID' ) = audsid(+
    AND machine 'sis-slrs02.sl.ad';
    END;
    /May be I did not understand you correctly, but how could you activate a trigger automatically without a log-on your data base?
    Anyway, you have the dbms_scheduler If you want to schedule a given stored procedure or package
    http://www.oracle-base.com/articles/10g/Scheduler10g.php
    But bear in mind that what you are asking is somewhat strange
    Hope this helps
    Mohamed Houri

  • Trigger job using an event

    Hi
    Could anyone tell me the steps involved in triggering a job in R/3 using an event.It would be very helpful if somebody could enumerate the steps.
    Points will be awarded.
    Regards
    Ankit

    Follow these steps:
    Step1: Create event from transaction SM62.
    Step2: Create a program that triggers this event by calling the FM u2018BP_EVENT_RAISEu2019.
    Step3: Configure the background job from transaction SM36.
    For details pl. see my blog in this given link.
    http://www.****************/Tutorials/ABAP/BackgroundJob/OnEvent.htm
    Regards,
    Joy.

  • Other ways to trigger jobs

    Hi all
    I was wondering if there is any way that i can turn a job ON and OFF through JavaScript in the web page of a production line monitor page...
    Best regards
    Tks in advance

    Hello Pedro!
    everything going well! and you?
    thanks for your answer!
    i was now just wondering and testing how i could implement it.
    i already tested those links and they work like a charm however it is necessary to run the link. When we run the link, does it have to open a new page, or is there a way to run the link without going out of the line monitor screen?
    Best Regards

  • Trigger Jobs simultanously

    Hello Experts,
    I have a program (that generates a Job) that triggers about 7 reports according to a specific sequence (stored in a specific table). After getting this sequence i'm calling SUBMIT for each report... It gives something like :
    CALL FUNCTION 'JOB_OPEN'.
    LOOP AT SEQUENCE_TABLE.
    SUBMIT SEQUENCE_TABLE-REPORT_NAME. "(from report 1 to 7) Some reprts are also generating a Job
    ENDLOOP
    CALL FUNCTION 'JOB_CLOSE'.
    Using that solution i'm waiting for each report to be submited before triggering the next one...Now i'm looking for a solution that triggers the whole sequence at same time (Submit the reports simultanously) ?
    Can you help me on this ?
    THANKS
    Best Regards,
    Soufiane

    Hi,
    This may help:
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7f1f505211d189550000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm

  • Trigger a job based on a job that will be created during runtime

    I searched sdn and I did not find any threads addressing my issue(Trigger JOB B after a JOB A which will not be available untill runtime).
    My Req:
    I have a where in, a JOB 'A' will trigger to execute a BDC session in program A using a SUBMIT ...RETURN statement.
    I will have to trigger a different job 'B' using program B, the moment the 1st job runs completed.
    I thought this would be possible, by handling the events and trigger the FM in program A after the SUBMIT statement. But the problem is SUBMIT statement would just create the job and return the control back to the program A and immediately call the FM to raise the EVENT. In this case, my job B will trigger and even complete before JOB A could complete successfully.
    I tried using AFTER JOB option in SM36 instead of AFTER EVENT. The problem with this option is, JOB A will be available ONLY during runtime and hence cannot schedule program B with the option AFTER JOB.
    Any thoughts are highly appreciated.
    Thanks for your help.
    Best Regards,
    Kiran

    Hi Thomas,
    I programmed the way you mentioned and this triggers both the jobs at the same time.
    DATA: number  TYPE tbtcjob-jobcount,
          jobname LIKE tbtcjob-jobname.
    jobname  = 'JOB1'.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = jobname
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
      SUBMIT zhbn_life_premium_summary_rpt
      VIA JOB    jobname
          NUMBER number
          AND    RETURN.
      IF sy-subrc EQ 0.
        CLEAR: jobname.
        jobname = 'JOB2'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = number
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ELSE.
          SUBMIT zhbn_life_premium_summary_rpt
          VIA JOB    jobname
              NUMBER number
              AND    RETURN.
          IF sy-subrc EQ 0.
            WRITE: 'job 2 success'.
            jobname = 'JOB2'.
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = number
                jobname              = jobname
                strtimmed            = 'X'
              EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                invalid_target       = 8
                OTHERS               = 9.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
      jobname = 'JOB1'.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = number
          jobname              = jobname
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDIF.
    Am I missing anything?
    Thanks
    Kiran

  • How to Trigger CAF web services from java Job schedulers?

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

  • Trigger sheduled job

    Hi all,
    I need to trigger or release sheduled job when particular file is present in folder.
    I mean for example..
    I have sheduled a job ZFCP0001A01...I want to trigger job if ZFCP.TXT file is present in particular folder. If file is not present, then dont trigger job.
    Does anyone has program which i can shedule everyday to trigger above job if file present.
    Many Thanks
    Shiva

    Hi shiva,
    It is possible.
    Just create one event for job that you are going to monitor..i.e file placing in a folder.
    then by using SM36/SM37 u can schedule your job ZFCP0001A01 based on Job Start condition after event in SM37.  you need to configure it.
    Pls check with your basis people to create that event.
    Reward points if my reply helps u
    ~Lakshmiraj~

  • HR triggers job in CUP

    Hello there,
    I have an issue with my HR trigger jobs they are always in busy state as result i  am unable to capture  the Triggers in CUP
    we are GRC CUP 5.3 SP9
    can anyone share their experience please  ?
    Thanks
    MK

    Our Trigger jobs run smoothly most of the time.  However, sometimes, the JAVA system that we have GRC on will go down or restart itself.  When this happens, our trigger jobs are most likely in a Busy state since they run so often (every 60 and 80 seconds).  Once we click on the busy icon, they start up again.  We have made it a requirement that our GRC admin checks the trigger jobs at least once daily (normally every morning) to make sure the jobs aren't "stuck" in busy mode.  When we have more time, we plan to investigate further to find out why the java stack is restarting so often.  Right now we are just recording how often this happens.
    Hope this helps.
    Peggy

  • How to send mail after job abort

    Hi,
    how can I send an email when a job is aborted? Or is there a system event if a job aborts?
    Thanks for your help
    Lutz

    You might want to look into ABAP.  Basically a generic job that would get called, to send email, whenever a certain job "aborts", but then you'd also need a wrapper job for detecting the bad return code. help.sap.com has some info on that (using events to trigger jobs), like this:
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    or this (the full-control method)
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    CCMS can also monitor job status too, as the other poster said,
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    however it's very limited.  Especially if you want to use logic for the alerts (ie only certain jobs should alert upon failure, certain times of day, recipients, etc).  It's all possible with CCMS, I've seen it done before using scripts that read CCMS external alerting but it's probably easier just adding event triggers to your critical jobs.

  • Cancelling PeopleSoft job if running longer than max time

    We have some PeopleSoft jobs that we want Tidal to automatically cancel if they are still running after 2 hours, then automatically set the job to Completed Normally so the next job in the jobstream will start running.  We tried using a Job Event triggered by "Job running longer than its maximum time", with Selected Action = "Set To Completed Normally".  The problem is that it sets the job to completed normally on Tidal, but the job continues to run on PeopleSoft.  In other words, it's not cancelling the job.
    Next, we changed the Selected Action to "Cancel/Abort".  This worked in terms of cancelling the job on PeopleSoft, but we can't figure out how to automatically set the job to Completed Normally on Tidal after the job is cancelled.  There is an Event Trigger for "Operator cancelled the job", but apparently the event isn't triggered if Tidal cancels the job.  We also tried using Event Trigger = "Job completed", but that didn't work either since apparently Tidal doesn't consider a job in Aborted status as completed.
    Anyone have any other ideas on how to automatically cancel a PeopleSoft job and then automatically set the Tidal job to Completed Normally?  Thanks.

    Hello Richard,
    I would use the sacmd (windows) or the tesmcmd(Unix) to interact with the given job so to set it to whatever status you want ;
    - You have to first let the event Cancel/Abort it if running longer than expected by using the built in function (Cancel)
    - Then using the same event you need to trigger another job action that has the above tesmcmd command to set the job to Normally completed; for this you may need to create a new job that calls the tesmcmd/sacmd and then use jobset command.
    now you need to create a job action that triggers that job which will allow you to override the command parameters especially the RunID of your failed job.. hope i was able to get it right unless if you already figured that out.
    -rami

  • What do these background jobs stand for ?

    Hello BW Experts,
    These are the couple of background jobs prefixes that i need to analyse. Could you please suggest what these stand for ?
    BIREQU
    BI_AGGR4
    BI_BTCH
    BI_DELR
    BI_HIER
    BI_ODSA
    BI_PROCESS_ABAP
    BI_PROCESS_LOADING
    BI_PROCESS_ODSACTIVAT
    BI_PROCESS_TRIGGER
    BI_PSAD
    BI_REQD
    BI_STAT
    BI_STRU
    BI_WRITE_PROT_TO_APPLLOG
    RANATL_ACCT_CACHE_WARMUP
    Suggestions appreciated.
    Thanks,
    BWer

    Hi,
    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
    Bye
    Dinesh

  • 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

  • Rerun job based on job output pattern match?

    We sometimes get jobs completed abnormally when a SQL operation is the victim of a deadlock.  We would like to parse the output to search for the "deadlock victim" exact string in the error message, and rerun the failed job if so.  Is this possible?  I have an event setup and can capture the job output, but is there a way to search through it and rerun the specific job that failed?  Thanks.

    You can also create a new Job Event and select as an action Rerun, which is listed in the available Actions at the end of the list, and use the event trigger "job Completed Abnormally"  This available action it is already included when you install Tidal "Out of the box".  However, by using this action, the jobs will rerun automatically right away until there is a "Job Completed normally" condition or you select a Maximum Reruns count when you build this event.  This is available of TES 5.3.1 and TES 6X.

  • Email adapter hangs

    We have email trigger jobs setup to run. At times the jobs do not run even thought Tidal recieves and deletes the email. We then have to disconnect the adapter and reconnect and then the jobs take off. What causes this and is there a fix?

    Hi all
    Just  for your interest : I had same issue and it was due to a incorrect URL in the mail adapter ( I used my mailbox name and didn't specify the IMAP folder INBOX ):
    e.g. imap://mailserver/INBOX
    worked for me ( the individual mailbox is apparently found via the username/password ) with microsoft exchange as mail server
    hope it can still helps anyone,
    regards
    Dirk

Maybe you are looking for

  • Error while opening excel report

    Hi, While opening the excel report i am getting the below error. REP-51026: No output for job 8923 Note: We have deployed the report in 10g Oracle Reports server present in a UNIX m/c. Please let me know what i have to do. Thanks & Regards, Sudhahara

  • How do you change the # of photos in slideshow??

    Hello, I have been trying all bloody day to change the settins in the Adobe Bridge CS4 webgallery to show all 33 prints.. all it will do is 10! WHERE do you go to change that? Itried the edit..preferences... but it still will nly create a slideshow w

  • Airport Express Ethernet Out Issue

    I setup my AirPort Express N yesterday and everything is working fine except the Ethernet port.  I've been trying to set it up to connect to an iMac with no airport card to the Internet. Followed the manual setup to join a wireless network and clicke

  • How to change photostream account on apple tv?

    When I initially set up my Apple TV 2 screensaver I used one photostream account just to test it out... But now I'm using another account and need to change the account that is used on the apple tv's screensaver. Is there any way to do this without c

  • How to get my Itouch out of Recovery mode? Without restoring it

    When i plugged in my itouch into a different itunes a message came up saying "iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes." Since this is not my itunes can is there a way to not restore i