R3 job completion trigger a process chain to run on BW

Hello,
I was wondering how I can trigger a process chain to run on BW 3.5 after a SM37 job completes on R3?
I have been searching the forums and the web, but I haven't found what I am looking for.
Thanks,
Nick

Hello Pramod,
I would need a more detailed suggestion to implement, but thanks for starting the discussion.
I thought it would be as easy as this
1. Create an event in BW
2. Have a process chain that starts when that event is raised.
Having implemented and successfully tested steps 1 and 2, the rest should be simple (I was able to raise the event on BW locally and the chain did run as expected)
3. On R3, create a small ABAP program that calls the BP_EVENT_RAISED Function Module on R3.
4. Pass that Function Module the following parameters
        A. My BW system name, and
        B. The event name that I created on my BW system
5. Add that ABAP program to the end of the job on R3.
It doesn't work though! The event i created on BW, doesn't seem to exist from R3's perspective.  I was hoping it was as easy as that.  Hopefully I am missing something simple, but so far R3 does not want to cause the event on BW to be raised.
Thanks,
Nick
Edited by: Nick Bertz on Oct 13, 2008 12:19 PM
Edited by: Nick Bertz on Oct 13, 2008 12:23 PM

Similar Messages

  • Job to trigger a process chain

    Hi Gurus,
    I have to create a job in SM37 which triggers a process chain every day at 2 am.This job has to run after the completion of another job.Please let me know the procedure.I searched the forums but did not find anything suiting my requirement.
    Thanks,
    Sai.

    hi Sai,
    if you want to run the second chain after the successful execution of first chain,
    create two Process chains and link the two chains, while u looking both chains the system will ask you successful, (or)error (or) always; there u can choose successful;
    that means the second chain will start only after the successfull execution of PC1
    Regards
    ReddY A

  • How to trigger a process chain after R 3 job

    Hi All,
    We have a requirement to trigger a process chain immediately after the completion of R 3 job.
    could you please give me your input in this regard.
    rama

    Try to Search first.  This has been discussed a lot in this forum.
    Try these:
    Triggering a Process Chain From R/3 pgm
    There is even an OSS Note on how to do this:
    Trigger process chain using event

  • Trigger a process chain(PC) after successfull completion of two other PCs

    Hi All,
    My requirement is to trigger a Process Chain only after successfull completion of two other process chain which are already scheduled to run at different times.
    Please tell me how to achieve this into SAP-BW 3.5
    Thanks
    Jharna

    Hi
    It is very simple, I'm doing the same.
    Insert Remote Process Chain at the end of the actual process chain and call the other process chain, here you need to give source , destination and process chain name in Remote process chain.
    try it, it will work.
    Thanks
    Reddy

  • How to trigger a local process chain to run manually

    Dear Experts,
    In my company, I have a Daily process chain.
    In this Daily process chain, it contains many other local process chains which are grouped by modules.
    For example, I have created the following 3 process chains:
    - Accounts Receivables Process Chain which contains all the required process for loading FIAR data.
    - Accounts Payables Process Chain which contains all the required process for loading FIAP data.
    - Inventory Process Chain which contains all the required process for loading  Stocks data.
    These 3 process chains are scheduled one after the other in the main process chain which is called Daily Process Chain.
    FIAR needs to be successful before FIAP can run and Inventory chain will run only after FIAP is successful.
    Normally it runs without any problems.
    But recently, when the previous chain is successful, the next process chain does not get triggered to run.
    In the end, I have to manually execute the remaining process chains to start running.
    With this, all data are loaded, but the Daily Process Chain status for the day is yellow because it is not complete.
    Is there a program or method which I can execute or use to trigger the process chain to continue to run in the Daily Process Chain? If there is, please let me know so that I can avoid having to run the process chains manually one by one.
    Thanks in advance for your help.
    Regards,
    Shunhui.

    Check thid thread with the similar issue:
    Process Chain - Node untriggered.
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

  • How to trigger a process chain through

    Hi All,
    Can any one send me the steps to trigger a process chain through a job in sm37.
    Thanx
    Kishore

    Just a trigger ?
    Best way I can suggest is to call the function module 'RSPC_API_CHAIN_START'...
    So, create an ABAP Program, call the function in the program. You can add parameters and a selection screen to make the program generic and add variants to it.
    Once you are done with this, schedule a job with this program and whichever variant you're lookin for and you should be done.
    - Aditya
    Assign points if helpful

  • How to trigger the Process Chains in BI from ECC

    HI Friends,
    Can let me know  How to trigger the Process Chains in BI from ECC. Please let me know.........

    Hi,
    1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
    2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
    3) In BW schedule the PC..........and in the Start variant use this Event..........
    http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
    It can be help full
    Regards,
    Edited by: subba2010 on Aug 19, 2010 6:51 AM

  • How to Trigger a Process Chain through ABAP Program

    Hi
    I have a Requirement to trigger a process Chain on 1st, 2nd and 3rd day of the month for 2 times in a Day.
    Can any one give me any idea, how i can do it by writing a ABAP program and triggering the Process chain.
    If anyone can share the Logic for ABAP program means, that will be helpful for me, as i dont have much expertise on writing ABAP program.
    Regards,
    Muruganand.K

    Hi,
    you can achieve this in a following way.
    DATA : v_date type sy-datum,
    v_day(2) type c.
    v_date = sy-datum.
    v_day = v_date6(2).+
    if v_day = '01' or
       v_day = '02" or
       v_day = '03".
    CALL FUNCTION RSPC_API_CHAIN_START.
    pass the name of the chain to this function module.
    hope this wil help.

  • How-to trigger a process chain using ABAP?

    Does anybody know how to trigger a process chain using ABAP code?
    Any help would be appreciated!
    Thanks
    Ioan

    Hi Ioan,
    try this in your ABAP:
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            eventid         = 'Your Event'
            eventparm       = 'START'
            target_instance = ' '
          EXCEPTIONS
            OTHERS          = 01.
    and schedule your process chain, waiting for 'Your Event'.
    regards
    Siggi

  • Trigger a process chain when user clicks on save button in web interface

    Hi All,
    This is a issue I'm facing with the BW BPS web interface.
    BPS web interface generates a BSP application so thought posting this question in BSP forum might get some responses.
    The issue is I have to trigger a process chain when the user clicks on the save button on the web interface.
    I have no clue how BSP works. So if anybody has any ideas or suggestions I would greatly appreciate it.
    Thanks,
    Harini

    Hi Dhanya,
    This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
    REPORT  ZHTEST.
    DATA: l_subrc TYPE sy-subrc.
    DATA: ls_return TYPE bapiret2.
    CALL FUNCTION 'API_SEMBPS_POST'
    IMPORTING
       E_SUBRC         = l_subrc
       ES_RETURN       = ls_return.
    CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
      EXPORTING
        I_INFOCUBE               = 'ZMAP_TAB'
    EXCEPTIONS
      ILLEGAL_INPUT            = 1
      REQUEST_NOT_CLOSED       = 2
      INHERITED_ERROR          = 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.
    ENDIF.

  • BSP to trigger a Process Chain in BW

    Hi ,
      I have a requirement to develop a BSP Application in the BW System where the BSP Application have to get some input parameter and in the back ground trigger a process chain.
    Can any one tell me how to trigger the process chain in BW System from BSP. I have not worked on the BSP / BW combination ..
    It would be helpfull if there are some documents which would help me ..

    from your bsp application simply call FM RSPC_API_CHAIN_START to trigger process chain.
    Regards
    Raja
    reward points/close your previous threads
    Re: BSP Pages-  Icon not appearing
    BSP for pop up

  • How to trigger a process chain using external scheduler ?

    Hi all,
             we have a requirement wherein we need to trigger the process chains from an external scheduler used by client rather than directly scheduling it through BW scheduler.So any pointers on this will be heplful.

    Hi we have had a same scenario like this. You can schedule it using schedulers like autosys. Speak to your basis team and see if you have the autosys software installed or some thing similar to that. You have to write a program which calls the function RSPC_CHAIN_START. When you excute this program, it willl ask for a variant to execute. this variant will be the start variant of the process chain you want to trigger.
    the flow will be like the basis team will schedule the autosys or the scheduler to run the program and this program will in turn trigger the process chain.
    regards,
    Satish.

  • Why the process chain always run twice when triggered from R3?

    I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain.  But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time.  Does anybody knows the answer? 
    And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain.  In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used?   If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top.  If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right? 
    Thanks a lot and everyone's idea is greatly appreciated!

    Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain.  If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...".  There should only be one scheduled job with name BI_PROCESS_TRIGGER.  If there is more than one, then when triggered, it would execute more than once at the same time.  If there is only one job, then maybe your R/3 program is triggering the event more than once? 
    As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job.  These start conditions determine when or how the Process Chain is to be executed.  You also have control over frequency.  These start conditions determine the scheduling of the Start Process of your Process Chain.
    When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain.  BW controls the triggering of these jobs based upon how the processes in the Chain are linked.  All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_...  If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains.  Each job represents one of the processes within your process chains. 
    Does this help?
    Another tip might be to trigger the event manually in BW (use tx SM64).  If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
    Message was edited by: George Shannon

  • Process Chain excessive run time

    Hi all
    Would like to know if any of you have experienced what we are experiencing.
    We have a process chain that runs every night.  It is running the same master data which usually only takes seconds.
    However, on occassions, the same amount of data is taking over 18 hours to load.
    When we look on monitor in the detail tab, it shows that it has only taken seconds but the header tab is showing 18 hours.  This then delays any other subsequent process chains from being kicked off.
    We are investigating as to why this is happening but any comments would be appreciated.
    thanks in advance
    Sandra

    Hi Sandra,
    I can suggest you few things which may help u...
    1) Increase the parallel processing during extraction
    2) Selective loading.
    3) Every job will be having a priority (A, B, C – A being the highest and C being the lowest), choose this based on your scenario.
    4) Check with basis for the sizing of your server.
    5) You can increase the number of background processes during data loads. This can be done by making dialog processes as Background processes.
    For this you need basis inputs. (This is done in some profile settings by making the system behave differently during loads. (something like day mode/night mode))
    6) There are some maintenance jobs that should run regularly in any SAP box to ensure proper functioning.
    7) Use of start routines is preferred instead of update routines.
    Assign points if these help u...
    Regards,
    KK.

  • How to setup process chains to run during office times every 30 minutes

    I want to set up a process chain to run only during 8 am to 6 pm MST every 30 minutes. How do I do such a setting in the process chain?
    Regards
    Ram

    Hello,
    You can do this by creating a daemon chain which runs once every 30 mins and triggers a event.
    You can use the event triggered by the daemon chain in the start variant of the PC which you require to run every 30 mins.
    But before doing that, make sure that one run of your process chain completes definetly in 30 mins.
    Let me know if you are looking for additional information.
    Cheers,
    MS.

