How to concatenate new values

hi experts,
i have query how to add new values through concatenate like
concatenate ZCHILDDESC '->' CHILDDESC '->' test into desc.
now this 'test' value is increase as new value is added.
how to write the code for this.
thanks
vipul

I think i understood the question though not exactly sure.
As  the value of test increases, he may want to add additional nodes with -> based on the value of test.
For Ex,
If the value of test is 2,
concatenate ZCHILDDESC '->' CHILDDESC '->' test1 -> test2 into desc.
similarly if its 3,
concatenate ZCHILDDESC '->' CHILDDESC '->' test1 '->' test2 '->' test3 into desc.
@ Vipul: Kindly confirm if this is what your question is else please explain it clearly
Vikranth

Similar Messages

  • How to add new value to 'Partition by' from RPD

    HI..
    in the presentation services when queried my request.. i am getting query below like that.this time i am getting wrong values. if i include c8 in partition by for c13 then i able to get the correct values.
    Can you plz tell me how to include new value to the partion by ..from RPD.
    SAWITH0.c7 as c7,
    SAWITH0.c8 as c8,
    SAWITH0.c9 as c9,
    SAWITH0.c10 as c10,
    SAWITH0.c11 as c11,
    SAWITH0.c12 as c12,
    sum(SAWITH0.c13) over (partition by SAWITH0.c10, SAWITH0.c14, SAWITH0.c11, SAWITH0.c12) as c13,
    SAWITH0.c14 as c14
    Thank you.

    Hi,
    I guess you made a mistake in your business model. The c8 column should be coming from a separate dimension.
    Good Luck,
    Daan Bakboord
    http://obiee.nl

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • How to populate new values in JTable?

    hello swing experts!!!
    i have a problem plz i need your help. tnx.
    so here's the scenario.
    i have a program that retrieves information from the database and display it in the JTable. i have JTextBox to search users by "Name" and when i click JButton "search" it will populate all the users that has the "Name" in the JTable.
    i already know how to populate a JTable at first like giving a JTable(row,column) or a model = new DefaultTableModel(row,col). but
    i dont know how to *"Re-populate"* values in the JTable? an algorithm/steps/code snippets on how it will work will be a great help. tnx!

    Just a small example :
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Vector;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableModel;
    public class Testing
         public static void main(String... args)
              final DefaultTableModel model = new DefaultTableModel()
                   @Override
                   public boolean isCellEditable(int row, int column)
                        return false;
              model.addColumn("One");
              model.addColumn("Two");
              final JTable table = new JTable(model);
              JButton button = new JButton("Click to add data to the table");
              //get your data in a vector from the list you are getting from the database
              final Vector<String> newRow = new Vector<String>();
              newRow.add("Value1");
              newRow.add("Value2");
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        model.addRow(newRow);
              JFrame frame = new JFrame("Testing");
              frame.getContentPane().add(button, BorderLayout.NORTH);
              frame.getContentPane().add(table, BorderLayout.CENTER);
              frame.setSize(400, 200);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
    }

  • Changing open() flag  FNDELAY via fcntl(). How to know new value?

    When driver executes open (man -s9e open) entry program it knows open mode
    "flags" such as FEXCL, FNDELAY, FREAD, WRITE. But after open was made these
    parameters can be changed by user application via fcntl() (man -s2 fcntl)
    call.
    How to know from driver the new values of these parameters? How to know
    the moment of changing?
    Thank you.

    Just I found that current mode is in uio_fmode field of uio structure (man -s9s uio).
    But how to obtain the moment of changing?
    Thank you.

  • How to concatenate the values in single row with images or colours

    hi all,
    i am apex 4.2,
    i tried to execute a plsql query for the values concatenate two values into same column
    example in my table
    i am having teachers list one can teach two or three subjects
    in table i am saving like
    teacher_id               teacher_name      salary           subjects
    1 ram 5000 science,maths
    2 gang 4000 maths,science,english
    but my report should come like
    teacher_id  teacher_name     salary       subjects
    1 ram 5000 science maths i have to highlighting these subjects  with images or with different colors
    2 gang 4000 maths english science
    can any one help me please
    thanks & regards
    pavan
    Edited by: Pavan on Apr 9, 2012 4:15 AM
    Edited by: Pavan on Apr 9, 2012 4:22 AM

    First of all, i would split the subjects column.
    If you for sure only need up to 3 subjects, you could make three columns subject1, subject2, subject3.
    If you may have an indefinite number of subjects for each teacher, you might create a detail-table with the subjects for each teacher.
    I also would create a list of values for the subjects, either based on static values or based on another table with the subjects allowed.
    Now that the subject-names are fixed you could create a subject-image for each subject, named as the subject itself. Then you "construct" the image for each subject as
    <img src="#APP_IMAGES##SUBJECT_NAME#.png"/>

  • How to insert new values in dropdown box through coding

    hi,
      I want to insert new values in dropdown box in a table.
    Please provide me the corresponding coding.i already did this code but result is empty dropdown.I mapped the context properly..
    int sklength=wdContext.nodeSkills().size();
          for(int i=0;i<sklength;i++)
        String getsub=wdContext.currentSkillsElement().getSubject();
        if(getsub.equals("50000138"))
             //IPrivateDetails1.INewskillElement el=wdContext.createNewskillElement();
             List lis=new ArrayList();
             //lis.add("Abap");
             //lis.add("Workflow");
             IPrivateDetails1.INewskillElement el=wdContext.createNewskillElement();
             el.setTskill("abap");
             lis.add(el);
              el.setTskill("workflow");
              lis.add(el);
              wdContext.nodeNewskill().bind(lis);
              //wdContext.nodeMonthsOfYear().bind(MonthsOfYear);
              wdContext.nodeNewskill().setLeadSelection(1);
        else
              wdContext.currentNewskillElement().setTskill("C++");
    waiting for a positive reply......
    with regards,
    S.Kiruthika

    kiruthika,
    Too many logical errors to explian.
    Should be:
    IPrivateDetails1.ISkillsNode nSkills = wdContext.nodeSkills();
    IPrivateDetails1.INewskillNode nNewSkill = wdContext.nodeNewskill();
    int sklength = nSkills.size();
    boolean cppAdded = false;
    for(int i=0;i<sklength;i++)
      String getsub=nSkills.getSkillsElementAt(i).getSubject();
      if(getsub.equals("50000138"))
        List lis=new ArrayList();
        IPrivateDetails1.INewskillElement el1 = nNewSkill.createNewskillElement();
        el1.setTskill("abap");
        lis.add(el1);
        IPrivateDetails1.INewskillElement el2 = nNewSkill.createNewskillElement();
        el2.setTskill("workflow");
        lis.add(el2);
        nNewSkill.bind(lis);
        nNewSkill.setLeadSelection(1);
      else if (!cppAdded)
        cppAdded = true;
        IPrivateDetails1.INewskillElement elCpp = nNewSkill.currentNewskillElement();   
        if (null ==  elCpp) {
          elCpp = nNewSkill.createNewskillElement();
          nNewskill.addElement(elCpp);
          nNewskill.setLeadSelection( nNewskill.size() - 1);
        elCpp.setTskill("C++");
    VS

  • How to get new value in inputtext

    Hi,
    my code is :
    <af:inputText value="#{bindings.StuId.inputValue}"
    id="it3" autoSubmit="true"
    clientComponent="true">
    <af:clientListener type="mouseDown" method="mousedown"/>
    </af:inputText>
    function mousedown(event)
    var source = event.getSource();
    alert(source.getValue());
    event.cancel();
    My problem is that I can't get the new value in inputtext if I don't move the focus away from the inputtext . For example , the old value is '1' and I change it to '2' . If I press mouse down on the inputtext without changing focus , it print '1' . If I change the focus and then press mouse down on the inputtext , it print '2' . I need it print the new value without changing focus or pressing a button . What should I do ? Please share your advice , thanks !
    Edited by: user8627873 on 2010-10-14 上午6:11

    Hi,
    can you try getSubmittedValue() ? get value represents the component server state
    Frank

  • How to insert new value into an array

    I have an already declared array (including the size) and want to write a method for inserting a new value. Do I have to re-declare the array to the new size? ie old size + 1, then add the new value or is there a java method for this. I can't find one.
    Thanks in advance....
    Mike

    Hi,
    there is no method for that. Look up class Vector. That class implements automatic growing of the Vector.
    Phil

  • How to get new value from VO through CO?

    Hi,
    I have several tab in Po page. In the Lines Tab I change some values that I want to get in Distribution tab. This values aren't in the DB. How can I get it?
    I tried the following code but it didn't work
                             OAViewObject PoLineMergeVO = (OAViewObject)rootAM.findViewObject ("PoLinesMergeVO");
                             oracle.jbo.Row PoLineMergeRow =  PoLineMergeVO.first(); 
                             String s_category_id = PoLineMergeRow.getAttribute("CategoryId").toString();
    any idea?
    Best Regards Mayte

    Hi Shobhit,
    I'm new in OAF and I'm not sure if I know how to do it.
    Could you tell how to store in collection object and store in session parameter????
    I tried
    CO 1
                  OAViewObject PoLineMergeVO = (OAViewObject)rootAM.findViewObject ("PoLinesMergeVO");
                  oracle.jbo.Row PoLineMergeRow =  PoLineMergeVO.first();
                  int num_row =   PoLineMergeVO.getRowCount();
                  String s_num_row = Integer.toString(num_row);
                  oapagecontext.writeDiagnostics(this,"Index Row--> "+s_num_row,1 );
                  for (int i=0;i<5;i++)
                    String s_category_id = PoLineMergeRow.getAttribute("CategoryId").toString();
                   //How to store in collection object --> XXXXXXXX
                    PoLineMergeRow =  PoLineMergeVO.next();
    CO2
    How I get Collection object??
    Thanks a lot for your help.
    Best Regards Mayte

  • How to add new value in operator in search parameter in web ui

    Hi,
    I have a requirement to add values (equal ,not equal ) in operator drop-down field of
    search parameter in search of web ui page.
    Can someone guide me to proceed on this.
    Thanks
    Viren

    Hi,
    here an example how to add operator "contains pattern" to attribute prospect name in the opportunity search.
    Hopefully it will work similar for your issue:
    1) Launch transaction 'sm34'
    2) Enter view cluster name as 'CRMVC_DQ' and click on 'Maintain'
    3) Find DQuery Object Name for example 'BTQOpp' under Comp Name 'BT' and click on'exceptions per attribute.'
    4) Find the Attribute Name for example 'PROSPECT_NAME'
    5) Check the box 'CP' to enable to 'contains' operator.
    Kind regards
    Manfred

  • How to add new value in Classification under General tab via MM02.

    Hello Experts,
    I've a requirement where I need to add a new material variant configuration value via MM02 as highlighted below. I've also attached the screen shot of CL02, the two characteristics which I need to add (highlighted in red).
    Can please anybody tell me the steps to add value in Classification under General tab via MM02.
    Many thanks in advance.

    zero cool,
    Use transaction CL02 , open class in PCL_222_PURO_BOX with class type 300
    add characterstic
    PCH_COSTING_WGT_DETERM
    PCH_COSTING_WGT_A_DETERM
    save it.
    Now use MM02 and go to classification view , now you would be able to see these characterstic there.
    Check and come back.
    Thanks
    Ritesh

  • How to set new value for the existing jar file

    Help:
    I am wondering if there is a simple to update value for Manifest-Version in a existing jar file?
    Thanks!

    The jar command's -u option is about as easy as I know.
    See the jar command documentation for the details.

  • How to add New status values in product

    Hi,
      In product master COMMPR01 presently system is shwoing only two vaues Blocked (ERROR), Blocked (Warning), even I have downaloded the sales staus from ECC to CRM using R3AS object 'DNL_CUST_PROD3' but on the screen system is not shwoing thos values.
    How to add new values in staus field.
    Regards,
    zafar

    Hi,
    Refer these links
    Re: GR for a production order
    status profile
    Regards,
    Vishal

  • How do I get a new value for the service name field and update it in Connection Properties?

    I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?

    When you create a new film script, the first page you see is a title page.
    The page after this title page is the one where you generally type in your scenes.
    It looks like you are facing some issue and not able to delete any text.
    Can you please send me this script so that I can have a better look at your issue?
    You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
    Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
    Thanks

Maybe you are looking for

  • Position showing in PA30 not PPOME

    Hi, I am using ECC6 and we have a problem where some times when an action is run we can see the employee is linked to their position via their PA record , however in PPOME the employee is not showing as occupying the position. If I run RHINTE00 repor

  • CS4 in a tangle with CS3

    Wow! Have we got ourselves into a mess. We are presently working with Adobe CS3 production premium. When we got the new copy of CS4 we couldn't wait to install it. That was a big mistake we admit it. Because we were working on a project at the time w

  • Cannot restore from Time Machine or Reinstall - MacBook Pro Yosemite

    Hi all, I recently started using a new Mac (Macbook Pro 15" with Yosemite) about 2 weeks ago. Upon startup it asked whether I wanted to encrypt and I said yes. It then froze for about 30min with the spinny wheel. After the startup was finally complet

  • How to remove a batte

    I need help regarding my new Zen Vision:M 30GB. I charged wall adapter plug more than 5 hours and I having problem to turn the LCD SCREEN on. It turns on couple time and I listen for couple minutes and suddenly turn it off. After that it wasn't turn

  • How do I import widgets from Dreamweaver into a Catalist project?

    I would like to put my widgets from the widget browser in Dreamweaver into my Flash Catalist project. Is that possible?