Recover deleted entries from ztable

Hi
is there any best method to recover the deleted entries from ztable?

Hi Vahi,
1. Find out the exact time when the data has been deleted.        
2. Restore THE WHOLE DATABASE on any other server with MSSQL server
running on that. You should not restore the database completely,  
rather using "Point-in-time" recovery method. Appoint the time from
the p.1 minus 5 minutes as the end point of the database recovery.
Please refer to the note 193816 for more information.             
3. Now the old content of the table ZRATE is there. You can       
export the data and then import them into the produtive system.   
Afterwards you can delete the restored database, it is not needed 
anymore.                                                                               
Thanks!
Anusha

Similar Messages

  • Delete entries from the table

    Hi folks,
    I have delete program to delete entries from a custom table and has only one feld in it.
    tables: ZABC
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    delete from ZABC where KOSTL in P_KOSTL.
    Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
    what is it I am missing?
    Thanks,
    SK

    Hi,
    Try this sample code..Replace ZABC with your table..
    TABLES: ZABC.
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    START-OF-SELECTION.
    * Delete the records from the table.
    DELETE FROM ZABC where KOSTL IN P_KOSTL[ ].  " [] for the select-options.
    IF sy-subrc <> 0.
      ROLLBACK WORK.
    ELSE.
      COMMIT WORK.
    ENDIF.
    Thanks,
    Naren

  • Unable to delete entries from queue (SMQ2)

    Hi
    I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
    Your valuable time & annswer appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
       Check these threads on SMQ2. It may give some help to you:
       Queue issue
       deleting the inbound queue tc smq2
       Also check this file:
      http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
    Regards,
    Subhasha Ranjan

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • How can i recover deleted files from my mac book

    how can i recover deleted files from my mac book

    Check out software like Data Rescue 3 (and you need an external drive to recover to)

  • I need to recover deleted data from my iPhone 4S but don't have a recent backup. I thought by pressing sync on my macbook this would back up-but I was wrong. There are no backups on my macbook and the latest backup on iCloud was Jan 2012. Please help

    I need to recover deleted data from my iPhone 4S but don't have a recent backup. I thought by pressing sync on my macbook this would back up…but I was wrong. There are no backups on my macbook and the latest backup on iCloud was Jan 2012. My mum died in May and I had lots of text messages that I wanted to keep. I really want to get them back. Is there any way at all I can get that deleted data from the phone?

    Since it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer.  As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
    You can try and find 3rd party applications that might help you.  I'm sure you'll pay, however.
    Let this be a very important lesson learned.
    Best.

  • Is it possible to recover deleted files from the Microsoft Word app for iPhone? I am desperate.

    Is it possible to recover deleted files from the Microsoft Word app for iPhone? I am desperate.

    From the Microsoft Word app they say "Access Word documents from OneDrive, Dropbox, iCloud, OneDrive for Business, or SharePoint" so it sounds like you can specify where they are saved. However, my guess would be that the default will be OneDrive.
    To the OP: Have you tried logging into onedrive.live.com to see if you can see your letter there?

  • Is there a way to recover deleted mail from my iPad and recover deleted messages from my onw iPhone?

    Is there a way to recover deleted mails sent from iPad and/or recover deleted messages from my iPhone?
    A software or even open it? It is very important for me get back the messages sent on December. I did not have a back up at that time, at least that I know, but I change my iPhone and had as I got a micro chip, I could take my contacts from iTunes.
    Does it means a back up was done at the Note book I used that time or the messages are lost?
    And my mails? From my server, I can recover only from 5 last days!
    Thank you for any help!!

    Thanks for replying - no, I had not done a backup since the shots were taken and then attemped to put them in an album as I did not want to change the enviornment of the phone from when I had inadvertently delted them.   Unfortunatlely, when asked "Do you want to delete these photos from all locations," I hit yes and they were also deleted from my Photostream. 

  • Delete entries from Database table  t71inp1

    Hi,
    I want to Delete entries from Database table  t71inp1. Its a H R Table. I want to know the exact code.
    i saw the cide delete bkpf where usnam = p_name.
    Will it work the same here. Also.
    Please let me know.
    I hope to get reply from you soon.
    where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
    Please give me some inputs. I am new to H R ABAp
    Shivakumar K B
    919886920258

    hi
    You can write a program in se38.
    create a program.
    use delete from t71inp1 where<condition> command in it.

  • Recover deleted requests from DSO

    Hello BI Experts,
    We have been deleted requests from standard DSO accidentally. The data has been deleleted for 3yrs and we have been trying to recover from Reconstruction tab but could not found anything there.
    Can any body tell me how to recover recover deleted requests from DSO? I would really appreciate your great help.
    Thanks in advance,
    Regards,
    Venkat

    HI BI Experts,
    When we personalize Query language to another language in the SAP Portal, the variable selection fields are not displaying with description and they are displaying in the technical name.
    Example: Opened BI report from the SAP Portal and selected Personalized settings, from there selected Portal language as French. when I selected French language, the vaiable selection screen field names started appearing with technical field name in the French language but it should display the field description not the technical name.
    I hope you understand my question.
    End user does not understand the technical names when they have selected personal language. Can any body tell me how can the fields displays with description from the variable selection screen. I would really apprecite your help.
    Thanks,
    Venkat

  • HT4623 recovering deleted data from iphone

    How can you recover deleted data from iphone 4, my phone was compromised and data was delted pictures text messages and emails.

    If you didn't backup your photos you cannot recover them. 
    Search Google for products that might do what you wish.  This is not an Apple issue and not appropriate for this forum.

  • How to I recover deleted pictures from my iCloud account?

    How do I recover deleted pictures from my iCloud account?

    Welcome to the Apple Community.
    If they are in the camera roll you'll need to restore from a back up made before you deleted them.

  • Is there a way to recover deleted photos from your Camera Roll?

    Is there a way to recover deleted photos from your Camera Roll?

    If ou have been importing them to your computer regularly as the iphone is desgned then they will be on your computer.
    You may be able to restore from backup if they were there when you last synced.

  • Is there a way to recover deleted files from months ago?

    Is there a way to recover deleted files from months ago?

    Extremely unlikely, as they will have been over-written several times.
    Possibly a professional data rescue firm can try, but that will cost you a four-figure sum.

  • Is there a way to recover deleted pictures from Samsung Galaxy S4?

    Is there a way to recover deleted pictures from Samsung Galaxy S4? I thought I was deleting one picture and instead deleted an entire album.

    Try this:
    http://www.wondershare.com/disk-utility/android-photo-recovery.html

