How to combine 3 records into one?

Hi frnds
I have data like this in my ODS
Material |    ID |   Name |       Address
M1            1             
M1                   AAA             
M1                                  address1
M2            2             
M2                   BBB             
M2                                  address2
M3            3             
M3                   CCC            
M3                                  address2
But I want it like this
Material | ID | Name |   Address
M1         1     AAA       address1
M2         2     BBB       address1
M3         3     CCC       address1
Please tell me how can I do this?
Regards
Swati

Hi Swati,
If the Material is a master, then in the infoobject level of the Master, assign the infoobjects Name, Address and Id as a compounding and not as attribute.
When you'll do this, automatically for every unique set of combination you will get a new record.
For eg:
Before,  Material      Item        Name          Address
             M1               A        
             M1                                123
             M1                                                 XYZ
Now,  Material      Item        Name          Address
            M1             A            123            XYZ
                                   Or
As per your current quest'n:
            Material      Item        Name          Address
               M1            A            123            XYZ
               M2            A            123            XYZ
Then Output will be:
            Material      Item        Name          Address
             M1            A            123            XYZ
             M2            A            123            XYZ
and you dont need to write any code on ODS, as doing this will server your purpose.
Hope it helps.
Regards,
Neha.

Similar Messages

  • How to Combine Packages into one & run them as one Main Package ?

    Greetings -
    I am trying to combine two packages into one if possible, this way I can execute one Main_Package.
    In other words, I have this Package that FTP files called Package_1 and another package that refreshes data called Package_2. I want to be able to run one Main_Package that calls Package_1 first, then after it is completed successfully, the Package_2 gets executed..
    I'd appreciate your input/advice on this. Thanks.

    I am trying to combine two packages into one if possible, this way I can execute one Main_Package.
    I have this Package that FTP files called Package_1 and another package that refreshes data called Package_2. I want to be able to run one Main_Package that calls Package_1 first, then after it is completed successfully, the Package_2 gets executed..
    create a scenario Scn1 for Package_1 and another Scn2 for Package_2.
    Create a package Main_Package
    Put the scenario of Package_1 and Package_2 in Main_Package in the following fashion
    Sc1 ------OK---> Scn2
    Thanks,
    Sutirtha

  • Importing a talk - how to combine tracks into one reference

    I want to import a talk from a CD to iTunes. It shows up as multiple tracks as if I imported 15 songs instead  of one talk. How can I merge the tracks or combine them so they show up as one talk or item

    Use Advanced > Join CD Tracks before ripping the disc.
    For general advice on organizing media in iTunes see Grouping tracks into albums.
    tt2

  • How to join records into one album in itunes 10.0.5.5.?

    imported from one album, various artists. Displaying in many albums, with one record in it. Any idea?

    Generally setting a common Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

  • How to combine objects into one

    Can I combine two or more objects (say, text box and rectangle) so that they effectively become one object? Other software calls this Grouping of objects.

    Welcome to the Apple Discussions. See Old Toad's Tutorial #7 - Converting Photos w/Frames, Drop Shadows and/or Reflections into a Single JPG Image. It describes exactly what you want to do.
    OT

  • Saving combined PDFs into one new document?

    I know how to combine PDFs into one document using Preview, but I am not finding any way to save the resulting new document.  There is no "save as" any longer in Preview, and when I choose "save", it only saves the first document, not the whole collection of documents.
    There must be a way to do this!  There used to be, and it was easy as pie. 
    Can someone help, please?
    Mark Carlson

    Thank you.  I was able to conjure up "save as"--though why should you have to hold down the option key? Why isn't "save as" just there? Well, it doesn't really matter, since "save as" still only saves one of the documents in the combined bunch.
    But your second method of accessing it through Print worked just fine.
    Thanks so much!
    Mark

  • I have several pics of my new grandson throughout the year.  How do I combine them into one event

    I have several pics of my new grandson throughout the year.  How do I combine them into one event

    You can drag and drop photos from one Event to another. Or you can flag them and use the Events: Add Flagged photos to Select Event.
    However, why not use an Album for the job?

  • I have two different itunes music files on my computer.  How do I combine them into one file?

    I have two different itunes music files on my computer.  How do I combine them into one file?

    I don't think so. The only other ID I have is a developer id, and I didn't get that until several months after I got the phone. In addition purchases I made from the App Store onthe phone would sync up with It unes on the Mac meaning it would be the same id.
    However I looked at the AppStore on my phone while it was connected to the Mac with iTunes open, and now the balance has changed to the same as the others.

  • I have multiple documents how can I combine them into one document?

    I have multiple document files in Pages. How can I combine them into one document?

    Menu > View > Page Thumbnails > click on the thumbnails > Copy/Paste into thumbnails of other document
    Peter

  • I have 3 podcast folders in my iTunes account, how can I combine them into one folder in my iTunes library?

    I have 3 podcast folders in my iTunes account, how can I combine them into one folder in my iTunes library?

    What is the title of the other bookmark folder that can not be deleted?
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Please report back soon.

  • TS3981 After migration files are now shared between two user accounts. How can I combine them into one account?

    After migration, from PC, files are now shared between two user accounts.I have to switch users to access files. How can I combine them into one account?

    See Pondini's  Transferring files from one User Account to another, for starters

  • Songs in my Itunes show up as separate folders.  How do I combine them into one album?

    Songs in my Itunes show up as separate folders.  How do I combine them into one album?

    Is this one of those CDs where the main artist asks their friend to sing a song with them?
    Such as, Slash's new album. Track 1 is "Slash Feat. Ian Astbury", track 2 is "Slash Feat. Ozzy Osbourne" and so on.
    To fix this, select all the tracks on that album, right-click > Get Info, and say YES to changing multiple items.
    Put "Slash" in the *Album Artist* field (for this example, of course).
    Make sure it is the *Album Artist* field, not the plain Artist field.

  • How to add the records of 2 internal table records into one file

    hello experts,
    My scenario is...
    I am retrieving the data for the for the credit, debit and trailer records of the customer into 3 different internal tables and finally i have to append all those records into one file first debit records then credit records finally the trailer record.... how to do that can anyone give some idea plzzzzzzzzz..
    Plz its bit urgent..
    Thanks a lot for your anticipation
    SRI

    Hello,
    Do like this.
    " Assume u have three itab.
    "Itab1 - debit
    "Itab2 - credit
    "Itab3 - Credit.
    REPORT ZV_TEST_SERVER .
    *PARAMETERS: P_FILE TYPE STRING."RLGRAP-FILENAME.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        FILENAME                      = P_FILE
    *   FILETYPE                      = 'ASC'
       APPEND                        = 'X'  " Check here
    *   WRITE_FIELD_SEPARATOR         = ' '
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    * IMPORTING
    *   FILELENGTH                    =
      TABLES
        DATA_TAB                      = ITAB1
    * EXCEPTIONS
    *   FILE_WRITE_ERROR              = 1
    *   NO_BATCH                      = 2
    *   GUI_REFUSE_FILETRANSFER       = 3
    *   INVALID_TYPE                  = 4
    *   NO_AUTHORITY                  = 5
    *   UNKNOWN_ERROR                 = 6
    *   HEADER_NOT_ALLOWED            = 7
    *   SEPARATOR_NOT_ALLOWED         = 8
    *   FILESIZE_NOT_ALLOWED          = 9
    *   HEADER_TOO_LONG               = 10
    *   DP_ERROR_CREATE               = 11
    *   DP_ERROR_SEND                 = 12
    *   DP_ERROR_WRITE                = 13
    *   UNKNOWN_DP_ERROR              = 14
    *   ACCESS_DENIED                 = 15
    *   DP_OUT_OF_MEMORY              = 16
    *   DISK_FULL                     = 17
    *   DP_TIMEOUT                    = 18
    *   FILE_NOT_FOUND                = 19
    *   DATAPROVIDER_EXCEPTION        = 20
    *   CONTROL_FLUSH_ERROR           = 21
    *   OTHERS                        = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        FILENAME                      = P_FILE
    *   FILETYPE                      = 'ASC'
       APPEND                        = 'X'  " Check here
    *   WRITE_FIELD_SEPARATOR         = ' '
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    * IMPORTING
    *   FILELENGTH                    =
      TABLES
        DATA_TAB                      = ITAB2  " Check here
    * EXCEPTIONS
    *   FILE_WRITE_ERROR              = 1
    *   NO_BATCH                      = 2
    *   GUI_REFUSE_FILETRANSFER       = 3
    *   INVALID_TYPE                  = 4
    *   NO_AUTHORITY                  = 5
    *   UNKNOWN_ERROR                 = 6
    *   HEADER_NOT_ALLOWED            = 7
    *   SEPARATOR_NOT_ALLOWED         = 8
    *   FILESIZE_NOT_ALLOWED          = 9
    *   HEADER_TOO_LONG               = 10
    *   DP_ERROR_CREATE               = 11
    *   DP_ERROR_SEND                 = 12
    *   DP_ERROR_WRITE                = 13
    *   UNKNOWN_DP_ERROR              = 14
    *   ACCESS_DENIED                 = 15
    *   DP_OUT_OF_MEMORY              = 16
    *   DISK_FULL                     = 17
    *   DP_TIMEOUT                    = 18
    *   FILE_NOT_FOUND                = 19
    *   DATAPROVIDER_EXCEPTION        = 20
    *   CONTROL_FLUSH_ERROR           = 21
    *   OTHERS                        = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        FILENAME                      = P_FILE
    *   FILETYPE                      = 'ASC'
       APPEND                        = 'X'  " Check here
    *   WRITE_FIELD_SEPARATOR         = ' '
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    * IMPORTING
    *   FILELENGTH                    =
      TABLES
        DATA_TAB                      = ITAB3 " Check here
    * EXCEPTIONS
    *   FILE_WRITE_ERROR              = 1
    *   NO_BATCH                      = 2
    *   GUI_REFUSE_FILETRANSFER       = 3
    *   INVALID_TYPE                  = 4
    *   NO_AUTHORITY                  = 5
    *   UNKNOWN_ERROR                 = 6
    *   HEADER_NOT_ALLOWED            = 7
    *   SEPARATOR_NOT_ALLOWED         = 8
    *   FILESIZE_NOT_ALLOWED          = 9
    *   HEADER_TOO_LONG               = 10
    *   DP_ERROR_CREATE               = 11
    *   DP_ERROR_SEND                 = 12
    *   DP_ERROR_WRITE                = 13
    *   UNKNOWN_DP_ERROR              = 14
    *   ACCESS_DENIED                 = 15
    *   DP_OUT_OF_MEMORY              = 16
    *   DISK_FULL                     = 17
    *   DP_TIMEOUT                    = 18
    *   FILE_NOT_FOUND                = 19
    *   DATAPROVIDER_EXCEPTION        = 20
    *   CONTROL_FLUSH_ERROR           = 21
    *   OTHERS                        = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If useful reward.
    Vasanth

  • How to concatenate multiple records into one

    Hi everybody:
    I want to know if exist some way to concat multiple records into one without using cursors. For example, I have a table named "Authors" like this:
    Lan|Author
    English|Ernest Hemingway
    Spanish|Octavio Paz
    Spanish|Mario Vargas Llosa
    English|Sinclair Lewis
    Spanish|Gabriel García Márquez
    And I want to get this:
    Author
    Octavio Paz, Mario Vargas Llosa, Gabriel García Márquez
    I have worked with SQL Server and I can do something like this:
    CREATE FUNCTION dbo.MyConcat (@lan varchar(10))
    RETURNS varchar(5000) AS
    BEGIN
    declare @retvalue varchar(5000)
    set @retvalue=''
    select @retvalue = @retvalue + Author +',' from Authors where lan = @lan
    return substring(@retvalue,1,len(@retvalue)-1)
    END
    ie, do not use cursors to concatenate records. However, with ORACLE, I have to do someting like this.
    FUNCTION MyConcat(P_Lan IN VARCHAR2) RETURN VARCHAR2 IS
    v_ret VARCHAR2(4000);
    v_element VARCHAR2(4000);
    v_cursor sys_refcursor;
    BEGIN
    OPEN v_cursor FOR SELECT Author FROM Authors where Lan = P_Lan
    LOOP
    FETCH v_cursor INTO v_elemento;
    EXIT WHEN v_cursor%NOTFOUND;
    IF v_ret IS NULL THEN
    v_ret := v_element;
    ELSE
    v_ret := v_ret || ', ' || v_element;
    END IF;
    END LOOP;
    RETURN v_ret;
    END;
    Exist some other way to do this?
    Best Regards
    Jack

    Tks both for answer... I forgot to mention that I am using Oracle 10g. I read about LISTAGG() but this function is available for Oracle 11g release 2.
    I wil read about the other techniques than Hoek mention
    Best Regards.
    Jack

  • How do I combine PDFs into one document?

    I want to scan CD booklets for online digital storage. I have Pages and Preview, of course. I do not have Acrobat Professional.
    I have a large scanner and can make individual TIFs or PDFs of each spread. What would be the best way to combine these into one file?

    etresoft,
    Please don't read this as an actual reply to your post because it is not.
    But, since the thread is dealing with CUPS-PDF and I have been desperately seeking CUPS-PDF for a long time ever since I've got my brand new iMac only 5 days ago (5 days on a new iMac [which is not only new but is intel-based, and which I was forced to buy because my older PPC iMac G5 died of preternatural or some other causes] is an extremely long time on account of Snow Leopard, about which I am like a babe trying to start speaking for the first time) I found it more expedient to "reply" in order to get some help with CUPS-PDF from someone who knows.
    I've downloaded CUPS-PDF from "https://bitbucket.org/codepoet/cups-pdf-for-mac-os-x/wiki/Home" and installed it following the instructions included therein.
    The only instruction I could not follow is to pick "Generic postscript color printer"; I could pick  "Generic postscript printer" though.
    CUPS-PDF shows in the printer list.
    CUPS-PDF apparently prints as indicated by the progress bar.
    But, the print doesn't show anywhere on my computer:
    The output is not in /Users/Shared/CUPS-PDF in a folder with my user account's name.
    I did make an alias to this folder on my desktop but it only contains two folders: "my user name" and "SPOOL"
    The first folder had a "clone" of the download source page (which I deleted.)
    SPOOL has nothing in it.
    I've never had a problem using CUPS-PDF while on OS X 10.4.11, something I'll never be able to revert to.
    I'll be eternally grateful to you if you could help me with this issue but, on condition that you use a language as plain as English since my expertise with OS X, which was never as considerable as to be able to use terminal to any advantage, nor understanding terms such as sudos and the like, is now even diminished on account of the new OS I am forced to use from now on.
    Thank you so much for your help and excuse me for using this approach to ask for help.
    Best regards,
    Ruben

  • How do I combine Projects into one project?

    I like to make small projects while travelling and post on facebook. When home, I would like to combine them into one longer project for my Apple TV.
    Any suggestions would be greatly appreciated.
    Thanks,
    Skip

    you can copy (copy all) the clips from one project and paste them into another clip, but music and titles will not come with that. If you export one project as a .mov file and then reimport it into iMovie as suggested, that will easily work, but you wont be able to edit that movie's music or titles.
    rr

