How to collect JScrollPanes into a Container variable? (urgent...)

Please help me in following problem:
I can collect succesfully one JScrollPane into a Container variable allComponents and then show this Container in application window. However, I would like to collect several JScrollPanes into this same Container variable but it does not work. Should I use some kind of add command?
I tried something like
allComponents.add(jspane);
but I got error code "variable allComponents might not have been initialized" allthough I have tried my best to initialize it.
Thanks for your kind help!
Snippets from my program:
class SwingApplication implements ActionListener
public Container createComponents()
Container allComponents;
jspane = new JScrollPane(panel);
jspane2 = new JScrollPane(cards);
allComponents = jspane; // THIS WORKS BUT I WOULD LIKE TO COLLECT BOTH jspane AND jspane2 WITH ADD COMMAND
return allComponents;
class DragImage
{ public static void main(String[] args)
JFrame frame = new JFrame("SwingApplication");
SwingApplication app = new SwingApplication();
Container contents = app.createComponents();
frame.getContentPane().add(contents, BorderLayout.CENTER);
Message was edited by:
wonderful123

THanks for your interest!!
Perhaps I give the whole source code
The problem lies in the following place:
allComponents = jspane;
return allComponents;
I would like to use some kind of command
allComponents.add(jspane);
but it does not seem to work. I get the error "variable allComponents might not be initialized".
The program should print images in two rows. With my current knowledge i can only print one row of images.
Thanks!
import java.awt.*;
    import java.awt.event.*;
    import java.awt.datatransfer.*;
    import javax.swing.*;
class SwingApplication implements ActionListener
                                        // extends JScrollPane
   private JScrollPane jspane;
   private JScrollPane jspane_n;
   private JPanel panel;
   private JLabel label;
   private Icon icon;
   private JPanel panel2;
   private JLabel label2;
   private Icon icon2;
   private JPanel panel_n;
   private JLabel label_n;
   private Icon icon_n;
   private JTextField testText;
   private int k;
    private static String labelPrefix = "Testing: ";
    private int numClicks = 0;
    final JLabel label_testing = new JLabel(labelPrefix + "nothing");
JPanel cards; //a panel that uses CardLayout
    final String BUTTONPANEL = "JPanel with JButtons";
    final String TEXTPANEL = "JPanel with JTextField";
   public Container createComponents()
Container allComponents;
     icon = new ImageIcon("kirjain_a.gif");
     label = new JLabel();
     label.setIcon(icon);
     icon2 = new ImageIcon("kirjain_b.gif");
     label2 = new JLabel();
     label2.setIcon(icon2);
     icon_n = new ImageIcon("numero_1.gif");
     label_n = new JLabel();
     label_n.setIcon(icon_n);
label.setTransferHandler(new ImageSelection());              
label2.setTransferHandler(new ImageSelection());
label_n.setTransferHandler(new ImageSelection());
        MouseListener mouseListener = new MouseAdapter() {
          public void mousePressed(MouseEvent e) {
JComponent sourceEvent = (JComponent)e.getSource();
// Object sourceEvent = whatHappened.getSource();
if (sourceEvent == label)
    { numClicks++;
        label_testing.setText(labelPrefix + numClicks);
if (sourceEvent == label2)
numClicks--;
        label_testing.setText(labelPrefix + numClicks);
            JComponent comp = (JComponent)e.getSource();
            TransferHandler handler = comp.getTransferHandler();
            handler.exportAsDrag(comp, e, TransferHandler.COPY);
       label.addMouseListener(mouseListener);
       label2.addMouseListener(mouseListener);  
       label_n.addMouseListener(mouseListener);  
     panel = new JPanel();
// panel.setLayout(new GridLayout(1,3));
     panel.add(label);
     panel.add(label2);
     panel_n = new JPanel();
     panel_n.add(label_n);
//Create the panel that contains the "cards".
        cards = new JPanel(new CardLayout());
        cards.add(panel_n, BUTTONPANEL);
        cards.add(panel_n, TEXTPANEL);
     panel.add(label_testing);
      jspane = new JScrollPane(panel);
      jspane_n = new JScrollPane(cards);
  //   jspane.setLayout(new GridLayout(3,2));      
  //   jspane.getViewport().add(panel);
  //   jspane_n.getViewport().add(cards);
  //    allComponents.add(panel, BorderLayout.PAGE_START);
  //    allComponents.add(cards, BorderLayout.CENTER);
  //     allComponents.add(jspane);
  //     allComponents.add(jspane_n);
     allComponents = jspane;
     return allComponents;
                                       //     label.addActionListener(this);
                                       //     k=0;
public void actionPerformed(ActionEvent whatHappened)
  { Object sourceEvent = whatHappened.getSource();
    if (sourceEvent == label)
    { numClicks++;
        label_testing.setText(labelPrefix + numClicks);
//    repaint();
} // end class OwnPanel
class CloserClass extends WindowAdapter
{ public void windowClosing(WindowEvent e)
   { System.exit(0);
class DragImage
{ public static void main(String[] args)
       JFrame frame = new JFrame("SwingApplication");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        SwingApplication app = new SwingApplication();
        Container contents = app.createComponents();
        frame.getContentPane().add(contents, BorderLayout.CENTER);
        //Display the window.
//    addWindowListener(new CloserClass());
        frame.pack();
        frame.setVisible(true);
    } // end class DragImage

Similar Messages

  • How to catch exception into a String variable ?

    I have a code
    catch(Exception e)
                e.printStackTrace();
                logger.error("\n Exception in method Process"+e.getMessage());
            }when i open log i find
    Exception in method Process null.
    But i get a long error message in the server console !! I think thats coming from e.printStackTrace().
    can i get the error message from e.printStackTrace() into a String variable ?
    I want the first line of that big stacktrace in a String variable.
    How ?

    A trick is to issue e.printStackTrace() against a memory-based output object.
    void      printStackTrace(PrintStream s)
             // Prints this throwable and its backtrace to the specified print stream.
    void      printStackTrace(PrintWriter s)
    //          Prints this throwable and its backtrace to the specified print writer.Edited by: BIJ001 on Oct 5, 2007 8:54 AM

  • How to pass parameter into a source variable of a invoke activity

    I'm an new BPELer, I created a invoke activity to submit Oracle Appplications concurrent program, but I don't know how to pass parameter into source variable.
    BTW, I have created the mapper file (.xsl) file.
    could anyone tell me how to do that?
    Thanks,
    Victor

    Hi.
    How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
    But I created only processes where input value doesn't matter. I haven't use mapper yet too.

  • How to select data into multiple bind variables

    Hi,
    I need to load data into multiple bind variable how to do that
    As of now i am using this
    select a , b into :a, :b from dual
    But i want even a to be loaded into both :a and :c also b to be loaded into :b and :d Please suggest
    Thanks
    Sudhir.

    Thanks much it worked
    Thanks
    Sudhir

  • HOW TO  WRITE DATA INTO A CLOB VARIABLE IN PL SQL-URGENT!!!!!!!

    Hi,
    In a PLSQL procedure, i need to store all error messages into a CLOB variable and finally RETURN the Clob.
    While using DBMS_LOB.wirteappend, i am getting Error like
    "INVALID LOB LOCATOR SPECIFIED".
    Here is the code sample i used,
    CREATE OR REPLACE procedure ErrorAppend
    is
    clobObj CLOB;
    amt binary_integer:=32767;
    errormsg varchar2(2000);
    BEGIN
    for j in 1..3
    loop
    BEGIN
    insert into errortest values(j);
    EXCEPTION
    WHEN others THEN
    errormsg:='ERROR OCCURED '||SQLERRM;
    dbms_lob.writeappend(clobObj,amt,errormsg);
    END;
    commit;
    end loop;
    dbms_output.put_line(clobObj);
    END ErrorAppend;
    Here i am not allowed to get empty_clob/clob from the table.
    Any help will be apprciated.
    rgds,
    senthil.

    InputStream inputStream = new ByteArrayInputStream(mss.getBytes());Use this to push into the file>
    Ummm.... no. InputStreams are for reading, not for writing.
    Anyway, OP, you're making a mistake. You're trying to open a stream to a file called "This is for dedo". Use FileOutputStream(File file) constructor or FileOutputStream(String pathToFile). You can then wrap that stream with a PrintWriter or whatever you need.

  • How can I output a message containing Variables in GUI?

    I want to display a message "What is the sum of x and y " in a GUI, where x and y are variable(integer type). I would like to know how can I write the coding before i put the message into a JPanel.
    I hope Someone can help me ! Thank You Very Much!

    String question = "What is the sum of " + x + " and " + y;
    JLabel label = new JLabel( question );

  • How to work with a product containing variable set with fixed component..?

    Hi All,
    i got a situation where i need to add the fixed component price that is associated with a product of variable set to the total price of product..
    That is, Variable set with the fixed component (hidden SKU).. Now it is missing the hidden SKU price in total price which is to be included actually.. how to get through this..?
    Thanks,
    VishnuVardhan Bovilla

    If I understand you currently you want to charge an additional component price for certain products.
    Is the added price varies with different products or is it the same for all, are you also shipping an additional product or component with those products?
    Without knowing the answers to above question a simple approach you might want to try is create a scenario to add a sku when certain products are added to cart.
    Define a price for the hidden SKU, In you page hide the hidden sku from being displayed.

  • How to assign a " into a string variable??

    say, String s="i am a 'cat'", what if i want to replace the ' with " ??
    thanks !

    Use the backslash escape character before the QUOTE.
    String s = "i am a \"cat\"";

  • How to get slideshow into DW? (somewhat urgent!)

    I've been using tutorials to lean FW, and think I'm almost there.  I'm not finding detailed steps for getting the slideshow into a DW website.  Can anyone recommend a video or tutorial on these steps?  I did have an account at Lynda.com, but it has expired.  If there's a free source available, I'd love to get the info.  Thanks for any help . . . I'm working hard on this all weekend and would like to get the SS posted!
    Thanks for any help!

    Communitymx.com has a tut on the slideshow feature. It's not free but should only be a couple dollars.

  • How do I get sdo_point into C host variables from OTT structures?

    How do I get sdo_point info into C host variables from structures generated by OTT?
    Databse Version 10.1.0
    I am using OTT to generate C structures for the Oracle Spatial datatype sdo_geometry. The file is generated as
    #ifndef GEOMETRY_ORACLE
    # define GEOMETRY_ORACLE
    #ifndef OCI_ORACLE
    # include <oci.h>
    #endif
    typedef OCIRef sdo_geometry_ref;
    typedef OCIRef sdo_point_type_ref;
    typedef OCIArray sdo_elem_info_array;
    typedef OCIArray sdo_ordinate_array;
    struct sdo_point_type
    OCINumber x;
    OCINumber y;
    OCINumber z;
    typedef struct sdo_point_type sdo_point_type;
    struct sdo_point_type_ind
    OCIInd _atomic;
    OCIInd x;
    OCIInd y;
    OCIInd z;
    typedef struct sdo_point_type_ind sdo_point_type_ind;
    struct sdo_geometry
    OCINumber sdo_gtype;
    OCINumber sdo_srid;
    struct sdo_point_type sdo_point;
    sdo_elem_info_array * sdo_elem_info;
    sdo_ordinate_array * sdo_ordinates;
    typedef struct sdo_geometry sdo_geometry;
    struct sdo_geometry_ind
    OCIInd _atomic;
    OCIInd sdo_gtype;
    OCIInd sdo_srid;
    struct sdo_point_type_ind sdo_point;
    OCIInd sdo_elem_info;
    OCIInd sdo_ordinates;
    typedef struct sdo_geometry_ind sdo_geometry_ind;
    #endif
    I can successfully access the sdo_gtype and sdo_ordinates using the following ProC code
    exec sql begin declare section;
    int sptype;
    double coord[100000];
    sdo_geometry *spgeom;
    sdo_ordinate_array *spcoords;
    exec sql end declare section;
    /* allocate memory for the geometry host variable */
    exec sql allocate :spgeom;
    select bounds into :spgeom from boundary;
    /* retrieve the geometry type from the geometry host variable into a host variable */
    exec sql object get sdo_gtype from :spgeom into :sptype;
    /* allocate memory for the sdo_ordinate_array host variable */
    exec sql allocate :spcoords;
    /* move the coordinates from the geometry host variable into the sdo_ordinate_array host variable */
    exec sql object get sdo_ordinates from :spgeom into :spcoords;
    /* determine the number of coordinates */
    exec sql collection describe :spcoords get size into :numord;
    /* move the coordinates from the sdo_ordinate_array host variable into a host array */
    exec sql for :numord collection get :spcoords into :coord;
    I cannot, however, figure out how to get point data out of the host variable spgeom. If I prepare code analagous to the other types in the geometry structure, I get an error. I can see that sdo_point is different because it is a struct within the geometry definiton of typedef OCIRef but my knowledge of C is sufficeintly weak that I cannot figure out how to get sdo_point into C host variables. Some sample code for getting the sdo_point data would be greatly appeciated.
    Thanks, Chris

    To get point data from geometry column use following
    select a.location.sdo_point.x, a.geometrycolumn.sdo_point.y
    from tablename a;
    Do not forget to alias the table.

  • How to read container variable in UDF

    Hello expert,
    I have created a container variable(var_callerId) in an integrationprocess.
    In a mapping I want to read the container variable with an UDF.
    Can anyone send me the code for the UDF please ?
    I can't find the solution in any post message / blog.
    Thx for your help!
    Best regards,
    Juergen

    Hi navneet,
    thanks for your fast reply.
    Let me explain why I wanted to use container variables:
    (Perhaps there is a better way to fix the requirement)
    I've following IP
    Message Interface (input)
    <getData>
    <callerInfo>
    <callerID>SYSA</callerID>
    <SessionID>43545455545355</SessionID>
    <number>3434344334</number>
    </callerInfo>
    </getData>
    Then I have a mapping (<number>) to call a webservice.
    I get the data from the webservice.
    At last I will send the data back to the business System.
    But I need the both tags from the input interface (SessionID, callerID) again, to send it back.
    I tried a mapping  to map sessionID and callerID from the input interface  to the output interface, but it doesn't work.
    So I thought I can store the sessionID and callerID in a container variable and in a mapping I will get it back with an UDF.
    I think there should be a possiblility to get the stored value from the container variable inside the IP. But I don't find any solution.
    I don't understand your solution with the global container. How can I access to the container variable(IP).
    Thx for your help
    Best regards
    Juergen

  • Reg:Container variables in BPM

    Hi...
        I have done one scenario with BPM.
    In that i have  used the below steps.
    1. Fork with  2 receive steps.
    2. and two container steps for the 2 recieve steps ( vara= "I" for the first recieve step, and varb= "S" for the second receive step)
    3.wait -- for 1 min
    4. switch (if  vara ="I" and varb="S", then branch 1 should execute, if vara="I",then branch 2should execute else we need to cancel the process)
    the above steps i have used and executed the scenario. It is working fine. BUt i am having problem with the containers.
    I am not able to satisfy the condition for [if  vara="I" and varb="S",]
    The switch is not going to check the above conditon because whenever the file is recieved the container variable will get updated and wait for 1 min and will go for  switch contion. So here i can check only for single condition at a time.
    Can you please help me how to check the both the container variables at an time..?
    Regards,
    Leela

    Can you please help me how to check the both the container variables at an time..?
    So when the Switch Step is executed are both the variables filled with the required values (I am not able to understand your query clearly)....if both the variables are filled then in the condition editor you can define the condition based on both the values (use And...it will be Insert Expression ...for executing Branch 1)
    It will be something like var1 = I And var2 = S .....while selcting the left operand select the appropriate message.
    If you are on 7.1 then create two condition variables representing var1 and var2.
    Similarly when defing condition for Branch2 it will be only var1 to be used.
    Regards,
    Abhishek.

  • How can I put all output error message into a String Variable ??

    Dear Sir:
    I have following code, When I run it and I press overflow radio button, It outputs following message:
    Caught RuntimeException: java.lang.NullPointerException
    java.lang.NullPointerException
         at ExceptionHandling.ExceptTest.actionPerformed(ExceptTest.java:72)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6038)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
         at java.awt.Component.processEvent(Component.java:5803)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4410)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2429)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)Caught RuntimeException: java.lang.NullPointerException
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I hope to catch all these error message into a String Variable such as StrErrorMsg, then I can use System.out.println(StrErrorMsg) to print it out or store somewhere, not only display at runtime,
    How can I do this??
    Thanks a lot,
    See code below.
    import java.awt.Frame;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.FileInputStream;
    import javax.swing.ButtonGroup;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    public class ExceptTest extends JFrame implements ActionListener {
        private double[] a;
      private JRadioButton divideByZeroButton;
      private JRadioButton badCastButton;
      private JRadioButton arrayBoundsButton;
      private JRadioButton nullPointerButton;
      private JRadioButton negSqrtButton;
      private JRadioButton overflowButton;
      private JRadioButton noSuchFileButton;
      private JRadioButton throwUnknownButton;
      public ExceptTest() {
        JPanel p = new JPanel();
        ButtonGroup g = new ButtonGroup();
        p.setLayout(new GridLayout(8, 1));
        divideByZeroButton = addRadioButton("Divide by zero", g, p);
        badCastButton = addRadioButton("Bad cast", g, p);
        arrayBoundsButton = addRadioButton("Array bounds", g, p);
        nullPointerButton = addRadioButton("Null pointer", g, p);
        negSqrtButton = addRadioButton("sqrt(-1)", g, p);
        overflowButton = addRadioButton("Overflow", g, p);
        noSuchFileButton = addRadioButton("No such file", g, p);
        throwUnknownButton = addRadioButton("Throw unknown", g, p);
        getContentPane().add(p);
      private JRadioButton addRadioButton(String s, ButtonGroup g, JPanel p) {
        JRadioButton button = new JRadioButton(s, false);
        button.addActionListener(this);
        g.add(button);
        p.add(button);
        return button;
      public void actionPerformed(ActionEvent evt) {
        try {
          Object source = evt.getSource();
          if (source == divideByZeroButton) {
            a[1] = a[1] / a[1] - a[1];
          } else if (source == badCastButton) {
            Frame f = (Frame) evt.getSource();
          } else if (source == arrayBoundsButton) {
            a[1] = a[10];
          } else if (source == nullPointerButton) {
            Frame f = null;
            f.setSize(200, 200);
          } else if (source == negSqrtButton) {
            a[1] = Math.sqrt(-1);
          } else if (source == overflowButton) {
            a[1] = 1000 * 1000 * 1000 * 1000;
            int n = (int) a[1];
          } else if (source == noSuchFileButton) {
            FileInputStream is = new FileInputStream("Java Source and Support");
          } else if (source == throwUnknownButton) {
            throw new UnknownError();
        } catch (RuntimeException e) {
          System.out.println("Caught RuntimeException: " + e);
          e.printStackTrace();
          System.out.println("Caught RuntimeException: " + e);
        } catch (Exception e) {
          System.out.println("Caught Exception: " + e);
      public static void main(String[] args) {
        JFrame frame = new ExceptTest();
        frame.setSize(150, 200);
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.show();
    }

    yes, I update as follows,
    but not looks good.
    import java.io.*;
    public class UncaughtLogger implements Thread.UncaughtExceptionHandler {
        private File file;
        private static String errorMessage;
        public UncaughtLogger(File file) {
            this.file = file;
            //Thread.setDefaultUncaughtExceptionHandler(this);
        public UncaughtLogger(String str) {
            this.errorMessage = str;
            Thread.setDefaultUncaughtExceptionHandler(this);
        //@Override()
        public void uncaughtException(Thread t, Throwable e){
            try {
                log(e);
            } catch (Throwable throwable) {
                System.err.println("error in logging:");
                throwable.printStackTrace();
        private void log(Throwable e) throws IOException {
            PrintWriter out = new PrintWriter(new FileWriter(file, true));
            try {
                e.printStackTrace(out);
            } finally {
                out.close();
        private static UncaughtLogger logger = new UncaughtLogger(new File("C:/temp/log.txt"));
        private static UncaughtLogger logger2 = new UncaughtLogger(errorMessage);
        public static void main(String[] args) {
                String s1 = "Hello World!";
                s1 = null;
                String s2 = s1.getClass().getName();
                System.out.println(s1);
                System.out.println(s2);
                System.out.println("errorMessage =" + errorMessage);
    }

  • How to collect to different files into one message

    Hi,
    I have the following scenario:
    Two (5Mb) Files with different file structures each ->
    XI (transform and generate a single structure record) ->
    Insert a record in a DB for each new record generated
    Let suppose file1 has order headers - one order per line -and file2 has the corresponding order items - one item per line, e.g;
    File 1
    OrderNr  Description
    1        A
    2        B
    3        C
    File 2
    OrderNr   ItemNr   MaterialCode ....
    1         1        111
    1         2        222
    1         3        555
    2         1        888
    2         2        777
    3         1        111
    Imagine I want to insert a record in the database for
    each order/item like this
    OrderNr  ItemNr Description MaterialCode .....
    1        1      A           111
    1        2      A           222
    1        3      A           555
    My real scenario is a little more complicated but never mind for now.
    I need to collect the two different files with two different file structures into the same message. Although I have read about the subject I am not sure about how to do it using BPM because there isn't any field I could use to correlate file1 with file2 - I can only correlate a record of file1 with several records of file2. I simply know that the two files will be available in a specific directory once a day at 06:00AM.
    First question is:
    How can I collect the two messages originating each from a different file into only one message with two different subtypes one for each file structure?
    Because my background is ABAP I could do it with a workaround for temporarily storing the info from each file into database tables in XI and then correlate the info from the two files to generate a single message.
    Like this
    File1 -> XI -> INSERT DATA XI ZDB1 (via ABAP Proxy or RFC)
    File2 -> XI -> INSERT DATA XI ZDB2 (via ABAP Proxy or RFC)
    Them I could use an event to check when the two tables have all the data from both files. I could then combine the data from the two tables and start another integration process like this
    XI SERVER (ABAP Proxy) -> XI Integration Server -> Third-party (JDBC)
    But this way I would have to code the hole data conversion which is not a good idea from the perspective of XI (EAI/Broker).
    Maybe I sould use BPM. But how?
    Futhermore:
    Is BPM performant enough (we are talking about files with thousand of records)?
    Thanks in advance
    Diz

    Hi,
    for N:1 Multimapping you have to use BPM.
    After going through this weblog you will be quite familiar with how to collect 2 messages into one message.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Steps:
    1. Create a abstract/ inbound / outbound interfaces. (in your case 3 /1/2).
    2. Perform 2:1 Multimapping.
    You can specify more than one message in either side.
    Just go to message tab in MM.
    3. Now follow the blog and you will get a output in the form of abstract interface.
    4. Define JDBC reciever Channel as usual.
    Your database will be updated.
    Just try this out.
    Regards
    Piyush

  • How do I pass single quotes into a string variable?

    Thanks for any help?
    Example
    Select xdat, yday
    from foo
    where
    xdat = to_char(sysdate, 'mm/dd/yyyy')
    How do I pass the single quoted stuff above into a string variable?

    Thank you but that is not the same thing. I am building a dynamic sql statement and need to pass the quoted material into a statement that is quoted Is that not what my example above shows?
    My example above has a quoted string inside a string. I think this is exactly what you were asking for.

Maybe you are looking for

  • IN values in a PL/SQL procedure

    Hi Experts, Please can someone help me with this procedure ? I am trying to write this procedure that I can use to grant privileges dynamically to roles based on the argument. I am getting the errors while creating it as it fails to assign the values

  • I want to create an executable that installs the rte

    Hi, I made a small program and want to use it on a computer that does not have labview or the rte installed. How can I build the executable that will install the rte progamatically? Thanks

  • Creating layout in PDF Based Form to print table content.

    Hi ,     I am facing problem in creating the layout of PDF Based Form . I do not need any interactive text but only active table in my context whose data i need to print . What i did was drag the table from data view into  the body page and activate

  • SAP GRC AC: Organizational rules at Batch risks analysis and Dashboards

    Dear All. I would like to know GRC AC is able to consider the organizational rules defined (for example: risk only affected to Company, BUKRS 0001) at the Batch risks analysis and at the Dashboard. I already know that for the ad-hoc reporting you can

  • Third Party Sample plug is sound out of tune in Logic X

    Hi there: I am using external libraries as plug ins with  Logic X, and I am getting a few instruments sounding way out of tune. Initially I noticed it with the Vienna Symphonic Library, and now I am having the same problem with East/West smaples. Wha