Merge two differents tables in one new structure

Hello guys,
How can I merge two differents tables in one new structure (workarea) dynamically?
For example, merge MARA and MARC in a new structure that contains all fields from MARA and all fields from MARC.
In this case, it isn't necessary that identical fields be repeated (MATNR).
Can you help me?
Thanks!
Kleber

Hi,
Use include structure like:
data begin of itab occurs 0.
        include structure MARA.
        include structure MARC.
data end of itab.

Similar Messages

  • How to configure GG to merge two source tables into one destination table?

    I have two tables at source (say S1 & S2), I want to merge these tables and replicate to a single target table (Say T1).
    Does GG support this type of replication? If so, could any one let me know how to configure Table and Map parameters?
    Thanks in advance.

    It is possible. In the extract capture both the tables.
    Extract parameter
    table s1;
    table s2;
    Replicat parameter
    map s1, target t1, keycols (...);
    map s2, target t1, keycols (...)

  • Merging two separate Tables into One - different number of rows

    Hi. I have a problem. Oracle 10.2.0.4.0
    7 years ago when i was learning how to query my teacher told me that is possible to creata some kind of report where results could be combined in 1 view(report) witch in different variable could have different number of rows.
    I just remember that there is needed to use group by function and some join?
    Please help
    In link there is a sample sample view
    I need to combine Table A using D variable with Table B to become Wynik(result)
    Tables create
    CREATE TABLE "TABELA_A" ( A NUMBER,B NUMBER,C NUMBER,D NUMBER ) ;
    INSERT INTO "TABELA_A" (A, B, C, D) VALUES (123, 1, 70, 999)
    INSERT INTO "TABELA_A" (A, B, C, D) VALUES (123, 2, 80, 999)
    INSERT INTO "TABELA_A" (A, B, C, D) VALUES (234, 1, 100, 111)
    INSERT INTO "TABELA_A" (A, B, C, D) VALUES (456, 1, 10, 222)
    CREATE TABLE "TABELA_B" ( D NUMBER,E VARCHAR2(255),F NUMBER ) ;
    INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'A', 1);
    INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'B', 1);
    INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'B', 3);
    INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'C', 1);
    INSERT INTO "TABELA_B" (D, E, F) VALUES (111, 'A', 1);
    INSERT INTO "TABELA_B" (D, E, F) VALUES (111, 'C', 2);
    And to become result - in picture
    [http://i303.photobucket.com/albums/nn153/katanbutcher/pytanko.jpg?t=1306152636]
    Thank's for help
    Edited by: 860710 on 2011-05-23 05:42
    Edited by: 860710 on 2011-05-23 05:54
    Edited by: 860710 on 2011-05-23 06:07

    Maybe if you follow the instructions mention in this post you may get some help. For example, I wouldn't try to click on the link provided by you.
    SQL and PL/SQL FAQ
    Regards
    Raj

  • Insert PDF into new Adobe Form - merging two PDF files into one

    Hi everyone,
    I need to enable access to archive PDF files but within a new PDF file containing header and footer.
    Request is not to change archived PDF files at all.
    I use Web Dynpro application to upload PDF file and to display new PDF file.
    I thought converting archive PDF files into JPG files and than using an 'Image Field' object to display those in a new PDF file.
    I am dealing here with PDF version 1.3 files.
    I am also having trouble converting these PDF files into JPG files. Any sugestions one this problem?
    Does anyone have any suggestion on how to deal with this concerning the fact that archive PDF files can not be changed?
    Is there some other way to merge two PDF files into one using Adobe Designer?
    Regards,
    Amel

    Hello, Lukasz:
      I am also facing similar requirement from my customer.
      And I found one useful blog, hope this blog can help you.
      http://wiki.sdn.sap.com/wiki/display/WDJava/CombinePDFfileswithWebDynproforJava
      Best regards, Nick.

  • How to insert into two differents tables at the same time

    Hi
    I'm newer using JDev, (version 3.1.1.2 cause the OAS seems to support just the JSP 1.0)
    and I want to insert into two differents tables at the same time using one view.
    How can I do that ?
    TIA
    Edgar

    Oracle 8i supports 'INSTEAD OF' triggers on object views so you could use a process similar to the following:
    1. Create an object view that joins your two tables. 'CREATE OR REPLACE VIEW test AS SELECT d.deptno, d.deptname, e.empname FROM DEPT d, EMP E'.
    2. Create an INSTEAD OF trigger on the view.
    3. Put code in the trigger that looks at the :NEW values being processed and determines which columns should be used to INSERT or UPDATE for each table. Crude pseudo-code might be:
    IF :NEW.deptno NOT IN (SELECT deptno FROM DEPT) THEN
    INSERT INTO dept VALUES(:NEW.deptno, :NEW.deptname);
    INSERT INTO emp VALUES (:NEW.deptno, :NEW.empname);
    ELSE
    IF :NEW.deptname IS NOT NULL THEN
    UPDATE dept SET deptname = :NEW.deptname
    WHERE deptno = :NEW.deptno;
    END IF;
    IF :NEW.empname IS NOT NULL THEN
    UPDATE emp SET empname = :NEW.empname
    WHERE deptno = :NEW.deptno;
    Try something along those lines.
    null

  • How to merge two storage drives into one partition-help

    THis is on an iPad-Please excuse for any typos
    I Am working on a project of restoring a macbook pro from old parts that I found. It works!!! But the HDD that i salvadged is ancient and gets about .15 MBPS. Not good. Its an apple certified and apple branded toshiba HDD-500G at 5400RPM. Yeah. *****
    I am considering buying a new hard drive as a 480GB SSD, and using OWC's Data doubler, adding a second HDD, for all the photos and vids i will be collecting through my work in video and photo. I am considering getting an SSHD (SSD+HDD in an SSD form factor) and using this as the second drive. its not much more expensive (like 10$ more) and itgetsme semi-SSD like performance on a mass scale of storage.
    HOw can I combine these two drives into ONE partition? 480GB will take awhile to fill up, but this is a future proof wall to use.
    I Will eventually invest in an external storage option (2-3 HDDS in one caddy for backups and storing 1080p video all under one roof. depends if the board im using actually has thunderbolt or usb that is fast enough-because of the crappy hdd i cant get it to boot into an OS or go through usb recovery without it freezing. I ahve tried re-applying thermal paste, still doesnt help)
    HOw can i easily partition these two drives into one?
    also, my friend needs a new HDD because bootup times in his macbook pro are at like 2 mins+ and hes running Core 2 Duo, with 8 G ram and 10.9 (Mav) should i recommend an SSHD or an ssd. (He doesnt want an HDD, hes had bad 'voodoo' with em'. Thanks!

    nithya_ram wrote:
    Give me d source code for merging two img files into one img file\\
    If you want someone to do your work for you, simply pay someone. However, if you have a question about code you're currently working on, feel free to ask a specific question here on the forum.

  • Merging two internal tables

    Hi,
    I have two internal tables it_tab1 and it_tab2. The fields are,
    it_tab1                        it_tab2
    F1                    F1
    F2                    F2
    F3                    F4
    F6                    F5
    I want to <b>merge</b>(coloumn wise) these two internal tables into a new internal table it_tab3 where it_tab3 has fields,
    F1, F2, F3, F4, F5, F6.(All the fields)
    Here, in it_tab1 and in it_tab2 the fields <b>F1 and F2 are the key fields</b>.The number of records in the two internal tables are different.
    Can anybody help me. thanx for spending ur time.

    hi,
    try this
    hi,
    itab1 - first
    itab2 - second
    itab3 - both
    data l_count type i.
    l_count = 1.
    loop at itab1.
    read table itab2 with key f1 = itab1-f1 f2 = itab1-f2.
    itab3 = itab1
    if sy-subrc is initial
       itab3-field6 = itab2-field3.
       itab3-field7 = itab2-field4.
       append itab3.
    endif.
    endloop.
    loop at itab2.
    itab3 = itab2
    read table itab1 with key f1 = itab2-f1 f2 = itab2-f2.
    if sy-subrc is initial
       itab3-field6 = itab1-field3.
       itab3-field7 = itab1-field4.
       append itab3.
    endif.
    endloop.
    sort itab3 by f1 f2.
    delete adjacent duplicates by comparing f1 f2.
    hope this will solve your problem
    cheers,
    sasi
    Cheers,
    Sasi

  • HT204053 Can you merge two Apple IDs into one?  It was a common issue caused by the iPhone 4 and has been corrected, but transferring purchases in iTunes is a pain with two IDs.

    For a brief time when iPhone 4, iOS 4 came out, many of us ended up with two Apple IDs.  I want to know if anyone can please provide me with simple step-by-step instructions on merging two Apple IDs into one?  It would make transferring purchases on iTunes much easier and reliable.  I realize i desperately need an iOS update, but i had no laptop for over two years!  I'm posting a cry for help on that in another community.  Thank you all.

    No,
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Something about two fact table in one subject

    Hi all,
    when I using two fact table in one subject, it can't make sense as expected.
    The problem is describled as follows:
    1.about the RPD:
    In the presentation layer of Admin Tool, there is a mesure names "A", which is equal to B*C, come from table t1 and table t2 in logical layer respectively.
    2. In biee Answeers, I created an answeer which includes some dimesions and the mesure A, another mesuare m1.
    but in the the result pane, i saw there is no data in the the colume of mesure A, all other performs well.
    3. so, I went for the NQquery for the phisical SQL, and found that,
    in Where clause, table t2 is lost.
    why? and how can I make it?

    This sounds interesting. What would I join there? The dimension keys of the two fact tables?
    Unfortunately this Logical Table Source stuff looks quite different in Admintool 11g. What would I need to create there?
    Thanks,
    Knut

  • Merge two PDF files into one with Adobe Reader

    Does anyone know how to merge two PDF files into one with Adobe Reader. Is it even possible?
    Thanks

    If you've got a Mac and OSX you can do this in Preview.  Make sure you can see the sidebar with the first PDF opened, and then drag the second PDF to the bottom of the last page in the sidebar.  Also you can reduce the size of your saved file by selecting (or making) a Quartz filter to 'reduce file size'
    Cheers

  • How to merge two WD components in one WD application?

    Hi SDN,
    Can any one tell me How to merge two WD components in one WD application?
    suppose i have two WD componets z_comp1 & z_comp2 now i want to use both these components in one WD application.
    Regards,
    Rahul.

    hi rahul...........
              you can use any number of wd components into one component.
    eg:
            consider you are having 2 components 'A' and component 'B' and you want to embed both into component 'C'.
           You can just click the 'Create' icon which will be present in the properties tab of the component controller.
           you mention the name of bothe components 'A' and 'B'.
            So now the interface controller of both the components are created in component 'C'.
           Now you can use the views present in both the components in component'C'.
    --regards,
      alex b justin

  • How to fill the data of two different tables into one?

    Hi Experts,
    I have two tables named CDHDR and CDSHW(structure). I have extracted the  data from these two tables through two function modules named CHANGEDDOCUMENT_HEADER and CHANGEDOCUMENT_POSITION. Now I have the data in to different tables.
    These two tables neither has relationship with each other through any field nor have any field which exist in both. Can anyone tell me in this case what should be the process to take the data of both the tables into one table. How can I match the record of one table to another?
    thanks a ton in advance.
    Edited by: Moni Bindal on Apr 28, 2008 4:16 PM
    Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:42 PM

    Hye Bindal,
      without a relation, it is not possible to club the data of 2 internal tables. More over it depends on the requirement as to y u should club to non related quantities in an internal table.
    if you wish to do so, one thing is it has internal table which includes the strucute of the 2.
    data: begin of ty_out,
              first type first_structure,
              second type second_structure,
             end of ty_out.
    data: itab type standard table of ty_out.
    data: wa type ty_out.
    loop into it1 into wa1.
    move corresponding wa to wa1.
    append wa to itab.
    endloop.
    loop into it2 into wa2.
    move corresponding wa to wa2.
    append wa to itab.
    endloop.
    now the internal table itab will have all the contents of it1 and it2.
    <REMOVED BY MODERATOR>
    Thanks,
    Imran.
    Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:43 PM

  • How to merge two crystal reports into one in Delphi using TCrpe?

    I am absolutely new to Delphi and Crystal Reports. I figured that I can export a crystal report to pdf like this:
          crpe.Clear;
        crpe.ReportName := 'BasicInfo.rpt';
        crpe.ParamFields[0].CurrentValue := '0';
        crpe.Output := toExport;
        crpe.ExportOptions.Destination := toApplication;
        crpe.ExportOptions.FileName:='C:\CoverSheet.pdf';
        crpe.ExportOptions.FileType:=AdobeAcrobatPDF;
        crpe.Export;
    (Although this is working, please let me know if I am doing it wrong )
    My main problem here is: I have two .rpts "BasicInfo.rpt" and "Details.rpt" and I need to create one pdf out of them in Delphi.
    Is there any way to merge two .rpts and export it into one pdf in Delphi?

    You cannot merge two reports into one PDF - not in any CR SDK. There are 3rd party utilities that will let you do this, but no APIs for this in CR.
    BTW.; What version of CR are you using?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • I want to use two separate Lion Time Machine backups and use them to create two separate profiles on one new computer

    This is something I need to do temporarily but I must do it. 
    I have an iMac 27 (end of year 2009) I5.  It has 1 TB internal and I want to replace it with a 2 TB internal.
    I have time machine backups on an external hard drive that has been connected via Firewire. 
    I have another iMac (my son's)Imac 24 Intel Core 2 Duo that has it's own separate Time machine backup to it's own separate firewire connected external drive.  Both machines are completely up to date with the latest version of Lion and all other necessary software updates.
    When the internal hardrive is replaced - I want to use my latest time machine backup to create one profile on the imac and then use my son's latest time machine back up for a second profile.  The end goal being to have everything from my current set up ie: apps, documents, itunes, etc existing in one profile and everything in my son's current set up existing in the other profile.   We can both be administrators for the time being as well.  I should note even though we both have some of the same apps, we both also have other apps that the other does not.
    My profile will be using about 900 gigs of total space.
    My son's profile will be using about 250 gigs of total space.
    This is temporary until the new iMac is released.  Then I will want to transfer my profile to that leaving my son's intact on the iMac 27 I5.
    I realize that during the temporary period that Time Machine will be making backups of this entire two profile setup, which I am now understanding as I write this will create a new issue for me when I want to transfer only my profile to the new computer as well.  But one bridge to cross at a time, I guess.
    I need to do this because we must bring his current computer to my father - as his iMac G5 is inoperable.  We have been doing this round robin hand me down in our family since IMac DV special edition :-)
    Any insight on this would be greatly appreciated.  And any other suggestions as well.
    Thanks very much.

    Hey Shootist000,  Thanks for the replies.  First off, I am actually okay if we both have each other applications so I am not concerned about that. It is still unclear from what you have said as to whether I can in fact, use these two separte time machine backup to create two separate profiles on the new hard drive.  If that in fact can be done, then - will it create two copies of the apps we both have in the ROOT of the drive as well as placing all the ones we each have separately?
    And reading your second reply, makes me think that maybe the partition is the way to go to begin with and then down the road - after I am in the new iMac, I could reformat the iMac 27 with only one partion and restore my son's latest back prior to the reformat thus giving him full access to the 2 TB of the drive.
    If this is still making sense, does this mean :
    replace the 1TB with a 2TB - but have it partitione - 1.5 TB & 500 GB.
    Install(Restore using Time Machine) my latest back up prior to the  1.5 partition
    Install (Restore using Time Machine) my son's latest back up prior to the 500 gig partition
    Lastly, in order for us both to be using the partioned computer - I am assuming Switch user can no longer be used - so would we need to restart and select our respective partions in order to use the computer?   And if so, how would we each be able to be using time machine to back up - two separte external hard drives - with each one dedicated to only one partition? Or ? 
    Thanks so much.
    Ironically, I am only trying to do this so that I don't need to manually install all his apps, setting, games, blah blah for this temporary period.  :-)

  • How to merge two Apple IDs into one?

    Is it possible to merge two IDs into one?  I don't want to use the 'hotmail.com' extension anymore.

    No. All purchases remain tied to the AppleID used to obtain them and cannot be transferred.
    tt2

Maybe you are looking for

  • Wilyhost Agent could connect to the Enterprise Manager

    Hi Gurus, I'm trying to setup Diagnostic for Solman 7.0. I'd installed Wily Introscope and SDM Agent in Solution Manager. The Agent was configured for this server. The Application Agent in Diagnostic Setup -> Managed system was OK, but when I try to

  • Can't get image to "open in" CC Ps6 always opens

    When I try to get a jpg file to "open in" Ps CC it opens in Ps6. I have checked the shortcut I use to open CC and it is C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit) But the only EXE file in that folder opens Ps6; even though my shortcut; with t

  • How to Find what are tables and "Table Name" in particular "Data File"

    hi Team, I have one database that database 300 gb size , this database having 6 ndf files , here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

  • Invoice with double qty

    Hi Experts, Query, due to slow system performance, Invoice has been cancelled twice in parallel sessions on the same day,Later Invoice created, it is picking double the quantity instead the quantity mentioned in the earlier Invoice.  This is order to

  • Using Key figure attribute of a characteristic in a query

    Hi All, I have the following scenario. I have defined a key figure attribute for a characteristic Infoobject. I have included this characteristic infoobject in an Infocube. I now want to use the key figure attribute as a regular key figure when I cre