Maybe you are looking for

  • IPhoto doesn't work in Yosemite

    Since upgrading to 10.10 (and subsequently the new iPhoto) I haven't been able to use it because of the attached prompt I went online and downloaded and installed the upgrader but to no avail. Has anyone had this issue/found a solution? Thanks

  • My itunes program will open in windows 7, but as soon as I choose a tune, it automatically closes

    I have installed Windows 7. My itunes program appears as normal when I open it.  When I click on any song or book to play, it automatically closes down.  I have tried reinstalling itunes with no success. I am also running Norton 360.  If this continu

  • Magic GarageBand unable to "Create Project" -- Missing .caf files

    I bought the new iMac on August 7th which came preinstalled with iLife 08. The rest of garageband works fine, to my knowledge, but the Magic garageband feature does not. I can "Audition" a song and choose all the instruments just fine, but when i cli

  • Material master records

    Hi,    i tried  to initialize period for material master record and i am getting error  * follow the instruction in note 487381 before initialization* .any suggestion would be appriciated thanks cheers jothi

  • If/Than function imbeded within While Loop with mulitiple outputs

    We are a Senior Design Group who is having much troubles with LV as none of us are programers and especially unfamiliar with all that LV has to offer.  Here is what we are thinking that the program we need needs to look like but have no real clue as