How to trigger Process after Event

Hi,
I am trying to trigger a PC after an Event. This event is another PC variant. I know this will be Event= RSPROCESS but, How to get the value for Parameter.
Thanks in Advance

For Process Chain Adhoc scheduling
1)You can make the process chain to be trigered by an event.
You do so by having the Job that start the PC start after an Event.
Then you define your set of job's (tcode:  SM37) and make sure these jobs fire the event that starts the PC.
There is an ABAP program you can use that fires events (FM -> BP_EVENT_RAISE).
try this in your ABAPcode:
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Your Event'
eventparm = 'START'
target_instance = ' '
EXCEPTIONS
OTHERS = 01.
schedule ur process chain,
2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
3) u can do this by an alternate way--> click  start process, --> selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values , and activate it.

Similar Messages

  • How to Trigger process chains??

    hi all
    How to Trigger process chains??
    Can anybody step by steps??
    thanks
    Senthil

    The background control options are available to directly schedule the start process. You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
    You can also trigger the start of a process chain via a meta chain. A meta chain is when a process chain, to which you set this start condition, is fixed to another process chain. The process chain is started directly by this meta chain.
    When you start the start process via a meta chain, it is not scheduled after you activated the related process chain. The process is only started when the meta chain, to which it is linked, is running.
    The remaining chain processes, that is the application processes and the collection processes, are scheduled to wait for an event.
    The start process has the following special features:
    Only the start process can be scheduled without a predecessor process.
    The start process can not be a successor to another process.
    Only one start process is allowed for each process chain.
    One start process can only be used in an individual process chain

  • How to trigger Alert with Event Linkage?

    Hi,
    Can any one tell me the process how to trigger alerts with event linkage? I am successul in triggering by calling function module SALRT_CREATE_API.
    my scenario is...
    when a purchase order is cancelled, i have to trigger an alert to the concerned department head throgh Alert Inbox and external mail also.
    Plese guide me..
    Regards,
    Dhanunjaya Reddy

    Hi,
    now i am getting alerts from Event Linkage.
    Here i take the scenario Sales order change.
    BOR object : BUS2032
    Event          : Changed
    Receiver type : <my alert>
    Receiver call  : Function Module
    Receiver Functiona Module : SALRT_CREATE_VIA_EVENT
    Linkage is activated.
    when a sales order is changed receiver function module triggering the alert which is defined in Receiver type. That i am getting in my alert inbox. Upto this.. it is cleared.
    Now the scenario is.. about Alert Container
    in alert container i take element is BOR Object type BUS2032.
    the questions are..
    1. Is it correct to defined BOR object here to get data when Sales order has been changed.
    2. What are the properties i have to take in Properties tab?
    3. How to use alert container parameters in short and long text?
    Here my clear intention is when a sales order is changed.. i have to get the data related to that sales order and it has to show in Alert.

  • How to define custom event and how to trigger the defined event

    hi,guys
    hurry issue....................hope get help.
    I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
    thank you so much.
    question detail:
    1.for java portlet ,how to define custom event.
    2.how to trigger this event.
    3 about the data,may be sometime need to transit Biz data.
    auctully,I just want to implements between two portlets communicate.
    for example:
    existing portletA,portletB.
    portletA is a list,like:
    A AA <button>
    after I click this buttom,then portletB will be effect,it means they are interact with each other.
    does anybody hit this issue before,if you solved pls share me .
    thank you for you help....

    Hello,
    Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
    From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
    import javax.portlet.ActionResponse;
    import javax.portlet.ActionRequest;
    import javax.servlet.http.HttpServletRequest;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
    HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
    portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
    To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
    <netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
    <netuix:invokeJavaPortletMethod method="processCustomEvent"/>
    </netuix:handleCustomEvent>
    </netuix:javaPortlet>
    </portal:root>
    Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
    public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
    The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
    Kevin

  • How to trigger the "click" event using javascript in LC8?

    I have 2 button in the form. I don't want the user to click the button1 directly (invisible now). but I want the user click the button2 and then do some checking. after checking is finisined,  the script will continue to trigger the button1 "click" event. How to trigger the button1 "click" event through javascript in LC 8? Thanks.

    button2.execevent("click");

  • How to trigger window minimize event manully

    in my program i've two jframes, i want to hide one frame when clicking a button in another frame.
    I achieved it thro frame.setVisible(false) but i want native minimize transition and than hide.It's just like when a user clicks the button other frame must minimize and than hide.
    so i need to trigger the minimize event thro program, how can i do that

    Juz execute this code armi, it works fine... tell me after that... the previously attached code was wrong... use this...
    import java.awt.BorderLayout;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class Class7 extends JFrame implements ActionListener
      private JPanel jPanel1 = new JPanel();
      private JButton jButton1 = new JButton();
      public Class7()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      public static void main(String[] ar)
        Class7 c = new Class7();
      private void jbInit() throws Exception
        jPanel1.setLayout(null);
        jButton1.setBounds(new Rectangle(115, 215, 175, 35));
        jButton1.setText("jButton1");
        jButton1.addActionListener(this);
        jPanel1.add(jButton1,null);
        this.getContentPane().add(jPanel1, BorderLayout.CENTER);
        this.setSize(400,400);
        this.setVisible(true);
      public void actionPerformed(ActionEvent ae)
      if(ae.getSource() == jButton1)
        this.setExtendedState(this.ICONIFIED);
    }Hope this helps u...
    Regards,
    Ciya

  • How to trigger Business Transaction Event "WEIGH" in WM?

    How to trigger the Business Transaction Event "WEIGH" in WM from a user program?
    This "WEIGH" Business Transaction Event is supposed to modify the status in "status Management System" of SAP.
    Appreciate some feedback.

    Hi Ashutosh, if you are trying to raise a custom event you first must define the event within your business object, using TC SWO1.  If you like you can extend an existing business object or create a new one.  Once your business object is activated and your event is released you should be able to trigger it with the FM 'SWE_EVENT_CREATE'.
    P.S  If you are extending an existing business object, for example BUS2105 and your extended name is ZMBUS2105, refer to the original name, i.e. BUS2105 for the objtype field in the call to 'SWE_EVENT_CREATE'.
    Hope that helps,
    Kevin

  • How to trigger the valuechange event on button

    Hi All,
    I am working on ADF Application and i have a requirement where i have a valuechange event function associated with the textbox andthe requirement is like the user will enter the value in text box and he/she will press the submit button directly without tab out .I want to trigger my value change event first and if all validation goes right then it should trigger the button event but user will press the butto only once.
    Please reply !!!
    Urgent !!
    Thanks..

    public int validate(){
    int result=0;
    if (value == null){
    //do something
    result=1;
    return result;
    on button click call this
    public String commandButton1_action() {
    if(validate()!=0){
    return null;
    //do rest...
    }

  • How to trigger Process event in Process Chain

    We have a Process chain in which the Event is seen in Yellow ,but it is finished. Down the below Event is not trigerring. How to do that. Please suggest.
    Thanks

    Hi Annapurna,
    Goto SE38 run the function module RSPC_PROCESS_FINISH by providing the entries in LOGID, TYPE, VARIENT, INSTANCE and STATE.
    These entries can be get in the table RSPCPROCESSLOG. To execute the table entries go to SE16 and give table name RSPCPROCESSLOG and press enter. Then in the processchain where the chain got stuck, double click on the varient and goto chain tab and you will get VARIENT and INSTANCE.
    Copy and paste these in the table RSPCPROCESSLOG selection screen and execute. Here you will get  LOGID, TYPE, VARIENT, INSTANCE.
    Enter all these field in function module RSPC_PROCESS_FINISH by providing the STATE as G and execute.
    Your stuck process chain will move further.
    Thanks and regards
    Koushik
    Steps same as described by AP.
    Hope it helps.
    Edited by: koushik gowda on Jul 16, 2009 11:40 AM

  • How to trigger the exit event of a subform?

    hi there,
    we added some code to the exit event of a subform to do some validation, but we found out that
    if the user save the form after filling it and without clicking somewhere outside the subform,
    the exit event will not be trigger, so the code will not check ,then the form got saved with errors.
    could you pls tell us how to solve this?
    br.
    zj

    Hi,
    Instead of writin code in Subform just write the code in exit of the individual field.
    thanks,
    Amish.

  • How to trigger process chain when datasource is loaded with new data? PUSH

    Hi all,
    Till now we use the pull method to load data in BW which is done manually......but we would like to work with the PUSH method where whenever new data is loaded in the datasource an event is triggered which inturn triggers the process chain...
    how is this possible? can we do this on a timestamp on the datasource to trigger the event?
    rgds,
    wills

    hi Geo,
    Thanks for ur response. I appreciate it.
    The case is slightly different. I am working on Bank analyzer data which is residing in a source system defined to load the results from the Results DataBase, a part of the Bank analyzer.
    If it was R3 we have the standard calling procedures...but now the data in not in R3 but in Bank analyzer.
    I am keen to look at some procedure to push the data automatically whenever an end user execution is done at the BA level into the BW.
    ur help would be highly appreciated....
    thks,
    rgds.
    wills

  • How to  trigger specific DB event on msg content basis- DTD is same,

    Hi,
    Scenario is like this:
    I will receive PO from diff. customers(set up in Oracle B2B) , all sending in same DTD format(3A4 PIP), all msg will routed to iStudio via IP_IN_QUEUE (queue mngt provided by Oracle B2B), being published by AQ adapter & subs. by dbadapter.
    I have to trigger diffrent events on the basis of few fields (DUNS num).. the dtd for all the events is same? How can I do this?
    All the events are created in different business objects itself... plz suggest whether this approah is right or not .. -:(.
    Actually ecah event had few hardcodings which caused to create seperate events/BO for the TPs, but if the msg is coming from same queue how can I route it to diff events?
    What is the use of Event Map tab present in define App view of AQ Adapater? Will this be helpful in some way?
    Any pointers will be a great help.
    Regards,.
    MSri

    I find the OAIHeader very useful to try to ascertain from what adapter the inbound message was sourced from.
    Include the OAIHeader in your Common View, and pass the SenderName / SendingApplication / BusinessObject / EventName / through to your Subscribe Application View.
    At runtime, the OAIHeader section of the Common View will get filled in, and when mapped to an attribute(s) on your Subscribe code, you may be able to trigger your inbound message handling based on this / these fields contents.
    HTH
    Yan

  • How to complete process with event listening inside

    Hi all,
    I have a workflow, a part of it contains a branch gate way:
    Branch 1: Wait point (7 days)
    Branch 2: Listening event
    If after 7 days and no event is sent, the workflow auto emails user and closes
    Oherwise it will route to another user.
    I observe that if event is received, then at the end the process status can be COMPLETE. But if after 7 days and no event is received, after last user complete the form, the process status is still RUNNING.
    I'm thinking about this approach: adding 1 sending event after wait point in branch 1, it send an event so that branch 2 can be completed.
    Is there any other solution to complete this kind of process?
    Thank you and regards,
    Anh

    instead of using a gateway and an event recieve, catch the event on the wait operation (so that the event icon is on the corner of the wait operation's icon). That way, the event is listened for only during the time that the wait operation is executing.You draw a route off of the operation, and you draw a route off of the event catch. If the event catch occurs, its route is followed but not the other. Make sense?
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/000113.html#1032048
    scott

  • How to Trigger  Object type Event programmatically  in ABAP ?

    Experts,
    How to Generate an Object Type Event  programmatically in ABAP ???  We know that SAP std. applications do this by default ,for eg:  Sales Order creation event generation,  similarly , i want to generate an Event  ( SAP or a Z object event ) in my Z program ,, How can i do it ???  Do we have any function module for this one ?  I can do an BDC  CALL TRANSACTION SWUE but i don't want to do that,  i want to use some other method other than BDC.
    Would appreciate your reply . Thanks
    Ashutosh

    Hi Ashutosh, if you are trying to raise a custom event you first must define the event within your business object, using TC SWO1.  If you like you can extend an existing business object or create a new one.  Once your business object is activated and your event is released you should be able to trigger it with the FM 'SWE_EVENT_CREATE'.
    P.S  If you are extending an existing business object, for example BUS2105 and your extended name is ZMBUS2105, refer to the original name, i.e. BUS2105 for the objtype field in the call to 'SWE_EVENT_CREATE'.
    Hope that helps,
    Kevin

  • HOW TO TRIGGER CHECK BOX EVENT IN BLOCKED LIST OUT PUT

    Hi Abapers,
    I am developing ALV Blocked list using 3 internal tables.
    in output list my requirement is if I click one check box in one intrrnal table the below internal table checkboxes should be checked.
    how to solve this problem this is very urgent to me I hope somebody will help me.
    Regards
    Shashikumar.G

    Hi
    First you need to register the events of clicking of the checkbox.
    Once registerred, you can capture that event and when occured, you can set the checkboxes for below internal table.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/95/34eb7feb6211d3a7270000e83dd863/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/95/34eb7feb6211d3a7270000e83dd863/frameset.htm</a>
    Regards
    Raj

Maybe you are looking for