Duplicate Queries in a system

Hi All,
We have a scenario where we are developing and transporting a query from sandbox to production. If the same query with the same techincal name is developed and transported from another system to production will the query be duplicated.
Thanks in Advance.

The query keys aren't the technical name, it is an internally assigned GUID. If you take a look at the RSZELTDIR table, the key is ELTID (Query Element ID) which is this internally assigned GUID. The MAPNAME column on this table is where the technical name of the query is stored.
So, if you create two queries with the same technical name, you can transport them both through your landscape and they will both coexist. If you're using the SAP BW Portal, updates to the published query will be affected. If you modify a query that has the same technical name, but isn't the query that was published (different Query Element ID), the query in the portal will not change.

Similar Messages

  • To extract duplicate files from a system

    sir, i m working on project to find duplicate files from a system . can any one give me some idea how should I start ?

    I have written one in Java and in Python.
    My approach was to take the SHA1 hash of each file and use this as the key in a map with the file name being the value.
    I traverse the file system building the hash mapping as I go along. When I find a SHA1 hash that is already in the map I add the pair of associated file names to a list of possible duplicate files.
    After I have traversed the set of files I check all the potential duplicates for equality.

  • Deleting Queries in Production system

    Hello,
    I transports few queries into production system but I would like to delete those queries
    Can i just delete in production or is there any procedure?
    These queries are just brand new queries.
    Thanks,

    What is the difference between "Create Transport Requests for BEx "  and "Transport object"
    When do we use "Create Transport Requests for BEx "?
    When do we use "Transport object"?
    Correct answer = points
    Thanks,
    Edited by: Moderator on Jan 30, 2008 3:41 PM
    *Everyone on the forum knows that points will be assigned for correct and useful replies. There is really no need to keep mentioning this on each post you create. Thanks!

  • Duplicate Queries and Query Components in BI Production Box

    Hi:
    We have a situation where we have duplicate queries and query components in our Production BI box.
    The problem was caused by transports.  We have a development landscape and a support landscape where both are transporting separately up to the BI Production Box. 
    For example, query ABC was created in the development landscape and transported up to our production box.
    The same query ABC was created in our support landscape and transported up to our production box.
    Now in the production box we have 2 queries ABC with the same technical name and description but with different active ELTUIDs.  
    We have found the program ANALYZE_RSZ_TABLES and it does show us this problem in our production box with many queries and query components.
    The question is how do we get rid of the duplicate ELTUIDs in our Production box and how do we stop this from happening during transport?
    any suggestions would be helpful.

    Hi JC,
    I think you can use Tcode RSZDELETE to delete the duplicate UIDs of elements or any query objects.
    Test it in dev box / sandbox before using it in prod.
    Thanks

  • Queries in BW system

    Hi
    I'm get some more information on Queries in BW system.
    1. How many queries run on daily basis and how many queries run in parallel. Is there way to find out it? I checked with table 'RSDDSTAT' and it is hard to understand from there. I don't understand the starttime format '20.080.730.140.839,1668870'. I try with 'RSRT' and got the following information:
    STATUID -
    > 4ANJOK50HR3QGQ0P7JSI14QWA
    SESSIONUID -
    > 4ANJOKCP0PPFZCK5DDUUB6PM2
    NAVSTEPUID -
    > 4ANJOKKDJOB5HZ3LJ7X6L8OBU
    INFOCUBE -
    > 0COOM_C02
    HANDLE -
    > 1
    QUERYID -
    > 0COOM_C02/Y_0COOM_C02_QW003
    UNAME -
    > NAGI_A
    QNACHLESEN -
    > H
    OLAPMODE -
    > 1
    QRUNTIMECATEGORY--> 5
    QNAVSTEP -
    > 3
    QNUMOLAPREADS ---> 1
    QDBSEL -
    > 229.497
    QDBTRANS -
    > 3.819
    QNUMCELLS ---> 3.156
    QNUMRANGES --> 72
    RECCHAVLREAD --> 264
    QTIMEOLAPINIT ---> 0,214844
    QTIMEOLAP -
    > 0,414064
    QTIMEDB -
    > 3,191406
    QTIMEVARDP -
    > 1,589844
    QTIMECLIENT -
    > 0,062500
    TIMECHAVLREAD --> 0,144532
    TIMEREST -
    > 1,660156
    DMTDBBASIC -
    > 3,125000
    STARTTIME -
    > 20.080.730.140.839,1668870
    is there any link to understand all these above mentioned parameter?
    2. I have checked in our system that some of queries access the data from ODS instead of infocube. Is there any benefit to run the queries in ODS instead of infocube? In our company, BW application team execute one query to access the data from ODS. I don't know the reason for it.
    3. With 'RSRT', we can execute performance information for infocube. is there any tcode or tool to check the performance of queries that access the data from ODS?
    Thanks
    Amar

    Hi Amarjit,
       The choice of ODS or cube for reporting depends upon your requirements. It depends upon several factors like the details in which you want to see the reports, the amount of data you will be looking at etc. Since ODS is a flat structure (transparent table), you can not store large amounts of data. If you want to see some reports which contains data for several years (huge), you are better off running a report on a cube. Otherwise, reporting on ODS is ok. It all depends on your requirement.
    Refer:
    [Re: ODS Reporting]
    [Difference between ODS & Cube Reporting]
    [ODS vs Cube reporting;
          Hope this helps you.
    Regards,
    Yokesh.

  • Duplicate queries

    We have duplicate queries and plan to report ANALYZE_RSZ_TABLES to change the name in some and delete in others.
    Part of our checks has referred to considerations that have been made in SAP Note 792779.
    However, we have the following scenario:
    We have a duplicate query that is shown in RSRT whilst the other appears in the Info Area Open Dialog box.  We will be changing the name of the one that appears in RSRT.  After the change will the other version of the query appear in RSRT if I run with COMPID and secondly will the changed query name appear in RSRT and the Info Area Open Dialog box with its new COMPID?
    Thank you in advance for your help

    Hi JC,
    I think you can use Tcode RSZDELETE to delete the duplicate UIDs of elements or any query objects.
    Test it in dev box / sandbox before using it in prod.
    Thanks

  • How to create a transport for queries from production system

    We have a situation where the production client has been open during cutover and a user has modified queries which were previously transported into production from our development system. We now wish to 'synchronise' our systems so production can be closed (although we will use the changeability options to allow maintenance of local queries).
    Does anyone have experience of this problem? What is the best way of exporting the queries in such a way that we can import them into our development and quality systems?
    As ever, any suggestions will be gratefully received.

    Hi,
    In similar situation, we opted for manual modifications in the Dev. We made the changes in the queries as they were in Prod and then transported them from Dev to Q and then to Prod.
    This is how generally it is done.
    Regards,
    Yogesh

  • Duplicate Journal Entry and system crash

    Hi All,
    Just wondering anyone experience when duplicate the journal entry and change the posting date and system will just hang and follow by crash?
    Please advise.
    Best Regards,
    Foong Yee

    Hi Foong Yee Tai...
    Check with the Following SAP Note...
    1616687 - B1 shuts down when updating amount in Journal Entry
    Regards
    Kennedy

  • List of all queries in the system

    Hi all
    <b>I want to get a list of all QUERIES in my BW system and the details of the DATA TARGETS (cube or ODS) on which they are made.</b>
    Can i get it from any TABLE or TRANSACTION? or will i have to go to each query ( grouped by INFOAREA) to do the same. This i felt will be very tedious. Please advise.
    Regards,
    Pradyut.

    Hi Pradyut,
    Use this table instead - RSZCOMPIC. Give the selection parameter as cube/ods technical name and the version as active.
    This would give the list of technical name of the queries for a Cube/ODS. To get the description of the query use the table RSZCOMPDIR -> give the technical name of the query as input parameter and get the desription. The description is stores in the COMPID field.
    Hope this helps.
    Bye
    Dinesh
    (Do not forget to assign points!!)

  • Duplicate accounts listed in System prefs

    Ever since I transferred my admin account from my old Mac to the new machine (MPro 2.66) I've had duplicate accounts listed in the Users tab of the System Prefs. I have two legitimate accounts, my main account and another admin account; the main account is listed again 3 times under "Other Accounts", with the same photo and login info as the original account. They do NOT have folders in the Users folder however, so it's not like they're complete duplicates; they only appear in this panel. It's not affecting anything adversely, just wondering if I can delete them without affecting my account since all the name/login info is identical.
    Thanks,
    JK

    Be careful about deleting those duplicates. You might end up deleting your home directory. Make a backup of your machine just in case. If you are wiling to take some risk then proceed.
    I played around with this and found that if you have more then one account pointing to the same home directory, then deleting any of the duplicate accounts will not impact the home directory.
    However, one of those accounts must be the *Primary Owner* of that home directory and deleting that user will delete the *Home Directory*. Not quite what you want to have happen.
    If you try to delete the Primary account you should get a prompt asking you what to do with the *Home Folder*.
    Choose *"Do not change the home folder"*
    That should preserve it incase you need to get that directory back.
    The first think I would do is see if all the duplicates are using the same *Home Folder*
    Open up Preferences
    Open up Accounts
    Ctrl-Click on one of the Duplicate Accounts and select *Advanced Options*.
    Record the *Home Directory* for each of the accounts.
    If they are the same, then you should be able to delete the duplicates without a problem. Again, if and when prompted, choose *"Do not change the home folder"*.
    If the duplicate *Home Folder* point to a different location, then you just have to figure out which is your primary account and delete the duplicates. Again, I'd play it safe and save those home folders until I knew everything was working and there wasn't anything in those folders that I wanted. Once they are gone they are gone.
    Good luck!

  • SQL Dev 2.1 - Session browser Active SQL showing duplicate queries

    Haven't noticed this before in any other version but then hadn't realy been looking but when i use the session browser to check code running on the DB in the ACTIVE SQL tab i ocassionally see duplicate sql statments, which can be misleading, see below for an example.
    SELECT SUM(AID.AMOUNT),
    DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    FROM PO_LINE_LOCATIONS_ALL PLL,
    PO_DISTRIBUTIONS_ALL PDA,
    AP_INVOICE_DISTRIBUTIONS_ALL AID,
    AP_INVOICES_ALL AIA,
    AP_PAYMENT_SCHEDULES_ALL APS
    WHERE PLL.PO_LINE_ID = :B1
    AND PLL.LINE_LOCATION_ID = PDA.LINE_LOCATION_ID
    AND PDA.PO_DISTRIBUTION_ID = AID.PO_DISTRIBUTION_ID
    AND AIA.INVOICE_ID = AID.INVOICE_ID
    AND APS.INVOICE_ID = AIA.INVOICE_ID
    AND AIA.CANCELLED_BY IS NULL
    GROUP BY DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    SELECT SUM(AID.AMOUNT),
    DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    FROM PO_LINE_LOCATIONS_ALL PLL,
    PO_DISTRIBUTIONS_ALL PDA,
    AP_INVOICE_DISTRIBUTIONS_ALL AID,
    AP_INVOICES_ALL AIA,
    AP_PAYMENT_SCHEDULES_ALL APS
    WHERE PLL.PO_LINE_ID = :B1
    AND PLL.LINE_LOCATION_ID = PDA.LINE_LOCATION_ID
    AND PDA.PO_DISTRIBUTION_ID = AID.PO_DISTRIBUTION_ID
    AND AIA.INVOICE_ID = AID.INVOICE_ID
    AND APS.INVOICE_ID = AIA.INVOICE_ID
    AND AIA.CANCELLED_BY IS NULL
    GROUP BY DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    SELECT SUM(AID.AMOUNT),
    DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    FROM PO_LINE_LOCATIONS_ALL PLL,
    PO_DISTRIBUTIONS_ALL PDA,
    AP_INVOICE_DISTRIBUTIONS_ALL AID,
    AP_INVOICES_ALL AIA,
    AP_PAYMENT_SCHEDULES_ALL APS
    WHERE PLL.PO_LINE_ID = :B1
    AND PLL.LINE_LOCATION_ID = PDA.LINE_LOCATION_ID
    AND PDA.PO_DISTRIBUTION_ID = AID.PO_DISTRIBUTION_ID
    AND AIA.INVOICE_ID = AID.INVOICE_ID
    AND APS.INVOICE_ID = AIA.INVOICE_ID
    AND AIA.CANCELLED_BY IS NULL
    GROUP BY DECODE(APS.PAYMENT_STATUS_FLAG,'Y','Paid','P','Partially Paid','Not Paid')
    The reason seems to be that the Session Browser query:
    SELECT REPLACE(q.sql_text,chr(0)) sql_text
    FROM v$session s,
    v$sql q
    WHERE s.sql_address = q.address
    AND s.sql_hash_value = q.hash_value
    AND s.sid = :SID
    is picking up all the different child number queries from v$sql, is there anyway to only pick up the child that you are using to avoid the strange query output?
    Thanks in advance
    Trotty

    Hello All;
    The front end is Oracle Forms/ Reports 6i Patch 16.
    I will try TKprof.
    I found here someone asking on the same case,
    Database is too slow.....
    He was advices to 1- Compute Statistics 2- reorganize tables 3- re-build indexes
    I done it in the order a-Import Tables b-Rebuild indexes c-Compute Statistics.
    Shall I do it in order 1 2 3 ? or 1 & 3 will be ok?
    Can I issue
    sql> Alter table <name> move tablespace <tablespace_name>;
    on the original tablespace or I need to provide new tablespace?
    Best Regards,
    Naji Ghanim

  • Transport user groups/infosets/queries from test system to productive

    Hello experts,
    i'm trying to transport user groups/infosets/queries but it seems it doesn't work.  For example, i select the infoset, then the transport button.
    I choose EXPORT
    then Transport Infosets
    I type the infoset name
    but i cannot understand if i should change the "IMPORT OPTION-REPLACE".
    Can anyone guide me with this procedure?
    Thank you in Advance
    N.

    Hi Nantia,
    Step 1. Run RSAQR3TR in 'old' system. Select EXPORT and specify the objects to be transported. 
    (System includes these in an automatically created transport request) 
    Step 2. Release this transport and request it be transported to 'new' system. 
    (This results in the entries being populated in transport table AQTDB in 'new' system). 
    Step 3. Run RSAQR3TR in 'new' system. Select IMPORT and tick the Overwrite checkbox. Specify the transport number in the field labelled 'dataset with imports'. 
    (RSAQR3TR gives the message that stuff has been imported OK). 
    Step 4. In my example I still couldn't find the queries, so ran RSAQR3TR one more time, this time specifying 'Copy Standard Area -> Global Area'.

  • How to remove duplicate server entries in System Landscape

    Hi there, in our SSM 4.0 system landscape (SMSY), there are duplicate server entries (one in lowercase, the other in uppercase). How do you remove the duplicate entries, as whenever you try to delete, say, the uppercase server entry, the system tells you that it is being used in a solution etc? Thus, even though the server entries are in different cases, it still views them as the same server entry, and you cannot delete one or the other.

    Hello Bernardt,
    In smsy there is an icon "Where is used".
    I suppose you speak about a server that has been created in lowercase and again in uppercase. Until you don´t "clean" logical component, project, solution you are not going to be able to delete the entry.
    At least usually I follow this path. I don´t think there is a most "automatic" way, but who knows
    Best regards,
    Dolores

  • Queries in Project system

    Hi,
    I have the following queries:
    1. Is it possible to Allocate one material with same Order type for Diiferent standard networks / Network alternatives in CN08
    2. Is there any report in PS where in Planned and actual man mandays worked in a project can be be seen. In my scenario, the actual man days worked is transferred to PS by t code CATA.
    3. How to handle sub project scenario under Assembly processing with strategy 85
    4. What is meant by Work force planning? Is it Deployement of manpower in Project?
    Rgds,
    Prasad

    In Workforce planning specified work can be distributed to persons assigned to the work center
    Benefits of Workforce planning:
    - Persons can be assigned to activities quickly and easily
    - Data display:
    - Availability of the person (read from HR)
    - Total capacity load on the person
    - Activity data
    You can assign persons who
    a) are assigned to the work center of the activity,
    b) belong to the project team, or
    c) are available in HR.

  • How did I get duplicate (as in 2) System Preferences windows?

    Greetings ACS Fellows,
    As a loyal and faithful Mac user who has used Macs for many a year, how can it be possible that I have right now - upon the iMac desktop of yours truly - running Snow Leopard 10.6.8 albeit in 64-bit mode; two, count em', two System Preferences windows? I've stumbled upon many strange things in my time, but this one has me absolutely befuddled
    Thanks in Advance,
    mm~

    I was able to do this on my 10.5 system, but not on my Mavericks system, so there are changes somewhere along the way.
    Launch System Preferences (that is 1 copy).
    From an Applications -> Utilities -> Terminal session enter the command:
    /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
    and you will have a 2nd copy.
    What a 3rd?  Just issue the Terminal command again.
    How you managed to do it, I do not know, but the System Preferences app will allow multiple instances of the app to run concurrently.
    Again, by the time Mavericks was released, something was changed, and only 1 copy can be run.  The above trick will not work on Mavericks.

Maybe you are looking for