Query between different infoproviders

How to copy query between different infoproviders?

Hi,
It can be done throught he transaction RSZC
1)     Run the Code RSZC and Input the Source and Target infoprovider name.Execute it.
2)     Next screen you will get the option of which query to copy, select the query.
3)     Go to next screen and change the name of the query that is in the destination. (If you want).
4)     Next screen, Message is displayed if success or failure.
Important Note : This function allows you to copy queries and their subobjects
(structures, calculated key figures, and restricted key figures) between different InfoCubes. Note that the target InfoCube, that is the cube with the query copies, has to contain all the InfoObjects that are contained in the source InfoCube (InfoCube with the original queries)

Similar Messages

  • Copy Calculated/Restricted Keyfigures between DIFFERENT InfoProviders

    Hello Gurus,
    I am struggling with a problem and there doesn't seem to be any clear help on the web. But maybe you can help me.
    How can one copy a restricted keyfigure from one infoprovider to another different one when all the infoobjects used for the restricted keyfigure are present in both the providers? (multicubes)
    And of course TCode RSZC doesn't work with non-identical infoproviders.
    Thank you very much for your help!
    Marius

    Thank you Cornelia, but this method was clear for me from the begining... it is not an option though... there are about 30 InfoObjects (and another 40 Multiproviders) so there has to be another way. And there is a way because there is an article on BWExpertOnline which describes an easy method (unfortunately this answer is not worth a thousand dollar subscription for me):
    Quick Tip
    Copy Queries Between InfoProviders Painlessly
    by Joerg Boeke, syskoplan AG BEx Analyzer, InfoCubes, Performance, Query, Debug Mode, InfoProvider
    Perhaps, like me, you have spent countless hours successfully creating great queries that contain complex structures for a particular InfoProvider. Then, down the road, you find you need this exact query again for another InfoProvider, but the new InfoProvider has a single characteristic that differs from the one that was the object of your original query. Using SAP transaction RSZC (copying queries between InfoCubes), query definitions can be copied only for use on InfoProviders with the same characteristics. If the key bfigures and characteristics of the new InfoProvider do not match the original 100 percent, this standard method fails.
    So close and yet so far, right? I’ll show you a way, however, to copy the query definition from one InfoProvider to another, regardless of the characteristics of the new target. This method works with both BW 2.x and 3.x installations.
    Source: [http://www.bw-biexpertonline.com/archive/Volume_03_(2005)/Issue_06_(July)/V3I6A2.cfm?session=|http://www.bw-biexpertonline.com/archive/Volume_03_(2005)/Issue_06_(July)/V3I6A2.cfm?session=]
    The above mentioned method handles the copying of queries but when we copy the queries we copy the restricted/calculated keyfigures also.
    Does anybody know this painless method?
    I thank you in advance.
    Marius
    Edited by: Marius Grunca on Feb 12, 2008 6:35 PM

  • How to calculate and save planning data in bex input-ready query using keyfigures for calculation from different infoproviders

    Hi Dear All,
    We have two real time infocubes and two aggregation levels based on these cubes in one multiprovider
    first cube1 is like
    char1| char2| keyfig_coefficient(single value for each combination of char1 and char2)
    same aggregation level1
    (we have input query to fill coefficients by one responsible user)
    second cube2 is like
    char1| char2| keyfig_quantity| keyfig_result
    same aggregation level2
    Input ready query should be like (for all other users of different org units)
    char1|char2|keyfig_coeff| keyfig_quant(for input) | keyfig_result = keyfig_coeff*keyfig_quant(calculated value, should be saved to cube2)
    And we don't have pregenerated lines in cube2, users have to add new lines themselves by wad.
    Question is, what is the optimal (easiest) way to make calculation and save result data to cube2 where keyfigures for calculation should be used from different infoproviders. I need just a hint.
    Appreciate any help.
    Nadya.

    I found decision, agregation levels sould be based on multiprovider, not included.

  • Error while copy query between infocubes

    I was trying to copy a query between infocubes and ended with error message.
    Query copied from Infocube A to Infocube B. Infocube B has an additional dimension with 2 char's when compared to infocube A.
    Using transaction RSZC, I tried to copy the query, but ended up with following error..
    1.Program error in class COPY_QRY_TO_CUBE method : UNCAUGHT_EXCEPTION
    2.An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    3.The system tried to insert a data record, even though a data record with the same primary key already exists
    I also tried using function module RSZ_I_COPY_QRY_TO_CUBE, which was of no help. I get the following message with the function module...
    1. Program error in class RS_TESTFRAME_CALL method : UNCAUGHT_EXCEPTION
    2. An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    3. The system tried to insert a data record, even though a data record with the same primary key already exists
    I have also tried a solution in BW expert by using debugging mode of the above function module, again this was of no help..
    I am BI 7.0 SP09...
    Any ideas, Please....
    Thanks,
    RR
    Message was edited by:
            Ray R

    Hello,
    Are you trying to copy Business Content delivered Queries?
    I had also got this error when copying over all queries from one cube to another. Reason for this message was plain simple - I did not realise that the sender Cube had Business Content Query which we cannot copy over using RSZC as system tries to create another query with suffix as 0****_1. We cannot create query in SAP user namespace. Error message is different then the reason behind it.
    Thanks
    Ravi

  • Sinlge select query in different schemas for same table(Indentical Structu)

    Scenario :
    Table XYZ is created in Schema A
    After an year, the old data from the previous year would be moved to different schema. However in the other schema the same table name would be used.
    For eg
    Schema A contains table XYZ with data of 2012 yr
    Schema B contains table XYZ with data of 2011 yr
    Table XYZ in both the schemas have identical structure.
    So can we fire a single select query to read the data from both the tables in effective way.
    Eg select * from XYZ where date range between 15-Oct-2011 to 15-Mar-2012.
    However the data resides in 2 different schema altogether.

    Thanks for the reply
    Creating an view is an option.
    But my problem, there is ORM layer(either Hibernate or Eclipse Top Link) between the application and the database.
    So the queries would be formed by the ORM layer and are not hand generated.
    So i cannot use view.
    So is there any option that would allow me to use single query on different schema's ?

  • Difference between different mappings

    Hey guys...
    I have one query regarding different types of mappings available in XI...
    when and where these different types of mappins are used ( ex : java mapping...????, ABAP mapping..????, XSLT Mapping...??? Graphical Mapping...???? something like that?)
    could pls help me for the same...
    Cheers.,
    Stallin

    Hi Stallin,
    I thought i will start of from scratch.Mapping is basically done to convert one form of xml into another form. This can be done using either of them mentioned below.
    - Graphical mapping
    - XSLT mapping
    - JAVA mapping
    - ABAP mapping
    There is no hard and fast rule for using the mapping techniques. But, I will try to put things in the right perspective for you.
    Graphical Mapping is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve any complex logic.
    Java and XSLT mapping are used when graphical mapping cannot help you.
    When the choice is between Java And XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. One among them being that you cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perfrom something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT and so, when you want to use some specific Java API's you will have to go for Java Mapping.
    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.
    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.
    To know more about each of them please go thru the following links. And if you ask me your which is better, it depends basically on the scenario you implementing and the complexity involved. Anyways please go thru the following links:
    Graphical mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview
    http://www.sapgenie.com/netweaver/xi/mapping1.htm
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    XSLT mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    http://www.w3.org/TR/xslt20/
    JAVA mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
    ABAP mapping
    /people/r.eijpe/blog
    To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:
    http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf
    To get an idea as to what value mapping is, please go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    most of the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.
    Hope this clears your doubt fully.
    Regards,
    Abhy

  • Query between schemas

    We are migrating our application from SQL Server 2005 to ORacle 9i. We used to have queries that extracted data between different databases in SQL Server, we've encountered problems doing the same in ORacle. What used to be separate Databases in SQL Server appear now as different Schemas in Oracle. Ive read about Database Links and making use of them in our queries but Im not sure if this applies here since we are using the same database, just different schemas.
    I appreciate your help,
    JD

    JD,
    In FROM clause you can specify the schema, for example:
    SELECT *
    FROM s1.t1,
             s2.t2
    WHERE ...Also, you need to grant access accordingly. If the query is executed by user (schema) s1, then s1 must have SELECT privilege to read data in table s2.t2.
    GRANT SELECT ON s2.t2 TO s1Finally, you do a better job if you use roles, not granting privileges direct to users.
    Read about grants and roles.
    Regards,
    Miguel

  • Parallel database connection​s and single query between databases

    Hi, I am looking to execute this SQL query between 2 different databases to update a local database based on data selected from a remote one.
    e.g.:
    - Local database name: db1
    - local database schema: dbo
    - local database table1
    - remote database name: db2
    - remote database schema: dbo
    - Remote database table: table2
    - Query: "SELECT * FROM db2.dbo.table2 WHERE NOT EXISTS(SELECT * FROM db1.dbo.table1)" <- This gets e the record set i would need to insert, and I already have a vi to do that kinda thing.
    How do I go about this?
    Thanks,
    Mohamed

    Mohamed,
    There is a VI in the Database Connectivity Toolkit that allows you to execute SQL queries:  DB Tools Execute Query.
    http://zone.ni.com/reference/en-XX/help/370016E-01​/lvdatabase/db_tools_execute_query/
    Is this what you are looking for?
    Drew T.
    NIC AE Specialist

  • HT1203 iTunes: How to share music between different accounts on a single computer - I tried to use the instructions to configure 2 different windows users sharing the same iTunes library.  I could not get this to work per the instructions.

    I tried to configure 2 windows users accounts using a single library per the instructions in HT1203.  My iTunes library is on an external drive.  I cannot get this to work.  Any suggestions?

    To give other users read-only access to your iTunes library, use the Sharing features of iTunes. Sharing works over the local network as well as on the same computer. See the built-in help for details.
    If you want to give full read/write access to more than one user, see the support article linked below.
    iTunes: How to share music between different accounts on a single computer
    There is a way to share the library without moving it to a secondary volume. If you really need to do that, ask for instructions.

  • How to share music between different accounts on a single computer

    I am trying to share music on my Mac between two different iTunes accounts.  Can this be done?

    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189

  • Sharing iTunes library between different user accounts

    I recently purchased my imac and made the leap from the PC world. I set up another user account aside from the general administrator and followed the steps of having itunes folder go to the users/shared folder in an effort to be able to share files between users. I am able to now share the library between users but find that when I load new songs onto one user I then need to go into the other user's account and manually copy the new songs from the shared folder into itunes.
    Anyone know how I can have it so when I load songs into one users itunes they will automatically appear in library of the other user's itunes without having to take the step of copying/importing?
    Also when I was downloading and importing over 4000 songs my imac had the transparent black box which informed me I needed to shut down my computer at least twice. Should I be concerned? I'm assuming this notice is very similar to the "blue screen of death" known in the PC world so that can't be good especially when I paid the extra $ for fully loaded imac.
    Thanks for the help!

    DANMAC808, Welcome to the discussion area!
    See KB 93195, iTunes: How to share music between different accounts on a single computer.
    Also when I was downloading and importing over 4000 songs my imac had the transparent black box which informed me I needed to shut down my computer at least twice. Should I be concerned?
    That is not normal at all.

  • Sharing songs between different iTunes accounts on the same Mac

    Hello
    I am a newbie to Mac. My wife and I both have seperate iTunes accounts set up on our seperate user accounts on our MacBook. Can we share songs between our accounts?

    *BA Mack* wrote:
    Can we share songs between our accounts?
    Zevoneer wrote:
    You might find this article useful: iTunes: How to share music between different accounts on a single computer
    The process for sharing libraries is much [easier in iTunes 8|http://forums.macworld.com/thread/105366?tstart=0]. If you simply want to share a few songs, you are better off having a copy of those tracks in each of your libraries, but there is little point to that as you can access each other’s libraries in read-only fashion.

  • How can I sync/import/export bookmarks between different users on the same computer and both using the Firefox browser?

    All help instructions are for importing or exporting bookmarks/favourites between different brands of browsers.

    Many thanks twalker for your prompt and simplified explanation for resolving my problem which is much appreciated by this tarnished silver surfer. I will now arrange to download FX4 and follow your instructions.

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • Sharing I tunes music library between different user logins on same PC

    Due to my computer crashing I recently bought a new PC running Microsoft Vista. I am attempting to set the PC up so that different members of the family can have their own login. I have downloaded I tunes 7 and it shows on each desktop. My problem is that I cannot figure out how to share the music library between each login.

    the following document may be of some assistance with that:
    iTunes: How to share music between different accounts on a single computer

Maybe you are looking for

  • Can't install MSI Live Update 3

    Hi I have a problem installing msi live update. I have tried with the utility cd and downloadet the newest version for MSI. When I click the exe i run shortly and then disappears. Nothing happens - I can see the Live Update process in the taskbar. My

  • Import from Kodak V550 .mov

    Impressed with several features in iMovie 08, but very annoyed that I can no longer import my .mov files from my Kodak V550. I used to just pop them into iMovie 06 HD no prob. Now, it's looking like I'll need to convert each and every file that I sho

  • PROBLEM IN  REPORTS LARGE with jasperreport

    Nedd help IReport I need to make reports in PDF IReport table with very big for example 100,000 records (5000 to increase per month) which is time consuming for 5 minutes!! In my first attempt the divided into 4 rounds with a limit = 25,000 to displa

  • Best iPhone 6 Plus Screen Protector

    I have a Zagg for my iPhone 6 but my sister is looking for iPhone 6 Plus screen Protector, I wonder if this LUVVITT is good brand or not for screen protector, They look good but Im not sure for my iPhone 6 Plus LUVVITT Screen Protector for iPhone Plu

  • Sourcefire AD user agent

    We're seeing this error in the user agent: Unable to attach event listener to adserver.domain.com. Check firewall settings on AD Server. Operation is not supported on this platform. The agent is installed on a member server and the connection to the