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

Similar Messages

  • Query parameter transaction,Query transported but not found in QAS

    Hello all,
    I have an issue with my custom transactions pointing to queries I created. Here is one of 2 examples:
    I have a query in the Global and Standard areas in DEV. Here are my transaction parameters from SE93:
    D_SREPOVARI-EXTDREPORT     QUE_JPTREMB_02
    D_SREPOVARI-REPORTTYPE     AQ
    D_SREPOVARI-REPORT     /SAPQUERY/H2/QUE_JPTREMB_02
    This works perfectly fine in DEV, in all the clients.
    I transported the query using the Export/Import function to QAS. My query in QAS exists only in the Standard Area. I am not able to export/import queries from the global area.
    When I try to run the transaction in QAS, I get the following message:
    "Query QUE_JPTREMB_02 does not exist in user group /SAPQUERY/H2"
    Can any one tell me what is going on here? How can I resolve this issue? Does this have anything to do with global VS standard areas? How do I point the transaction to the Standard Area if that's the case?
    All help appreciated, thank you so much.

    Hi Jean,
    What are the steps you have followed? If I remember correctly the following must be carried out in the following sequence.
    1) Use RSAQR3TR to export the query, usergroup and infoset in dev system.
    2) release the transports in Dev.
    3) import the transports into QAS using STMS (normal Transport mechanism)
    4) import the  query, usergroup and infoset into QAS using  RSAQR3TR
    5) identify the ABAP program associated with the query in QAS system.
    6) create a Transaction code in dev system, assign it to the same query program (even if it does not exist in DEV) and transport the tcodes into QAS.
    7) Execute the query once using SQ01 and then try again using the transaction code.
    (I do not know why steps 6 and 7 are necessary, but that is the way they have worked for me, if I omit the steps, the query program dumps)
    Anyway, I hope the above helps.

  • How to show attributes only in query panel but not in Add fields.

    Hi,
    Jdev - 11.1.1.7.0
    I have a requirement where I need to show attribute only in search panel but not in Add Fields list which is available in advanced section.
    Thanks for your time and help.
    Regards,
    Dileep.

    Hi,
    Is it really possible implement this kind of scenario, I could not find any property to disable the attribute only 'Add Fields' but not in query panel.
    Please some one confirm me this behavior.
    Thanks,
    Dileep.

  • Flashback query works, but not flashback versions query

    This is a test database (Oracle10g 10.1.0.5), not in archivelog mode. I deleted one row 2 hours ago. I can still use flashback query:
    select * from tm_instances as of timestamp to_timestamp('STARTTIME_HERE') to view this row. But I can't use the following flashback versions query:
    SELECT versions_startscn, versions_starttime,
    versions_endscn, versions_endtime,
    versions_xid, versions_operation from tm_instances VERSIONS BETWEEN TIMESTAMP to_timestamp('STARTTIME_HERE') and MAXVALUE
    It gave the following error:
    ORA-30052: invalid lower limit snapshot expression
    So I guess flashback query works better than flashback versions query?
    undo_retention is set to 900 by default here.
    Thanks,
    Hai

    currently function returns all mydate rows, i just want mydesired date rowsCheck if there is a column in the table with the same name as the function parameter. It's the most probable reason of such DML operations behaviour in PL/SQL procedures and function.
    Rgds.

  • Query works but not in package

    Hi,
    I have this query that executes fine if I put it in a sql editor, I get a nice result set. However, when i put it in a procedure (in a package) I get the following error:
    PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
    ( - + mod not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current ex
    Why is this? The procedure uses querys from another schema, but since it works in sql editor?...
    I have granted selects on all the tables in used by the SP.
    Anyone?

    They are quite big procedures. But if it works in the editor, wouldn't it work in a SP? Can someone explain that to me...
    CREATE OR REPLACE PACKAGE BODY SP_PST AS
         PROCEDURE GetCountyList(rs out RecSet)
         IS
         BEGIN
         open rs for
                                  select komm.1kod, laen.kod, laen.namn, komm.2kod, komm.namn, medi.kod, mp.namn_off, 'cut' utgiv, round(100*hh.upp/hhantal.antal, 2) hh2, round(100*hh.upp/hhantal.antal, 0) hh, (
                        /* breaks here*/     select max(anns_pris) pris
                             from ts.apls, ts.aprs
                             where apls.date_fom <= to_date('2006-01-01', 'yyyy-mm-dd') and apls.date_tom >= to_date('2006-01-01', 'yyyy-mm-dd')
                             and (apls.off is null or apls.off < sysdate) and apls.kod=aprs.kod
                                  and apls.date_fom=aprs.date_fom
                                  and aprs.frmt='mm' and prvarkod='-' and region='-' and infvdag='-'
                                  and (plac='ETKU'
                                  or (plac='ETKUM' and not exists (select 1 from ts.aprs a2 where aprs.kod=a2.kod and aprs.date_fom=a2.date_fom and aprs.frmt='mm' and prvarkod='-' and region='-' and infvdag='-' and plac='ETKU'))
                                       or (plac='FEKU' and not exists (select 1 from ts.aprs a2 where aprs.kod=a2.kod and aprs.date_fom=a2.date_fom and aprs.frmt='mm' and prvarkod='-' and region='-' and infvdag='-' and plac in ('ETKU', 'ETKUM'))))
                                  and apls.kod=medi.kod
                             ) pris
                   from ts.medi, ts.laen, ts.komm,
                        subquery     
                        ) ml,
                        another subquery
    ) mk,
                        yet another subquery                     ) mp,
                        subquery again
                        ) hh,
    subquery...
                        ) hhantal
                   where big whereclause
              EXCEPTION
         WHEN NO_DATA_FOUND THEN
         Null;
         WHEN OTHERS THEN
         -- Consider logging the error and then re-raise
         RAISE;
         END GetCountyList;
         PROCEDURE GetMunicipalityList(p_countyCode VARCHAR2, rs out RecSet)
         IS
         BEGIN
         open rs for
                   select moreyadayada.... similar to the first one...
              EXCEPTION
         WHEN NO_DATA_FOUND THEN
         Null;
         WHEN OTHERS THEN
         -- Consider logging the error and then re-raise
         RAISE;
         END GetMunicipalityList;
    END SP_PST;
    Added code...

  • Query works but not in a funtion

    i have this query... select sum(amount) from here and there where id=myid and mydate =desireddate... works flawlessly...
    but when i put this query in a function and pass on the parameters does not work... function looks like this.....
    create or replace function myfunction(myid varchar2, desired date) return number is
    amount number;
    begin
    here goes query...where id=myid and mydate=desireddate;
    return amount ;
    end;
    It seems something about the mydesireddate parameter, cause when i manually put the value works fine....currently function returns all mydate rows, i just want mydesired date rows.
    thanks in advance....

    currently function returns all mydate rows, i just want mydesired date rowsCheck if there is a column in the table with the same name as the function parameter. It's the most probable reason of such DML operations behaviour in PL/SQL procedures and function.
    Rgds.

  • WMI to query laptop, but not virtual machine

    Hi, 
    I posted this int he Systems conf manager, but I think it would be better suited here. 
    I am currently using a WMI to query all mobile machines using this statement - select
    * from win32_computersystem where pcsystemtype = 2
    The query works fine but is also picking up virtual machines running on laptops. I want to exclude the task
    form running on machines running on these virtual machines. Is there anything way of appending the original statement to exclude the virtual machines. Most virtual platforms include the word 'virtual' in the model description (VMWare Virtual Platform, Virtual
    Machine, virtualbox). I don't know id this would work, but would something like select
    * from win32_computersystem where pcsystemtype = 2 (and
    where Model does NOT include "virtual") be possible? 
    Thanks. 
    JC

     select
    * from win32_computersystem where pcsystemtype = 2 and not model like '%virtual%'

  • Works in Query Analyser but not in asp

    I have an asp page that passes between 1 and 20 ID's in a
    string to another
    asp page where an Update is triggered. The string looks like:
    10023567, 1000345, 90885543211
    or it could be just one ID like:
    27736458
    My update stored procedure is:
    Update Bookings
    SET Status = 'Accepted'
    WHERE BookingID IN (@ID)
    @ID is the string mentioned above. If there is only 1 ID in
    the string then
    the Update is performed but if there is more than 1 ID I get
    "cannot convert
    Varchar to Int" error.
    If I take the string contents and use them in Query Analyser
    eg.
    Update Bookings
    SET Status = 'Accepted'
    WHERE BookingID IN (10023567, 1000345, 90885543211)
    it works fine and updates the correct rows, so why do I get
    the error when
    attempting it in an asp page?

    In a stored procedure, @ID is a parameter, not plain text
    that gets added to
    your query. Of course copy/pasting the list into QA would
    work because that
    IS plain text getting added to the query. If you'd defined a
    parameter in
    QA, it would also have failed.
    DECLARE @ID INT
    SET @ID = '1, 2, 3, 4' --this will fail
    You can write the update for a single ID, then execute in a
    loop
    Set up your command object
    For Each ID in IDList
    Command.Parameters("@ID").Value = ID
    Command.Execute ,,128
    Next
    Or you could use one of the array/list techniques here:
    http://www.sommarskog.se/arrays-in-sql.html
    "SIMON" <[email protected]> wrote in message
    news:ef301q$8il$[email protected]..
    >I have an asp page that passes between 1 and 20 ID's in a
    string to another
    >asp page where an Update is triggered. The string looks
    like:
    > 10023567, 1000345, 90885543211
    > or it could be just one ID like:
    > 27736458
    >
    > My update stored procedure is:
    >
    > Update Bookings
    > SET Status = 'Accepted'
    > WHERE BookingID IN (@ID)
    >
    > @ID is the string mentioned above. If there is only 1 ID
    in the string
    > then the Update is performed but if there is more than 1
    ID I get "cannot
    > convert Varchar to Int" error.
    >
    > If I take the string contents and use them in Query
    Analyser eg.
    >
    > Update Bookings
    > SET Status = 'Accepted'
    > WHERE BookingID IN (10023567, 1000345, 90885543211)
    >
    > it works fine and updates the correct rows, so why do I
    get the error when
    > attempting it in an asp page?
    >

  • I changed an existing abap query ME80FN but not find in production system.

    Hi,
    I have changed an ABAP QUERY  ME80FN for user group SAPQUERY/ME in Dev system via transaction SQ01 & SQ02.
    But when I am searching for same query in Production via transaction SQ01 it is not existing.
    Please give me some inputs.
    Thanks,
    Jwala

    Hi Jwala
    1. Check if that ABAP query is transported to production or not.
    or
    check the versions of the ABAP Query in dev w.r.t Production so that you will know the status of the program in production.
    regards
    PBI

  • Query installed but not found in RSRT

    Hello Experts
    We are facing issue with BI COntent Queries , which are active successfully from RSA1->BI Content.
    However when trying to execute from RSRT, these queries are not identified in RSRT.
    Queries are
    0SD_C11_Q0003
    0FIGL_M40_Q0003
    0FIGL_M30_Q0006
    Have anybody encountered such issue, what can be the possible cause for this.
    Regards,
    Kanchan

    We have data for reports however report is not visible in query designer too..to be executed from there..
    The issue is we can see query active when we install it from BI content but cannot find it in F4 in report execution input screen for technical name of query..
    Edited by: Kanchan Angalwar on Aug 3, 2010 6:13 AM

  • Var processed through ZXRSRU01 refreshed on query open but not on worbook

    Hello group,
    I have a variable that is calculated automatically through the ZXRSRU01 user-exit and this definition is correct (I_STEP=1).  I want to prompt my users with this initial value and they have the option to change it if they want to.
    This whole design is working fine.  From BEx Analyzer, whenever I open my query, I see the correct behaviour. 
    However, when I open the workbook that is based on this query, the default value being showed, is an old value (Probably the calculated value when I initially created the workbook) so it seems that the newest value is not being sent to the workbook.  I've looked at the setting within the workbook but can't find anything about this.
    Any genius idea?
    Thank you & regards,
    John.

    Hi John.
    Maybe you need to uncheck the "Process Variables on Refresh" in [Workbook Settings|http://help.sap.com/saphelp_nw70/helpdata/en/54/a493f7256b43698191a2623e5a0532/content.htm]:
    Process Variables on Refresh
    If any query in your workbook contains variables, any current values set for the variables are part of the query view definition and are therefore stored in the workbook.
    Set this indicator if the values saved in the workbook are to be used automatically.
    Note
    If you also set the Refresh Workbook on Open indicator, the variable dialog is always displayed when a workbook is opened. The values previously saved are automatically selected in the variable dialog; however, you can change these values
    So, if you UNCHECK the "Process Variables on Refresh", you should get the behaviour that the saved values are NOT used automatically. Whether your exit is called again for the variable an filled with the correct "current" default value, I don't know...
    br
    Jacob

  • Hallo ,why is it that when I delete a photo ,which is backed up by time machine and western digital external hard drive , that I am able to restore the photo okay but not the titles and descriptions . I have  a Macbook 4.1, mac osx 10.5.8 . Iphoto 7.1.5 ,

    QUESTION.
    Hallo , my question is ;whenever I delete a photo and restore it through Time machine and Western digital external hard drive , I am able to restore the photo but not the titles and descriptions . Western Digital inform me that it isn't their external hard drive problem and suggest that it is an Apple software problem ?
    I am using  a Macbook 4.1 , with Mac OSX 10.5.8 . I photo 7.1.5 , last modifie4d 01/05/2010 -universal . Should I be upgrading  Iphoto ?
    I hope that someone is able to help in this matter , as i have to restore 12000 photos !
    Thanking you in anticipation.
    Alan from Wigton

    Hallo  Kieth ,
    I am not quite ready to restore the full iphoto library , as I have days of work re - imputting titles,descriptions and enhancement . I hope that your suggestion works , as I use my Macbook basically to work with digital photography. Through time , I will need to delete my library to recover more disc space and I would hate to have to spend more time re - imputting titles and descriptions all over again .
    Thanks for your interest and advice.
    regards  - Alan

  • I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder??  itunes did not prompt me to move file to trash nor is there an option??

    I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder.  itunes did not prompt me to move file to trash nor is there an option to remove file to trash bin.  How can i  delete songs from both the itunes and hard drive at the same time?

    aespinoza2210 wrote:
    could it be in the itunes folder or does it have to be in the itunes media folder, which is within the itunes folder??
    A Espinoza,
    The iTunes Media folder is set in Preferences > Advanced, and is the key to most iTunes folder organizational activities.  So I doubt that the automatic deletion will work for files that are somewhere else within the folder structure.
    However, I have not experimented with that issue in quite a while, so you are welcome to give it a try in iTunes 11. 

  • Delete contacts from icloud, but not from iphone

    I want to delete all my contacts and calendar appointments from iCloud, but not from my iphone, and i still want to have iCloud turned on in the future.
    I have tried to delete the iCloud account from my iphone but when i log in to iCloud.com from a computer the contacts are still there even though i deleted the iCloud account.
    How do i remove these things only from iCloud?

    I fixed it, i had to turn off the syncing of the contacts and the calendar on the phone and then delete them from iCloud. Obviously if i turn on the syncing of these items again the contacts and calendar appointments will reappear in iCloud.
    So problem solved.

  • How to delete duplicates from iTunes but not hard drive

    I'm running iTunes 10 and have my music stored on both my NAS drive and backup drive.  Each track appears twice on iTunes: once as lossless for streaming and and once as compressed AAC files for synching to ipods and iphones.
    For some reason, when my PC is turned on after being turned on, the linkstation cannon be 'seen' by iTunes, and therefore if I try to play a track, 'the original file cannot be found'.  If I use the 'add folder to library' option in the 'file' dropdown menu, the tracks are located again.
    Unfortunately, I the last time I did this it resulted in 4 copies of each song on itunes; 2 lossless and 2 AAC.
    I have 2 questions:
    Firstly is there an easy way to delete the duplicates from my iTunes library so that I am left with only 1 lossless and one AAC copy, but not deleing the files from my NAS and backup drive?
    Is there a way I can just store my music as lossless, but convert it easily to aa more compressed format for synching to iphone and ipod?
    Thanks!

    You can try my new DeDupe script. It should be able to get rid of the redundant copies while keeping one copy of each track in each format. See this thread for background.
    I've not used the feature, but iTunes can downsample to 128k AAC on the fly as it syncs your devices. Of course you might find the process is too slow for your needs or find that 128k is too much compression.
    tt2

  • How to Delete document from Item but not Item itself

    Hello
    I'm working on Oracle Portal (10g)
    I'm thinking about one problem:
    - how to physically remove document form the Oralce repository using PL/SQL
    Does removing row from WWDOC_DOCUMENT$ remove file from hard disk (some
    trigers on Delete?).
    BTW:
    There is one strange (for me ;) ) behavior: I create an item with atached
    file (file item) what happent:
    - in table WWDOC_DOCUMENT$ is new row for new file created.
    - in table WWV_THINGS$ is new row for new item created
    Now I would like to remove file but not item (still using PL/SQL).
    I use function for example:
    PORTAL.Wwdoc_Api.remove_document('101801.BMP');
    This function remove path id and filename but not whole file row itself (but
    this is less problem). And othere more important problem: after
    PORTAL.Wwdoc_Api.remove_document called there is still in item rows pointer
    to just deleted file in fields: FILENAME and VALUE.
    I would like to set this fileds to null. - in othere way there is exception
    durring page deletion (no document found).
    I use:
    update portal.wwv_things p1
    set
    p1.FILENAME = null,
    p1.VALUE = null
    where p1.ITEMTYPE like 'basetext'
    and p1.LANGUAGE = wwctx_api.get_nls_language
    and p1.SITEID = pagegroupID
    and p1.CORNERID = pageID
    and p1.filename like '101801.BMP' ;
    But this seems to not work at all.
    Any body else had some problems like me?
    How it was solved.
    BTW: I work with item versioning.
    BIG THANKS YOU FOR ANY HELP

    You can try my new DeDupe script. It should be able to get rid of the redundant copies while keeping one copy of each track in each format. See this thread for background.
    I've not used the feature, but iTunes can downsample to 128k AAC on the fly as it syncs your devices. Of course you might find the process is too slow for your needs or find that 128k is too much compression.
    tt2

