Oracle Business Events related help needed

Hello All,
Good Morning , wanted some help regards Oracle Business events be used for sending notifications.
We are having a situation wherein we need to send notifications to the sales team whenever there are changes to the order line status..lets say the order line moves from Booked status to Awaiting Shipping status and further to Picked or Shipped status, we need to notify the sales team about this.
If we are going to use Business Events concept for this we wanted to check on the below points -
1.At the order line level what all seeded business events have been defined ( means if we could get the complete listing ) and whether any of these gets triggered when the order line status changes...we are on Oracle Release 12.0.6 version
2.Also is there a way to know what all parameters are being passed for a given seeded event, so that we know which parameters we could retrieve within the subscription using wf_event_t.getvalueforparameter function.
3.Regards setting up Subscriptions for this order line seeded business event : means we could see an option which says : "Send a Notification" when we are defining a Cstom Sbscription ( Now here it asks to give the Message Type ( This would be workflow item type where the message is defined in workflow ) and Message Name ) ..
Now if in this NOTIFICATION MESSAGE we need to show details like order number , sales rep , order line status etc ( then where do we set these details in the Event and also how do we pass these details from subscription  so that it shows in the notification )
Means where do we setup and define values for the notification message attributes and how do we pass these values from event to the subscription and finally to the notification..How do we achieve this because some of the message attributes for the notification are Document Type while some are text/number types.. These would be required to show in the notif message...
4. Also once we send the notification lets say succesfully to person or a role using a subscription , how do we capture the response ...
Could someone please help us with this as we are stuck with this at the moment.
many thanks

Hi,
please reply the above questions.it  would be a great help for me.
Thanks
Sap Guru

