Query deleted

Hi all....
One of my queries got deleted from the development system.As we dont have any restriction on authorisation on our dev sys could not able to find out who has done this.
Tried all the possible ways ......tried using slg1 tcode....checked in rsrrepdir,rezcompdir but could not able to find any related informaton
Pls let me know if any procedure is there to recover the query or else to check the query related information
Thanks in advance

Bhanu,
Recovery not possible. If available in Quality or Production try to transport to Dev.
[How to... Reverse Transport|http://sapbwneelam.blogspot.com/2007/08/how-to-reverse-transportproduction-to.html]
Srini

Similar Messages

  • Querying deleted objects container in Active Directory using JNDI

    Hi,
    I am trying to query deleted objects container using JNDI which fails with error 64.
    Has anyone seen this or knows how to query AD using binary data in JNDI.
    Seems to me there is some problem with the search base.
    search base: <GUID=18E2EA80684F11D2B9AA00C04F79F805,dc=engserver,dc=com>.
    filter: objectclass=*
    search scope: subtree
    This is the error:
    Search example failed.
    javax.naming.InvalidNameException: <GUID=18E2EA80684F11D2B9AA00C04F79F805,dc=eng
    server,dc=com>: [LDAP: error code 64 - 00000057: LdapErr: DSID-0C090563, comment
    : Error processing name, data 0, v893 ]; remaining name '<GUID=18E2EA80684F11D2B
    9AA00C04F79F805,dc=engserver,dc=com>'
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2802)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1744)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1667)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirCon
    text.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
    positeDirContext.java:328)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
    positeDirContext.java:313)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.jav
    a:245)
    at jSearch.main(jSearch.java, Compiled Code)
    Thanks,
    Chetan

    I thought I had posted one of these. How remiss of me !/**
    * deleted.java
    * 5 July 2001
    * Sample JNDI application to search for deleted objects
    * Modified December 2004 to add Win2K3 lastKnownParent
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    import com.sun.jndi.ldap.ctl.*;
    class DeletedControl implements Control {
         public byte[] getEncodedValue() {
              return new byte[] {};
         public String getID() {
              return "1.2.840.113556.1.4.417";
         public boolean isCritical() {
              return true;
    public class deleted     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls           
                   SearchControls searchCtls = new SearchControls();
                   //Specify the attributes to return
                   String returnedAtts[]={"distinguishedName","lastKnownParent"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(isDeleted=TRUE))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the results
                   int totalResults = 0;
                   //specify the Deleted control
                   Control[] rqstCtls = new Control[] {new DeletedControl()};
                   ctx.setRequestControls(rqstCtls);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        totalResults++;
                        System.out.println(totalResults + ". " + sr.getName().toString());
                        // Print out some of the attributes, catch the exception if the attributes have no values
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();System.out.println("   " + e.next().toString()));
                             catch (NullPointerException e)     {
                             System.err.println("Problem listing attributes: " + e);
                   System.out.println("Deleted objects: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
              System.err.println("Problem searching directory: " + e);
    }

  • Variants in Query - Delete

    Hi experts,
    If I delete a query, should  the variants of the query deleted?
    thanks

    Hi,
    no they are not deleted. because they are created and then stored into backend tables.
    hope this helps.
    Regards,
    Purvang

  • Af:query : Delete duplicate records from results manually

    Hi
    I have an ADF page with af:quey on a view object.  I have created a viewcriteria to choose few attributes from the view object.
    The view object is created manually using a sql query, where the query has joins to various other tables (it has outer joins too).
    On submit, due to one to many relationship in the joins, i am getting duplicate rows in the results.
    I am currently using 11.1.1.7.0 jDeveloper (We can't upgrade to upper versions due to other constraints of the project).  I thought the property 'Selected in Query = false' on the view object attribute would fix this problem (to eliminate duplicate rows).  But, i guess, 11.1.1.7.0 don't seem to be supporting this option.
    Hence, i was thinking of manually deleting the duplicates from the results of the af:query before displaying it to the user.
    Please let me know, if there is a better way to solve the problem, if not, how can i manually remove duplicates from the resultset before displaying the results.
    I created a new QueryLIstener method to delete the duplicates, by executing the view object, but it retruns all the records without applying the criteria.  May be i am doing something wrong.
    Please suggest the best way.
    Thanks
    Pradeep

    Hi Frank,
    I do have a distinct in my sql but due to 1->M joins i get duplicate rows.  I can avoid it only if i can unselect the attributes in the select.
    I like to display the attributes to the user to choose the criteria (which adds as a predicate to the sql).  But I would like to unselect the 1-M attributes from the results, so i get distinct rows as i have mentioned distinct in the sql.
    Is there a way to restrict duplicate rows ?
    Thanks
    Pradeep

  • Abap Query - Delete duplicates

    I
    I'm doing an abap query in SQ02 with LIKP and LIPS tables.
    As output I just want lines with different entries in LIPS of material.
    How can I delete the duplicates? With instruction delete ADJACENT DUPLICATES FROM XXXX COMPARING vbeln matnr, how can I identity the table?
    Thanks
    Dora

    Hello Dora,
    It is a very well known difficult task to use 'Delete Adjacent Duplicates' syntax in Infoset Query because of the fact that you are not aware of the internal table.
    Two methods to address this:
    1. Study the repeating lines and use another suitable join in the tables manually, which can eliminate the undesirable duplicates.
    2. The other one I always practiced was, Study all fields of the repeating lines. Identify at least one the field value which is not same in these duplicate lines. Suppose you have a field ABCD and values X in one and Y in other. And you have decided to have the lines with value X. Then give the following syntax in the Record Processing section of SQ02.
    CHECK TABLE-ABCD = 'X'. 
    This would remove the lines with Y.
    KJogeswaraRao

  • Logs for query deletion

    I can not seem to find a log file for deletion of queries.
    I want to be able to track who and when a query is deleted.  Any ideas? Does anybody know if this is logged?
    Cheers,
    Kevin.

    An unfortunate circumstance to be sure. Out of curiosity is there any particular reason you can't use ClamXAV rather than NAV?
    I suppose that if NAV has a log and nothing relevant is in the log, then you're at a loss to even know if NAV is responsible for the folder's mysterious disappearance. Maybe you have technically savvy cockroaches in the building that come out at night to play? An informational age version of Archie and Mehitabel?
    This experience may be an impetus to install software that keeps track of what's installed or removed from a computer. Doesn't help much now but it would be useful in the future.
    Oh, one thing comes to mind - file recovery software:
    Data Rescue II
    File Salvage
    TechTool Pro
    Message was edited by: Kappy

  • Tcode for Query deletion on Infoprovider

    Hi,
    Do we have any tcode or table where i want to delete all the query and Workbook on an infoprovider.
    Thanks
    Puneet

    Hi
    Table RSZELTDIR will store all the queries.
    T.code :RSZDELETE will delete all the queries based on the Info Cube.
    Hope this helps

  • Query deleted in production

    Hi All,
    One Query is deleted directly in production system.
    is it possible to know who has deleted the query?
    Thanks
    Krishna

    You can give the Time Restrictions and Transaction code/Object = RSRT
    in next window you can check the user name who deleted the query ..etc
    if RSRT dosent work.. leave * in all the selections and check
    Thanks

  • Query deleted but not deleted!!

    Hi gurus,
    i have deleted a query, but after deletion, if i try to reassign the same techical name to another query, the system say "technical name already exist!"!!!
    There is 1 record in V_REP_JOIN with "M" status................
    Could you help me?
    Thanks!
    Bye!
    Ferdinando

    Sorry, this was supposed to be a response to a different question. Please ignore my earlier response.
    For your situation, it looks to me like you are confused about "saving" of a query to Favorites (which I assume id what you are calling "Preferities"). What you really save in the Favorites is just a link to run the query on the Web. The query itself is saved as an object in the database, associated with the InfoProvider. So if you delete the entry in your Favorites, you are not deleting the query but just the link that was created to run it on the Web.
    As mentioned before, RSZDELETE is the way to actually delete the query.
    Hope this helps (and my apologies for the confusing earlier post)...
    Bob

  • How to attach Query deletion to a transport request

    Hi All,
    I deleted a query in Dev and need to transport it all the way to Prod , how should I attache deletion of objects to transport request ?
    Regards,
    Shweta

    Hi Shweta,
    Generally for any query changes we create a transport request first and then record the changes in that trasport request. This is created in Transport Connection tab of RSA1 screen. There you need to provide the transport request number for BEx query changes and then save it. Afterwards whatever changes are done in the query gets recorded in that TR and finally we transport the TR.
    Check if any transport request is already created for the Query changes in your system. If its there then just transport that request.
    Navesh

  • Query Deletion

    Hi All,
    I deleted a MultiCube which is having a query built on it. I was asked whether to delete the query also. I said yes, but the system didn't delete the query. Is there a way I can delete the query now? I am unable to delete the query by regular procedures now. Can any one suggest on this please !! Thank You.

    Troy
    i hope u have all detailed documentation of the queries before deletion of the multiprovider.
    Normally it is advisable to delete the query first and then the multiprovider as queries are based on the dataprovider. while deleting the multiprovider system must have given error for the object dependanacy, One thing is very clear that since by hook or crook u have deleted the multiprovider, u will no longer access the query for change etc. So it will be better to reimport the necesary objects from QA to development so that u can again have a copy of the multicube which u have unfortunatly deleted in Development.
    let me add a bit of advice, may be suitable to you !
    See Multiprovider is a view on the base cubes. u can easily add base cube and their fields, so modifying multiprovider is much better than reconstructing it from scratch. So that u can copy the query to a new name and then modify it with a new changes as well as retain the old copy of the query, if needed.
    so far finding  table u can follow the path.
    1. SE84
    2. Dictionary object
    3. Table
    4. Table name
    5. Search by query
      you may find pair of table connected wit query ID. (as query ID used to be a key, query name is not a Key).
      I am not remembering the name of table at this time, this excercise may help u to reaching to table level.
      u can also check posting on these forums for query table, there are some posting some 8-9 months back on the silimar search.
    Message was edited by: sunraj

  • Query Deletion Problem..

    Hi Guru
    I have process in Business like
    Table Line_Item
    Columns are
    Line_ID                Product_ID Product_name               Status
    1     111     hosted Id               Y
    2      112     AutoAttend+10 (Parent)     Y
    3           112     Autoattend+5 (Child)     Y
    4          112     AutoAttend+10(Parent)     Y
    5          112     AutoAttend+10 (Parent)     Y
    6           112     Autoattend+5 (Child)     Y
    Table Line_Details
    Line_Detial_ID   Line_ID   Qty      Description                                           Status               
    11          1     0     null                    Y
         12          2     1     null                    Y
         13          3     11     Market (Only fore Autoattend+5 (Child))     Y
         14          4     1     null                    Y
         15          5     1     null                    Y
         16          6     22     Market (Only fore Autoattend+5(Child))     Y
    Now in screen there has option to delete record like *2 Types*
    *1 Type*
    If user delete Child row then only child will update as Status N
    *2 Types*
    It user delete Parent row then Child and Parent will update as Staust N
    My question is
    How we know what is parent and what is child?
    I am thing to create new column adding ROW ID is it correct way?
    Edited by: User01515 on Apr 8, 2010 11:23 AM

    Hi,
    What do you mean by delete here?
    If you select delete in your front end tool you are not physically deleting the record, instead you are marking the status to 'N' so that it wont be retrieved henceforth? is it what you meant?
    And you have line_id relation between both the tables and I do not see any duplicates in line_id columns, hence you can use it to map parent and child relation and you can create referential integrity constraint over it.
    But, you know the business and you have to decide in which way to go.
    Regards,
    Prazy

  • Query Deletion log

    Does anyone know if there is a log kept in the BW system showing queries that were deleted and who deleted them?
    One of our queries was deleted and I'm trying to track down what happened to it...
    Thanks,
    Chris

    Hello guys,
    Has anyone got any answers for this post ?
    Thanks
    S N

  • How to find out who has deleted my query

    Dear SDNs,
    My query has been deleted in Prd system, so I want to know who did it.
    I try to get the log from SLG1 and SM21, but I can't get any information about the query deletion.
    I have also tried to read record from table RSRREPDIR, and this table can only supply the information of query which is not deleted.
    Could you tell you the way to find out it?
    Thanks a lot.
    Best regards
    Tianli

    Hi Pravender,
    I have tested it.
    If you delete the query var T-code RSZDELETE,then you can find the log in SLG1.But if you delete the query in query designer,you can find nothing in SLG1.

  • How to find who has deleted the query in Production system

    I Experts,
    I have an issue. Someone has deleted one query in Production system.
    How can i find who has deleted the query??
    I searched the ans for the same i the below threads :-
    Query deleted in production
    How to find out who has deleted the production Query
    But it didn't help me as i couldn't understand how to use the transaction SLG1.. Can Someone please explain me how can i find out who has deleted the Query..
    Regards,
    Pavan Raj

    Hello,
    Please, remember the date on which date the query has seen last time  in the production server. You can use the last date in the From date and To date would be current  date and execute the SLG1 tcode. It would list you all the logs in the Object text you can search for BEX Query designer and sub object text column you can check for delete logs options.
    Double click on the object will list you the query and name. From the user column you can find who has deleted the query.
    Might be this can help you for analysis.
    Thanks
    Geeta Sharma

Maybe you are looking for