Restoring the data from table after deletion

Hi,
If  I delete the data from the database (using delete command) , is there anyway to restore that data. I know it looks bit weird but I'm checking whether there is any technique in abap by which we can restore the data.
Your help would be appreciated.
Thanks,
Kranthi.

Hi Kranthi,
           When you delete lines of a database table using the DELETE command, the process is only complete after a database commit. Before the commit, any database change can be reset using a database rollback.To be able to perform a database rollback, a database system must generate a copy of each database object before making a change. These copies are kept in a rollback log until the end of an LUW. An overflow of the rollback log always results in the termination of the transaction which caused it. For example, attempting to remind a large number of defaulting customers in the same transaction could trigger such an error. You can only solve this problem by dividing the set of database updates into several smaller units ( LUWs) for the database system. You use this statement if you cannot be certain that all the database changes have been executed correctly.
For your information :
An LUW begins each time you start a transaction,when the database changes of the previous LUW have been confirmed (database commit) or when the database changes of the previous LUW have been cancelled (database rollback)
An LUW ends when the database changes have been confirmed (database commit) or when the database changes have been canceled (database rollback). Within an LUW, database changes are not made until after a database commit. Prior to this, any database change can be canceled by a database rollback.
Cheers
Nishanth

Similar Messages

  • I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    In technical support, sometimes you have to make educated guesses. I'm sorry that you were offended.
    iTunes does prompt when it is going to erase a device, and the message is clear.
    She said in her message that she was able to successfully sync the old ipad. This indicated to me that itunes wiping the data was not an issue, because either it had been setup at the apple store (in which case it doesn't actually wipe the ipad despite saying it will*) (*based on a single case I saw), or because the itunes media folder was migrated.
    Furthermore, my solution was to tell her how to backup her ipad (by either doing it manually, or as a last resort, by deleting the corrupt backup -- that she couldn't access anyway.)
    I got that last part of the instructions from the "Taking Control of your iphone" book which I found samples of when I did a google search for "corrupted backup itunes".
    She marked this as a solution, so it worked for her.

  • How can I restore the data from a single application in icloud?

    Here is my situation. My iPad2 is constantly crashing. Whenever I use an app it runs for about 30 seconds and then the screen blinks black and I go back to my my home screen. At first I erased all the data and settings and tried to restore my backup from icloud. When I did this, it started crashing again right away. Then I erased all the data and reset it to run as a new ipad. In doing this, I redownloaded all my apps and everything is working fine. However, I have about a years worth of data in NoteShelf (note taking app) that is on icloud but that I cannot access. How can I just restore the data from that one app?

    Welcome to the Apple Community.
    Unfortunately you cannot selectively restore from a backup, it's either all or nothing.

  • I lost my iPhone 4S. Is it possible to restore the data from the 4S-Backup to my old 3S?S

    Hello,
    I lost my iPhone 4S. Is it possible to restore the data from the 4S-Backup to my old 3S? How can I do it?
    Thank you very much.
    :-) Michael

    Thank you very much for this information.
    I have the newest version of iOS 5.1.1 on my 3S. But I get the data from the last backup of my 3S. The programms are at the same level like the 4S.
    Is it possible to get the data from Time Machine?

  • My phone is water damaged and i bought new iphone 5S can i restored the data from my previous phone cloud backup to the new one

    my phone is dead due to water damaged and i bought new iphone 5S. can i restore the data from my previous phone cloud backup to the new one?

    how? i can see the backup from the phone cloud setting but there is nothing to click to restored. the one ive got now is since last year

  • The Apple  store reinstalled completly the OS this morning on my Mac , I have now to restore the data from  the time machine . I have done it but its going on for already 2 hours and it continues ; Shall I wait ? and how long ,?

    Question : The Apple  store reinstalled completly the OS this morning on my Mac , I have now to restore the data from  the time machine . I have done it but its going on for already 2 hours and it continues ; Shall I wait ? and how long ,?

    Let it alone. No one can tell how long it will take as that is a function of your data.
    Barry

  • How to export the data from table to excel sheet

    hi experts i have some problem am trying to export the data fro table to Excel sheet  in the view controller i have created one button wit public void onActionCLEAR(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCLEAR(ServerEvent)
       //wdContext.nodeBapi_Salesorder_Getlist_Input().
       //wdContext.nodeBapi_Salesorder_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionExporToExcel(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionExporToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExporToExcel(ServerEvent)
         try{
         FileOutputStream fos=new FileOutputStream("Test.xls");
          PrintStream ps=new PrintStream(fos);
          ps.println("<html><body><table border=1>");
          int size=wdContext.nodeBapi_Salesorder_Getlist_Input().size();
           Iterator attributes=wdContext.getNodeInfo().iterateAttributes();
           ps.println("<tr>");
           while(attributes.hasNext()){
            ps.println("<th>");
            DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
            ps.println(attrName.getName());
            ps.println("</th>");
           ps.println("</tr>");
          for(int i=0; i<wdContext.nodeBapi_Salesorder_Getlist_Input().size();i++)
            attributes=wdContext.getNodeInfo().iterateAttributes();
            ps.println("<tr>");
            IWDNodeElement ele=wdContext.getElementAt(i);
            while(attributes.hasNext()){
              ps.println("<td>");
              DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
              ps.println(""+ele.getAttributeAsText(attrName.getName()));
              ps.println("</td>");
            ps.println("</tr>");
           ps.println("</table></body></html>");
           ps.flush();
           ps.close();
           fos.close();
          catch(Exception e){
           wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
          finally{
         //return("Test.xls")  ;
        //@@end
      }h action and i have return the code
    its running sucessfully but am not able to perform the action plz help me

    Hi,
    You shouldn't use DataAttributeInfo as it is an internal object, if I'm correct.
    Use IWDAttributeInfo instead of DataAttributeInfo and it should work
    (See also API doc of IWDNodeInfo.iterateAttributes() at http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html#iterateAttributes())
    Cheers,
    Robin

  • Can a Rejection in an Approval Step roll back the data from  table

    Hi All
    We are using the BPC 7.5 MS  Version SP 4 for Quantity & Sales Planning.
    The main drive dimenion is the Material Dimenion whiich is having almost 65000 member id's and increasing.
    I have a situation where the a High Level Planner Input some quantity and it allocated down at  Material Level.
    When the Surbodinate Planner under the High Level Planner looking at the allocated value, he has the option to change the quantity.
    But after he make the changes to quantity and send the data to the data base, the High Level Planner can accept the Change or Reject the change.
    If the High Level Planner Reject the change, make by  the Subordinate Planner, the Data will Roll Back to its original value, meaning the Data Submitted by Subordinate Planner will be deleted from the table and the earlier Value from the High Level Planner will show.
    Is this kind of facility available in BPC 7.5 MS Version of Rolling Back the Data already comiited to the data base.
    Looking forward to hear from you all on the same.
    Regards
    Krish

    One idea will be that you have to insert the users like dimension into BPC. This will be probably the way how you have to design your application.
    In this way probably you will be able to simulate this behaviour.
    Any way I will come back to your request.
    Why the roll back it wil help?
    May be the reject is just for planning of one material why do we have to roll back everything planned for other materials?
    Other idea for implementation is related to what means the approval and reject. Are we speaking about work status or are we speaking about another type of approval.
    It is not a simple discussion. We have to speak about detailed reguirements and function by that it can be easy achieved this behavour requested.
    Regards
    Sorin Radulescu

  • Unable to get the data from table controller

    Dear All,
    I am facing the following problem in BSP tableview,
    I am having tableview on page as below
    <htmlb:tableView id              = "reportsTable2"
                           headerVisible   = "true"
                           headerText      = "Pending PANs:"
                           footerVisible   = "true"
                           design          = "standard"
                           visibleRowCount = "20"
                           width           = "100%"
                           fillUpEmptyRows = "false"
                           columnWrapping  = "false"
                           columnWidth     = "200"
                           sort            = "server"
                           keyColumn       = "panid"
                           onRowSelection  = "alternate()"
                           selectionMode   = "SingleSelect"
                           iterator        = "<%= tv_itr %>"
                           table           = "<%=IT_DATE_RANGE_PAN %>" >
          </htmlb:tableView>
    I want  collect the table view data in DO_REQUEST method, when i press the sort option on any column in table.
    i used the code in DO_request,
    if lv_button_id NE '0'.
          tv ?= cl_htmlb_manager=>get_data(
                 request =   runtime->server->request
                 name    =  'tableview'
                 id      =  'reportsTable2' ).
          tv_data = tv->data .
    but , I found no table content  in tv_table.
    even i tried with export, import .. normally we will dod in ABAP.   not wotking.
    export IT_DATE_RANGE_PAN2 from IT_DATE_RANGE_PAN to memory id memid1.
    import IT_DATE_RANGE_PAN2 to IT_DATE_RANGE_PAN from memory id memid1.
    Can any body help me to solve the above issue.
    Regards,
    Kishan

    Hi,
    Refer your earlier forum...
    how to collet data from tableview in MVC
    Thnx
    suriya

  • How do I restore the data from my time capsule to the new mac book pro

    How do I restore dat from time capsule to mynew macbook pro?

    Take a look at Migration Assistant, in the /Applications/Utilities folder.  You can use a Time Machine backup to restore your data files.

  • Why can't I restore the data from time machine?

    I have backup all my data on time machine, and i'm pretty sure while i checked the file of those backup, those older data should be stored properly. But while i enter time machine, trying to find the date i wanna restore but i can't. only left few latest dates to choose. Anyone encounter the same issue? Anyone can help?

    Section E in the first article.
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • Can you restore the data from an iPhone 6 if it has water damage?

    i want to know if i can get all the data that was on my iPhone 6 that has water damage.

    No way to tell until you try. If the water damage was severe enough
    to prevent the iPhone from starting up, then the answer is effectively no
    (see next paragraph).
    Companies specializing in data recovery may - emphasis on may - be
    able to recover some data. Attempts are very very expensive and there are
    no guarantees. Google/Bing/Yahoo/etc should assist in locating such companies.
    Have you failed to backup your iPhone or sync it to iCloud?

  • Pls let me know how to fetch the data from tables bdcp or bdcps

    Hi guru's!!!!
    I want to post the changed master data to the legacy.
    I am npt using IDOC. I want to go ahead by using the change doc. I want to know how we can filer the change doc. data for my equirement. & also how to send the data
    transaction wise. I am using the FMs "change_pointers_read.
    it is very urgent..
    Thanks in advance!!!!!

    Hi,
    1. You will have to activate the change pointers for the master data you are looking for.
    2. You can do the configuration so that whenever master data is changed, a IDOC is triggered for that master data.
    3. You can configure the IDOC's to be transmitted to your legacy system in the form of files or to your middleware system.
    <b>You don't have to read the CHANGE POINTERS yourself.</b>
    Regards,
    Ravi
    Note : Please mark all the helpful answers
    Message was edited by: Ravikumar Allampallam

  • I am restoring the data from my itunes account to a replacement ipod touch. After all is finished in my laptop through itunes the ipod stays on the same page and does not let me finish the process, wht shoul i do?

    I got a replacement ipod and did the restore data through itunes with its sync in my laptop, however, after itunes process is finished the ipod does not let me choose to continue or to finish the process, what should I do?,

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Deleted two suspect apps but data was still in iCloud.  Do I always have to delete data from iCloud after deleting the app?

    I downloaded more than ten invoicing apps from the App Store yesterday to check them out for ease of use.  I ended with five on my iPad to consider and entered trial info on each.  This morning I noticed I had duplicate headers in my calendar for major holidays.  I tried to delete one, but I could not.  Then two emails were sent in my name but with a strangely long and oddly foreign email address, which were invitations to come to Easter at my house.  I share my iPad with my husband and they were sent to his email account. in my name.  I do not know if it went out to all my contacts!!  Yikes!!  I deleted all the invoicing apps, but found that it did not delete info in iCloud for two of them, which I then deleted.  Why were they still in iCloud after I deleted the apps?  How do I make sure the virus/malware is gone from my iPad?  Is my calendar infected?  I thought all apps in App Store were vetted and safe!  I am worried because I want to set up my new home business electronically!

    Apparently you can't delete anything from the icloud and the people at Apple are not helping and they give you no support to this question.  It's all over the message boards.  Literally, thousands of people asking this exact same question with Apple remaining mute on the subject. 

Maybe you are looking for

  • This operation could not be completed as there is no video - capturing PAL

    Ok, I tried all the suggestions I've seen here. I have a Sony FX-1000 and I'm trying to capture a PAL mini-DV tape (which is easily read and played on this camcorder) using Final Cut Pro - latest version. The connection is iLink / Firewire 800 and ha

  • HP LaserJet Pro 200 Color MFP M276nw: cannot install on Windows XP Profession​al 64-bit

    Hi all, I am trying to install (via USB) the printing driver for my HP LaserJet Pro 200 Color MFP M276nw printer, but my operating system is Windows XP Professional 64-bit, Service Pack 2. The installer stops with an error saying that the system is n

  • Mapping External BI Locations

    Hi All, I have an issue an implementing the "Exporting the Table data to Excel." My VC version is 7.0 Portal version NW 2004s. By refering the following link, i have implemented Export To Excell functionality in VC. https://wiki.sdn.sap.com/wiki/disp

  • Colors in Lightroom & Photoshop CS5 don't match the files in Windows

    I recently sent a file to my regular printer and the photos came back flat and somewhat gray.  When I view the photos in Photoshop and Lightroom, the photo looks warm and colorful.  When I go to Windows explorer and open the .jpg file in a Windows pr

  • Clone stamp tool disables keyboard

    I'm working on an iMac, OSX (10.7.4) with CS5.1. Ever since I uploaded my new Photoshop program months ago, it disables the alphanumeric keys on my key pad when I use the clone stamp tool. I have to restart my computer in order for my keyboard to wor