Join the String (Urgent)

I have 5 records, lets say column names are:
ID ==> varchar (25)
Group ==> varchar(25)
ID GROUP
12 Group_1
34 Group_1
55 Group_1
66 Group_2
22 Group_2
I need to join the IDs vertically with a seperator ","....
the result should be like this:
Total IDs GROUP
12,34,55 Group_1
66,22 Group_2
I can't find any functions that I can do this vertically, I can
only find a function "SUM" to sum the number for each particular
group but not for joining the string.
Please help ~

I think you need to flip the table. Well Try this with the help
of Decode with concate.
Otherwise go with union. It will work.
--Thanks                                                                                                                                                                                                                                                                                               

Similar Messages

  • Problems with the Strings Urgent Help needed

    I have a unique problem. I have to retrieve a particular value from a String. I tried using String tokeniser but in vain. I cannot use java.util.regex package to match the expressions as the version of java on the client m/c is 1.1.8 and they are not ready to upgrade the same.
    The string From which I have is a very long one running into more than 100 lines which can vary from case to case all I know is to retrieve the value which is just in front of "TestValue" which occur only once in the String Can Anybody suggest a bettter alternative.
    Thanx.
    ebistrio

    StringTokenize on TestValueHow would you suggest that was done?
    As I understand it StringTokenizer tokens = new StringTokenizer(string, "TestValue"); would not tokenize on the string "TestValue" but on any of the characters 'T', 'e', 's', 't', 'V', 'a', 'l' or 'u'. This is a common java pitfall in my opinion due to bady named parameters (I feel it should be called "delims" not "delim") or in other people's opinion due to bad parameter type (should be a char[] not a string).
    A clearer explanation of the problem would help.

  • Urgent!!!   Problem on the String method and File method

    I would like to ask two questions:
    (1) From the String method, it can use .equals() method to compare two strings whether two string exactly equal or not. But what method can i use to compare two strings see whether any words exists in the string?
    (2) From the following code,
    Java.io.File outFile = new java.io.File("TestProg.java");If i would like to use a variable (e.g. let the variable be name) instead of the filename "TestProg.java", do you know how to revise the above code??
    If i write as following, is it correct???
    Java.io.File outFile = new java.io.File(""+name+"");Please help!!!

    1- To check whether a word (sunstring) exists in a longer string, you can use the following String method:
    indexOf(substring) on the string that you are searching. If the word does not exist, -1 is returned.
    2- yes you can provide a variable (of type string) in the constrcutor of File.

  • Error joining the selected airport network?

    I'm trying to connect to my linksys wireless using WPA with a powerbook but no luck. My password which I know is correct (it's working on another G4 and my wife's Gateway. I get the following message when selected my network. "There was an error joining the selected airport network". I can connect via a neighbor's unprotected network, so airport is working. Other times I've tried it says password is incorrect.

    Wi-Fi Protected Access networks normally require a plain-text password or passphrase. But in rare cases you may have to enter a string of 64 delightful hexadecimal characters.
    The HEX password is derived from the plaintext password therefore you shouldn't need to create anything new. Check the linksys router for the HEX version of your plaintext password.
    The AirPort interface doesn't welcome this wonderful practice by default (imagine that), but it's buried in there for when you need it. Just hold down the Option key while choosing your network from the AirPort menu, then you'll be set to enter all 64 of those easy-to-remember characters.
    iFelix

  • How to capture the string values

    Hi Gurus,
    Could you plz suggest me how to capture the string value.
    My requirement is.
    I have a structure field called  cnj_stat-sttxt_int and it is storing a value like "REL CDRT AVAC". AND the moddile value CDRT will change according to condtions. now i required to write a logic like if cnj_stat-sttxt_int field contain 'REL' and 'AVAC'.  I HAVE TO THROW SOME ERROR.
    SO please give some idea about on it...
    Its urgent..
    points will be rewarded...
    Thanks in advance!!!!
    Thanks & regards,
    Kranthi.

    if cnj_stat-sttxt_int field contain 'REL' and 'AVAC'. I HAVE TO THROW SOME ERROR.
    if cnj_stat-sttxt_int CS 'REL' and cnj_stat-sttxt_int CS 'AVAC'.
    THROW SOME ERROR.
    endif.

  • Help reqd to join the table of ADRC and MT001W tables

    Hi all,
    im working on PO and i need to display the delivery addresses where the records are available in these two tables.
    I want to join the table...so pls tell me which primary field key will work out for this...i've taken the record of name field from MT001W table but while i joining with ADRC table thru name2 = g_name2...its not getting printed.
    ****i've moved the MT001W-name2 to the variable g_name2.
    ****but when im matching the record with ADRC...its not coming..pls go thru the code once b4 reply.
    select name2 from MT001w into g_name2 where WERKS = g_xekpo-werks.
    endselect.
    if sy-subrc = 0.
    *move g_name2 to g_add.
    *endif.
    select house_num1 street post_code1 from adrc into (g_house , g_street , g_pcode)
    where name2 = g_name2 and langu = 'E'.
    endselect.
    *if
    *move g_street to i_street.
    endif.
    pls do the needful and reply ur comments on urgent basis.
    thanks & regards
    sankar.

    hi Madhavi t ,
    thanks a lot man....
    i've done it....
    thansk & regards
    sankar.

  • Unable to capture the String[] from a JavaCallOut

    Hi all,
    I am doing an application in which I need to do a java callout which accepts string and return a String array as output. The java class alone is working fine but when I do the Java Callout and pass the string I am getting *"<con:java-content      ref="jcid:-31630335:136f3572827:-3925" xmlns:con="http://www.bea.com/wli/sb/context"/>"* as a response. How should I access array variable in OSB?
    Kindly help me in this.
    Regards
    Phanindra.

    in Java Callouts I would avoid types which are not in THE list of supported types:
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/eclipsehelp/ui_ref.html#wp1290279
    java.lang.String[] is supported for INPUT ONLY
    just return some CSV in a String and you will be happy
    or return a XmlObject containing multiple elements
    A con:java-content thingie can be processed only in another Java callout, and not in a OSB message flow....

  • Managed server not able to join the cluster

    Hi
    I have two storage node enabled coherence servers on two different machines.These two are able to form the cluster without any problem. I also have two Managed servers. When I start one, will join the cluster without any issue but when I start the fourth one which does not join the cluster. Only one Managed server joins the cluster. I am getting the following error.
    2011-12-22 15:39:26.940/356.798 Oracle Coherence GE 3.6.0.4 &lt;Info> (thread=[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from "file:/u02/oracle/admin/atddomain/atdcluster/ATD/config/atd-client-cache-config.xml"
    2011-12-22 15:39:26.943/356.801 Oracle Coherence GE 3.6.0.4 &lt;D4> (thread=[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): TCMP bound to /172.23.34.91:8190 using SystemSocketProvider
    2011-12-22 15:39:57.909/387.767 Oracle Coherence GE 3.6.0.4 &lt;Warning> (thread=Cluster, member=n/a): This Member(Id=0, Timestamp=2011-12-22 15:39:26.944, Address=172.23.34.91:8190, MachineId=39242, Location=site:dev.icd,machine:appsoad2-web2,process:24613, Role=WeblogicServer) has been attempting to join the cluster at address 231.1.1.50:7777 with TTL 4 for 30 seconds without success; this could indicate a mis-configured TTL value, or it may simply be the result of a busy cluster or active failover.
    2011-12-22 15:39:57.909/387.767 Oracle Coherence GE 3.6.0.4 &lt;Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster:
    Message "NewMemberAnnounceWait"
    FromMember=Member(Id=2, Timestamp=2011-12-22 15:22:56.607, Address=172.23.34.74:8090, MachineId=39242, Location=site:dev.icd,machine:appsoad4,process:23937,member:CoherenceServer2, Role=WeblogicWeblogicCacheServer)
    FromMessageId=0
    Internal=false
    MessagePartCount=1
    PendingCount=0
    MessageType=9
    ToPollId=0
    Poll=null
    Packets
    [000]=Broadcast{PacketType=0x0DDF00D2, ToId=0, FromId=2, Direction=Incoming, ReceivedMillis=15:39:57.909, MessageType=9, ServiceId=0, MessagePartCount=1, MessagePartIndex=0, Body=0}
    Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE), Id=0, Version=3.6}
    ToMemberSet=null
    NotifySent=false
    ToMember=Member(Id=0, Timestamp=2011-12-22 15:39:26.944, Address=172.23.34.91:8190, MachineId=39242, Location=site:dev.icd,machine:appsoad2-web2,process:24613, Role=WeblogicServer)
    SeniorMember=Member(Id=1, Timestamp=2011-12-22 15:22:53.032, Address=172.23.34.73:8090, MachineId=39241, Location=site:dev.icd,machine:appsoad3,process:19339,member:CoherenceServer1, Role=WeblogicWeblogicCacheServer)
    2011-12-22 15:40:02.915/392.773 Oracle Coherence GE 3.6.0.4 &lt;Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster:
    Message "NewMemberAnnounceWait"
    FromMember=Member(Id=2, Timestamp=2011-12-22 15:22:56.607, Address=172.23.34.74:8090, MachineId=39242, Location=site:dev.icd,machine:appsoad4,process:23937,member:CoherenceServer2, Role=WeblogicWeblogicCacheServer)
    FromMessageId=0
    Internal=false
    MessagePartCount=1
    PendingCount=0
    MessageType=9
    ToPollId=0
    Poll=null
    Packets
    {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    By default Coherence uses a multicast protocol to discover other nodes when forming a cluster. Since you are having difficulties in establishing a cluster via multicast, Can you please perform a multicast test and see if multicast is configured properly.
    http://wiki.tangosol.com/display/COH32UG/Multicast+Test
    Hope you are using same configuration files across the cluster members and all members of the cluster must specify the same cluster name in order to be allowed to join the cluster.
    <cluster-name system-property="tangosol.coherence.cluster";>xxx</cluster-name>
    I would suggest, try using the unicast-listener with the well-known-addresses instead of muticast-listener.
    http://wiki.tangosol.com/display/COH32UG/well-known-addresses
    Add similar entries like below in your tangosol override xml..
    <well-known-addresses>
    <socket-address id="1">
    <address> 172.23.34.91<;/address>
    <port>8190</port>
    </socket-address>
    <socket-address id="2">
    <address> 172.23.34.74<;/address>
    <port> 8090</port>
    </socket-address>
    </well-known-addresses>
    This list is used by all other nodes to find their way into the cluster without the use of multicast, thus at least one well known node must be running for other nodes to be able to join.
    Hope this helps!!
    Thanks,
    Ashok.
    <div id="isChromeWebToolbarDiv" style="display:none"></div>

  • My iPhone 4S has stopped receiving iMessages, cannot send/load any pictures over whatsapp, cannot join the wifi in my house anymore. What has happened to my iPhone i haven't made any changes?

    My iPhone 4S has stopped receiving/sending iMessages, cannot send/load any pictures over whatsapp and cannot join the wifi in my house anymore.
    Essentially all the things I use my phone for have now stopped working. I constantly have 3G connected (even though i dont want to use it, i want to connect to the wifi in my house) but still when I try to download/ send a picture over whatsapp it comes up with an error message saying the server is unverified, or something equally ridiculous.
    I deleted the app so i could reinstall it (as if that would help), but the app store is started saying "unable to connect", despite 3G, so that bright idea died out pretty sharpish.
    Whenever i try to turn on iMessage, it asks for my Apple ID password, which I know I've typed in correctly because I reset the **** thing about 4 times due to it apparently being "incorrect". Even so, it repeatedly asks for the password over and over as soon as I've entered it, saying it was "unable to connect" before a final "incorrect password" message pops up just to add an extra smack of annoyance.
    I haven't changed a single setting on my iPhone whatsoever. It just suddenly started spiralling into what is now £28/month-worth of pure frustration.
    I don't even have any music or photos on it as I had to free up 3.5GB of space on the **** thing to allow it to update, naively thinking that would solve the problem, but alas it did not.
    I have seen a few questions posted like this one, usually just one of the problems I have, but I seem to have rounded up the whole bunch (lucky me). None of the previously posted questions have received any replies.
    Can some please help me! Honestly, if i see another "unable to..." or "unverified source" pop up again I'll probably smash the thing against the side of my house.
    Cheers.

    On your iPad, go to [Settings > General > Reset > Reset Network Settings] Once that is done, re-connect your iPad to your wifi network.

  • Seperation of contents in the string

    Hi Guru's,
    I was assigned a little bit query related to updation of text for LFA1 object. I would like to expalin my requirement in details. I have 2 texts like Z001 & Z002. Z001 stores range of PRO numbers. Z002 is for display the current PRO number related to perticular vendor. we need to update that Z002 by code it self. Suppose Z001 contains the range like this (ROADWAY 444 100 , ROADWAY 444 999). I need to update Z002 with the next value starting from lower value like
    (ROADWAY 444100,ROADWAY 444 101,ROADWAY 444 102...........). For each vendor length of PRO # may change. Now my problem is how can i seperate alphabates and numerics in this string (ROADWAY 444 100..) for updating Z002 with next PRO#. Kindly help me out in this scenario and your help will be greatly appriciated.
    Regards,
    Ravi.

    Hi Ravi,
    You can split the string into parts..
    DATA : begin of itab OCCURS 0,
                 line type char100,
    end of itab.
    SPLIT z001
         AT space
    INTO TABLE itab.
    Now if you are sure that the 3rd record will be which you need to use..
    Then, LOOP AT itab INDEX 3.
    MOVE itab-line TO w_num.
    w_num = w_num + 1.
    ENDLOOP.
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • I have just converted from PC to iMac. Yay. But pls be nice to me; I am back to newb! Running Lion. Have connected a Time Capsule as both a backup and WAP. I want to be able to join the network with my iPad, iPhone, iPod to print. How can I do this?

    Can I do this using the Time Capsule. I am not tech, so bear with me. Can I get the iPad to connect wirelessly to the TC, which connects wirelessly to the Canon MP495? Or, can I connect/network the iPad to the iMac to print?
    Either way, or if there is any other solution, I would appreciate if someone would walk me through it, or point me to a plain-speaking resource.
    Thankyou.
    Actually, one more: I would like to connect my HP laptop as well. I have heard this is not simple, but possible.

    You can create a wifi network with your TC, and you can join this network with your iPad. However, your printer does not support the AirPrint protocol, so you will not be able to print from your iPad, unless you load additional software.
    These are the steps:
    1.  (You may have completed this step already) Set up your TC to create a wireless network. You can do this from AirPort Utility on your Mac or from the AirPort Utility App on your iPad (free download from the App Store).
    2. From your iPad, go to settings / wifi and join the network.
    3. Download the Canon iPhone App from the App store on your iPad
    4. You can now print photos from your iPad to your Canon printer.
    If you want full functionality, (not just photos), there is software for your Mac that makes your printer available to your iPad through AirPrint (Printopia). The downside is, you have to purchase it, and you have to have your Mac running when you want to print from your iPad.
    Good luck!

  • TS1398 My i-phone model MD654LL/A serial F17JWNAF8H2 says "Unable to join the network "sunday".  This is my WIFI network I have had for years.   My I pad has no problem connecting, but not my i-phone. I just tried my daughter's i-phone and it has same pro

    My i-phone cannot connect to my wi fi-all of a suddon.  My wife's i-phone 4 is connected to the wi-fi network.
    I just tried to connect my daughter's i-phone 5, and could not connect message came up "unable to join the network "Sunday".
    My I-pad is connected to Sunday also.
    I tried the reset routine, and when I try to get on line, it asks for my password.  I put it in and it stll says unable to hoin message.
    Can someone help?

    Reset your network settings. Settings>General>Reset>Reset Network Settings

  • How do I effectively join the Macs to the AD?

    Hi. First, I must qualify that I am NOT a network individual. Some of the research I've done, I've managed to follow, but I don't have the technical know-how to fully understand it all. I desparately need help, please.
    I work in a medium-sized environment, about 50 PCs and we employ Windows Server 2003. I've been charged with making 10 or so Macs work in Active Directory. Our Mac users constantly run into expiring netword passwords every 30 days (extending this is not an option because of the nature of the work).
    How do I effectively join the Macs to the AD and allow changes to network passwords from the Mac?  So far, for every Mac users, I've used SMB to connect to server files/folders. But when the users' password expires, they are 1) not notified that their passwords are expiring and 2) are not able to change their passwords from their Macs when their passwords expires. I've tried binding my Mac to the AD and used a free software called ADMon to monitor my own expiring network password.  And that's proving useless because it's monitoring the local password for the Mac instead of the network password. 
    Mac users are mostly on OS Lion, one Mac user on Snow Leopard.
    I would really appreciate any help/advice you can provide.
    Thanks!

    AD is still broken with Lion as at 10.7.2. May want to read this thread to try the workarounds, mainly Page 5, while Apple sort it out.
    https://discussions.apple.com/thread/3198558?start=60&tstart=0

  • How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?

    Dear readers,
    I have been trying to work out how to get labview to detect the event when a 'string' control has been modified, where the user has finished editing the string either by 1) pressing the enter key on the keyboard, or by 2) taking the focus away from the string control again. For example.. if I use the mouse to click on the string control and then I type 1234 into the box, I would like to have a routine that does something once the user hits the Enter key of the keyboard, or when the user takes the focus away from the string control again by clicking on something else. I would like the routine to respond even when the user didn't change anything in the text box (such as when we mouse-click on the edit box to go into edit mode, and then mouse-click on something else to remove the focus with no changes to the contents in edit-box).
    The purpose of my routine is to have a edit-box for a user to change for example the centre-frequency of a vector network analyser, so that the centre-frequency of the network analyser can change once the user finishes entering a new value in the text-edit box by hitting Enter key after the number is keyed in. Even if the user has clicked on the edit box, but changes their mind by mouse-clicking on something else to remove focus from the edit box, I would still like labview to detect the event when the control loses focus, so that the centre frequency can be updated anyway (to the same value that was already in the edit box).
    So far, I've tried set the string control option to 'limit to single line', so that I can try to scan for a carriage return .. '\n' ... pattern in the string. Unfortunately this doesn't work because labview doesn't seem to attach the '\n' to the end of that single line.
    Could someone please suggest ways to set a flag when a user hits Enter during text-edit mode of a string control, or when focus has been removed from the string control?
    While I've only described my problem for controlling a single control parameter on the gpib device, I'd like to make this feature work so that I can do the same kind of thing with other control parameters as well.
    Thanks so much in advance.
    Kenny

    Hi Kenny,
    instead of using the event structure, you can directly achieve to what you want by the KeyFocus property of the string control.
    - Enable Limit to single line option
    - Create the property KeyFocus in read mode and connect an indicator
    Each time you click on the string to modify it KeyFocus is True; when you click away or hit Enter KeyFocus is False.
    You can toggle your settings when KeyFocus changes from True to False.
    Alberto

  • How to count number of vowels in the String?

    Write a program that calculates the total number of vowels contained in the String" Event Handlers is dedicated to making your event a most memorable one."
    Please help!

    http://leepoint.net/notes/javanotes/40other/20examples/60Strings/example_countVowels.html