Similar Messages

  • Business Events related to AME Rules in iRecruitment

    Hello all,
    We have a Seeded AME rule and want to know which business event is firing that rule. Is it possible to find this out? The reason i want to know is we have a seeded rule called "Apply For Job - Manager Rule" which is related to iRecruitment. I want to know when this rule is fired. I tried so many ways to find out but couldn't.
    Thanks
    KK

    That means you want to know the condition on when this rule will be fired.
    So, search for the rule see if the Update icon is enabled. If enabled click on it there you can see the conditions.
    If update icon is not enabled, then on top you can see Conditions tab. Click on that.
    Conditions are based on the AME Attributes. There is one more attribute tab to see the definition of the tab.
    Regards,
    Peddi.

  • How to invoke BPEL process using Oracle Business Event System (BES)?

    Hi,
    I want to invoke a BPEL process using Business Events and Subscriptions (Oracle BES/Workflow). If anyone knows how this can be done, please reply to this thread. You can also mail me at [email protected]
    Thanks,
    Gaurav.

    yeah you are 100% correct ..
    I have attached some stuff for CDH integration, where we used plsql to send out info on a created record to a queue.
    CREATE OR REPLACE
    TYPE XXBPEL_MESSAGE_TYPE AS OBJECT (
    MSG_ID VARCHAR2(128),
    INREPLYTO_MSG_ID VARCHAR2(128),
    FROM_PARTY VARCHAR2(512),
    TO_PARTY VARCHAR2(512),
    ACTION_NAME VARCHAR2(512),
    MSG_TYPE INT,
    PAYLOAD CLOB,
    ATTACHMENT BLOB
    EXECUTE DBMS_AQADM.create_queue_table (queue_table => 'XXBPEL_QTAB',queue_payload_type => 'XXBPEL_MESSAGE_TYPE',multiple_consumers => TRUE);
    EXECUTE DBMS_AQADM.create_queue (queue_name => 'XXBPEL_OUT_QUEUE',queue_table => 'XXBPEL_QTAB');
    EXECUTE DBMS_AQADM.start_queue(queue_name => 'XXBPEL_OUT_QUEUE',dequeue => TRUE,enqueue => TRUE);
    On BPEL side creata a process that listens to this queue (with and AQ partnerlink) as shown in $BPEL_HOME/integration\orabpel\samples\tutorials\124.AQAdapter\MulticonsumerInbound
    thx clemens

  • Approver related help needed

    Hi all
    I am using WS14500015 for item level SC approval. I have some issues with it.
    1) If no approvers are found then I need to send it to some default approver. I filled the approval_administrator table but still nothing happens.In approver preview I get the default approver description but when I click on it "No approvers found" gets displayed in details. Please help me out to fix this.
    2) In standard substitution anybody can be attached as substitutes. I have a requirement wherein only those people with certain roles should be able to be assigned as substitutes. Is there a badi or so where I can code this?
    3)What to do for restart of workflow? I have gone through the notes and also posts on this but still cant understand how to go about it.
    Please help me out with these. Its very urgent.

    There really is not something easy to learn or a structured method about tuning. It is about knowing what Oracle does under the covers and why. For this you'll have to do some necessary reading, so I'll also advice you to read the link provided by cd. And I also recommend the book Cost-Based Oracle Fundaments by Jonathan Lewis.
    And a practical tip, it is obvious but unfortunately most often forgotten: first diagnose the problem to be able to pinpoint the root cause. You have several tools for this: "top" command from Unix, SQL*Trace/tkprof, explain plan, dbms_profiler, trace events, statspack. My advice is to work with them to be familiar with them so you can use them efficiently.
    Hope this helps.
    Regards,
    Rob.
    Message was edited by:
    Rob van Wijk
    Fixed url

  • Event Handling Help needed please.

    Hi,
    I am writing a program to simulate a supermarket checkout. I have done the GUI and now i am trying to do the event handling. I have come up against a problem.
    I have a JCombobox called prodList and i have added an string array to it called prods . I have also created 2 more arrays with numbers in them.
    I want to write the code for if an item is selected from the combo box that the name from the array is shown in a textfield tf1, and also the price and stock no which correspond to the seclected item (both initialised in the other arrays) are also added to the textfield tf1.
    I have started writng the code but i am really stuck. Could someone please help me with this please. The code i have done so far is as follows(just the event handling code shown)
              public void ItemStateChange(ItemEvent ie){
              if(ie.getItemSelected()== prodList)
                   changeOutput();
              public void changeOutput()
                   if(ItemSelected ==0)
                        tf1.setText("You have selected" +a +b +c);
         }

    Do you say this because i missed the d of ItemStateChanged ?
    I have amended that but still i am getting the same errors class or enum expected. 4 of them relating to the itemStateChanged method.
    i will post my whole code if it helps
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Observer;  //new
    import java.util.Observable;//new
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    public class MySuperMktPro
         public MySuperMktPro()
              CheckoutView Check1 = new CheckoutView(1,0,0);
              CheckoutView Check2 = new CheckoutView(2,300,0);
              CheckoutView Check3 = new CheckoutView(3,600,0);
              CheckoutView Check4 = new CheckoutView(4,0,350);
              CheckoutView Check5 = new CheckoutView(5,600,350);
              OfficeView off111 = new OfficeView();
        public static void main(String[] args) {
             // TODO, add your application code
             System.out.println("Starting My Supermarket Project...");
             MySuperMktPro startup = new MySuperMktPro();
        class CheckoutView implements ItemListener , ActionListener
        private OfficeView off1;
         private JFrame chk1;
         private Container cont1;
         private Dimension screensize,tempDim;
         private JPanel pan1,pan2,pan3,pan4,pan5;
         private JButton buyBut,prodCode;
         private JButton purchase,cashBack,manual,remove,disCo;
         private JButton but1,but2,finaLi1,but4,but5,but6;
         private JTextArea tArea1,tArea2;
         private JTextField tf1,tf2,tf3,list2;
         private JComboBox prodList;
         private JLabel lab1,lab2,lab3,lab4,lab5,lab6,lab7;
         private int checkoutID; //New private int for all methods of this class
         private int passedX,passedY;
         private String prods[];
         private JButton rb1,rb2,rb3,rb4;
         private double price[];
         private int code[];
         public CheckoutView(int passedInteger,int passedX,int passedY)
              checkoutID = passedInteger; //Store the int passed into the method
            this.passedX = passedX;
            this.passedY = passedY;
              drawCheckoutGui();
         public void drawCheckoutGui()
              prods= new String[20];
              prods[0] = "Beans";
              prods[1] = "Eggs";
              prods[2] = "bread";
              prods[3] = "Jam";
              prods[4] = "Butter";
              prods[5] = "Cream";
              prods[6] = "Sugar";
              prods[7] = "Peas";
              prods[8] = "Milk";
              prods[9] = "Bacon";
              prods[10] = "Spaghetti";
              prods[11] = "Corn Flakes";
              prods[12] = "Carrots";
              prods[13] = "Oranges";
              prods[14] = "Bananas";
              prods[15] = "Snickers";
              prods[16] = "Wine";
              prods[17] = "Beer";
              prods[18] = "Lager";
              prods[19] = "Cheese";
              for(i=0; i<prods.length;i++);
              code = new int [20];
              code[0] = 1;
              code[1] = 2;
              code[2] = 3;
              code[3] = 4;
              code[4] = 5;
              code[5] = 6;
              code[6] = 7;
              code[7] = 8;
              code[8] = 9;
              code[9] = 10;
              code[10] = 11;
              code[11] = 12;
              code[12] = 13;
              code[13] = 14;
              code[14] = 15;
              code[15] = 16;
              code[16] = 17;
              code[17] = 18;
              code[18] = 19;
              code[19] = 20;
              for(b=0; b<code.length; b++);
              price = new double [20];
              price[0] = 0.65;
              price[1] = 0.84;
              price[2] = 0.98;
              price[3] = 0.75;
              price[4] = 0.45;
              price[5] = 0.65;
              price[6] = 1.78;
              price[7] = 1.14;
              price[8] = 0.98;
              price[9] = 0.99;
              price[10] = 0.98;
              price[11] = 0.65;
              price[12] = 1.69;
              price[13] = 2.99;
              price[14] = 0.99;
              price[15] = 2.68;
              price[16] = 0.89;
              price[17] = 5.99;
              price[18] = 1.54;
              price[19] = 2.99;
              for(c=0; c<code.length; c++);
              screensize = Toolkit.getDefaultToolkit().getScreenSize();
              chk1 = new JFrame();
              chk1.setTitle("Checkout #" + checkoutID); //Use the new stored int
              chk1.setSize(300,350);
              chk1.setLocation(passedX,passedY);
              chk1.setLayout(new GridLayout(5,1));
              //chk1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              cont1 = chk1.getContentPane();
              //chk1.setLayout(new BorderLayout());
                 pan1 = new JPanel();
                 pan2 = new JPanel();
              pan3 = new JPanel();
              pan4 = new JPanel();
              pan5 = new JPanel();
              //panel 1
              pan1.setLayout(new FlowLayout());
              pan1.setBackground(Color.black);          
              prodList = new JComboBox(prods);
              prodList.setMaximumRowCount(2);
              prodList.addItemListener(this);
              but1 = new JButton("Buy");
              but1.addActionListener(this);
              lab1 = new JLabel("Products");
              lab1.setForeground(Color.white);
              lab1.setBorder(BorderFactory.createLineBorder(Color.white));
              pan1.add(lab1);
              pan1.add(prodList);          
              pan1.add(but1);
              //panel 2
              pan2 = new JPanel();
              pan2.setLayout(new BorderLayout());
              pan2.setBackground(Color.black);
              lab3 = new JLabel("                                Enter Product Code");
              lab3.setForeground(Color.white);
              tArea2 = new JTextArea(8,10);
              tArea2.setBorder(BorderFactory.createLineBorder(Color.white));
              lab5 = new JLabel("  Tesco's   ");
              lab5.setForeground(Color.white);
              lab5.setBorder(BorderFactory.createLineBorder(Color.white));
              lab6 = new JLabel("Checkout");
              lab6.setForeground(Color.white);
              lab6.setBorder(BorderFactory.createLineBorder(Color.white));
              lab7 = new JLabel("You  selected                      ");
              lab7.setForeground(Color.cyan);
              //lab7.setBorder(BorderFactory.createLineBorder(Color.white));
              pan2.add(lab7,"North");
              pan2.add(lab6,"East");
              pan2.add(tArea2,"Center");
              pan2.add(lab5,"West");
              pan2.add(lab3,"South");
              //panel 3
              pan3 = new JPanel();
              pan3.setLayout(new FlowLayout());
              pan3.setBackground(Color.black);
              manual = new JButton("Manual");
              manual.addActionListener(this);
              manual.setBorder(BorderFactory.createLineBorder(Color.white));
              remove = new JButton("Remove");
              remove.addActionListener(this);
              remove.setBorder(BorderFactory.createLineBorder(Color.white));
              tf1 = new JTextField(5);
              pan3.add(manual);
              pan3.add(tf1);
              pan3.add(remove);
              //panel 4
              pan4 = new JPanel();
              pan4.setLayout(new FlowLayout());
              pan4.setBackground(Color.black);
              finaLi1 = new JButton("Finalise");
         //     finaLi1.addActionListener(this);
              cashBack = new JButton("Cashback");
              JTextField list2 = new JTextField(5);
              but4 = new JButton(" Sum Total");
              but4.addActionListener(this);
              but4.setBorder(BorderFactory.createLineBorder(Color.white));
              cashBack.setBorder(BorderFactory.createLineBorder(Color.white));
              pan4.add(cashBack);
              pan4.add(list2);
              pan4.add(but4);
              //panel 5
              pan5 = new JPanel();
              pan5.setLayout(new GridLayout(2,3));
              pan5.setBackground(Color.black);
              disCo = new JButton("Discount");
              disCo.addActionListener(this);
              disCo.setBorder(BorderFactory.createLineBorder(Color.black));
              but6 = new JButton("Finalise");
              but6.addActionListener(this);
              but6.setBorder(BorderFactory.createLineBorder(Color.black));
              rb1 = new JButton("Cash");
              rb1.addActionListener(this);
              rb1.setBorder(BorderFactory.createLineBorder(Color.black));
              rb2 = new JButton("Card");
              rb2.addActionListener(this);
              rb2.setBorder(BorderFactory.createLineBorder(Color.black));
              rb3 = new JButton("Cheque");
              rb3.addActionListener(this);
              rb3.setBorder(BorderFactory.createLineBorder(Color.black));
              rb4 = new JButton("Voucher");
              rb4.addActionListener(this);
              rb4.setBorder(BorderFactory.createLineBorder(Color.black));
              pan5.add(disCo);
              pan5.add(but6);
              pan5.add(rb1);
              pan5.add(rb2);
              pan5.add(rb3);
              pan5.add(rb4);
              //add the panels to the container        
              cont1.add(pan1);
              cont1.add(pan4);     
              cont1.add(pan2);
              cont1.add(pan3);          
              cont1.add(pan5);          
              chk1.setContentPane(cont1);
              chk1.setVisible(true);     
    class OfficeView
         private OfficeView off111;
         private JFrame offMod1;
         private JPanel pane1;
         private JButton refill;
         private Container cont11;
         private Dimension screensize;
         private JTextField tf11,tf12;
         public OfficeView()
              drawOfficeGUI();
         public void drawOfficeGUI()
              screensize = Toolkit.getDefaultToolkit().getScreenSize();
              offMod1 = new JFrame("Office Control");
              int frameWidth = 300;
              int frameHeight = 250;
              offMod1.setSize(frameWidth,frameHeight);
              offMod1.setLocation(300,350);
              offMod1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              cont11 = offMod1.getContentPane();
              pane1 = new JPanel();
              pane1.setBackground(Color.cyan);
              refill = new JButton("Refill");
              tf11 = new JTextField(25);
              tf12 = new JTextField(25);
              pane1.add(tf11);
              pane1.add(refill);
              pane1.add(tf12);
              cont11.add(pane1);
              offMod1.setContentPane(cont11);
              offMod1.setVisible(true);
              public void ItemStateChanged(ItemEvent ie)
                        if(ie.getItemSelected()== prodList)
                                  changeOutput();
              public void changeOutput()
                        if(ItemSelected ==0)
                                  tf1.setText("You have selected", +a +b +c);
                   }Message was edited by:
    fowlergod09

  • New to Oracle .... help needed

    Hi,
    New to Oracle, more familiar with SQL Server.
    I have installed Oracle 12c  Release 12.1.0.2.0 and access EM via https://localhost:5500/em.
    I login as SYS but I cannot see how to create a database table.
    I have created a PDB but I do not see any options to create tables or table spaces.
    can anyone help me and tell me how to create a table and enter numeric data?
    I want to be able to set up a table. Add data to it and then connect via ODBC to view the data in a third party application.
    Configuring an ODBC connection what is my TNS service name?
    Thanks

    You need to create a column in the detail table which willl hold the Master (or Parent) Primary key. From what I could understand from your posting, this column should be OR_SEQ and it does not seem to exist in the detail table.
    You can create a table in oracle like this:
    Create table <table_name) (<column_name> <DataType> [Constraints] [,....)
    For example the table OR_Record can be created as
    CREATE TABLE OR_REC
    OR_SEQ NUMBER NOT NULL
    , MRN VARCHAR2(10)
    .... and so on
    Better you download the latest SQLDEVELOPER from [OTN |http://www.oracle.com/technology/software/products/sql/index.html]. You can right click on the tables and merely enter the Table name, column names, not null and relationships. SQLDeveloper will create the SQL and create the table you want.
    There are plenty of walkthroughs and examples at this [site:|http://www.oracle.com/technology/products/database/sql_developer/index.html]
    HTH
    -- rsrini

  • Oracle forms installation - some help need

    I am trying to install Oracle forms - but get the follwing message:
    Checking swap space: 576 MB available, 1535 MB required. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n]
    actually - I have no choice to choose y and try what's going on - so - is this means that I shoul add some 1.5 GB of RAM to my computer? (I have already 700MB, only 300 of them are used)? I am using WinXP, free HD is above 3.5 GB, 2.4GHz processor.
    Can I try to find some workaround - e.g. simply try to copy jar's from 'stage' (direcotry in installation disk) in Oracle application server's lib directory (where it is in Oracle_Home directory?)?
    Any experience with installing Oracle forms?
    This was trying to run setup.exe, but when I am trying to run wsf.exe - I get:
    SEVERE: Unable to locate the MDAC Update Status registry key value, probably because the installation was aborted.
    MDAC possibly stands for Microsoft Data Access Components? If so - where is problem - I can run a lot of DB servers, including Oracle server itself normally?
    BTW - is there any free service available for Oracle Forms skills development (e.g. as for Oracle SQL the Intel test drive is available?)
    user454720

    OK - now I increased the max limit of my page file and now I achieved this:
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.0, 5.1 or 5.2 . Actual 5.1
    Passed
    Checking monitor: must be configured to display at least 256 colors . Actual
    4294967296 Passed
    Checking swap space: must be greater than 1535 MB . Actual 1600MB Passed
    Checking Temp space: must be greater than 150 MB . Actual 1942 MB Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from C:\DOCUME~1\ADMINI~1\LOCALS
    ~1\Temp\OraInstall2006-03-18_01-57-43PM. Please wait ...
    however - after this I receive the standard messgae:
    'setup.exe has encountered a problem and need to close. we are sorry for the inconvenience..... Please tell Microsoft about thsi problem'
    actually - I have little ideas what to do further - maybe I should look for other Oracle Installer version? I am using:
    Oracle Universal Installer version: 10.1.0.2.0
    and I am trying to install
    Oracle Deveoper Suite: 10.1.2.0.2 (so - a bit higher)
    I can run OUI without any problems, my Default JRE is 1.5_1 - so - all seems to be OK?
    Please - if any idea - help me :))
    Thanks in advance!

  • SAP Business One Studio Help needed...

    Hi,
    I'm having a lot of difficulties making a form working in SAP using SAP Business One Studio. 
    The first problem is that half of the controls on the form is anchored to the right so when I resize the form, it's not right as shown in this screenshot.
    The question for this problem is that how do we control this behavior of anchor ?  I tried all the possible properties and did not found a solution to control it.  See screenshot bellow :
    The second problem is that I need to surround all the controls in the middle with a vertical scrolling but keeping the bottom anchored and it's actuall not pretty as sown in the second screenshot.  First let me show you what it looks like when I start the form in SAP :
    And if I resize the form a scrollbar appears but doesn't let me see all the form anyway.  So what is going on and what do I have to do to make a form right according to the content ?

    hi Marc,
    i just had the same problem and went  trough Edy Simon( Mar 28, 2014 7:54 AM (in response to Marc Roussel) ) description and solved my problem.
    on the form code behind, i've created a method as shown bellow... As Edy mentioned, i couldn't find a instance where Item.count equal to zero. therefor i created a private variable call " _isResizeAfterCalled " to track the status...
    protected override void OnFormResizeAfter(SAPbouiCOM.SBOItemEventArg pVal)
                if (_isResizeAfterCalled == false)
                    //H -569
                    //W -982
                    base.UIAPIRawForm.ClientHeight = 569;
                    _isResizeAfterCalled = true;
    ResizeAfter event is not shown by default, but it's visible on UserFormBase class... bellow i assigned my method to it's ResizeAfter event...
    public override void OnInitializeFormEvents()
                base.ResizeAfter += new SAPbouiCOM.Framework.FormBase.ResizeAfterHandler(this.OnFormResizeAfter);
    success....!!!

  • IPS event query ** Help needed badly**

    Greetings all. Apologies for the dramatic headline but I'm in a bit of a time crunch.
    I have a 4215 running 6.0(3)E1. The device is inline. Below is an event which triggered,
    ========================
    evIdsAlert: eventId=1184881408377311643 severity=low vendor=Cisco
    originator:
    hostId: xyz
    appName: sensorApp
    appInstanceId: 380
    time: 2007/09/24 15:11:25 2007/09/24 15:11:25 UTC
    signature: description=Recognized content type id=12673 version=S149
    subsigId: 0
    sigDetails: Recognized content type
    marsCategory: Info/Misc
    interfaceGroup: vs0
    vlan: 0
    participants:
    attacker:
    addr: locality=any a.a.a.a
    port: 80
    target:
    addr: locality=any b.b.b.b
    port: 51095
    os: idSource=unknown relevance=relevant type=unknown
    actions:
    deniedFlow: true
    context:
    fromAttacker: <stuff>
    riskRatingValue: attackRelevanceRating=relevant targetValueRating=medium 50
    threatRatingValue: 15
    interface: fe2_1
    protocol: tcp
    ========================
    I have an external application which pull this same event from the sensor using a query *like* the following,
    wget --user foo --password hoo http://a.b.c.d/cgi-bin/event-server?events=evAlert
    I'm able to pull most of the event information but not all. What I can't seem to get from query is the " deniedFlow: true" value. I'm seeing something like,
    ></attack></participants><actions></actions></evAlert>
    Notice the "deniedFlow: true" information missing between action.
    Is my wget-ish query missing some arguments which is preventing me from pulling all the same information I can see from the CLI?
    Thanks in advance.

    The problem is that you are using the 5.x-style event-server and so you do not see all of the event fields. You need to change the app to pull from the "sdee-server" and then you will see all of the event fields:
    http://a.b.c.d/cgi-bin/sdee-server?events=evAlert

  • Errors in impdp command on oracle 10g database-urget help needed

    Hi,
    could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
    i tried to restart job but the following errors coming
    UDI-00008: operation generated ORACLE error 39078
    ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
    ORA-06512: at line 1
    thanks in advance

    Can you check Metalink Note 376022.1? Your STREAMS_POOL_SIZE parameter may be too small.
    If you don't have Metalink access, try this :
    sql> alter system set STREAMS_POOL_SIZE=100M scope=spfile;
    sql> shutdown immediate
    sql> startup
    Note : the Portal Applications forum may not be the appropriate forum for this datapump issue. Try one of the database forums as you'll have a wider audience there.

  • Oracle table merge - JOIN help needed

    Can someone help me with this results we want:
    F_FCN_DT F_FCN_NUM F F_APPLD_DT F_APPLD_AMT F_R C_TCN_NUM
    2007-08-16 54 1 2008-02-08 4.06 131 40617700776019668
    2007-08-16 54 1 2008-02-08 4.06 135 40623900776014856
    2007-08-16 54 1 2007-11-02 1022.08 135 60630500002011374
    2007-08-16 54 1 2008-02-08 1022.08 135 30632600004003338
    Below listed are the two tables and data combinations, which need to be linked in this process.
    SQL> desc test11
    Name Null? Type
    F_FCN_DT NOT NULL CHAR(10)
    F_FCN_NUM NOT NULL NUMBER(5)
    F_FCN_MED_CD NOT NULL CHAR(1)
    F_APPLD_DT NOT NULL CHAR(10)
    F_APPLD_AMT NOT NULL NUMBER(13,2)
    F_RSN_CD NOT NULL CHAR(3)
    SQL> select * from test11;
    F_FCN_DT F_FCN_NUM F F_APPLD_DT F_APPLD_AMT F_R
    2007-08-16 54 1 2008-02-08 4.06 131
    2007-08-16 54 1 2008-02-08 4.06 135
    2007-08-16 54 1 2007-11-02 1022.08 135
    2007-08-16 54 1 2008-02-08 1022.08 135
    SQL> desc test12
    Name Null? Type
    F_FCN_DT NOT NULL CHAR(10)
    F_FCN_NUM NOT NULL NUMBER(9)
    F_FCN_MED_CD NOT NULL CHAR(1)
    F_APPLD_AMT NOT NULL NUMBER(23,6)
    C_TCN_NUM NOT NULL CHAR(17)
    SQL> select * from test12;
    F_FCN_DT F_FCN_NUM F F_APPLD_AMT C_TCN_NUM
    2007-08-16 54 1 4.06 40617700776019668
    2007-08-16 54 1 4.06 40623900776014856
    2007-08-16 54 1 1022.08 60630500002011374
    2007-08-16 54 1 1022.08 30632600004003338

    Hi,
    If you don't care which row from test11 gets paired with which row from test12 (as long as they're in the same group), then use the analytic ROW_NUMBER function to assign arbitrary ids to each row within each group, and add that id to the join condition, like this:
    WITH    test11_plus  AS
         SELECT  f_fcn_dt, f_fcn_num, f, f_appld_dt, f_appld_amt, f_r               -- or whatever you need
         ,     ROW_NUMBER () OVER ( PARTITION BY  f_fcn_dt, f_fcn_num, f, f_appld_amt     -- common columns only
                                   ORDER BY      NULL
                           )                    AS r_num
         FROM    test11
    ,     test12_plus  AS
         SELECT  f_fcn_dt, f_fcn_num, f, f_appld_amt, c_tcn_num                    -- or whatever you need
         ,     ROW_NUMBER () OVER ( PARTITION BY  f_fcn_dt, f_fcn_num, f, f_appld_amt     -- common columns only
                                   ORDER BY      NULL
                           )                    AS r_num
         FROM    test11
    SELECT     p11.*               -- Or list everything except r_num
    ,     p12.c_tcn_num
    FROM     test11_plus     p11
    JOIN     test12_plus     p12     ON     p11.f_fcn_dt     = p12.f_fcn_dt
                        AND     p11.f_fcn_num     = p12.f_fcn_num
                        AND     p11.f          = p12.f
                        AND     p11.f_appld_amt     = p12.f_appld_amt
                        AND     p11.r_num     = p12.r_num
    ;If the number of rows in the two tables may be different, then you may need an outer join.

  • Oracle Reports with Tomcat - Help needed

    How do you deploy oracle reports in Tomcat.
    ** Can we add the necessary Jar files and run the rdf files.? If so can someone please help with this.
    **What are the settings to be taken care of ?
    ** I deployed the web.war and added the jar files to the web-inf/lib .
    But when i call the report as
    hostname:port/reports/servlet/rwservlet?report=test.rdf&destype=cache
    It doesnt return anything .it gives 404 error The requested resource (/reports/servlet/rwservlet) is not available.Please help .
    Any help is appreciable ..
    Thanks again.
    JM

    Phani-
    I have developed reports that run other reports in 9i and10g. I would have a "main" report that I would call from Forms (or HTMLDB). This "main" report would run multiple other reports. I used the report built-in procedure SRW.RUN_REPORT("report=report2.rdf parameter=XX") in the After Parameter Form trigger of the main report to call the other reports.
    I hope this helps,
    Dan

  • Gmail related help needed ASAP

    Hi guys, this is my first post here. The iPhone has been great so far but I'm in a bit of a bind with some Email features and wanted to see if any of you 1337 pros can help me out.
    I have road runner email and it's all routed to my gmail account. I setup my gmail to go through my iPhone now. The problem is my iPhone wants to download all 3678 messages in my gmail account! Even the ones I already looked at. It also sends all my replies back to me.
    How can I setup my gmail and iPhone so that it only downloads new messages from today forward? Also how can I set it up so that the emails stay NEW on GMail even tho I may read them on my iPhone?
    Thanks for any help in advance I appreciate it.
    Regards,
    iPhone Gmail setup retard. =P

    I can probably help with the more pressing problem, the 1000+ emails. The fix, I think, is on the Gmail side. You need to go into settings and turn off POP access to your Gmail and save the changes. Then, you can re-activate POP but set it to only retrieve messages from now going forward. This is what I did when I configured my phone and it worked.
    As to keeping the messages "new" even after reading them on your phone, so long as you are using POP to get the Gmail, this should happen as a matter of course, at least it does for me but the forwarding of stuff from your cable account might have some impact upon that, I don't know.

  • OTM 6.3 Instalation On Oracle Linux 6.5 - Help Needed

    HI All,
    I am trying to install OTM 6.3, including FTI
    I have 3 servers
    VSS-DB-SERVER ==> Oracle 11.2.0 DB (Transaction Type)
    VSS-OTM-SERVER ==> JRocket, Weblogic Server, OHS, OTM 6.3
    VSS-BI-DB-SERVER ==> Oracle 11.2.0 DB (Data Warehouse Type), OBI, ODI
    I have OTM installation guide E38416-04 but I am little confused with it as it gives a different combination example. But it talks about about installing everything in the same instance on VM and many things differ. And also it doesnt talk about FTI.
    OTM 6.3 Linux OEL RHEL CentOS Test Environment Installation Guide - OTM Wiki
    Thanks,
    Vishwamber Shetty

    Hi Vishwamber,
    Have you verified login (http)port  ? It should be same.  was install.sh completed with out any issues?
    <otm_home>/apache/conf/httpd.conf
    <otm_home>/weblogic/weblogic.conf
    <otm_home>/tomcat/bin/tomcat.conf
    <otm_home>/gc3/tomcat/conf/server.xml
    Thanks,
    Moshe.

  • SMTP Related Help Needed

    How can I dynamically search SMTP Server on a particular Network?

    you can test whether a machine is an smtp server by opening a socket connection to its SMTP port(25) and reading the response
    Socket soc = new Socket("the_machine_name",25);
    BufferedReader br = new BufferedReader(new InputStreamReader(soc.getInputStream()));
    String response = br.readLine();
    if(response.startsWith("220"))
    System.out.println("Its a Mail Server");
    however, if u need to search for an SMTP server on your network, u have to know the name(or IP) of all machines on the network (LAN).
    does anyone know how to find out the IP of all machines on your network ?

