Table entries deleted in Customized table.

Respected Guru's
table entries in a customized table were deleted in production system, no transports pertaining it was found.
Table entries were updated using bapi.
Please help me to know how the table entries were deleted.
Daya.
Edited by: Dayananadan Anandan on Nov 12, 2009 11:35 AM

Hi Johnson,
you might have to restore the DB Backup for the table to gt back the data....
Furthermore, if you want to track how the entried were deleted then there are 2 ways to go about it:
If the Deletion of the records was through an application (FM,Program call) then there should be Chande Documents available for them and you can search them by hitting tables CDHDR and CDPOS...
If the Deletion of the records was done physically the you can try looking into the tables UASE16N_CD_KEY and UASE16N_CD_DATA (deletion from transaction UASE16N) or tables SE16N_CD_KEY and SE16N_CD_DATA(Deletion from SE16). This will give change pointer documents if the records were deleted using these transactions...
Another option might be that somebody has used the Database utility and selected the option Delete Data. In this case you can have a look at the object log....
Hope this helps....
Regards,
Sitakant.

Similar Messages

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • Archiving Object - Entry missing in Customizing table for object Z*********

    Hello friends,
    We have created a archiving object in transaction AOBJ. However when i enter this object in SARA, we get this error message.
    "Entry missing in Customizing table for object Z******* "
    I have matched my object with few other archiving objects and things looks similar.
    Have you faced this kind of problem..
    thanks
    ashish

    Hi,
    I checked and i can see entry for ZSCS_TRAFO object in AOBJ.
    But when i enter ZSCS_TRAFO, i get this error :
    Entry missing in Customizing table for object ZSCS_TRAFO
    Message no. BA057
    Diagnosis
    A function cannot be executed due to a missing table entry.
    Procedure
    Please create an entry for the archive object ZSCS_TRAFO with the AOBJ transaction.
    However, a few other Z objects works well.
    thanks
    ashish

  • Add Table maintenance program for custom table to an existing func group

    Hi Guys,
    Can I add Table maintenance program for custom table to an existing function group or I need to create a new
    function group for each custom table.
    Thanks,
    mini

    You can add to an existing function group, there's nothing technically to stop you doing this.  However, consider that this is creating generated function modules in this function group and you would be wise to avoid using a function group containing manually created modules.
    I personally always create a new function group, using the name of the table as the name of the function group.
    Regards,
    Nick

  • How to fetch the Table Control data to Customer Table(Z-Table) ?

    How to fetch the Table Control data to Customer Table(Z-Table) ?

    Hi Krishna,
    Check this sample programs
    http://www.planetsap.com/online_pgm_main_page.htm
    http://sap.niraj.tripod.com/id29.html
    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
    Have a look at below links. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
    Thanks,
    Reward If helpful.

  • How to cpature hard deletes in custom table?

    Hello Team,
    We have custom table in SAP attached to the application tcode.
    As per business requirement, user can delete few items in transacation( hard deletes).
    We are planning to delete these records from custom table if user delete them in Tcode. However the we need track all of these deleted records.
    Since the record physically deleted from this table, please let me know how to capture the deleted record.
    I heard about CDPOS and CDHDR not sure this table has deleted records. and also DBTABLOG as well.
    What is main diffrence between CDPOS/CDHDR with DBTABLOG interms tracking these deleted records. Our basis team recommending not use DBTABLOG table, since its huge table and its hard for them to archvie.
    Like to listen expert advices.
    Thanks
    Angelo

    Rob,
    Do you want me write Z program to read hard deletes from DBTABLOG and update another Ztable that stores only delted records/
    Pls advice,
    Thanks
    Angelo

  • Need help for record deletion from custom table

    Hi friends
    I have to write a custom program which will be generic to delete any table record with date field.
    This program needs to be generic (should be able to delete records from any custom table) in nature with selection screen parameters as:
    Table Name and Number of Days prior to which records are deleted, both mandatory.
    Program Flow:
    1.     From number of days calculate date before which records are deleted, ( current date u2013 no. of days = past date).
    2.     Custom table have date field, delete records prior to that date.
    3.     Program may be scheduled for background job, put default values for both fields. No. of days should not be less than 60.
    4.     Classical Report output with number of records deleted.
    My query is how will I know the name of the Date field so that I can write a DELETE query.
    If I use 'DDIF_FIELDINFO_GET' it gives me all field names but how to filter out?
    with regards
    samikhya

    Hi
    I have added  field on the selection screen as p_fieldname and got the F4 help for it , so that the user will get the field name run time as per the table name.
    Now I am facing problem while writing the DELETE query.
    I wrote like
    DELETE (fp_tab)
    where (fp_fieldname) LE date
    It is not working. I also tried with taking a string to concatenate fp_fieldname, LE and date to l_string
    when I write like this:
    DELETE (fp_tab)
    where (l_string) , sy-subrc is getting 4 and no records are getting deleted.
    I do not understand where the dynamic Delete is failing??
    with reagards
    Samikhya

  • Problem in table entry deletion

    Hi
    i have deleted table entry in VBRK and vbrp
    is there any facility to get back the deleted entry .
    pls let me know

    Hi
    when ever your doing some changes to existing one don't delete directly, you need to make new vertion or copy that into another and made changes to that one
    now u don't get that fields any where
    you need to append that field to that table by creating a structure for that field
    reward if usefull

  • 2 entries deleted in PROJ table

    Hi Gurus,
    2 enteries in the PROJ table got deleted (not sure how it got deleted) and it caused failure in BI process chain during infopackage loading for WBS hierarchies because of inconsistency. The childrens entries exist in PRPS table and they still tied to the Proj No which already deleted in PROJ.
    Is there any process to retrieve those entries in PROJ to resolve the issue??
    And also any way to track how those entries in PROJ were deleted??'
    Please advise.

    Hi Michelle,
    PROJ table has a change document object - PROJ (transaction SCDO). Change documents record changes (insert, update and deletion) to database entries against the change document object.
    Check tables CDHDR (header) and CDPOS (item) as to whether you can find your PSP element here with change indicator = D (deletion).
    If not - then it's possible someone has written a DELETE SQL command in a Z program. Hence ask your developer to do a WHERE-USED for PROJ table in Z* programs/ classes to determine whether a DELETE SQL command has been coded.
    The DELETE SQL is more likely since it appears ONLY the header table entries have been deleted.
    Cheers,
    Aditya

  • Dump coming when entering entries in the custom table

    Hi all,
    i created one field in custom table.
    After that i transport the request to other client.
    I am running LSMW to upload the data.
    But now i am entering manually because only one field is there.
    when i am going to create entries it is going to dump.
    Runtime Errors         DYNPRO_NOT_FOUND
    how can i solve this one.
    Regards
    Jai

    Dear Jayanth,
                           First Goto SE14 and do " Activate and Adjust Database Table" , then it should work fine.....
    if still it doesn't work i guess there is some problem with "Table Maintainance Generator"., remove the current Table maintainance generator and re-generate........
    Best Regards.,
    Shravanthi

  • Error when deleting a customer table

    Hi guys, im deleting a Z table with a loop, and the following error is displayed after 10 minutes.
    the log reads as follow.
    1. ORACLE storage space request failed.                                
        (ORACLE error 1547)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    One segment (possibly more) is stored in one tablespace.               
    The storage space available for a tablespace must be explicitly        
    preallocated by the database adminstrator. If, in course of time, the  
    volume of data in this tablespace increases considerably, the storage  
    space may be filled up (in real terms or through fragmentation).       
    2. Maximum number of extents reached for rollback segment.             
        (ORACLE error 1556)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    For each segment, the ORACLE instance can manage only a certain number 
    of extents. The maximum number for this                                
    segment has been reached.                 
    HERE THE CODE:
    DO 48 TIMES. " HASTA 4 años.
    DELETE FROM (p_ztable)
    WHERE perio = periodo.
    IF mes = '01' OR mes = '1'.
    mes = 12.
    anio = anio - 1.
    ELSE.
    mes = mes - 1.
    ENDIF.
    CONCATENATE ANIO '0' MES INTO PERIODO.
    ENDDO.
    any ideas?

    Looks like the temporary memory pages are overflowed.
    System hold the data in the temporary memory to enable ROLLBACK work.
    So, we need to either do the COMMIT WORK or ROLLBACK WORK after cretain number of data.
    Or, Reduce the number of loops and process smaller number of data at a time (before next COMMIT or ROLLBACK work).
    Regards,
    Naimesh Patel

  • How to update standard table based on the custom table

    Hi,
    I have requirement , I have custom table whatever changes done to the custom table must be updated in the standard table
    i have tried the table maintenance events but unable to handle delimit , what is the base solution for this.
    1) create
    2) change
    3) delimit
    4) delete
    6)copy

    the table im updating is t710
    the custom table is same as the standard table except for one field . whatever the user maintains the values in custom table except for the one field everything should update back to the standard table. Im able to update when we create delele but the problem is delimition. when im delimiting the record in custom table its just changing the startdate and it is not actually delimiting the record itself .I want both records the latest one and previous one and should be update back into the standard table same as the custom table

  • How to find the Table from which a Custom table is created.

    Hi Gurus,
    I have a custom table in SAP and want to figure how that has been created. How can I do that?
    Regards
    Prashant

    Hello Prashant,
    what do you mean by "how"?
    When you say custom table do you mean "Customization table" or a "Customer table" (in namespace Z... or Y...)
    Anyway, you can access SE11 transaction, view the table and then check its attributes.

  • Internal table value checking in custom table using SQL...

    I have a table which has following fields:
    X1 TABLE (ZCONfig custom table)     
    LIFNR  land1                   
    123      br                    
    234      br                     
    456      br                     
    567      Gr
    and
    X2 TABLE: (Internal table)
    LIFNR:
    234
    567
    123
    Now I want to see if all the field values of LIFNR in internal table X2 (X2-LIFNR) are present in X1 or not.
    Raise error if it is not.
    How do I do this using SQL ? I guess I have to use read statement.
    Please help. Points will be awarded.
    Thanks.
    Regards

    Hi Tushar,
    1 Ya u are right , we need to use READ statement.
    2. Populate X1 (all records)
       in an internal table.
    3. Then Loop at X2
       and compare with X1.
      ( u can also keep an extra field in X2
        of type c, so that if a record is found,
       mark it as X )
    4. try this code (just copy paste)
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
           bukrs LIKE t001-bukrs,
           present TYPE c,
           END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = 'X000'.
    APPEND itab.
    SELECT * FROM t001 INTO TABLE t001.
    LOOP AT itab.
      READ TABLE t001 with key bukrs = itab-bukrs.
      IF sy-subrc = 0.
        itab-present = 'X'.
        MODIFY itab.
      ENDIF.
    ENDLOOP.
    BREAK-POINT.
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • Function module to find number of table entries in Data base table

    Hi All
       I have the urgent requirement to find out the number of table entries in a table  using the function Module.
    if u know the Function Module name please let me know
    Thanks & Regards
    Rajmohan.G

    You can calculate the total number of records like this.
    TABLES : ztable.
    DATA cnt type I.
    Select count( * ) into cnt FROM ztable.
    Regards,
    Santosh

