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

Similar Messages

  • 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 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 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 access specific control event in other component

    Hi to all friends out there.
    I have created few components in which i am doing comunication through events. But my problem is that for achieving this i have to make event bubble and than add listner to where i want to use.As event it bubble and same ype of event is bubled by other compononents.
    So please tell me how i fillter specific event to that componet where i am adding eventlistener.
    Thank you in advance.

    If you want specific rows, you can always load the values from the ResultSet into a Map and access them that way. You shouldn't be noodling around with a ResultSet that way - it's a database cursor, not a substitute for a data structure.
    If you really need just a few rows, you'd be better off writing a narrower query to get just what you need. Bringing back 1,000 rows for the sake of accessing a handful is a waste.

  • 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 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 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 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.

  • 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

  • How to trigger single click event in ALV

    Hi Experts,
          I am trying to raise an event in a module pool program whereby an event will be triggered on  a single click of a particular row in the ALV.
       My requirement is that in the table display , which is being handled OO method, once the user clicks on a particular row - the details of the row should be displayed in another part of the screen.
       I have used hotspots and done this - but I do not want all my entries underlined.

    Hi Atish,
    Is there any other way to trigger the single click event in the ALV grid display for a particular row ? I have come across an event CLICK_ROW_COL, which I think may solve the problem, however this is a protected event and whenever I try to access it , I get the error that a protected event cannot be accessed.
    Edited by: Aditya  Niyogi on May 14, 2008 6:33 AM

  • How to trigger standard FPM events through coding.

    While a standard FPM event triggers, it carries out with some event parameters which are automatically filled and is taken care by standard program.
    I have a requirement to raise a standard event manually, but in this case, the standard event parameters are not filled.
    Can any one tell me if there is any way through which I can get the event parameters automatically by raising a standard fpm event manually.

    Hi Chittibabu,
    There is no any such method to fill the event parameters automatically while we raise standard fpm event manually. You have to fill the parameters accordingly before you raise fpm event manually.
    Regards,
    Ravikiran.K

  • How to trigger a save-event over differernt nestet iViews

    Hello,
    on a layout we have lots of fields so we split them up into different nestet iviews (due to the 32K problem and optical advantages). Now we want to have one save button that saves the input over several iviews and forms. The problem is, that the action in standard can only carried out for 'self' or one of the other forms (action... apply to: <self>).  Any idea how to handle this?
    thanks in advance,
    Jochen

    Hi,
    I don't think it is possible with one Save button ,because when ever you creat a Button with some action it will apply to the any one form or table or Chart.
    And you can avoid the 32K Bug or 62K bug using Flex2 compiler.
    If use Flex2 then your problem of creating the Nested iview will be Solved.
    Regards,
    Govindu

Maybe you are looking for

  • HT1040 No more pdf book preview in Aperture 3.5?

    It seems there is no more pdf preview available since Aperture 3.5  (I'm using 3.5.1) available?  There was a preview button in the book buy dialog 3.4, which also allowed saving the preview as pdf.

  • To find Invoice Open or Partially Paid

    Hi friends, I have open invoices and iam displaying AMOUNT BSID-WRBTR in my report. a) Now i have to find out the invoice is fully open or partially paid. b) If partially paid what is the amount which is paid and what is the due amount.. what are the

  • Can I adjust the speed at which an audio book is read?

    I have an older version on which I can adjust the speed at which a book is read. Is there a way to adjust the speed on the new one?

  • Using flex Panel in Photoshop CS4

    Hello, I need to create a flex panel which will be shown in Windows->Extension menu in PS.I have created the flex panel and it shows in the correct menu in PS CS4 but when i click on the menu to open the panel,I get a blank panel. No items on the pan

  • Installing two different webgates

    Hi, I have to install two different webgates for two applications. What would be the way to do that? Should I install the webgates in two different instances as I am unable to figure out a how to put these two different generated ObAccessClient.xml a