Help in move data itab 1 to itab2

hallow
i have a internal table  itab1 with data and i wont to move the data to onter table
itab 2 but not all the data for example  just rows where pernr = 123.
lets say this is itab1
pernr   data ........
123     aaaaa
123     bbbbb
123     ccccc
456     xxxxx
456     ccccc
789     xxxxx
and in itab 2 i wont
pernr    data
123      aaaaa
123      bbbbb
123      ccccc
i prefer in field sybol but any answer is welcome
Regards

In response to Rajesh's answer,  you can not  use the WHERE on the statement, but you can copy all and delete what you don't want.
append lines of itab1 to itab2.
delete itab2 where pernr <> '123'.
Regards,
RIch Heilman

Similar Messages

  • Help to move date from table

    hallow
    i have table a_itab with  begdate and  endate and i wont to move it to table
    with period and price for period <b>on every month</b>
    how is the <b>best</b> way to do that?
    <b><REMOVED BY MODERATOR></b>
    i give example
    a_itab
    reserc--endate---begdate--knumh--
    price
    0000008254     20070330     20070101     0000014850     3000.00
    0000010599     20080731     20080401     0000014851     15000.00
    0000123456     20070331     20070101     0000014834     20000.00
    0000123456     20070631     20070601     0000014835     80.00
    i wont
    b_itab
    period----price--
    reserc
    012007--3000.00--
    0000008254
    022007--3000.00--
    0000008254
    032007   3000.00         0000008254
    042008   15000.00       0000010599
    052008   15000.00       0000010599
    062008   15000.00       0000010599
    072008   15000.00       0000010599
    012007   20000.00       0000123456
    022007   20000.00       0000123456
    032007   20000.00       0000123456
    042007   80.00             0000123456
    052007   80.00             0000123456
    062007   80.00              0000123456
    Regards
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    Please try this.
    DATA: DURATION TYPE I,
          DATE     TYPE SY-DATUM.
    LOOP AT A_ITAB.
      CALL FUNCTION 'HR_GBSXP_GET_MONTHS'
        EXPORTING
          FIRST_DATE        = A_ITAB-BEGDATE
          SECOND_DATE       = A_ITAB-ENDDATE
          MODIFY_INTERVAL   = ' '
        IMPORTING
          DURATION          = DURATION
        EXCEPTIONS
          INVALID_SEQ_DATES = 1
          OTHERS            = 2.
      DURATION = DURATION + 1.
      DO DURATION TIMES.
        IF SY-INDEX = 1.
          DATE =  A_ITAB-BEGDATE.
        ELSE.
          IF DATE+4(2) = '12'.
            DATE(4) =  DATE(4) + 1.
            DATE+4(2) = 1.
          ELSE.
            DATE+4(2) =  DATE+4(2) + 1.
          ENDIF.
        ENDIF.
        B_ITAB-PERIOD = DATE(6).
        B_ITAB-PRICE  = A_ITAB-PRICE.
        B_ITAB-RESERC = A_ITAB-RESERC.
        APPEND B_ITAB.
      ENDDO.
    ENDLOOP.
    Regards,
    Ferry Lianto

  • I used migration assistant and my ethernet cable to move data and apps from my 5-yr old Intel-based iMac to my brand new Intel-based iMac running OS Lion.  The old machine was running OS 10.5.8.  Not all my files transferred (or I can't find them).  Help

    I used migration assistant and my ethernet cable to move data and apps from my 5-yr old Intel-based iMac to my brand new Intel-based iMac running OS Lion. The old machine was running OS 10.5.8.  Not all my files transferred (or I can't find them).  I've seen recommendations to select the old computer in System Preferences, but that didn't work.  Help.  Thanks!

    IMO, wrong choice. Start over, using a FireWire cable and following the steps in Pondini's Setup New Mac guide.

  • How do I move data on time machine from one external hard drive to another

    How do I move data on time machine from one external hard drive to another?

    Although the documentation says you can copy Time Machine backups in the Finder, it's very slow and sometimes doesn't work at all.
    Launch Disk Utility, open the built-in help, and search for the term "Duplicate." Follow the instructions. Turn Time Machine OFF in its preference pane while copying the volume.

  • Move data from one table to another

    Hi,
    I need to move data from work space -1 to work space -2. I need to move only selected data. From work space -1 to work space -2
    Work space -1
    Table -1_
    ID NAME Description
    1 xyz one
    2 abc two
    3 mnk three
    Table -2_
    ID PID NAME Description
    1 1 x1 -
    2 1 x2 -
    3 2 a1 -
    4 2 a2 -
    5 3 m1 -
    Table -1 is parent table and Table-2 is child. Here PID is parent key of table-1 and ID's in both the table are primary keys.
    Now i need to move data from work space-1 to work space -2
    Work Space -2 table structure
    Table - 1
    ID INDUSTRY_TYPE DATE DESC
    1 TNT - -
    2 MTN - -
    Table - 2
    ID T_ID NAME DATE DESC
    1 1 T1 - -
    1 1 T2 - -
    2 2 E1 - -
    2 2 E3 - -
    I need to migrate data from work space -1 of table 1 and 2 to work space - 2 of table 1 and tabe 2
    Please suggest me a query to migrate. Please let me know if the steps mentioned above is not clear.
    Thanks
    Sudhir

    Hi Sudhir,
    since data tables are not located in work-areas but in schema's I presume you mean the latter.
    A simple conversion statement would be something like :
    insert into table s1.newtable ( column1, column2, ... )
    select column1a, column2a, ...
    from s2.oldtable
    where ...
    First the master table, then the child table.
    This works using a user-id having al least read-access to schema s2. If no such user exists then use some export method.
    No relation to APEX though.
    Hope this helps.
    Daniel

  • How to move data from a staging table to three entity tables #2

    Environment: SQL Server 2008 R2
    I have a few questions:
    How would I prevent duplicate records, when/ IF SSIS is executed many times?
    How would I know that all huge volume of data being loaded in the entity tables?
    In reference to "how to move data from a staging table to three entity tables ", since I am loading large volume of data, while using lookup transformation:
    which of the merge components is best suited.
    How to configure merge component correctly. (screen shot is preferred) 
    Please refer to the following link
    http://social.msdn.microsoft.com/Forums/en-US/5f2128c8-3ddd-4455-9076-05fa1902a62a/how-to-move-data-from-a-staging-table-to-three-entity-tables?forum=sqlintegrationservices

    You can use RowCount transformation in the path where you want to capture record details. Then inside rowcount transformation pass a integer variable to get count value inside
    the event handler can be configured as below
    Inside Execute SQL task add INSERT statement to add rowcount to your audit table
    Can you also show me how to Check against destination table using key columns inside a lookup task and insert only non
    matched records (No Match output)
    This is explained clearly in below link which Arthur posted
    http://www.sqlis.com/sqlis/post/Get-all-from-Table-A-that-isnt-in-Table-B.aspx
    For large data I would prefer doing this in T-SQL. So what you could do is dump data to staging table and then apply
    T-SQL MERGE between tables (or even a combination of INSERT/UPDATE statements)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Move data from one fs to another from a particular position.

    Hi all,
    i have a requirement where i want to move data from one field symbol to another from a particular
    position.
    I have a work area which contains string values. i have converted this string to hexadecimal value .
    in this hex string m lukin for a position where '0A' occurs. Now i have to pick the string till dis '0A' value and move it to some other field symbol. Can anybody tell me how to do that.
    The code i have written is as follows:
      FIELD-SYMBOLS: <fs> TYPE x.
                 data: temp1 type string,
                       p_word type string,
                       temp2 TYPE string,
                       w_len TYPE i.
                       temp1 = wa_value-value. "this wa containd the value
                       w_len = strlen( temp1 ).
             if temp1 cp '"*'.
               ASSIGN wa_value-value TO <fs> CASTING TYPE x.  " converting wa to hex value
                  DATA: VAR TYPE i,
                        COUNTER TYPE i,
                        line_feed_count type i,
                        temp_count type i.
             VAR = strlen( wa_value-value ).
             CLEAR: COUNTER, temp_count, line_feed_count.
               WHILE COUNTER LE VAR.
                IF <fs>+counter(1) = '0A'.
                line_feed_count = line_feed_count + 1.
                COUNTer = COUNTer + 1.
                ENDIF.
                COUNTER = COUNTER + 1.
               ENDWHILE.
            endif.
    Now , i want to pick data from starting till the position it gets '0A' and then again till it finds another '0A'.
    Thanks in advance.

    Hi,
    As everyone has rightly pointed out, there is no direct way of transferring the data from one appset to another. However, there are definitely few ways of doing it:
    1. Run export package. Export the data in flat file. Import the data using import DM package.
    2. Export the data from the cube of your application in excel file. Then run the import DM package to load the data.
    3. Run UJBR transaction in SAP. Take the backup of the transactional data. You will get few flat files. Run the import DM package.
    All the above steps will work only if the structure of the applications in both the appsets is the same. Otherwise, you will have to modify the flat file before uploading the file.
    Hope this helps.

  • Steps to move Data and Log file for clustered SQL Server

    Hi guys 
    we have Active'passive SQL 2008R2 cluster environment.
    looking for steps to move Data and log files from user Database  and System Database for  SQL Server Clustered Instance. 
    Currently Data and log  files resides on same drive for user and system Databases..
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Try the below link
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/468de435-3432-45c2-a50b-23519cd2686e/moving-the-system-databases-in-a-sql-cluster?forum=sqldisasterrecovery
    -Prashanth

  • "Searching for movie data in file [filename]" and iDVD hangs.

    I have a project I saved and I want to open and make a change to. iDVD loads the project and displays the title. When I click to edit one of the scene selection menus, it goes off "searching for movie data" and hangs until I kill it.
    Anyone have any ideas how to fix this? I really don't want to have to re-do my project.
    Thanks!
    Scott

    This frequently helps solve some problems. Quit iDVD. Search for the file named com.apple.iDVD.plist and trash it. (A new one will be created next launch of iDVD.) Or look in: User/Library/Preferences. This may solve project loading errors too. Restart and use Disk Utility to Repair Permissions.
    You'll need to reset some Preferences.

  • Can't open MOV files in FCP: "Searching for movie data in file..."

    I know this has been posted before, but none of them seem to match up to what I'm all of a sudden dealing with. I have 4 MOV files that I'm converting to WMV. Movie 1 & 2 exported fine. Now, however, any time I try to open another MOV file, I get an error that it's "Searching for movie data in file..." and the file name is ALWAYS the same. The weird thing is, the file it's looking for is none of the 4 movies I'm working with. So how did the first two work and this pop out of nowhere??
    I have cleared out the render cache. Dumped all the cache and prefs files I can find, etc. Restarted the machine. Started FCP with the Option key held down.
    I've searched everywhere, but people usually seem to come across this error while opening FCP (I'm running 6.0.6). This only happens when I open a MOV file (oddly, I can open WMV files in FCP without issue).
    HELP!

    So, I open the movies in QT and the EXACT same thing is happening. So it appears the guy who created the videos did something when he was making them (probably made a reference files along the way). I'm having him re-export the MOV files.
    So, it's not a FCP issue.....

  • Move data from one Application to another Application.

    Hi All,
    I have a requirement to move data from one Application to another Application(we are working on SAP BPC 5.1/7.1 MS version).
    Can anybody please mention all the possible ways to achieve it.
    Thanks in advance.
    Regards
    Vani

    Hi,
    The best way to do this would be to use destination_app statement. Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75/helpdata/en/79/b299446e02478fa5eca684d1297ef3/content.htm
    Alternatively, you can definitely export the data from one application and import it to the second.
    Hope this helps.

  • Move data from one member to another existing member

    Can someone please advise how I can move data from one member to another existing member?  For example, I have data in member ID MT_160 and I want to move this data over to an existing member MT_130 as per business requirement.  How can I accomplish this?  I tried using the NEWID field but system complained that the new ID must be Unique, which makes sense.  I'm stuck now.  Any Ideas?  I'm using BPC version 5.0 on Microsoft.
    Thanks.

    David,
      one  of  the  ways  you  can  achieve  the  desired  result  is  Via  BPC  Excel
    1) from  menu Edata--> RUn  Package --> copy/Move .  OR
    2) You  an  write  Script  logic  to  Copy/Move  data.
    Hope this  helps..

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • Best way to move data and programs to another profile on same Mac?

    Hello,
    What is the best way to move data and programs to another profile on the same Mac? I have a user who's profile is corrupt, I know that most programs will work on both the new and old profile however when trying to copy the Desktop folder, or Documents folder I am getting permissions denied.
    Sort of like weeding a garden, I'm hoping I do not have to pick the data in each folder and copy individually.
    Thanks for your help!
    Johnathon

    This usually means that a configuration or preference file is corrupted.  In this user's /Home/Library/Preferences/ folder locate any preference files associated with iLinc and drag to the Trash.
    I would also check in the /Home/Library/Caches/ folder for a file or folder associated with iLinc and delete as well.
    See if the problem is resolved in the user's normal account.
    It's not that you cannot copy data from account to account, but doing so causes a lot of permissions issues that must be resolved.  The MacFixit article I linked above shows what you need to do after transferring from one account to another in order to change permissions on the "foreign" files to those of the destination account.

  • How to display planned movement date and actual movement date together?

    Hi, Professionals,
    My purpose is to list delayed outbound deliveries.
    Anyone could tell me how to display planned movement date and actual movement date?
    Appreciate your help.

    Thanks Shiva.
    I tried another way to do it. It works only for a short period of time.
    By using VL06O, I list all outbound deliveries by limiting both planned goods movement dates and actual goods movements dates to the same week I would like to inspect. Say both from 7th/11 to 14th/11.
    then I list outbound delivery list with planned goods movement date to 7th/11 but left out actual goods movements dates this time.
    In excel, I compare those two lists and filter out those unique ones because those unique documents means delayed deliveries which cannot delivery according to planned date.
    However, the "delayed" list generated by this method has some noises. Not all of documents are really delayed although most of them do.
    I'm also looking for a way to list sales documents number of these delayed delivery documents so i can retrieve order details from it such as order value.
    Help still needed.

