Moving Patitioned Data

Hi
I have Table A with one partition A_MAX with data. I have an empty table B with partition B_MAX.
Is there a way to move the data in A_MAX to table B (partition B_MAX) without doing inserts or exports / imports (i.e.: by using the partitions)?

Hi
Found the answer...you have to add a middle step with a non-partitioned table.
In other words, you have to move it from partitioned table A to non-partitioned table X, and then from X to partitioned table B...all using the alter table exchange partition command.
Thanks.

Similar Messages

  • Excel Upload and moving the data to dynamic itab

    Hi Folks,
    I am building a fieldcatalog dynamically based on the table name and then creating a dynamic internal table based on the fieldcatalog.Now I have a excel sheet having the fields in the same structure as the fieldcatalog that I built.I want to upload the data in the excel to an internal table having the structure of the fieldcatalog I built.I am having a problem in moving the data from the excel to the itab (dynamic itab built based on the fieldcatalog)
    1.Building the fieldcatalog.
    data:gt_fieldcat    TYPE lvc_t_fcat.
      ls_fieldcat-tabname    = p_tabname.
      ls_fieldcat-fieldname  = p_fieldname.  
      ls_fieldcat-inttype    = 'C'.
      ls_fieldcat-outputlen  = wa_dfies-outputlen.   
      ls_fieldcat-coltext    = wa_dfies-fieldtext.
      APPEND: ls_fieldcat TO gt_fieldcat.
      CLEAR : ls_fieldcat.
    2.Building the dynamic itab
    DATA:gp_table       TYPE REF TO data.
    FIELD-SYMBOLS: <gt_table> TYPE table,
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fieldcat
        IMPORTING
          ep_table        = gp_table.
      ASSIGN gp_table->* TO <gt_table>.
    3.Now I have an excel with a similar structure with data.Uploading the excel data into itab.
    DATA: g_t_xltab  TYPE STANDARD TABLE OF ty_xltab,
          it_rawdata TYPE truxs_t_text_data,
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
    *     I_FIELD_SEPERATOR    =
          i_line_header        = 'X'
          i_tab_raw_data       = it_rawdata
          i_filename           = xls_filename
        TABLES
          i_tab_converted_data = g_t_xltab[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      Endif.
    *Move the data that got uploaded from excel into
    *respective internal tables.
        LOOP AT g_t_xltab
        here I want move the data into an internal table having the structure I built using
        the fieldcatalog/dynamic itab ie    <gt_table>.
        Endloop.
    I tried using ASSIGN COMPONENT sy-index of <gt_table> and move-corresponding but in vain as I am not that much familiar with dynamic itab using field symbols.Kindly let me know how the excel data can be moved to dynamic itab.
    Thanks,
    K.Kiran.

    Hi,
    you can try some logic like this. Please note this is just an example
    TYPE-POOLS:truxs.
    TYPES:BEGIN OF ty_xltab,
          field TYPE string,
          END OF ty_xltab.
    DATA:wa TYPE ty_xltab.
    DATA:lv_len TYPE i.
    DATA:startpos TYPE i.
    FIELD-SYMBOLS:<fs_line> TYPE mara.
    FIELD-SYMBOLS:<fs> TYPE ANY.
    DATA: g_t_xltab  TYPE STANDARD TABLE OF ty_xltab,
          it_rawdata TYPE truxs_t_text_data.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
    *     I_FIELD_SEPERATOR    =
          i_line_header        = 'X'
          i_tab_raw_data       = it_rawdata
          i_filename           = ' '
        TABLES
          i_tab_converted_data = g_t_xltab[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
    IF sy-subrc  <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    startpos = 0.
    LOOP AT g_t_xltab INTO wa.
      DO.
        ASSIGN COMPONENT sy-index OF STRUCTURE <fs_line> TO <fs>.
        IF sy-subrc = 0.
          DESCRIBE FIELD <fs> OUTPUT-LENGTH lv_len.
          IF lv_len > 0.
            <fs> = wa-field+startpos(lv_len).
            startpos = startpos + lv_len.
          ENDIF.
        ELSE.
          append <fs_line> to <fs_tab>.
          EXIT.
        ENDIF.
      ENDDO.
    ENDLOOP.
    Sorry my answer is not for you requirement..Please Ignore.
    Your solution can be easily solved by looking at the concept Assign component . Please search
    Edited by: Keshav.T on Nov 7, 2011 1:42 PM

  • Should cancelled mailbox moves result in any moved mail data removed from target server?

    I was moving mailboxes from 1 DB to another. 3 out of 120 were left running for 12 hours; they were the biggest ones and it was very slow to process the items. There were also reports of slowness on the server so I had no choice but to cancel the moves.
    My question is should cancelled mailbox moves result in any moved mail data being removed from the target database? It doesn't appear that my disk as increased in space again so I'm wondering if it's there as whitespace maybe? There is an event logged to say
    the mailbox has been deleted from the target.
    Would appreciate if someone can clear this up and possibly explain exactly what occurs during this type of scenario.
    Thanks.

    Hi,
    Thank you for your kindly remind.
    In Exchange 2000, 2003 and 2007 mailboxes become unavailable during movement, when a mailbox move takes place, the mailbox isn't actually moved, it's just copied to the destination location. Once that copy has finished, AD is updated to point to the new location
    and the old mailbox is deleted from the source EDB file.
    The most different between Exchange 2010 and legacy version in move mailbox is that allows end-users to be online in their email accounts. On completing the move users just needs to reopen their Outlook clients.
    Mailbox Move Requests are a new feature set of Exchange 2010 and requires running a series of Cmdlets to perform asynchronous online mailbox moves with the help of a service agent called Mailbox Replication Service (MRS). MRS is available on all Exchange 2010
    Client Access Servers.
    Best Regards,
    Allen Wang

  • Moving Audit Data

    Hello,
    Error Created while moving audit data from existing runtime repository to Control Center using OWB Control Center Upgrade Assistant. Here OWBRTR2TST is Runtime repository in Control Center.
    Error as follows:
    Exception:
    Failed to Migrate Audit Data into OWBRTR2TST java.sql.SQLException: ORA-02298:
    Can not validate (OWBRTR2TST.co.FK_PARENT_CO) - parent keys not found
    ORA-06512 at line 16
    What we need to do to aviod this error.
    Thanks
    Santi

    Hello
    Even I was getting almost similar problem. Once you solve please let us know.
    Mine is like this
    Error Created while moving audit data from existing runtime repository to Control Center
    Using OWB Control Center Upgrade Assistant. Here OWBRTR2TST is Runtime repository in
    Control Center.
    Exception:
    Failed to Migrate Audit Data into OWBRTR2TST java.sql.SQLException: ORA-02298:
    Can not validate (OWBRTR2TST.co.FK_PARENT_CO) - parent keys not found
    ORA-06512 at line 16

  • Moving shipment data using IDOC SHPMNT05

    Hi guys,
    I want to configure ALE process across two SAP systems and moved shipment data using IDOC SHPMNT05.
    May I know how to do that.
    Plz help me...................
    Thankz in advance,
    Swetha.

    Hi Shwetha,
    Please check the following links to start with.
    http://help.sap.com/saphelp_nw04/helpdata/en/78/217da751ce11d189570000e829fbbd/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    Thanks,
    Naren

  • Moving spatial data

    Hello,
    We have large data in two separate schemas source and destinantion. In source are 10 milion records in three tables. One table of them has 5 columns with geometries (sdo_geometry).
    I want move data from source to destination in one transation. I can’t use „insert .... select ...”, additionally on the tables in destination are triggers. Is it possible moving large data in one transation. Maybe oracle hint other solution ? How long this process will be executed.
    Thanks in advance

    STBuffer won't do this (it has only one parameter), and after looking at the "BufferWithTolerance" and "Reduce" methods, I don't think they'll do this either. In a single method call. However, you may be able to produce the same results
    with a series of method calls. That is, buffering combined with calls to STCurveToLine/CurveToLineWithTolerence and STIntersection or STDifference. Or one of the spatial aggregates. From your current description it's hard to figure out what you're looking
    to do. You're trying to reverse-engineer something in a specific product, so figure a complete description of how it works.
    But, unless I missed something, it will take multiple spatial library calls.
    Hope this helps, Cheers, Bob
       

  • Moving iTunes data to an external drive

    My iTunes data is currenly 58gb. I would like to move it to an external drive. What do I need to copy to the external drive and how do I point iTunes to the moved files?

    Do NOT copy the files yourself.
    iTunes prefs -> Advanced.
    Set the iTunes music folder location to the external.
    Tick *Copy files to iTunes music folder location when adding to iTunes*.
    Tick *Keep iTunes music folder organized*.
    Then iTunes menu File -> Library -> Consolidate.
    After it finishes, you can delete \Music\iTunes\\iTunes music\ folder. Delete ONLY the iTunes music folder.

  • Moving configuration data from ECC to MDG

    Hi,
    We are also in process of moving the configuration data from ECC (Ehp 5.0) to MDG Hub (Ehp 6.0), looking for the option copying tables in transport request and moving the transport request to MDG-C.
    Appreciate your suggestion or best practices on the movement configuration data, is there is any best option to move the configuration data from ECC (Ehp 5.0) to MDG-C Hub (Ehp 6.0) as both the system on different Enhancement pack.
    thank you,
    Parvez

    Hello Parvez
    Go through the below thread.
    http://scn.sap.com/thread/3492091
    Kiran

  • Problem in moving the data into final internal table

    Hello all,
    I am stuck in apeculair situation.
    I have a internal table having header record and a internal table having its line items.
    Header record ::    90006103  A   20080110   ALBERTA    3456
    Detail   record ::    90006103  D2  2219CR1710441
                               90006103  D2  2219M11710443
                               90006103  D2  2219M21710442
                               90006103  A    20080115   ALBERTA    3456
                               90006103  D2  2219CR1710441
                               90006103  D2  2219M11710443
                               90006103  D2  2219M21710442
    I collected the header record in one internal table and another internal table having all the line items.But the problem is when i am moving the values to the final inernal table i am getting the same payment date
    20080110 (Date field in first record of header internal table) for all the line items .
    But my requirement is that date should be 20080110 for the first 3 line items of first header record and similarly date should be 20080115 for all the line items of the next header record.
    Kindly suggest.
    Regards,
    Arun

    assumption: some mistake in ur posting that, How belnr and date r same for both header records, so i guess, either one is different.
    try with AT NEW - ENDAT.
    AT NEW belnr.
    here use looping, READing of ur itabs.---> so, u need to build couple of itabs to move forth and back.
    ENDAT.
    pls. note that, when u use this AT NEW all the CHAR fileds of itab wuld show as STARS **.....so, this is the necessity behind building new itabs.
    thanq
    Edited by: SAP ABAPer on Dec 30, 2008 6:24 PM

  • Moving large data real-time

    Anyone having an idea for moving a large data set from one core's thread to another's thread, in a Real Time system, where it will be put into a DAQ's output buffer? I have an array ,which at the max is 125625 X 23 X I16, which is built column (the 23 dimension) by column (actually it is done in a replace array element mode), that is then is too be "exported" to the other core's thread. There it is to be loaded into the DAQ cards' memory, to be output. I need to be able to do this in a pretty timely manner. When I try to use a Function Global Variable, that is "loaded" one column at a time, it is _slow_ ! Need a faster method!
    Thanks,
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

    I haven't tried queues for core to core communications before, hadn't considered them, but since some recent revelations have shown that RT lelvel determinism isn't a critical issue I guess that I can examine them as well. Not that some of them necessarily have  jitter issues, but I was being conservative. Will put together a trial test case. Thanks, as usual, for your help Ben. Hope the weather in your neck of PA wasn't too bad. Up in Syracuse the are 400% more snow than this time last year, and last year the season had 140+" (norm is closer to 115), and that was in a very truncated winter, not much until third week of January.
    Hmm, three stars. Wonder what I said that annoyed someone, or underwhelmed them?
    Even weirder is that at the LabVIEW forum level it is showing 4 stars, two voters.  Hmmm, too early for me, the coffee isn't hitting (actually not able to drink coffee lately)
    Message Edited by LV_Pro on 12-17-2007 09:15 AM
    Message Edited by LV_Pro on 12-17-2007 09:19 AM
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Moving mail data from mail to Outlook for Mac.

    I am moving old PC mail data (outlook 2007) to Mac. I used the mac mover, which was great but...  it has moved my old mail data to mac mail.  I am trying to export that data now (on the mac mail) to then import into Outlook for Mac, but not getting anywhere?  Outlook support says it will import the data as a mac export txt file, but whenever i try and import Outlook can not see the file.
    I have also tried to just export the mail data from one mac users mail app to another and that is also not working.  Import mail function reports format error, even though it is from the same version of mail on the same machine.
    any suggestion, links to info much appriciated.

    http://www.outlookimport.com/export-e-mails-from-apple-mail-and-import-to-ms-out look/
    more hits even if you have to skip the ones that describe the opposite
    http://www.google.dk/search?source=ig&hl=da&rlz=1G1TSEH_ENDK367&q=percent+of+the +world+that+believe+in+evolution&oq=percent+of+the+world+that+believe+in+evoluti on&aq=f&aqi=&aql=&gs_sm=e&gs_upl=1032792l1170990l0l1171230l56l55l0l35l35l2l281l3 626l0.12.7l19l0#sclient=psy-ab&hl=da&rlz=1G1TSEH_ENDK367&source=hp&q=import+mail +from+mac+mail+to+mac+outlook&pbx=1&oq=import+mail+from+mac+mail+to+mac+outlook& aq=f&aqi=&aql=&gs_sm=e&gs_upl=2887l3593l1l3847l4l4l0l0l0l0l347l1116l0.1.1.2l4l0& bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=d1d65e2d1be363fb&biw=1848&bih=789

  • Moving NVARCHAR data from SQLSERVER to Oracle

    We are moving data from NVARCHAR field in SQLSERVER to Oracle. The data is getting changed
    (Opl›st) --> (Opl¿st)
    Any suggestion what may be wrong?
    - PB Singh

    Yes the databases are setup for proper character set.
    LKM SQL to Oracle is used.
    One question is any thing needed in jdbc driver to enable multibyte access.
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    Thanks,
    PB Singh
    Message was edited by:
    pbsingh

  • Moving KM data (incl. for ex. modified)

    Hi,
    I would like to move KM data of a document store to another folder including all metadata. It's important, that the original author and modified date are not changed. The data should be moved in the same portal for example from /room_extensions/room1 to /room_extensions/room2. 
    Is this possible?
    For background-information: We've got compatibility-problems with our Collaboration Rooms prior EP 6.0 SP 2 Patch 5 and we would like to migrate them. This change should be as less visible as possible to the endusers.
    Best regards
    Sandra

    Hi Sandra,
    You can use the KM Repository Java API and the
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/javadocs/Pre%20NW04%20SP2/KM/com/sapportals/wcm/repository/IResource.html">IResource Interface</a> to instanciate your resources and use the copy method (public IResource copy(RID destinationRID,...) to create your new resources.
    Regards
    Message was edited by: Laurent Bouziani

  • I followed the instructions for "Moving Thunderbird Data to a New Computer," but the calendar data did not transfer & the calendar program is not functioning.

    I manually moved my profile from Thunderbird in Ubuntu 12.04 LTS to Windows 8.1. I followed instructions and everything moved as expected except the Calendar. Not only did the Calendar data not transfer, the Calendar itself is not functioning, e.g. no dates & days of week, etc., all menus relating to Calendar are "greyed-out," etc. I would appreciate any help. TIA KellyJMorris

    The Calendar (a.k.a. Lightning) contains binary components, which are OS dependent. So you do need to remove the Lightning add-on in your Add-on manager and install the Windows version of Lightning.
    https://addons.mozilla.org/en-US/thunderbird/addon/lightning/

  • A1000 moving app data to external sd

    Can anyone please help me with moving my game data to an external sd rather than internal sd? The internal sd is just 1gb and it is of no use. So, I kindly request Lenovo to provide an upgrade that would permit apps to be moved to an external sd. Please provide this soon.

    I understand your problem as this was also a problem to me....but NOT now...!!!! I already asked lenovo to provide an update for this purpose many a times but no use. So only solution to you is to root your tablet and swap (interchange) your internal and external sd card. You can see my post over here for detailed explanation about how to do it:-
    forums.lenovo.com/t5/Idea-Android-based-Tablets/PREAMBLE-FOR-LENOVO-A1000-ROM-RECOVERY-ETC/td-p/1299061/page/2
    You can say thank you by pressing the star left to my post IF I HELPED YOU

Maybe you are looking for