Splitting one column into 4 columns

Hi,
  I want to split one column into 4 columns as shown below.
parameters
PanelPanel=MP01110201&YearYear=2013&Source=1&UserID=aad2779
PanelPanel=MP12100173&YearYear=2013&Source=1&UserID=aac6440
it should be display as 
panel                      yearyear                source              userid
MP01110201           2013                            1                    aad2779
MP12100173           2013                            1                    aac6440
there will be thousands of rows in the column. Can anybody help how to split it as shown.The length may very from row to row
Thanks for your help.........
BALUSUSRIHARSHA

It is working...thank u very much... I found one more issue here
PanelPanel=MP01110201&YearYear=2013&Source=1&UserID=aad2779
PanelPanel=MP11100070&Source=1&PNR=2&YearYear=2014&UserID=ddc1535
PanelPanel=MP11101276&Source=1&YearYear=2014&PNR=2&UserID=ddc1565
I found 3 kinds of formats in the same column... I didn't observe the data carefully while posting the
question..sorry about that. In this case if we need to show as
panel                      yearyear                source
             userid
MP01110201           2013                            1                    aad2779
MP11100070           2014                           1                    ddc1535
MP11101276           2014                
          1                    ddc1565
is it possible to filter like this? Should we use any case statement in query while we have diff formats
like this?
BALUSUSRIHARSHA

