Update one InfoObject to another runs into a memory issue

Hi.
We created a DTP for a backup of an InfoObject because there is a larger change to this object. So now we have a DTP transferring attribute data between one InfoObject to another. The interesting behavior we are facing is, that during execution of the DTP the program CL_RSDMD_UPDATE_MASTER_DATA reads the whole content of the Q-table from the target InfoObject which runs into a problem with the memory because there are up to 500.000rows read and stored to memory for every package. This is done to filter out duplicates and avoid writing to the database.
Is there any way to avoid reading the whole Q-table? Is this the behavior that occurs also during normal load?
Thanks in advance,
Nils

Petrill,
Thank you. I was trying to do that yesterday, but it was grayed out. It seemed to work alright today.
Thanks,
Sheena

Similar Messages

  • How load data from One Infoobject to Another Infoobject?

    Hi GuRUS
    Any body has succeded in loading data from One Infoobject to Another Infoobject?
    Pls Let me kNow
    Regards
    Durai

    Hi Durai,
    Create export datasource on the info-object and then load the data to the other info-object.
    Check this link also:
    Re: How load data from Infoobject to another Infoobject?
    Bye
    Dinesh

  • How to update one table from another

    I am creating scripts in Oracle 10g. I have a table that has data corruption on three date fields.
    I created a table with the following sql of all the affected rows:
    CREATE TABLE LSU_INTER_FIX_DATE AS
    select request_id,received_date,planned_start_date, actual_start_date
    from lsu_inter2_requests_t
    where received_date < to_date('01-JAN-1900')
    OR planned_start_date < to_date('01-JAN-1900')
    OR actual_start_date < to_date('01-JAN-1900')
    I then repaired all of the rows with three data fixes
    UPDATE LSU_INTER_FIX_DATE
    SET received_date = TO_CHAR(received_date,'YY-MON') ||'-'||(TO_CHAR(received_date,'RRRR') + 2000)
    where received_date < to_date('01-JAN-1900')
    UPDATE LSU_INTER_FIX_DATE
    SET planned_start_date = TO_CHAR(planned_start_date,'YY-MON') ||'-'||(TO_CHAR(planned_start_date,'RRRR') + 2000)
    where planned_start_date < to_date('01-JAN-1900')
    UPDATE LSU_INTER_FIX_DATE
    SET actual_start_date = TO_CHAR(actual_start_date,'YY-MON') ||'-'||(TO_CHAR(actual_start_date,'RRRR') + 2000)
    where actual_start_date < to_date('01-JAN-1900')
    I now want to update the original base table with the corrected data so I wrote the following SQL UPDATE command:
    UPDATE lsu_inter2_requests_t aaa
    SET aaa.received_date = bbb.received_date
    FROM LSU_INTER_FIX_DATE bbb WHERE aaa.request_id = bbb.request_id
    When I run this sql Oracle returns the error “ORA-00933 SQL command not properly ended.” How do I update multiple rows in one table from another table that share the same primary key?

    Comet wrote:
    I am creating scripts in Oracle 10g. I have a table that has data corruption on three date fields.
    I created a table with the following sql of all the affected rows:
    CREATE TABLE LSU_INTER_FIX_DATE AS
    select request_id,received_date,planned_start_date, actual_start_date
    from lsu_inter2_requests_t
    where received_date < to_date('01-JAN-1900')
    OR planned_start_date < to_date('01-JAN-1900')
    OR actual_start_date < to_date('01-JAN-1900')
    I then repaired all of the rows with three data fixes
    UPDATE LSU_INTER_FIX_DATE
    SET received_date = TO_CHAR(received_date,'YY-MON') ||'-'||(TO_CHAR(received_date,'RRRR') + 2000)
    where received_date < to_date('01-JAN-1900')
    UPDATE LSU_INTER_FIX_DATE
    SET planned_start_date = TO_CHAR(planned_start_date,'YY-MON') ||'-'||(TO_CHAR(planned_start_date,'RRRR') + 2000)
    where planned_start_date < to_date('01-JAN-1900')
    UPDATE LSU_INTER_FIX_DATE
    SET actual_start_date = TO_CHAR(actual_start_date,'YY-MON') ||'-'||(TO_CHAR(actual_start_date,'RRRR') + 2000)
    where actual_start_date < to_date('01-JAN-1900')
    I now want to update the original base table with the corrected data so I wrote the following SQL UPDATE command:
    UPDATE lsu_inter2_requests_t aaa
    SET aaa.received_date = bbb.received_date
    FROM LSU_INTER_FIX_DATE bbb WHERE aaa.request_id = bbb.request_id
    When I run this sql Oracle returns the error “ORA-00933 SQL command not properly ended.” How do I update multiple rows in one table from another table that share the same primary key?I am not convinced you have what you think you have
    >
    UPDATE LSU_INTER_FIX_DATE
    SET received_date = TO_CHAR(received_date,'YY-MON') ||'-'||(TO_CHAR(received_date,'RRRR') + 2000)
    where received_date < to_date('01-JAN-1900')
    When you want to produce a DATE datatype when starting with a string,
    you must use TO_DATE() on the SET line!
    (TO_CHAR(received_date,'RRRR') + 2000)since when do you do add characters (from TO_CHAR) with a constant number (2000)?
    You should NEVER EVER rely on implicit datatype conversion
    Edited by: sb92075 on Jul 27, 2011 7:09 PM

  • SQL update one column from another column

    I'm looking for a way to update a SQL column with a portion
    of info from another column in the same table.
    example of a sql command
    UPDATE table1
    SET table1.columnname1 = table1.columnname2
    FROM table
    WHERE blah blah blah
    Here's the thing... I only need a portion of the data found
    in the source column. I'm not sure how I would do this then.
    for example, the database has countries and states combined
    into one column like this 'US-DC', 'US-CA', US-FL', etc. I want to
    separate these into two columns, a country column and a state
    column.... and I dont want to go though all the results and do this
    line by line. How would I write the SQL command so that it puts
    just the country in the country column, and puts just the state in
    the state column, and it omits the dash all together.
    any ideas?

    It depends. Are you using PHP and mySQL or ASP and SQL?
    If you are using mysql and PHP you could use the following
    code to loop through all records in your datatbase.
    $sql="SELECT * FROM tablename"; //SET tablename to the name
    of your database table.
    $result=mysql_query($sql)or die(mysql_error(). " - $sql");
    for($x = 0; $row=mysql_fetch_assoc($result); $x++){
    //set up the variables from the table
    $ID=$row['ID']; //this is the primary key
    $var1=$row['contrystatecolumn']; //this is the name of the
    column which holds the country-state
    $var2=explode("-", $var1); //now we explode the string to get
    the country and the state seperated and place the results into an
    array
    $country=$var2[0]; //this is the first piece of the exploded
    string in the array
    $state=$var2[1]; //this is the second piece of the exploded
    string in the array
    //now we update the database record with the new information
    //remember to replace the tablename with your actual table
    name and the columns country and state with the acutal names of
    your columns in your table
    $sql2="UPDATE tablename SET country='$country'.
    state='$state' WHERE ID='$ID'";
    $result2=mysql_query($sql2)or die(mysql_error() . " -
    $sql2");
    This code will loop through every record in your table and do
    what you want very quickly.
    Hope this helps
    Stan Forrest
    Senior Web Developer
    ATG Internet

  • How to update one table from another table?

    Hi,
    Please go through the case I am mentioning below and if possible try to provide with a solution.
    I am working on a report to generate cash flow forecast, where in one of the fields is "Payroll", in which its being mentioned as:
    In the selection screen: I am entering Project ID, profit Center and Period(in MM/YYYY format).
    Selection of all entries in table COSP for selected cost elements above, value type 1, version , all periods and for all selected WBS elements and all objects underneath.
    From this, update table COFP with information from COSP with value type 62 and same period.
    For updation of various fields the following information is being given.
    How should we update COFP?
    New entries per OBJNR/PERIO and HKONT are required via using the information from COSP:
    COFP-MANDT              =          SY-MANDT
    COFP-KOKRS              =          if COSP-OBJNR begins with ‘PR’
                                                   Check table PRPS with COSP-OBJNR = PRPS-OBJNR and enter PRPS-PKOKR
                                                    If COSP-OBJNR begins with ‘NV’
                                                   Check table AFVC with COSP-OBJNR = AFVC-OBJNR,
    go to Table AFKO with AFVC-AUFPL,
    go to table AUFK with AFKO-AUFNR and enter AUFK-KOKRS
    If COSP-OBJNR begins with ‘OR’
    Check table AUFK with COSP-OBJNR = AUFK-OBJNR
    and enter AUFK-KOKRS
    COFP-BELNR               =          Check table NRIV, CLIENT = SY-MANDT, OBJECT = RK_BELEG,
    SUBOBJECT = COFP-KOKRS, NRRANGENR = ‘05’,
    Add 1 to NRLEVEL and begin with 500000000
    Use same BELNR for one update-run
    COFP-BUZEI                =          ‘1’ + and 1 in next entry but same update-run
    COFP-TWAER              =          COSP-TWAER
    COFP-ZHLDT                =          always last day of month in field COFP-PERIO
    COFP-GJAHR               =          COSP-GJAHR
    COFP-PERIO               =          if entry in field WKG001 à PERIO = 001
                                                   If entry in field WKG006 à PERIO = 006……
    COFP-WRTTP              =          ‘62’
    COFP-VRGNG              =          ‘FIPL’
    COFP-POSIT                =          Check table SKB1 where SAKNR = COSP-KSTAR and use SKB1-FIPOS
                                                   for going to table FMCI-FIPOS and enter FMCI-POSIT
    COFP-OBJNR               =          COSP-OBJNR
    COFP-HKONT              =          COSP-KSTAR
    COFP-WKGBTR           =          WKGXXX
    COFP-WKGBTRO         =          -
    COFP-WTGBTR            =          WTGXXX
    COFP-WTGBTRO         =          -
    COFP-WOGBTR           =          WTGXXX
    COFP-WOGBTRO        =          -
    COFP-BUKRS1            =          -
    COFP-GJAHR1             =          -
    COFP-BELNR1             =          -
    COFP-BUZEI1              =          -
    COFP-BUKRS2            =          -
    COFP-GJAHR2             =          -
    COFP-BELNR2             =          -
    COFP-BUZEI2              =          -
    COFP-EBELN               =          -
    COFP-EBELP               =          -
    COFP-ZEKKN               =          -
    COFP-ETENRM            =          -
    COFP-STUNR               =          -
    COFP-LIFNR                =          -
    COFP-KUNNR              =          -
    COFP-GSBER              =          -
    COFP-BUKRS              =          (nearly same as COFP-KOKRS!)
                                                   if COSP-OBJNR begins with ‘PR’
                                                   Check table PRPS with COSP-OBJNR = PRPS-OBJNR and enter PRPS-PBUKR
                                                    If COSP-OBJNR begins with ‘NV’
                                                   Check table AFVC with COSP-OBJNR = AFVC-OBJNR,
    go to Table AFKO with AFVC-AUFPL,
    go to table AUFK with AFKO-AUFNR and enter AUFK-BUKRS
    If COSP-OBJNR begins with ‘OR’
    Check table AUFK with COSP-OBJNR = AUFK-OBJNR
    and enter AUFK-BUKRS
    COFP-EINDT                =          -
    COFP-SGTXT               =          -
    COFP-GEBER              =          -
    COFP-KURSF              =          -
    COFP-KUFIX                =          -
    COFP-GBETR              =          -
    COFP-KURSR              =          -
    COFP-KURSFIKRS       =          -
    COFP-KZKRS               =          -
    COFP-UMBKZ              =          -
    COFP-KBLNR               =          -
    COFP-KBLPOS            =          -
    COFP-HI FIVOR            =          -
    COFP-LO FIVOR          =          -
    COFP-HI ACCOUNT      =          -
    COFP-LO ACCOUNT     =          -
    COFP-HI LIFNR            =          -
    COFP-LO LIFNR           =          -
    COFP-HI KUNNR          =          -
    COFP-LO KUNNR         =          -
    COFP-XDELETE           =          -
    COFP-HI XOPVW         =          -
    COFP-LO XOPVW        =          -
    COFP-ZAEHK               =          -
    COFP-CHAINBELNR     =          -
    COFP-MWSKZ             =          -
    COFP-LEDNR               =          -
    COFP-BELTP               =          ‘1’
    COFP-VERSN              =          ‘0’
    COFP-OWAER             =          COSP-TWAER
    COFP-CPUDT               =          SY-DATUM
    COFP-CPUTM              =          SY-TIME
    after doing updation, its again saying Selection of all entries in table COFP with value type 51 to 62, selected year, selected cost elements above and for all selected WBS elements and all objects underneath. Summarisation by period.
    Now, can someone help me as how to proceed with the entire thing? An elaborate and illustrative answer would be highly appreciable.
    If you require any other information....then get back to me ..asap.
    Its bit urgent.
    Thanks & Regards,
    Ravi

    Hi
    update <table> from <i_tab>
    for different conditions.
    loop at i_cosp.
    if cosp-mandt eq sy-mandt and  cosp-objnr eq 'PR'.
    Read table i_PRPS with key  i_PRPS-OBJNR = i_COSP-OBJNR.
    if sy-subrc eq 0.
    update PRPS set PKOKR = ? where objnr = i_prpr-objnr.
    endif.
    endif.
    similarly for all the conditions
    Regards
    Message was edited by: Harikishore Sreenivasulu

  • Activate one mac deactivate another turns into trial version on the new one

    while deactivating one mc and acitvating the CC on another - I only get the trial version on the new one - how can I use the full subsribtion on the new one - besides the ilustrator does not open at all.

    Sign in, activation, or connection errors | CS5.5 and later
    The rest we can't know. you have not provided any exact system info.
    Mylenium

  • Update one column from another

    Hi guys,
    I have two columns in a table, FIRSTNAME and LASTNAME. Currently, both firstname and lastname are appearing in 'Firstname' column. I would like to split the last name from this column and insert into the 'LASTNAME' column.
    For example, here's what I have currently:
    Line: -----
    Firstname     Lastname
    Peter Andre     
    James Dean     
    Watch Man     
    Jenna Klare     
    James Smith     
    Tina Adams     
    Blair Witch     
    Currently, my 'Lastname' column is empty. I would like to update the table to insert lastname from the 'FIRSTNAME' field into 'LASTNAME' column, so the output will look like:
    Firstname     Lastname
    Peter     Andre
    James     Dean
    Watch     Man
    Jenna     Klare
    James     Smith
    Tina     Adams
    Blair      Witch
    Please help.
    Thanks in advance.

    Hi,
    maybe this,
    SQL> with t As(Select 'Peter Andre' Name From Dual union all
      2            Select 'James Dean' Name From Dual union all
      3            Select 'Watch Man' Name From Dual union all
      4            Select 'Jenna Klare' Name From Dual union all
      5            Select 'James Smith' Name From Dual union all
      6            Select 'Tina Adams' Name From Dual union all
      7            Select 'Blair Witch' Name From Dual)
      8  SELECT regexp_substr(Name,'[^ ,]+' ) First
      9       , regexp_substr(Name,'[^ ,]+$') LastName
    10    FROM t;
    FIRST                                        LASTNAME
    Peter                                        Andre
    James                                        Dean
    Watch                                        Man
    Jenna                                        Klare
    James                                        Smith
    Tina                                         Adams
    Blair                                        Witch
    7 rows selectedor
    SQL> with t As(Select 'Peter Andre' Name From Dual union all
      2            Select 'James Dean' Name From Dual union all
      3            Select 'Watch Man' Name From Dual union all
      4            Select 'Jenna Klare' Name From Dual union all
      5            Select 'James Smith' Name From Dual union all
      6            Select 'Tina Adams' Name From Dual union all
      7            Select 'Blair Witch' Name From Dual)
      8  SELECT Substr(Name,1,Instr(Name,' ',1)-1) First
      9       , Substr(Name,  Instr(Name,' ',1)+1) LastName
    10    FROM t;
    FIRST                                        LASTNAME
    Peter                                        Andre
    James                                        Dean
    Watch                                        Man
    Jenna                                        Klare
    James                                        Smith
    Tina                                         Adams
    Blair                                        Witch
    7 rows selectedRegards,
    Christian Balz
    Edited by: Christian Balz on 17/06/2009 15:33

  • I have just updated my iPad and have run into trouble

    Aloha:
    I am trying to get back the set up I started with.  All goes well until I get to the point I have to hookup to iTunes.  There is a picture  of a USB connector being plugged into iTunes.  But I am already hooked up to iTunes, the iPad is plugged into the computer????
    What might I be doing wrong?
    Thanks
    Dan Page
    Hawaii

    Connect the iPad to your computer.
    Launch iTunes.
    Select the iPad from the left side under devices.
    Click on the Apps Tab in iTunes on the right side.
    Click on the Sync Apps heading.
    Click on each app that you want to sync in the list below the heading.
    Click on Apply in the lower right corner of iTunes.

  • How do I migrate from one user to another to resolve sleep/permissions issues?

    My MacBook Pro's been having several issues, mainly with waking from sleep. I've tried Repairing Permissions, Repair Disk, running tools like OnyX and Drive Genius, but they can't find any issues. I checked the Console log, and there was some sort of denial from displaying the login window after I woke up from sleep.
    Initially I thought this had to do with some of my peripherals being plugged in when I already had the lid closed; the Mac would wake up, not realize the lid was closed, and never go back to sleep. Nothing--keyboard or trackpad touches--would wake the machine up. I'd have to hard reset by holding the Power button on.
    I had an Apple Genius suggest that I create a new user and test it out with the (same) default sleep settings as the buggy user account. It wakes up from sleep lightning fast, and has thus far never had any issues.
    I'm leaning toward sticking with this new user and migrating over my things bit by bit, to try and avoid potential permissions issues. But since I don't know where the source of this sleep problem lies, how should I go about it?
    I've read through Pondini's Transfer Guide here http://pondini.org/OSX/Transfer.html, but I'm just wondering where people would start, knowing that the machine has had permissions issues with some files. (The permissions issues, btw, I believe were caused by a mangled Time Machine restore. I replaced my internal HD with another one, but the Time Machine/Migration Assistant restore wasn't complete. I did it a second time from within the user account that got created, then tried to delete the malformed one and rename the complete one, but that's when the issues started.)

    I wasn't intending to move the entire home folder, rather, moving things like what's inside my Documents folder in chunks.
    From what I read, tracking down the origin of sleep/wake problems on a computer is notoriously hard, especially if Disk Utility and similar tools don't give any clues during Repair Disk or Repair Permissions. Creating the new user seemed to help, but I don't know why that alone would "fix" anything, so I haven't moved any files as of yet nor done anything with the new user account.
    Trying to move the things from my Library folder to my desktop also seems a bit risky; it's hidden in Lion and Mountain Lion because a lot of system files are there, right? Wouldn't moving them cause problems, not just help me find what file/folder (if any) could be the culprit?

  • Migrating ODI objects from one environment to another

    Hi,
    This is for the first time that i am trying to migrate odi objects from one environment to another. I am facing issue and requesting help.
    The odi installation is the part of ASCP module of JDEdwards where some standard objects (interfaces/packages) are already created. I have developed some custom interfaces and want to migrate the same to QA environment.
    I exported the specific folder (including children) to an xml file and then trying to import the same in the QA environment.
    When i choose "Synonym Insert_Update" option to import is prompts error :
    You are importing an object from another repository with same identifier. This is forbidden
    This is completely new folder which do not exist on target. If I import using Duplication option, it successfully import and assigns new internal ID to object (which is as expected). But how will I update the newly created object in future ?
    What should be followed to migrate objects ?

    user8628169 wrote:
    Hi,
    This is for the first time that i am trying to migrate odi objects from one environment to another. I am facing issue and requesting help.
    The odi installation is the part of ASCP module of JDEdwards where some standard objects (interfaces/packages) are already created. I have developed some custom interfaces and want to migrate the same to QA environment.
    I exported the specific folder (including children) to an xml file and then trying to import the same in the QA environment.
    When i choose "Synonym Insert_Update" option to import is prompts error :
    You are importing an object from another repository with same identifier. This is forbidden
    recreate your OA repository with repository id different from your DEV repository.
    Then you should not get this problem.
    This is completely new folder which do not exist on target. If I import using Duplication option, it successfully import and assigns new internal ID to object (which is as expected). But how will I update the newly created object in future ?
    What should be followed to migrate objects ?

  • Running out of memory after latest update

    First of all:
    Why doesn't anybody answer my questions from Dez. 26th?? They are not that hard, I believe...
    After I installed the update No. 5, my system runs out of memory after a certain time.
    I'm working an an 1,7Centrino with 1GB memory....
    Is it bc of the update? Do RUN change so many things?
    Hope for an answer this time...
    Mark.

    Hi Mark
    Aplogies for not responding to your earlier post on Debugging Rowset. I am still working on that. I am sure I can give you something todday if there is any straight solution.
    OK coming to the OutOfMemoryExceptions, yes this has been observed because of preview feature added in Updaet 5. Look @ http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50422 for more details.
    Thanks
    Srinivas

  • Running Out of Memory Since Yosemite

    Let me start by saying I was originally part of the Yosemite Beta and was running into the same issue.
    After running my system for >20-25 minutes a menu pops up and says I've run out of memory and it has paused my programs.  Looking at my Activity Monitor, it says my Mail is running at 64+ GB of memory.  When I restart my system, Mail ranges from 64 MB - 120 MB, then it some how creeps up to 64 GB and crashes.
    When the final release of Yosemite was released I did a complete clean install, thinking that maybe that was the issue.  Tonight I received the same error.  After searching online I didn't really find anything of help.  I'm hoping someone in this community can help.
    Thanks.
    My System:
    rMBP- 2.6 GHz i7 - 16 GB ram - 1TB SSD

    I'm having the exact same issue, on both a  2013 MacBook Air, and on a 2009 iMac. I've used activity monitor, and can observe the mail app increasing in memory usage from 200mb during normal conditions to a sudden rise to 60+GB. Same activity monitor screens as in this post. If I force quite the mail app, everything returns to normal, but this happens at least once every hour.  So my assumption is that 1) yes it is the mail.app, 2) it's happening to quite a few people, 3) it's happening on a range of recent as well as older machines, 4) it was introduced with Yosemite, 5) it's not a "plugin" as someone suggested in other posts, 6) no help from clearing cache, clean installs, deleting preferences or container folders in the library.
    I would lIke to think Apple will address this issue, but find it alarming that someone in this thread has raised 12 tickets about it in beta without receiving a response. For those of us affected, we might be in for a long wait.
    Apple, please help!

  • I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox). I do a weekly update. Everything is cool.Now I would  love to keep the folder on the Nas and delete the one on my internal HD. What kind of trouble i may run into?

    I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox).
    I do a weekly update.
    Everything is cool.
    Now I would  love to keep the iTunes Mediafolder on the Nas and delete the one on my internal HD.
    What kind of trouble I may run into?
    Where are the hidden catches?
    What can go wrong, and how can i undo any mistake?
    I also have an iTunes Match acccount.
    Cheers
    rudy

    HI
    Read this user tip Make and keep a backup of your iTunes library, and only stream from the cloud.
    Problems? No hidden catches. Whilst streaming using match, you will need a wifi connection. You main worry is that if your NAS drives fails, you need to redownload your music from match but this could take time depending on how large your collection is. Personally I keep an additional backup of all my music as a matter of course.
    Jim

  • How can I decrease my font size in mail?  I have it set to small and yet it is enormous, letters running into one another.  I have rebooted and more.  Something is over riding my setting.  Any suggestions?

    How can I decrease my font size in mail?  I have it set to small and yet it is enormous, letters running into one another.  I have rebooted and more.  Something is over riding my setting.  Any suggestions?

    You haven't mentioned which mail it is,
    If it is G-mail go to settings --> general tab--> default text style , you can change your font size & then save at the bottom of the page

  • Trouble with permission to open current PDF from one user to another user. what is the cure. i am running nthe current Server and updated Os 10.9.2

    Trouble with permission to open current PDF from one user to another  What is the cure ? I'm running the latest Server and OS 10.9.2.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

Maybe you are looking for