[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


how2 use boe xi r2 repository to store / reuse common forumulas and sql commands

Posted on 2011-03-10
Medium Priority
Last Modified: 2012-05-11
How can the boe xi r2 repository be used to store and reuse common formulas and sql commands so that multiple developers can pull them into new reports repeatedly to ensure consistency in data selection and calculations?
Question by:conardb
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 26

Accepted Solution

Kurt Reinhardt earned 2000 total points
ID: 35098457
When you're in Crystal Reports, simply connect to your repository using your Enterprise credentials through the Repository Explorer. Once you're connected, you can add objects up to the repository or pull them down as needed.  Please note, however, if you need to modify a repository object, such as a SQL Command, you'll need to disconnect the object from the repository, make changes, then *possibly* reconnect it.  I say possibly, because any other report that uses that object could be affected by the change.  If you want to write a one-off command, save it back with a different name...


Author Comment

ID: 35098503
I haven't been able to do.. I created a formula but cannot drag to repository or right-click and 'add to repository'... I was able to do with a corporate label though.   Do you know of any sap note or instruction on how to do that I can use?
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 35101883
Full disclosure, I work for a consulting company that specializes in Crystal Reports, but there are a lot of fantastic consultants and/or companies that provide development, support and training, some whom frequent this site.

To give an example of my last experience with SAP support - I had a customer who was having an issue with a report that had a 5-level dynamic cascading parameter where four of the five levels allowed multiple value selection.  Simply put, it wasn't working as expected, so I did some troubleshooting and found that Crystal was basically passing through the parameters and not querying them as a single recordset.  Crystal wouldn't loop back through the cascades, however, which meant it was dropping a lot of potential values the user should have been able to select.  I checked with a colleague to see if he'd seen this behavior before and he had.  He told me there was a fix pack for it.  So, I logged in to SAP and started looking for the fix pack and couldn't find it. I opened a support ticket on behalf of my customer, dealt with basic level 1 customer support, had to prove what was happening was actually happening and I did so against SAP's own Xtreme Sample database.  Ultimately, I was told the fix pack only applied to customers who used BusinessObjects Enterprise.  There was NO fix or ETA for one for pure Crystal Reports Customers.  Keep in mind, Dynamic Cascading parameters were the Holy Grail of Crystal Reports for going on 10 years.  I sat in a focus group at a conference in Vancouver, CA years ago with some other Crystal Reports users and we all wanted that feature.  When it was finally introduced, it was THE marquee feature of Crystal Reports XI, but it's basically broken a year or two after release and I had to chat with multiple representatives, be escalated, spend weeks waiting to find out there was no fix.  Crazy...


Author Closing Comment

ID: 35131353
I got a link to documentation: looks like we can add text/bitmaps (and we have been doing with labels), custom functions(doesn't let us us fieldnames so we're limited there), and commands / sql scripts and I've been able to add commands and use as sources for rpts...
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 35131509
Weird - just say my response above, but that was to a different question regarding support.  Sorry to confuse the issue.

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question