SAP Netweaver 7.02 Delete Database Table log

Hi,
I'm having a problem with a database table(transparent table) that was deleted on an SAP Netweaver 7.02 system. Are there any logs where I can see who deleted the table?
Thanks,
Sergiu

There is a header table in SAP CDHDR, may be you can find something there or if table loggin is enabled then perhaps you can get something on SCU3
Regards,
Subhash

Similar Messages

  • Delete database table with references

    Hi,
    I want to delete a custom database table which is being used in a include. Since I can not get the include, so I want to delete this table anyways. Is there any ways to do this?
    Regards,
    Jeetu

    Dear Jitu,
    use statement
    DELETE Ztable where field = condition.
    Hope this will help you to resolve your query. feel free to ask any help.
    Regards,
    Vijay

  • How do I check the delete database table is successful?

    After delete all the records from the database table, how do I check it is successful?  When do I need to 'commit'?  (after delete table or after insert new data?)
    Thanks,
    Helen

    Hi,
      Check sy-subrc = 0..
      DELETE ZTABLE..OR INSERT ZTABLE...
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'DATABASE DELETE FAILED'.
      ELSE.
        COMMIT WORK...
      ENDIF.
    Thanks,
    Naren

  • OM log turned on - should we remove database table log?

    Hi
    We have turned on the OM-logging via T77CDOC_CUST.  This is done for object type O and S for infotypes 1000 and 1001.
    My question now is:
    We plan to turn off "log data changes" for HRP1000 and HRP1001 (from SE11->Technical settings).
    Can anyone comment on any side-effects if we turn this log off?
    Best regards
    Kirsten

    You configure the PD infotype change log in table T77CDOC_CUST and display it with program RHCDOC_DISPLAY. The PD audit log can track changes to infotypes 1000, 1001, and 1002. You may want to track changes to PD infotypes simply to ensure that everyone follows company guidelines, or you may need to implement this feature as part of a corporate governance policy. It also works in mySAP ERP Central Component
    The creation of change documents is only activated for the combination of plan version, object type, and infotype/subtype you enter in this table. Only entries for which X is entered in the Active field are
    considered.
    if you activate the creation of change documents for all Personnel Planning infotypes, for example, the system performance deteriorates. Therefore, you should only activate the creation of change documents for the combination of plan version, object type, and infotype/subtype for which you require this function.

  • How to retrieve deleted entries of a database table

    Hi,
    I accedentally deleted database table from se14.
    how to retreive the table of entries.
    regards ,
    Rajesh

    you did not assigned any point to any one i guess... its not how we thanks to an answer on sdn community. (whether it had helped u solve ur problem or a concrete answer with not possible)
    But i am pretty much sure you can restore from ur latest backup and you could get your table along with data. in case u are not still gatting it. then probably you need to restore DB strcuture first (i know in AIX OS you can make a copy of DB structure using MKSYS command ) which will create structure of database and then you can restore the same backup which we are talking about using restore procedure.
    Mandeep

  • New License Key for SAP NetWeaver 2004S (SID = NSP) is wrong!

    Hello,
    serval times i tried to get a new license key from the sap-site "https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm", but every key i got was wrong.
    My  System-ID is NSP and my Software product/release is SAP NETWEAVER 04. The Database is             MaxDB (former SAPDB).
    What should i do to get the right key?
    Heiko Heinrich

    Hi
    Log on to OSS with ur  SUSER and Password
    then go to
    Keys & Request tad
    then select
    Request new license key
    then
    select ur proper installation no
    Then select  new system Button
    and fill all detail of ur system from OS to DB release
    System ID *      
    System number  
    System name  
    System type *   
    Product *   
    Product version *   
    Technical usage   
    Database *   
    Operating system *   
    Planned productive date 
    and SAP will sent u license  text file
    hope that will u help out

  • To find out user who has created or deleted entries in a database table

    Hi,
    I have a scenario where i have many entries for t001w table and somehow a new plant is created and existing plant is deleted , Now I need to know
    how to find out which user on what date has done these changes to the database table.
    Thanks
    Srikanth

    Hi,
    Go to the transcation  SCU3   and click on evaluate the changes log click yes  and then
    evalute log then enter ur table name ,don't forget to check the radio button evaluate for "TABLES" and then execute
    you will find details like this
    arameters for Analysis:
            System ID:            D60
            SAP Release:          700
            Client:               730
            Date :                28.04.2010
            Time:                 16:09:09
            User:                 DEVELOPER01
    elected Period:
            From (date/time)      22.04.2010 00:00:00
            To (date/time)        28.04.2010 16:07:51
    o logs found for the selected period
    o authorization group containing the following tables:
    zFEED_QUES_MASTR

  • How to delete data from single field in a database table?

    Hi guys,
         Plz suggest me How to delete data from single field in a database table?
    thnks,
    pavan

    hi
    in addition to abv details..chk this:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3aef358411d1829f0000e829fbfe/content.htm
    http://dev.mysql.com/doc/maxdb/en/34/ee7fbd293911d3a97d00a0c9449261/content.htm
    regards,
    madhu

  • Dynamic record deletion from database table

    Hi,
    I need to delete selected records from database table(dynamic names). Table names are being passed from main program with some of their field names. The record to be deleted from the database table is being decided based on the fields passed for the table and their contains passed from the main program.
    It is not possible to write dynamic where clause for DELETE statement directly.
    So, I created a dynamic internal table and i am trying to fetch all records using SELECT statement(for which we can write dynamic where condition, something like...SELECT...WHERE (itab).  ) which need to be deleted in the iternal table.
    Piece of code :
              CONCATENATE c_im v_tablefield1 INTO v_imprtfield1.
              CONCATENATE v_tablefield1 c_in v_imprtfield1
                       into s_condition separated by space.
              APPEND s_condition TO t_condition.
              PERFORM GET_DYNAMIC_ITAB USING s_flds_agtab-tabname
                                    changing t_itab.
              ASSIGN t_itab->* TO <itab>.
    *Select the data (to be deleted) from the database table
               SELECT * FROM (s_flds_agtab-tabname) INTO TABLE <itab>
                 WHERE (t_condition).
    *Delete the records from the table
               IF SY-SUBRC = 0.
                 DELETE (s_flds_agtab-tabname) FROM TABLE <itab>.
               ENDIF.
    Here t_condition is of standard table of WHERETXT.
    t_condition at the run time before giving dump was:
    SPART IN IM_SPART
    AND KUNNR IN IM_KUNNR
    Here IM_SPART is renge type of SPART and IM_KUNNR is renge of KUNNR.
    I am getting a DUMP:
    The WHERE condition has an unexpected format.
    Error analysis                                                                               
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
    statement containing a WHERE condition of the form WHERE (itab) or
    WHERE ... AND (itab). The part of the WHERE condition specified at
    runtime in the internal table itab contains the operator         
             IN (v1, ..., vn)                                        
    in incomplete form.                                              
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be  
    able to find a solution in the SAP note system.                  
    If you have access to the note system yourself, use the following
    search criteria:                                                 
    "SAPSQL_IN_ILLEGAL_LIST"                               
    "SAPLZSD_TAB_REFRESH " or "LZSD_TAB_REFRESHU01 "       
    "Z_SD_REFRESH_AGTABLES"                                
    If you cannot solve the problem yourself, please send the
    following documents to SAP:                             
    I would like to know whether "IN" operator is allowed in (itab) of WHERE clause. While testing I changed the "IN" to "=" specifying a suitable value there. It worked. So please let me know if i can give "IN" operator using renge table in the dynamic where clause.
    Thanking you,
    Surya

    Hi again,  so if you can not use the IN in a dynamic where clause you might be forced to dynamically build the entire select statement,  Here is a sample program which may give you some ideas, notice that we are writing the select statement code, putting it in another program and generating the subroutine at runtime, then call this routine.  I'm sure that this will help you see what you need to do.
    report zrich_0003 .
    tables: kna1.
    types: t_source(72).
    data: routine(32) value 'DYNAMIC_SELECT',
                 program(8),
                 message(128),
                 line type i.
    data: isource type table of t_source,
                xsource type t_source.
    ranges:
            r_kunnr for kna1-kunnr.
    data: ikna1 type table of kna1.
    data: xkna1 type kna1.
    r_kunnr-sign = 'I'.
    r_kunnr-option = 'EQ'.
    r_kunnr-low    = '0001000500'.
    append r_kunnr.
    xsource = 'REPORT ZTEMP.'.
    insert xsource  into isource index 1.
    xsource = 'FORM dynamic_select'.
    insert xsource  into isource index 2.
    xsource = 'Tables r_kunnr ikna1.'.
    append xsource to isource.
    xsource = 'select * into table ikna1 from kna1'.
    append xsource to isource.
    xsource = 'where kunnr in r_kunnr.'.
    append xsource to isource.
    xsource = 'ENDFORM.'.
    append xsource to isource.
    generate subroutine pool isource name program
                             message message
                             line line.
    if sy-subrc = 0.
      perform (routine) in program (program) tables r_kunnr
                                                    ikna1.
    else.
      write:/ message.
    endif.
    loop at ikna1 into xkna1.
      write:/ xkna1-kunnr.
    endloop.
    Regards,
    Rich Heilman

  • Populating SAP Database table using JDBC adapter

    Hi Folks,
        I have a requirement to populate a SAP database table say ZTABLE using XI. The Model is the table has to be populated through a file which will be processed by SAP XI. Basically this is a File to JDBC scenario. The database used is ORACLE. Kindly provide me some idea to go ahead.

    I tried to place the MS access table in the shared folder of the Application server system but still it seems the table is not being populated.
    did you check the log in your receiver channel? (/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn)
    The requirement is to update the tables directly as those are the custom tables.
    i would still say that do not update SAP tables directly from XI/ PI.....this is not a standard architecture/ solution....

  • Delete restrict for ABAP Dictionary database table

    Hi,
    I defined two database tables in ABAP dictionary, one with master data, and one with records referencing the master data.
    I also defined a foreign key relationship in the second table, so that new entries in the second table are checked against the master data table.
    In addition to this behaviour, I also want the Dicitionary to perform a check the other way round. In other words, if I try to delete a record in the master data table, this should not be possible if there are records in the second table referencing this record. Thats how foreign key relationships work in Oracle databases.
    Is there a way to force this behaviour for ABAP Dictionary tables, too? Or is it possible to make the table maintenance view perform this check?
    Thanks for your help!
    Kind regards,
    Tobias

    Hello Tobias,
    I can delete records in the master table which have dependent entries in the second table without an error or a warning.
    How are you deleting the entries, via SM30?
    If yes, you can use the [Event 03: Before Deleting the Display Data|http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f14a9d111d1a5690000e82deaaa/content.htm]. In this TMG event you can check if the entry can be deleted at all!
    If you're using Open SQL statements to delete the records, i don't think DB layer implicitly checks the dependency. You can always put an explicit check though
    Btw, out-of-curiosity, is this a custom or standard table?
    BR,
    Suhas

  • XMII query against a SAP NetWeaver database

    Hi all,
    I have set up a data server for a SAP NetWeaver MSSQL database (DX1 on SAPSRV03) for SAP Web AS 6.40. The status of this data source shows OK. I try to create a new query template. In the SQL Query details, I can see the list of the tables and the list of the columns from a selected table. However, the test result always shows an error: “A SQL Error has occurred on query, [SAPSRV03\DX1]Invalid object name 'TMP_PRD_LINES'” It does not work for any table from that database, so it seems that the error has nothing to do with the table name.
    If I change the database name of that data server to something else, like pubs or Northwind, on the same SQL server, the query works well with any table.
    I wonder whether there is any special parameters that I need to set up so that I can query against a NetWeaver database.
    I’ll appreciate any advice on this problem!
    Best regards,
    Hart

    Hart,
    We are able to query a Netweaver DB, but we needed to include a schema.
    Your query to the TMP_PRD_LINES table should look like the following:
    Select * from SAPDX1DB.TMP_PRD_LINES
    Working with you through support I know that this worked for you - I am just wanted to post the answer for everyone to see.
    Thanks,                                                                
    Joe

  • Delete from database Table

    Hi,
    To delete data from database table using internal table I am using following statement.
    DELETE dbtab       FROM TABLE itab.
    Itab is a sorted table.Just wondering if table type matters while deleting database entries using internal table.which is efficient table type for deleting records from database table?
    Regards
    Nilesh

    Hi Nilesh
    The row type of the internal table must be a data object with at least the same length and alignment as the key structure of the database table. The key is read according to the structure of the table line, and not that of the row type. It is a good idea to define the row type with reference to the structure of the database table.
    From SAP Help
    DATA: BEGIN OF WA,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    END OF WA,
    ITAB LIKE HASHED TABLE OF WA
    WITH UNIQUE KEY CARRID CONNID.
    WA-CARRID = 'UA'. WA-CONNID = '0011'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'LH'. WA-CONNID = '1245'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'AA'. WA-CONNID = '4574'.
    INSERT WA INTO TABLE ITAB.
    DELETE SPFLI FROM TABLE ITAB.
    Besides, it is so technical what algorithm is run to delete records from the DB table when an internal table is given. If you want you can have a quick test using GET TIME. However, it seems logical that if your internal table is sorted with respect to any index, especially the primary index, of the DB table this may increase performance.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Deletion of  a particular record  from database table

    hai friends,
         i want to <b>delete</b> (or)   <b>insert</b> particular record from  predefined sap table... that is with out module pool programming...  can i delete or insert a record to or from  the table..
         thanks in advance
    @jay

    hi,
    ucan do it without module pool programming in your normal report program.
    To insert a line into an index table, use the statement:
    INSERT <line> INTO <itab> [INDEX <idx>].
    <line> is either a work area that is convertible to the line type, or the expression INITIAL LINE. If you use <wa>, the system adds a new line to the internal table <itab> and fills it with the contents of the work area. INITIAL LINE inserts a blank line containing the correct initial value for each field of the structure.
    To select the lines that you want to delete using a condition, use the following:
    DELETE FROM <target> WHERE <cond> .
    All of the lines in the database table that satisfy the conditions in the WHERE clause are deleted. The FROM expression must occur between the keyword and the database table.
    You should take particular care when programming the WHERE clause to ensure that you do not delete the wrong lines. For example, if you specify an empty internal table in a dynamic WHERE clause, all of the lines in the table are deleted.
    If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4. SY-DBCNT contains the number of lines deleted.
    regards,
    keerthi

  • Deleting and updating records in a database table

    dear all ,
    i have created a databse table to which i have to update and delete records thru my program whixh i am unable to do so plz help me.

    Hi Sonu,
    To delete and update the records in your database table, you can create a Function Group and all the necessary function modules for it. This will a good approach as this will separate the database interface logic and the business logic. You need to use the DELETE and UPDATE ABAP keywords to delete and update the records of the database tables. Have a look at the ABAP Keyword documentation for a complete details of the usage.
    Have a look at the following link:
    DELETE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    UPDATE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    Hope this will help.
    Thanks,
    Samantak.

Maybe you are looking for

  • Non-Display of edited photos in Bridge

    I use Elements 8 and Bridge CS4 on a Mac.  After editing a photo in Elements the edited version doesn't appear in Bridge until I have Refreshed which takes 3-4 minutes each time.  A couple of times the edited photos have appeared in Bridge immediatel

  • Zigzag contours on exported still image

    Hi! I get Zigzag contours on exported still images, no matter what setting I have. The zigzag pattern is not there in the viewer (nor if I make a screen capture and save the caption). Something must be wrong. GRateful for advice. Yours fransmo Panaso

  • Farm account removal SharePoint 2013

    Hi All, I need to add a new account as farm account and remove previous farm account. Will this be possible? Thanks, sudesh withanage

  • E65 Aplication manager is not working

    I can not launch the aplication manager (it only makes like it is starting to launch, screen is for a little while changed and suddenly I am back in the menu) and also I have installed some games and when I try to delete them it is no deleting. Phone

  • Download drivers for LENOVO G460

    Hi! I need download drivers for win 7 x64 but in link to files is wrong response (sorry but my english is bad) (server response code is LOOPBACK)... Some help? Solved! Go to Solution.