Can we Run the same Query on Infocube and ODS?

Hi all,
There is an ODS A, Currently Query_ABC is created on the ODS A,
The InfoObjects available in the ODS A are also available in the INFOCUBE B.
I want to delete the ODS A, So can we create the Query_ABC on INFOCUBE B.
If so, should i create the Query from scratch or is there any other way to copy the Query_ABC from ODS A to INFOCUBE B.
Please provide your valuable suggestions.
Thanks,
Sowrabh

HI,
Actually, Structures appear to be "Global" only within a specifi InfoProvider. If you are using RSZC then you are copying betwee providers, so I would expect that the copy may be having a problem wit the internal ID's associated to the Cells, which are probably derive based on the ID's of the rows and columns.
Since the Structures don't exist in the destination, or don't have the sam ID's then these pieces cannot be rebuilt in the copied query.
You could try this to get around having to rebuild:
1) In your source query make a copy in the same provider and remove the Ro and/or Column Named structure references (you don't delete the structure just make the query so it doesn't reference it). You do this b right-clicking on the structure name in the query, and chose the optio 'Remove reference'. This will make your query as if these details wer built directly in the query. Save this revised query.
2) Copy the revised query to your destination. Since all components wil contain internal ID's without reference to any external component (Structures) it should be able to copy everything.
You can then re-save the Row and/or Column definitions as structure associated to the destination InfoProvider, if you wish.
Thanks
Sreenu

