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

Posted on 2011-03-10
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
  • 3
  • 2
LVL 26

Accepted Solution

Kurt Reinhardt earned 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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