Maybe you are looking for

  • Issue in FDM Import script for ading multiple amount columns.

    Hi, I am trying to import the Multiple amount columns to be addedd and imported as one amount column.Below is the script I am using for the same,script is getting verified in Script editor but When I am trying to Load the File I am gettig an error as

  • Not able to generate the absence quota WITHOUT Time Evaluation

    Hi ALL, When i try to generate the absences quota for employees without time evaluation using program RPTQTA00, I am not able to generate it. And i am getting "E You have not selected any generation rules". Kindly if any one come across this issue pl

  • Flash menu in DW, how do I link the buttons?

    Hi there! I have a problem, i'm creating a site in dreamweaver with a lot of flash objects. For examlpe I'm making a flash menu, wich is the hole problem! I'm importing the flash file to the left frame in dreamweaver and i'm trying to link the button

  • How to have pop-up populate other field

    Hi-- I'm trying to make a small simple form, and I want the user to be able to select say, an item from a popup menu, and have the price field fill in determined by what they select. Is there a way to do this? Thanks.

  • Editing artist in itunes for my iphone

    I'm cleaning up all my music in my iphone. I can edit the artst, song, album etc, in itunes when my iphone is plugged in, but it then doesn't appear corrected on my iphone once i'm done. I have synced it after I edit, but still my music on my iphone