Similar Messages

  • Split one IDoc into two IDocs ?

    hello all,
    I wanna split one IDoc into two IDocs in XI?
    how can implement it?
    plx give some suggestions.
    thx in advance
    best regards
    Yaning
    Message was edited by:
            Yaning Liu

    Yaning,
    Please find the below blog for changing the ocurrences of IDOC
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Best regards,
    raj.

  • Split one row into multiple columns

    Hi,
    Data in one CLOB column in a table storing with delimiter, ##~~##. Ex. ##~~##abc##~~##defgh##~~##ijklm##~~##nopqr (data starts with delimiter). Please help me to split the data into multiple rows like below and it should be in the same order.
    abc
    defgh
    ijklm
    nopqr
    I am using Oracle 11g.
    Thanks.

    Thanks Hoek for your response. Before posting my question in the forum, I tried similar query. It is working with one character as delimiter.
    with test as (select 'ABC,DEF,GHI,JKL,MNO' str from dual )
    select regexp_substr (str, '[^,]+', 1, rownum) split
    from test
    connect by level <= length (regexp_replace (str, '[^,]+')) + 1;
    Above query is giving correct result by fetching 5 rows. I have modified the query like below...
    with test as (select 'ABC,,,DEF,,,GHI,,,JKL,,,MNO' str from dual )
    select regexp_substr (str, '[^,,,]+', 1, rownum) split
    from test
    connect by level <= length (regexp_replace (str, '[^,,,]+')) + 1;
    Above query resulting 13 rows and last 8 rows are nulls. Number of null rows are increasing, if I increase number of characters in delimiter. Could you please tell me how to avoid those null rows.
    Thanks.

  • How to split a string into columns

    Hello to all ,
    Having a strings like this, where pipe(|) is his delimiter
    10:00 | x1 | 2 | RO | P | Con ausilio  | y1
    10:10 | x2 | 1 | RO |  |  | y2
    10:20 |x3 | 3 |  |  |  | y3
    10:30 |x4 | 3 | RO | N | Con aiuto  | y4
    10:40 |x5 | 1 | RO |  |  | y5
    how can I break it up into columns, for example, the first char(before first pipe) insert in first variable,
    then, after first pipe,  second characters in a other column ans so on
    col1 := '10:00';
    col2 := 'x1';
    col3 := '2';
    col4:= 'RO';
    col5 := 'P';
    col6 := ' Con ausilio ';
    col7 := 'y1';
    col1 := '10:10';
    col2 := 'x2';
    .. and so on
    thanks in advance

    Hi,
    check this:
    WITH mydata(txt) AS
       SELECT '10:00 | x1 | 2 | RO | P | Con ausilio  | y1' FROM DUAL UNION ALL
       SELECT '10:10 | x2 | 1 | RO |  |  | y2'              FROM DUAL UNION ALL
       SELECT '10:20 |x3 | 3 |  |  |  | y3'                 FROM DUAL UNION ALL
       SELECT '10:30 |x4 | 3 | RO | N | Con aiuto  | y4'    FROM DUAL UNION ALL
       SELECT '10:40 |x5 | 1 | RO |  |  | y5'               FROM DUAL
    SELECT TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,1)) col1
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,2)) col2
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,3)) col3
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,4)) col4
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,5)) col5
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,6)) col6
         , TRIM(REGEXP_SUBSTR(txt,'[^|]+',1,7)) col7
      FROM mydata;
    COL1   COL2   COL3   COL4   COL5   COL6            COL7 
    10:00  x1     2      RO     P      Con ausilio     y1   
    10:10  x2     1      RO                            y2   
    10:20  x3     3                                    y3   
    10:30  x4     3      RO     N      Con aiuto       y4   
    10:40  x5     1      RO                            y5    Regards.
    Al

  • ICal splits one event into two, how do I fix this?

    I have one weekly repeating event entered.  For the first two weeks it shows up like normal, as one event.  But two weeks later it splits that one event into two different side-by-side bubbles.  I did not alter the event.  Does any one else have this problem?  How can I fix this?

    That is because you are sharing an Apple ID.
    On both phones go to:
    Settings > Facetime > turn off iPhone Cellular Calls
    I would also suggest you check here to make sure your husbands number is not checked on your phone or yours on his:
    Settings > Messages > Send & Receive
    Settings > Facetime
    Otherwise you will get each others Messages and FaceTime calls.
    I recommend that you each get your own Apple IDs if for nothing else than iCloud, iMessage & FaceTime.

  • How to split one monitor into two, differently configured desktops

    Hello,
    I have a 27" iMac. I would like to split the screen into two differently configured desktops or monitors. Apps like TwoUp or Divy don't exactly do this. I'll explain it with an example:
    Suppose I'm working on a document and I need to open many folders to retrieve files. One common problem is that opened folders overlap each other and sometimes they overlap with the document I'm working on, or they go underneath the document. I would like to split the screen vertically in, say, two virtual, independent desktops/monitors, like this:
    - one window/space on one side (say, on the left) of the screen would contain the document  from top to bottom, with no dock bar on the bottom
    - the other window/space (right) would behave as a regular, full desktop, with the entire dock on the bottom
    In this way, if I need to navigate to find a file to use in the document, I would move the cursor to the right. The Finder would work only in this window/space, thus windows or other applications would never overlap or clutter the left side of the screen. Drag-and-drop from right to left should be possible.
    One way to imagine it is as if the 16x9 monitor were comprised by two vertical, 8x9 independent monitors side by side, each with its own configuration.
    Is this possible? Can anyone recommend an application or type of setup?
    Thank you,
    -celso

    Looking for something like this?
    You can tell Display Maid to save the positions of your open windows across many apps and later restore those positions when things become a mess. With Display Maid you don’t have to restore windows one at a time, or even one app at a time. Display Maid restores all saved window positions across all apps with one command. It will also restore window positions automatically when it detects a workspace change.
    http://www.funk-isoft.com/index.php/display-maid

  • How to split one page into different frames in ADF?

    Hi,
    Can any one please guide me how to split a jspx into different frames.
    i.e., left frame contains <af:panelSideBar> which contains multiple <af:commandMenuItem> s. And whenver we click on the one <af:commandMenuItem>, it has to show the corresponing page inside center frame in this page itself. Is it possible in ADF? Which component we need to use?
    Can anyone guide me on this?
    Thanks in advance,
    Regards,
    Suresh Kethireddy

    You can use a combination of the ADF Faces 10.1.3 components like:
    af:panelPage
    af:panelSideBar
    af:panelHorizontal
    af:panelGroup
    to organize the screen layout, but it is not the interactive splitter that the 11g product provides.
    You can all all the 10.1.3 ADF Faces Components here:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html

  • Help... Why did the dvd to ipod converter split one movie into 2 files?

    I have a 80GB Video Ipod and I'm confused on why when I ripped a dvd using the dvd to ipod converter for mac program it split the dvd into 2 files.. Is there a way I can merge the files together so it is 1 file?.. I would apprciate any help or suggestions...
    G3 Ibook.. 15, 40 and 80GB Video Ipods... G4 PowerMac   Mac OS X (10.4.2)  

    Go to their support forum and ask-you will get a better answer from people who actually use the program.
    It's not a paid for program is it?
    A totally free program that rips and converts DVD's for Macs can be found here: http://handbrake.m0k.org/
    Why would anyone on a Mac pay for a DVD rip program?

  • How to split one request into many to reduce response time

    Hi,
    In a request I may get more than 20-30 materials for which, pricing info need to be returned. Its increasing the load on SAP and XI is not waiting for a long time to get the price. Please let me know a work around for this otherthan BPM.
    Or is there any mechanism by which I can split the XML into multiple XMLs and process multi small requests.
    Thanks
    Seshu

    Hi Seshu -
    Timeouts can be tricky in synchronous cases with all the various components of XI.  In your case, you've implied that the RFC receiver adapter is being used to talk to SAP and it's taking a long time for SAP to process this request and send back a response.  Are you getting a '...MessageExpiredException'?  If so, the parameter 'xiadapter.inbound.timeout.default' in the 'SAP XI Adapter: XI' J2EE service would be relevant (see Note 791379 for details).  The 'syncMessageDeliveryTimeoutMsec' parameter of the 'SAP XI Adapter: RFC' J2EE service is only relevant if you're using the RFC sender adapter.
    Other timeout settings may come into play.  <a href="http://service.sap.com/~sapidb/011000358700005909032005E/XI30XI70_TroubleGuide.pdf">The XI Troubleshooting guide</a> has some good information on this.
    Also, if this scenario is required to be synchronous, there's no way to split the request without using BPM as synchronous requests cannot be sent to multiple receivers.
    Regards,
    Jin

  • PRE9: How to split one clip into two (or more) clips?

    I can't believe this is so hard to do... But HOW?

    You don't necessarily need to separate the file into individual clips.  When you do a cut on the timeline, this is a virtual cut, leaving the original file untouched but determining what will appear in the output.  You can split the clip into multiple pieces, delete the bits you don't want, add transitions, insert new bits, whatever you want, all without affecting the original file in any way.  Once you're happy, you output a new file using the Share options, and you get a new video file, with your original files still untouched.
    If you want to split your file into multiple individual files, you can use the sliders on the time scale, and export (Share) using the Share Work Area Only checkbox.  If you're doing this for purposes of reassembly, it would be better to save the individual clips in as lossless a format as possible, the default AVI format taking considerably more space but not losing quality.  Hint: the sliders can be positioned to the time marker using Alt-[ and Alt-].  Once you've done this, note that your original file will still be there, untouched.
    There is also VideoRedo Plus, a cheap program which gives frame-accurate selection and allows rapid subdivision of a piece of footage.  It doesn't re-render as PE9 would (this is where loss of image quality creeps in using compressed formats such as MPEG), copying the original frames.  You can then reassemble the bits using your video editor.

  • MailMerge Directory - Split one Excel Data column into three Seperate columns in Word MailMerge

    This seems like something so simple to accomplish but I am having extreme issues just getting this correct.
    Here is what my Data looks like
    Name                      ClassID
    Jeff Probst                Intro
    Kevin Douglas           Intro
    Jen Taylor                Intro
    Master Chief             Intro
    I want these to print out in three separate columns (Static) with dynamic rows with how many names are in the data
    Example:
    Jeff Probst                     Kevin Douglas                   
    Jen Taylor
    Master Chief                  Next Name
    I have tried to use Many to One, but I cannot get it to work correctly. I have tried setting it up as a directory and using If statements, but I cannot get them to print correctly or in column order before moving on to the next record.
    Thank you for your help in advanced.

    You can use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial at:
    http://windowssecrets.com/forums/showthread.php/154370-Microsoft-Word-Catalogue-Directory-Mailmerge-Tutorial
    or:
    http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
    The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.
    For some worked examples, see the attachments to the posts at:
    http://www.msofficeforums.com/mail-merge/9180-mail-merge-duplicate-names-but-different-dollar.html#post23345
    http://www.msofficeforums.com/mail-merge/11436-access-word-creating-list-multiple-records.html#post30327
    and especially:
    http://windowssecrets.com/forums/showthread.php/157725-Word-2010-Merge-from-excel-into-Table-Directory?p=928391&viewfull=1#post928391
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • How to split one characteristic into 2 columns in query

    Hi,
    There is a characteristic TASK, which has a navigation attribute Phase Indicator, and if Phase Indicator = 1, then this Task is a Phase, or else it's a normal Task.
    Now I want to have a result with 2 columns like:
    Phase     Normal Task
    PH1        T1
    PH1        T2
    PH2        T3
    PH2        T4
    Could you give any advice on how to realize it?
    Thanks in advance!
    Regards,
    Napoleon

    Hi Napoleon,
    In ur query create 2 selections and give description as phase and normal task.
    In the 'phase' sleection drag 'task' as info object and give restriction for the nav attribute 'phase indicator' with 1.
    Similarly in the 'normal task' selection again drag 'task' as info object and give restriction for the nav attribute 'phase indicator' with not equal to 1.Hope it helps
    Regards,
    Rathy

  • SQL help, how to split one row into many rows

    Hi,
    I got a question on SQL. One table, structure like this: (2 columns)
    A 123,456,789
    B 012,345
    C 678,901,234
    How to get the final result like below:
    A 123,
    A 456,
    A 789
    B 012,
    B 345,
    C 678,
    C 901,
    C 234
    Do I have to use PL/SQL? Appreciate any thought you have on it!

    i doubt the second column string operation can be acheived within single query to break it into rows.
    but here is the pl/sql to do it.
    SQL> create table test_data(col1 varchar2(5), col2 varchar2(30))
      2  /
    Table created.
    SQL> insert into test_data values('A','123,456,789')
      2  /
    1 row created.
    SQL> insert into test_data values('B','012,345')
      2  /
    1 row created.
    SQL> insert into test_data values('C','678,901,234')
      2  /
    1 row created.
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    pos   number:=0;
      3    str   test_data.col2%type;
      4  begin
      5    for i in (select col1, col2 from test_data)
      6    loop
      7      str := i.col2||',';
      8      loop
      9        pos := instr(str, ',');
    10        dbms_output.put_line(i.col1||' '||substr(str, 1, pos-1));
    11        str := substr(str, pos+1);
    12        exit when str is null;
    13      end loop;
    14    end loop;
    15  end;
    16  /
    A 123                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    A 456                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    A 789                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    B 012                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    B 345                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    C 678                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    C 901                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    C 234                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    PL/SQL procedure successfully completed.

  • During import, how to auto split one project into multiple albums based on date?

    I believe I've done enough aperture reserach to get all my terminology right, so here goes...
    I've created a file structure within the aperture inspector the the tune of: 
    Year [folder], Type of event (Occasion, special occasion, holiday, vacation) [folder], Project (Wedding), Album (i.e. Day 1, Day 2 or Pre wedding week, event, honeymoon).
    I also have entire months with 7 or 8 pictures each day, that are of the same type/project (random dog pictures) but are distinctly different days (albums - day in park, in bed at night, watching movie). 
    My question is, can I import one project with multiple albums already created based on the date they're taken.  As I can see it, all I can do is split individual projects automatically by date.  But what if one project is over one month, but has multiple distinct days that would be ideal for albums?  One more example.  We did a trip to San Fran.  One day was touring the city, one day was a concert, another day was touring the city.  All one project, but 3 different albums (in my mind).  I had to import as one project, then separately go in and make albums.  I would like that done automatically.
    My suspicion is that I can not natively do this within aperture, and that I would need something called an "applescript."  I haven't done any reserach into that area, so if that's the case and you know where I can find a script that would do this, I'd appreciate the help. 
    Sorry for the wordiness, just wanted to be clear.  Thanks for any and all help!

    Hi,
    You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    MdZ

  • Split one record into multiple records in Update Rules

    Hello All,
    I am trying to split a single record from R/3 into 2 records.
    My data flow is form R/3 > PSA > ODS > Cube
    when loading data into ODS i have to add the original record as it is to ODS. For second record i have to check a condition, & change few keyfigure values to 0 and fill an extra field.
    Example:
    Record in R/3 :
    Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION|
    02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 |
    Record in BW Comm_Structure.
    In Transfer rules i m writing an extra field to the R/3 record.
    Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
    02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 2546352 |
    NEW_FIELD transfer routine :
    If employee NE 0
    Result  =  employee
    else.
    Result = 0 .
    Till this point everything works fine.
    Now i want to load this record into an ODS. I want to split the above single record into 2 records.
    Records in ODS should be :
    Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
    02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 |  0 |
    02.2006 | 0 | 0 | 0 | 0 | 3000000| 248 | 2546352 | 500000 |  2546352 |
    Condition for NEW_FIELD.
    For first record always NEW_FIELD =0.
    For Second Record
    If NEW_FIELD NE 0.
    Cahnge KF's  %1, %2, %3, %4 = 0.
    If EMPLOYEE is 0 then no need to create extra record.
    I tried to use achieve this using return table, but no success.
    Can any one help me with ABAP syntax please. I am bit weak in ABAP Programming.
    Thanks in advance.
    POPS

    Dear:
    You could do so in update routines. Select the 'return table' option.
    useful links:
    https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2906656
    https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=913873
    https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2441579
    Thanks

  • Music app splitting one podcast into two - why?

    I have a 4th gen iPod Touch running iOS 6.1.6 - newest available.  I listen to podcasts through the standard Music app.  For some reason I have one podcast that shows up as two on that app - even though they have the same name.  AND in iTunes on my Mac it is a SINGLE podcast that contains all of the episodes - including the six that are split out on the iPod.  No change in the stream location; no change in the podcast name; nothing different between the meta fields when you do "get info" on the podcasts.  In that separate podcast on the iPod, there are 6 podcasts (un-played) from 2012.  Everything in the "main" podcast that is un-played is 2013 or newer.
    I done a lot of googling and can find nothing on split podcasts other than when the actual podcast changed its name or the stream location.  This is not the case here.
    Any ideas???

    This thread helps you, at least Brian's answer:
    https://discussions.apple.com/message/23507673
    At least this was the resolution for me.

Maybe you are looking for

  • Customising Discover plus for olap UI

    Hi all, I'm using Discover Plus with an OLAP data source and would like to customise the interface such that: - The Query Pane window is switched on by default - When creating a new report the "crosstab" radio button is highlighted by default (usuall

  • Indesign fails to launch again on mac mini

    Here is the report generated when indesign fails to launch. I followed all the advice from previous posts and created a secondary account which now has the same problem. I have been told to backup everything and dump my computer and reload everything

  • Recruitment steps in sap hr?

    Hello All, I am currently working on recruitment module as per the requirement of the client. I have completed all the steps upto PB10.Now I an a bit confused as in how to go futher. Can somebody come up with the complete recruitment steps and help m

  • How to block specific websites to specific users

    our is small business company we are using windows server 2008 r2.we want to block some specific websites  for few users ,we go to group policy management policy in that user configuration clicked on it but we reached to the policy based qos in that

  • Need help about wiki

    Hello friends. I have been given a task to implement a wiki in an intranet. I would like to know that is there any free wikis available to plug into my intranet? Any help in this regard would be highly appreciated. Thanx in advance.