Maybe you are looking for

  • Update iPad2 to IOS 4.3.5 cannot save backup to PC

    When trying to do update from iTunes, the backup abort stating that it cannot save to the pc. Normal sync works for apps etc. Only firmware upgrade doesn't work. Manually backup also doesn't work.

  • SAP GRC AC10 Common Practices on Mitigation Control

    Hi all, Currently, our company is implementing the GRC tool globally and we are required to set up mitigation control. I would like to get some ideas about what structures are used in various companies. And are those mitigation control align with the

  • Added song in QT mov, e-mailed it - family, friends can not hear music...?

    Took a 16 second "little" movie off the Digital camera. I was finally motivated to add some music to the silent clip (camera doesn't record sound), as I had never done it before in QT. Took about 5 minutes to figure out and it made the humble clip so

  • Parsing Strings to Int, NumberFormatException ??

    Hey everyone... I am trying to convert some string to an int value.. Now this is what is exactly happening.. First i read some bytes into an array of bytes from a file. Then i use the toString() to convert it to a string. Once i get the string repres

  • Firefox crashes with NVidia 331.20 (Linux 64bit)

    As the title says, Firefox crashes immediately upon opening when using NVidia's latest stable drivers (331.20). The last stable driver that Firefox works with is 319.60. This issue only afflicts Firefox. All other HW accelerated programs I've tried w