Maybe you are looking for

  • Server Error in '/' Application - The resource cannot be found

    Using VS 2008 with Framework 3.5, I built a web-service that runs perfectly on the development PC.  When I build and run the web service, it runs in a virtual port as "ASP.Net Development Server Port 49259".  All the methods will invoke no problem. 

  • Visting Peru,Does the World Travel Adapter Kit work there/need converter??

    I'm planning to go to Peru for the summer, I want to take my macbook and I'm also thinking of buying an ipod 30g video. I know the voltage is 220, but the thing is this my first time I'll be travelling with my macbook being that it cost me soo much m

  • Spinning wheel - files won't open

    I'm trying to run a batch on 1200 images but unable to complete the action on a single file.  Instead I just get the spinning wheel once the file is open.  I tried to open a singe file but they aren't opening at all.  I've shut down the program and r

  • Flash Video Progressive Download

    I would like to us a flash video in a web page, and don't want to use streaming. If I use the Flash Video Encoder to make a medium quality video that is about six minutes long, will progressive download work okay, or is it too long to work without pr

  • Reader X won't open

    Installed Reader X on Vista Business and sometimes can't open a pdf file from my browser IE (7). Sometimes freezes browser and have to use Task Manager to close. Some times if I open Acrobat 8 and just leave it open this helps, sometimes it doesn't.