Similar Messages

  • Can I used the same MSN  with Windows and Mac?

    I have a emachine PC. And I just purchase a ibook G4. My concern is: I am about to connect to the internet witn MSN. Can i used the same with both, Mac and Windows? I mean, the same internet connection?
    LightBearer.

    All you'll need is a router. You can get a wireless one or a wired one. They're pretty cheap.

  • Need to run the same query on different databases with the same argument

    Hi folks,
    I've a script: obj, which has simple stuff, when I execute @obj
    this asked me for the object_name
    and in return gives me object/s if it exists in this (connected) db.
    Now to check in 2 other dbs, I've to disconnect from here and then connect to those dbs and run the same @obj there and give the same argument, e.g., EMP and it'll return the answer.
    What is desired ... if not very hard on you :-(
    Some thing like @objAll
    asked only once object_name ... e.g., I gave EMP
    now go to all the 3 dbs and give me the result in ONE spool file only.
    What do you think, is this tough, I did something, but it was not involved connecting to different dbs, within the same script, but here we cannot create db links and have to disconnect and connect to the db to get some information.
    Please do reply, if my question is not understandable or any ...
    Thanks in advance.
    Best regards.
    Edited by: user8604530 on Jun 27, 2012 1:51 PM

    As far as i understand from your question : you cannot create db links ? right..
    well another option is to create a shell script , something like this :
    vi check.sh
    export ORACLE_SID=db1
    sqlplus / as sysdba <<EOF
    select query comes here;
    exit;
    EOF
    export ORACLE_SID=db2
    sqlplus / as sysdba <<EOF
    select query comes here;
    exit;
    EOFchmod 777 check.sh
    This does the job for you.. I am unsure how to pass the parameters in sql while running through a sheel script.. but if thats possible you will be able to achieve what you want.
    Regards
    Kk
    Edited by: Kk on Jun 27, 2012 2:44 PM

  • Running the same query against numerous databases

    My organization has 20+ clients. Each client has a separate database in the same MSSQL server*. For these purposes, the databases are structurally identical. I've been tasked to gather information from tables in all of these databases. I can use the same query on multiple clients - my issue is switching between databases.
    The naive solution would be for me to declare 20+ DataSource instances, and have some mapping from client name to DataSource. I think that's going to be a real mess and my inclination is to avoid it.
    Another possibility would be dynamically generating the PreparedStatement based on the client, something like
    "SELECT foo, bar " + "FROM " + client.getDatabaseName() + ".dbo.my_table";
    My understanding, though, is that it's a bad practice to have dynamically generated prepared statement calls and not possible to parameterize the 'from' clause.
    Another thing I've been digging around at is using a transaction and an SQL Server call to alter what database calls from that transaction go to. I thought that could be done, but I'm not finding anything which suggests it's possible.
    I guess I've identified my problem, but I'm thrashing on how to solve it. I'm still newish to non-trivial database interactions, so I'd appreciate any input. If I posted this in the wrong place, please feel free to yell at me and move it.
    Thanks in advance,
    Eric
    * Not my fault. I'm new.

    I'm collection usage and storage metrics. "Client X has 200 records, Client Y has 250. Client X has 15 active users, Client Y has 12."
    The data is being read from the client databases and stored into a separate metrics database.
    I anticipate it will be mostly select count() calls.
    I can. For the maintenance reasons I mentioned above, I'd rather not have to maintain all those datasources if I don't have to.
    No, the invocations will be sequential.
    for (each metric type) {
        for (each client) {
            gather information;
            add to batch
        update batch in metrics database
    }I guess I was hoping there was a Sekrit SQL way to swap what database inside a server instance the connection was pointing to. I'm guessing that's not going to happen, and I'm left with N datasources for N clients or generated preparedStatements which swap out the database name in the FROM portion.
    The data is being written to a table in a single, separate metrics database.
    I'm trying not to, honest.
    Edited by: 919852 on Mar 12, 2012 8:38 AM

  • Can SAP run the depreciation for closed Period and posting to diff month?

    My client forgot to run the depreciation for Jan 2011, and now the Jan period has been closed and report also done.
    My solution was to re-open the Jan and does the depreciation, once completed reclassify Jan depreciation posting to Feb 2011 manually.
    I am just wandering whether SAP can handle this different way.
    Can SAP performs Jan (Closed Period) depreciation and post to Feb period automatically or any other suggestions?
    Cheers

    Hi
    Yes, you can do that
    Follow this thread... Unable to post depreciation- Error AA730
    Using ABF1, you can do it
    Br, Ajay M

  • Discoverer doesn't run the same query than TOAD

    Hi,
    I'm trying to make the following in Discoverer version 10.1.2:
    To display some records of a table using a condition and display the total of all of them of the same table. I'm trying to create a custom folder with the following query:
    SELECT PRSTDCLA
    FROM PROVEIDER
    UNION ALL
    WHERE ( PRSTDCLA = 1 )
    SELECT SUM(PRSTDCLA)
    FROM PROVEIDER;
    If I run this query in TOAD, the result is the correct. But when I run it in a Desktop worksheet, the result obtained is one row: the total of the whole table.
    Why Desktop doesn't display the correct result?
    Thanks.

    Every numeric field in Discoverer has a default aggregation method. By default, this is set to sum. When you are creating the query in Discoverer, you need to click on the plus next to PRSTDCLA and select "detail" when you are creating your Discoverer query. Otherwise, it will automatically try and group by the non-aggregated column. In this case, you aren't selecting any other columns, so there aren't any other columns to group by and you get one row.
    In Discoverer admin, you can change the default aggregation method for the PRSTDCLA field so that it displays the details (and does not aggregate by default).
    Also, why put the total in the folder definition? Discoverer can put the Total at the bottom of the table for you. Just create a new "Total".
    Hi,
    I'm trying to make the following in Discoverer
    version 10.1.2:
    To display some records of a table using a condition
    and display the total of all of them of the same
    table. I'm trying to create a custom folder with the
    following query:
    SELECT PRSTDCLA
    FROM PROVEIDER
    UNION ALL
    WHERE ( PRSTDCLA = 1 )
    SELECT SUM(PRSTDCLA)
    FROM PROVEIDER;
    If I run this query in TOAD, the result is the
    correct. But when I run it in a Desktop worksheet,
    the result obtained is one row: the total of the
    whole table.
    Why Desktop doesn't display the correct result?
    Thanks.

  • 1 app, 3 devices, 1 iCloud - how can I run the same game on different devices?

    My wife and I share one iTunes account and one iCloud account for 2 iPhone 5's and an iPad.  Our home laptop is a PC running windows 7.  We are not able to both play the same game (specifically Carcassone) at the same time on different devices which is frustrating, how can I make this happen?  Do I need two separate accounts?  Can I have two accounts with a PC?  We don't want to sacrifice the photostream to get it though.
    Thank you,
    Jacob

    Go to iTunea>Preferences>Devices and see if there is a backupright at the time you did the update. Then try restoring from that backup. If the apps are in your iTunes library, any app data will be restored to the iPod.
    When restoring from an iOS 4 (or later) backup, if the device had a passcode set, iTunes will ask if you want to set a passcode (and remind you that you had protected your device with a passcode). iTunes will not ask you to set a passcode when restoring from iOS 3.x and prior backups.
    Therefore, remembe the passcode that you enter this time.
    It appears that if you restore from a backup, that backup is not subseqyently overwritten by the next backup.

  • Running a query in a View Designer results in an error, but running the same query in a Query window works

    Hi everyone,
    Just as my title says, I have a query which I've written in a query window and it works perfectly.
    But when I try to add the query code into the view designer, it throws a Syntax error.
    Error in ON clause near '('.Unable to parse query text.
    Also, when running the query from the view designer (pressing red exclamation mark) I get a different error.
    SQL Execution Error.Executed SQL statement: SELECT Sku, ParentSku, UPC, ...Error Source: .Net SqlClient Data ProviderError Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Has anyone else experienced this and is there any workaround?
    I have tried to create the view with T-SQL (CREATE VIEW etc.), but when opening it in the view designer I get the error from the 1st image.
    Thank you,
    Radu

    Hi Radu,
    Yes, I have faced similar issue. I had a View and it was working totally fine but when once I opened it in via right click - View Design, it was giving parse error.
    Cause is that Query designer parse and executes the query without error but the way View designer works, it can't parse it.
    Later I ignored View desinger and just used T-SQL like CREATE/ALTER view.
    Workaround is to do right click on View - Script View as - CREATE To/ ATER To.
    Regarding Timeout error, again the issue with View designer which couldn't execute query in there and ended up with timeout error.
    If your SELECT query and SELECT * FROM YourView works fine in Query designer, you are good to go.
    Similar threads:
    View with errors still saved, and still works...
    Parsing error when creating view
    -Vaibhav Chaudhari

  • In OS X Mavericks, can I run the same application across two monitors?

    I'm an artist. I use programs like Photoshop across my iMac screen to my Wacom Cintiq screen all the time. It's vital for my workflow to have the same application running on both monitors. Art on the screen I draw on, menus, reference and what not on the monitor. Basically an extended desktop. I read in a few reviews when Mavericks was first released that Apple removed the extended desktop from the standard dual monitor set up. The only information I can find on this subject has to do with Airplay, which doesn't fit my situation at all. Before I upgrade to Mavericks, I need to know I'm not going to be crippling my workflow. There are a lot of features that I was looking forward to in Mavericks that could help me out a lot, but the big removal of my most used feature has kept me away for months. Any help I can get would be welcome. I appreciate it.

    I run dual 21.5" monitors and Extended Desktop Mode works fine in Mavericks.
    I don't use Photoshop, but Pixelmator and other App's with independent toolbars work great in both Windowed and Full Screen Modes.

  • DMV quesiton. Can not run the DMV query in non system database.

    As the title .I can run following query when I use  'use master' , But don't work at the DB which be created my myself.
    --Error massage
    Msg 208, Level 16, State 1, Line 1
    Invalid object name 'SYS.DM_EXEC_QUERY_STATS'.
    --SQL Version : 2005
    --compatibility level : 90
    --The query
    SELECT TOP 10
    QT.TEXT AS STATEMENT_TEXT,
    QP.QUERY_PLAN,
    QS.TOTAL_WORKER_TIME AS CPU_TIME
    FROM SYS.DM_EXEC_QUERY_STATS QS
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT (QS.SQL_HANDLE) AS QT
    CROSS APPLY SYS.DM_EXEC_QUERY_PLAN (QS.PLAN_HANDLE) AS QP
    ORDER BY TOTAL_WORKER_TIME DESC

    Yes, you can run the query under none system database.... Make sure that  your db is set 90.....
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • When I run the same query for the second time it's faster, I want to reset this behavior

    I am running a query in oracle 11g select A from B where C = ':D' B has millions of records.
    The first time i run it it takes about 30 seconds, the second time i run the query it takes about 1 second.
    Obviously it's caching something and i want it to stop that, each time i run the query i want it to take 30s - just like it was running for the first time.
    The reason I want to reset this is because for testing purposes I want to measure this query at the very first time.
    Please help.
    Thanks & Best Regards,
    Dark

    user9359353 wrote:
    I am running a query in oracle 11g select A from B where C = ':D' B has millions of records.
    The first time i run it it takes about 30 seconds, the second time i run the query it takes about 1 second.
    Obviously it's caching something and i want it to stop that, each time i run the query i want it to take 30s - just like it was running for the first time.
    The reason I want to reset this is because for testing purposes I want to measure this query at the very first time.
    Please help.
    Thanks & Best Regards,
    Dark
    No - you do NOT want to do that. Not if you want to get results that really represent how that query will work in reality.
    See these two AskTom blogs where he discusses the reasons for NOT doing this in detail.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7413988573867
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:311990400346061304

  • How can I use the same catalog on PC and MAC?

    I keep my catalog and photos on an external hard drive.  I have both PCs and a MAC and I would like to be able to access the same catalog of photos on both my PC and my MAC using LR2.  I am using v 2.3.  The problem is the location of the photo is referenced differently on the PC than on the MAC.  Does any one have any idea how I might accomplish this?
    If this is impossible, then can anyone at least tell me how I can convert my catalog file (lrcat) so that the location of photos that are currently referenced using a drive and path (eg, p:\myphotos\...) to a format that can be used on the MAC so Lightroom running on the MAC will know about the photos on my external drive?

    I have figured out the answer to my question.  Thanks to those who tried to help.
    First of all, I found that Lightroom's 'Locate folder' didn't work for me.  It might have if I had tried that the first time I tried to convert things, but I had tried to locate a few photos already, so I was always told that the folder I was trying to locate was already in the catalog.
    Breifly, what did work was to locate individual photos using the ? you see on the photo when in grid mode in the Library view and specify that other photos nearby should also be relocated.  By choosing a photo at the top of the directory tree, Lightroom will search for all photos in the directory containing your photo and all subdirectories of it.
    The details:
    What did work, was to individually locate photos using the ? you see on the photo when in grid mode in the Library view.  If you turn on the choice to locate other photos nearby, then Lightroom will search for other photos in this directory and in all subdirectories of the one containing your located photo.  This was a good start, but the problem for me is that my photos are stored in many directories below an organizing directory (eg, \2009\2009-01-02) and the organizing directory (\2009 in this example) does not contain any photos to locate.  Furthermore, each of my orgainizing 'yearly' directories are organized in one top directory (\Photos) that also has no photos in it to locate.  So, to make use of this feature, I had to create a photo in at least the top directory that I could use for finding the rest.  I call this a 'FindMe' photo.  I found that it needed to have a totally different file name than any other photo in my library.  So, I created on be exporting another photo (with very poor resolution to keep the size small) and giving it a name of FindMe-<directory_name>.  I also found it helpful to give it a caption of 'FindMe' to use in locating the photo.  I imported this photo into the top directory (\Photos) on the PC.
    The next step was to open the .lrcat on the Mac.  Looking at the grid of all photos, I narrowed down the photos to just those that had a caption of 'FindMe' or a file name of FindMe.  That located the photo in \Photos that I could use to start the search for all the rest.  (Note that giving your locating photo a name you can easily find is important because all you will be able to see when you look at all of the photos is just a blank square and I couldn't find any way to tell Lightroom to only show me photos in this one directory, excluding subdirectories (this is a feature they should add to Lightroom).)
    Now theoretically, this trick should have located all of my photos.  However, in a library of over 55,000 photos, there's bound to be some problems.  It turns out that my library that started in Adobe Photoshop Elements had some entries that didn't point to the file properly...in fact there was a blank space at the beginning of the filename.  We had caught this problem and renamed the file on the hard drive properly, but a few catalog entries had missed the correction of the filename before we converted this to a Lightroom catalog.  (Elements tolerated the blank space in the file name, Lightroom does not).  This caused Lightroom to hang when it was locating file.  I solved this problem by fixing a lot of these in the PC catalog.  (This took some doing, because Lightroom would first give me a ? to let me locate the file, but it quickly realized it had a problem and changed the ? to a danger sign that would not allow me to do anything with the photo.  So, I had to act quickly to correct the problem with these photos.)  That fixed a lot, but there were apparently still some problems in the library that caused Lightroom to hang when locating photos.  Also, as the number of photos that were properly relocated grew, I found that it took too long to let Lightroom try to fix the entire library.  So, I started creating FindMe photos in the few remaining 'yearly' organizing directories and locating files in each of these.  That pretty much did the trick.
    My wishlist for Lightroom new features:
    1.   I would like it if I could tell Lightroom to locate all photos within a directory (with the choice to includ subdirectories) in a particular place.  By this, I mean to go from the directory, not from a specific photo within a directory.
    2.  I want to be able to tell Lightroom to only display photos within a particular directory (excluding those in the subdirectory).  This would make it a lot easier to locate my 'find me' photos and would eliminate the need to make the so identifiable.

  • Who can tell me the difference between MDM,BW and ODS

    What's the difference between MDM/BW/ODS,and what aspect/domain does each of them emphasize.

    Thank Dirk,Anil for your wonderful answer.
    After study these docs on sap.com and your reply,I have other questions to ask:
    1. If I use MDM as a Enterprise's Data center repository,Is that mean I can give up other database such as Oracle,SQL Server,and build new application or shift those regacy non-SAP applications on MDM gradually,you know,if I retain these DB,I should syncharonize them cautiously,and it can not avoid "dirty data" between heterogeneous systems.
       Consider such a scenario,application A request data from MDM to modify,application B request the same data from MDM to query,then "dirty data" happened?
       So,I think if I use MDM as center data repository,then I should give up other DB,and these non-SAP systems should reference these data and deal its own business matter.
    2.When I implement MDM,Would the data in SAP R/3(such as PM/MM/FI/CO) also be replicated to MDM,then shared to other non-SAP systems?or these data needn't synchronize to MDM?
    3.consider such a scenario,I need SAP R/3 data to share with other non-SAP system,besides XI,should I need MDM,using MDM to implement data management and sharing.
    4.Dirk has noticed "MDM could also mean Meta Data Model ",so I want to ask if MDM fully compatiable with CIM(common information model) and I can create complex objected-oriented data and mutiple relationship in it?
    thanx for your answer again,Best regards
    jiansen

  • How can I duplicate the same settings (add-ons AND bookmarks) from Firefox on one machine to another

    From memory, it used to be possible to create a srtup file of sorts to re-create/re-establish not only bookmarks but also all the add-ons from one Firefox to another - on a different machine. In short, I would like to have them to be identical.

    You need to mount that other partition to be able to access files on it and then browse to the hidden profile folder on that partition.
    /home/user/.mozilla/firefox
    You can only restore a JSON backup, unless you export the bookmarks in that other OS to an HTML file.
    See also http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • How can i get the same colors in PS and Bridge

    My pictures is shown with stronger contrast and saturation in bridge than the original PS file in PS.
    Im trying to open the Suite Color Management in Bridge but it says that "Suite Color Management requires that a qualifying product has been launched at least onc to enable this feature". What shoud I do?

    Remember that Photoshop is showing you a rendering of the original file, while Bridge is showing you a rendering of the sRGB preview Bridge itself generates.  Color management plays a huge role in that depending on whether the file is tagged (has an embedded profile) or not.
    As for the illusory "Suite Color Management", Trevor is right in pointing out that it is utterly irrelevant if you only have Photoshop and Bridge but none of the other  applications in a suite.  Besides…
    …Inconsistency between or among applications in the artificial "suites" should come as no surprise.
    The "suite" concept is a fabrication of Adobe marketing and bean-counting types.  The engineering teams are totally independent of each other, they are not only in different buildings but in different cities and states of the American Union, even in different countries.
    The fact that they have little if any communication among them is highlighted by requests occasionally made in these forums by top Adobe engineers to let the other teams know when there are problems in one application that impact our workflow in another one.

Maybe you are looking for