Maybe you are looking for

  • HT4623 is it really possible to downgrade from ios7 to ios6?

    my ipad2 is a paperweight since upgrading to ios7. it is worse than dial-up in 2002. i loved this device. please someone show me how to bring back my ver 6.........................................so many hours of my life that i will never get back.

  • BI 7.0, BEX 3.5, Error while restricting info object

    Hello gurus,    We are using BI 7.0 and Bex 3.5, MS office 2003,OS windows XP. While restricting infoobject, by right clicking on the infoobject and chosing the opiton restrict, we are encountering some error messages "fatal error terminating", "Auto

  • Setting Forward Lookup Zones in DNS based on the port queried

    I have the following problem. We are using Dynamic DNS to access our site and the modem/router differentiates via port forwarding what server the query goes to based on the port number ie all request go to abc.dyndns.org:port number. Based on the por

  • MacBook Pro and Sharp XGA data projector

    I have a new MacBook Pro and I cannot seem to get it to work with my Sharp data projector. When I set it up as I did my old Powerbook G4, the data projector shows part of my desktop and freezes: no icons and no cursor. Any ideas????

  • Premiere CS6 - Performances en mode caméras multiples

    Bonjour à tous, je souhaite utiliser le mode caméra multiple de Premiere CS6 pour réaliser un montage à partir de rushes full HD (1920x1080). Malheureusement, il est inutilisable car les vidéos jouent convenablement pendant 1 seconde, puis elles se f