Diff in triggering Process chain by FM & Events

Hi Experts,
I would like to understand the difference in
1  Triggering the process chian by Functiton Module RSPC_CHAIN_START
2. Triggering the process chain by raising the event RSSM_EVENT_RAISE.
Regards
Suresh Kumar

Hi,
The difference when using either to start a process chain by event is minimal. RSPC_CHAIN_START can be used to kick off any process chain (whether event driven or not) whereas RSSM_EVENT_RAISE is used to generate an event which can be used for more than just process chains (background jobs can also be launched using events for example). So they do overlap in functionality when it comes to launching event driven PCs but also have their own unique functionality as well.
Hope this helps,
Regards,
Gareth

Similar Messages

  • Triggering of process chains based on  events

    Hello experts,
    I have a requirement to trigger the process chain whenever there is a file placed into the application server.
    The file comes comes into the application server  randomly i.e not periodically and the file name comes with created date and time.
    My process chain has to run immediately once file has been placed in the application server.
    Can you help me on this?
    Regards,
    Babu
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 22, 2011 2:49 PM

    Hi
    This means your Event need to run every day to check if the file exist or not? if the file exist in the application server then PC need to be triggered.
    Take the help of ABAP person, so that he can implement the logic you are looking for.
    Check the below link which can give u idea how to proceed.(its also similar to ur requirement)
    Triggering the Process Chains at Particular Date using Events
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c

  • Event Triggered process chain

    Hi Experts,
    We have a meta chain which contains two local chain in sequance and consuming 10 hours to complete
    Process Chain 1
    Process Chain 2
    We have used the events to trigger process chain 2 only when it meet certain condition and modified the meta chain as
    Process Chain 1
    Abap Prg to trigger Process chain 2
    But now the meta chain just consume 4 hours to complete even though process chain 2 is on progres.
    This is giving wrong update to the users as the load is completed.
    Is it possible to retain the status of the meta chain as in progress untill the process chain 2 triggered by event gets complets.
    Regards
    Suresh Kumar

    Hi Suresh,
    when you are using event as a process in the metachain, it checks if the event ran succesfullly or not.
    once the event is succesfull(event -  triggering of the process chain but not completion), the step turns green.
    so follow below procedure.
    1)in the abap program, instead of triggering the process chain,write a program which raises an exceptio if the condition you required is satisfied so that the step becomes red.
    use the proicess chain as next step in the process chain and conect this program to processchain step with th condition failure.
    Hope this helps,
    Srinath.

  • Problem with triggering process chain

    Hi
    We have a remote process chain that calls a process chain in another system.The process chain in the other system is not getting triggered with the remote chain.
    We have 3 such remote chains and we are facing such a problem with only one of them.
    The process chain in the other system has a start variant which gets triggered( i suppose) and gives an instance id...the next step in the process chain is to load data into a ODS.Now this step remains yellow forever.When i manually try to schedule this step it gives me records and the request in the monitor screen turns green.But the process chain step continues to remain yellow.
    What can be a way out for triggering the process chain or where could the problem be?
    Please help
    Thanks,
    Suchi

    Hi Suchitra,
    Even though ur process seems to be in yellow your data loading may be completed and the  reason for it may be the delay in activation of ODs by ur PC.
    For your information please go through the below infm provided in SAp Library
    Note when loading into an ODS object and for the subsequent, event-controlled update:
    If you switched on the automatic activation in the ODS maintenance or administration, the monitor status for the request remains yellow after the load was successfully completed. Nevertheless, the subsequent processing for the InfoPackage is started, because the loading process is successfully completed.
    [http://help.sap.com/saphelp_nw04/helpdata/en/65/163d3873130057e10000009b38f842/content.htm]
    I hope ur doubt is clear.
    Regards,
    Rajkandula

  • Process chains controlled by events!

    Hi Friends.
    I have one process chain at APO side and want to execute another process chain at BI side only when the process chain at APO side gets executed successfully.
    Since <b>APO and BI are two different systems</b>, how can i trigger the process chain at BI side once the process chain at APO side finishes its job?
    your help will be appriciated in terms of points.
    Manmit

    Thanks Geo,
    Sounds like a good description. I have one more question:
    1. created Function Module in BW lets say: FM_BW
    2. created ABAP Prog in APO lets say : ABAP_APO
    I will have to trigger this abap prog ABAP_APO at APO side through the process chain at APO side. How can i trigger this abap prog at APO side through this process chain?
    once this abap prog gets triggered at APO side which will call the Function Module FM_BW at BI side. Now this Function module should trigger my process chain at BI side. How does this Function module trigger my process chain at BI side. I can see in the code (Attached with note) that it takes Event ID to trigger a event. How will i know this event id associated with Process Chain at BI side?
    I have assigned points for the help so far..
    Thanks,
    Manmit

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

  • How to stop a triggered process chain

    Hi,
    Does anyone know how to stop a process chain? It was accidentally triggered twice and we need to stop it. Thanks.

    Hi,
    There r 2 ways to kill the job.
    One is using transation RSMO locate the job and display the status tab double click on the yellow light that is shown on the line total, a pop will come 'set overall status ' is displayed select the desired status that is red and save it. Then return to the monitor page and select the header tab double ckick on the data target right click and then goto 'manage',there should be request sitting there probably with yellow lights , highlight the line with the faulty request click the  delete button then click refresh button.
    Second is goto SM37 and click on the active selection and enter the jobname and then click excute the particulr job should appear highlight the jobname then click on the stop iconthat appears on the taskbar( 3 rd from left)
    hope it is clear.
    Regards-
    Siddhu

  • Triggering process chain in background

    Hi All,
    Could you please tell me how to trigger a process chain using background job ?
    Thanks,.

    Write a program to achive this based on your condition raise the event using function module.
    BP_EVENT_RAISE
    In the the process chain in the start process in scheduling options-----> use AFTER EVENT.
    To create a event you can in SM62.
    Hope this helps.
    Edited by: Praveen G on Oct 6, 2008 9:24 AM

  • Triggering Process chains through abap code

    Hi Experts,
    Can you please let me know if it is possible to trigger a BW Process chain using an abap code.
    If yes , kindly let me know the sample code.
    Help done would be appreciated.
    Regards,
    Uday

    Hi Thanks for your reply.
    When I am trying to execute process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chain being executing through one ABAP program using the following code
    CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
    EXPORTING
    I_CHAIN = 'XYZ'. ( Dummy Process chain name)
    While executing this program I am getting following message :
    You can specify the name of the application server here
    on which all jobs in the chain are scheduled
    If you do not specify a name, the jobs from batch
    management are divided between the available servers
    How to avoid this message.
    Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
    Your help is much appreciated.

  • Server name message when triggering process chain through ABAP PROGRAM

    Hi all,
    When I am trying to execute one process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chainis being executing through one ABAP program using the following code
    CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
         EXPORTING
           I_CHAIN      =  'XYZ'. ( Dummy Process chain name)
    While executing this program I am getting following message :
    You can specify the name of the application server here
    on which all jobs in the chain are scheduled
    If you do not specify a name, the jobs from batch
    management are divided between the available servers
    How to avoid this message.
    Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
    Your help is much appreciated.
    Thanks,
    Uday.

    Hi Shanthi,
    How to write exception handling for this.
    Quick reply is nedeed.
    Thanks,
    Uday.

  • Triggering process chains

    HI,
    What is the difference btn the jobs autosys_* & auto _*.
    Where we can see the scheduled timings for all the process chains.
    Reg, Nadalia Paiva.

    Hi,
    SM37 can give you the list of jobs. selecta  job and click -> Job->Job Details
    Thanks,
    Raj

  • Event is not getting triggered in the process chain

    Hi,
    We had a process chain which was triggered by an Event, and it was running fine until few days ago. So I removed the chain from schedule and re-scheduled it again with these details:
    File load: every 2 hrs
    Process chain setting
    Immediate tab: start immediately
    After event: "event name" and "parameter name" and periodic job: ticked
    I activated the chain and scheduled it. But the event is not triggered and the chain does not start. I even tried to trigger the process chain manually in sm64 but the process chain did not start.
    Can someone please tell me steps to automate the event triggering and also any setting that should be taken care off in the info package and the process chain.
    Thanks In advance.
    Ram

    Hello Ram, to start your Process Chain by an event, then you need to maintain the Start process of the process chain. 
    Select "Direct Scheduling".
    In the <b>Change Selections</b>, press <b>After Event</b>.  Put your event name and parameter (if any).  Also click on <b>Periodic job</b>.
    Press Save.  Then Activate and Schedule your process chain.  All your processes should turn green.
    To verify, right-click on the Start process and select <b><u>D</u>isplaying Scheduled Job(s)...</b>.  You should see a job called BI_PROCESS_TRIGGER in a <i>Released</i> status.  You can click on the job and look at the start conditions.
    When you go to trigger the event, use the same event name and parameter (if any) as in the start condition.  Your process chain will then execute.  To insure, use RSPC to view your process chain and press the <b>Logs</b> icon (last one at the top).
    Does this help?

  • How to determine the source of Events triggered in a process chain

    Hi ,
      We have almost a 100 process chains, and of these approx 20-30 local process chains are triggered by events raised within other process chains.  These events are raised via BP_EVENT_RAISE using the ABAP process type.
    However, our problem is to identify the source of these event trigger - i.e. which process chain triggered this event ?
    Looking at SM64, the event history does not display the source for these events.
    Is there any table or program that we can use to determine the source of these events which are triggered.
    Any help is much appreciated and points awarded.
    thanks
    BK

    Hi,
    do check in the program /SSA/BWT . or TCODE - ST13 -- enter BW-TOOLS and execute. -- Choose Process chains and execute --- Select the date and time for which you want to see the process chains and execute again.
    This will give you the entire list of process chains triggered, status, timings(start, end, overall runtime). Once clicked on the process chains it will show you the steps in theprocess chains, data loaded in the data targets, source system, etc...
    hope it helps.

  • Canceled Status in Job Detail, Process Chain triggering w/event

    Hi All,
    I have created event, PC and trigger event with SM64 or with ABAP, everything is ok
    if I activate and Schedule PC, I see BI_PROCESS_TRIGGER job with released status, and when I trigger the event nothing  is happened but when I checked the Job detail I see canceled status job.
    I donu2019t understand why this problem occurs ?
    I can trigger the event but before event trigger the PC, scheduled job detail directly turn to the chancel status.
    if any one give me a clue to solve this problem I will appreciate
    Note : No Job log !!!
    Thanks
    Ali

    Ali,
    Check authorizations.
    Try to run process chain with out event(immediate) and check.
    Srini

  • Process Chain after EVENT - More than once

    Hi all, I would like to run a process chain after an event; everything works fine with the following model...
    PC1 >>
         >> some processes
         >> EVENT TRIGGER
    PC2 >>
         (after EVENT) runs ok after event ONLY if I SCHEDULE it
    After succesfully run, I've tried to run again immediatly PC1 again and it runs ok, even triggers mentioned EVENT, but PC2 never runs again until I manually SCHEDULE it.
    The answer is: how should I SCHEDULE the process chain PC2 so I'll "never" need again to SCHEDULE it when I want it to run after event triggered on PC1?
    Hope you can help me.
    Thanks a lot!
    Bernardo

    Hello,
    Both process chains are separated. At the model I described, at the end of PC1 event is succesfully triggered. After event is triggered at PC1, PC2 triggers correctly due it is scheduled as "after event".
    Everything works fine, then, if I trigger PC1 again it runs correctly; event is triggered succesfully but PC2 (that is scheduled as "after event") doesn't runs; this is because I haven't SCHEDULED it again (after the first succesfully run).
    What I want is not schedule PC2 after a succesfully run. Is there any way to reach that purpose?
    Thanks again!
    Bernardo

Maybe you are looking for

  • Logitech Marble Mouse and Xorg 1.8

    With the update to xorg 1.8, fdi files in /etc/hal/fdi/policy are no longer being used. I created a workaround for my Marble Mouse by creating a file named /etc/X11/xorg.conf.d/10-marblemouse.conf Then I added the following cote to it: Section "Input

  • MacBook 13-inch Aluminum (Late 2008) to Sony Bravia KDL-40W5800

    Hello forum, I am looking to buy a Sony Bravia KDL-40W5800 (Sony link, Amazon link) in the near future. I am going to be using it to play PS3, watch television and DVDs/Blu-Rays, but also I would like to be able to connect my MacBook to it if I wish

  • Stop/Start Web Application - Not redeploy

              (WLS 6.1 SP3)           When I deploy an application using the console the JSPs are all seen as up-to-date           and it does not need to recompile them.           If I try to deploy it using the command line "weblogic.deploy update" the

  • Managing more than 1 TB size of Database

    Is there any guidance available to handle more than 1 TB size Database on Unix and Windows NT/2000 Thanks Regards Jag

  • Zen mp3 player -- HELP ple

    We just opened and began installation and activation this hour. The player is not turning on. My son worked hard to earn money for this player and is in meltdown that it may not be broken. Someone please help me. What do we do?