Maybe you are looking for

  • "app is damaged and can't be opened" message

    I have a problem with a Java application I made using Jar Bundler and then a disk image using Disk Utility. (I did this when I was still using Lion on this computer.)  The dmg file was uploaded to a server for students to download.   Everything works

  • Problems in FTPS file adapter

    Hi, I have configured a sender file adapter to use FTPS.When I lookinto the adapter monitor the corresponding communication channel has a red symbol saying 'Error: Error connecting to ftp server 'dev-db1': FTPEx: Please login with USER and PASS'. I h

  • Web link for id plate for flash web galleries

    I've created a number of html galleries, where you have the ability to make your id plate a link- very useful as this can link back to a main page with links to other galleries. This is pretty straightforward for HTML: My problem, however, is that th

  • Overlapping Images Via A Link

    It's safe to say that I'm pretty new to Dreamweaver... I know a little bit, just a heads-up. I know more Flash than Dreamweaver. I've got two frames, frame one, frame two. In frame one are the text links... RedDots, BlueDots, GreenStars, YellowStars.

  • I have updated Adobe CC and LightroomCC 2015, I have installed from before Adobe CC membership LR5 , how do I switch to LR CC 2015

    I have updated Adobe CC and LightroomCC 2015, I have installed from before Adobe CC membership LR5 , how do I switch to LR CC 2015