Maybe you are looking for

  • Premiere Pro CC 2014 and Medie Encoder CC 2014 problem

    Hello there, Every time that I am willing to export my project my Premiere Pro CC 2014 stop responding all together. I tried the short cut (Commend+M) or going through the Manu bar. the result is the same, Premiere Pro CC 2014 just freezes and does n

  • Daily reminders in calendar don't work

    I have recently updated my 8900 online.  Since this update my daily reminders in calendar wont work.  Weekly, Monthly, Yearly, Every other day.  All these reminders work but not ones that are supposed to be daily.  I am epileptic and need to take dai

  • How to setup my blackberry torch to my mobile internet network will work

    My mobile network has an APN, Proxy #, and a Port #, however I do not know how to find the settings on my torch so the internet will work.  Does anyone know how to help me? thank you

  • Unable to create partition after RAID setup failure

    SL - Tried to create RAID 1 with two external 250G drives. The RAID setup failed indicating improper format pair. So....I attempted to re-create the partition on one of the drives with proper settings. It will not partition at all. It returns a POSIX

  • Finished project stops after ~3hr 22 min

    OK, using iDVD 5, for a double layer disc project, I have a movie that is about 3 hrs and 50 min long (8 episodes of a public access show, each has a chapter marker). I've gone through this process twice with the same result. It takes about 13 hours