Maybe you are looking for

  • Making an iTunes library protected against ripping onto CD, listen only

    Hi there we have a security issue with itunes. We are a secure college within an HMP&YOI and we use 16 imacs in two rooms. We have installed the same master music library (currently 8500 tunes)on each machine and all students have access to it under

  • How many computers can sync with Apple TV at the same time?

    I'm thinking of buying one of these things for my parents as a last-minute Christmas gift. They both have their own iMac, with their own choice of music/movies/photos/etc. If I get them this device and set it up in their living room, could they strea

  • OEI Not installed properly

    Hi All, I have installed OEI as described on my notebook (Windows 7, Outlook Professional 2010) without receiving any errors. But I can not find the buttons mentioned to progress. Do I need to do sth to get the buttons activated in Outlook 2010 ribbo

  • ABAP OLE EXCEL

    Hi Expert, I got a problem using OLE2 to passing the logo into excel file. the rest of data I have already passed in. but except the logo I can't pass it, anybody know the function module or method used to print the logo in excel using OLE2 ? Thank y

  • Using a third-party card and gateway with PowerBook Pismo

    Hi, My birthday present this year was an Apple PowerBook Pismo - the G3 400 model (full spec. below). It runs the latest version of Mac OSX (10.4.6 as below). Before I got the Pismo, I bought a Linksys WPC54G wireless card for my original laptop, a T