Crystal Report add-on Sample Reports
Hi Experts,
I am using Crystal report add-on in SAP B1 2007, i would like to know about sample reports for the same.
has SAP provided any sample reports in crystal report add-on like they have for XL reporter?
pls. give me the link if anybody knows.
Regards
Kamlesh Vagal
Hi,
I have two questions:
I downloaded some sample reports, and try to connect them with the SBO database. When I use "Set Datasource Connection" I can see that the table in use is called "variance_xtab". This table does not exist in the SBO database, so I cant replace the connection.
Some of the embedded sample reports you get when installing the CR add-on require a login to the "COIMBRA" database when I try to replace with my own SBO database.
How can I get around this issues?
Regards Per Nymo
Similar Messages
-
Hi Experts,
I have successfully installed Crystal report add-on on SAP B1 server, I can see the attached report in all modules on server as well as client machine, but when i tried to open any report on client machine, it is not opening but it is properly display on server.
Should i need to install crystal report runtime for all the client machine?
Pls. guide me for the same.
Regards
Kamlesh VagalHi dear,
Install the crystal report prerequisites on every client machine you want to show crystal reports.
follow the below mentioned steps:
1. The installation disk or folder will contain a single setup.exe
2. Log on to the target PC as an administrator or admin type user (windows).
3. copy the setup.exe to a convenient location on the target PC and run setup.exe
4. Setup exe will install Crystal reports runtime (version 10), Microsoft runtime files and the add-on files. It is recommended that you keep the path selected by the installer. The default installation path for the Add-on files is C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR_CRYSTAL_1_10.
5. Once the setup.exe has completed, log on to SAP as manager or any other superuser.
6. Using Administration | Addons | add-On Administration, register the Crystal Add-On, set the desired settings and restart SAP.
7. There is a known issue within SAP where with multiple add-ons starting automatically with a super user, SAP will shutdown as soon as the user logs on. If this issue occurs always log in through the choose company screen. SAP is aware of this issue and will be rectifying this in a patch.
8. Log on to SAP, as a super user.
9. Run Account setup from Administration | Crystal Reports Administration | Account setup
10. Type in the sa password for the SQL server that holds SAP databases, and click Update.
11. Click the u201CCreate Ext Tablesu201D button. Add-on will create the additional tables now (this process must be performed for each new SAP company once).
12. THE TASKS 3 TO 5 and task 10 INCLUSIVE WILL NEED TO BE RUN ON ALL PCS THAT NEEDS THE CRSYTAL ADD-ON. 13. Crystal add-on is ready to use. A help file is provided and you may test the add-on with the sample reports found in u2026\ SAP_CR_CRYSTAL_1_10\SampleReports. The help file can be found in u2026\SAP_CR_CRYSTAL_1_10
this will solve your problem.
Regards,
Neetu -
Dear All,
I have SAP B1 crystal report add installed in my client computer. And also i already setup display menu for each user (which module should appear for each user). The problem is once i run crystal report add on, then SAP B1 will display all menu again for each user while they (user) don't want to see all these unused modules. Is there any setting to avoid this problem?
Thanks and RegardsHi,
After staring the Crystal reports addon,again do the form setting for the respective user.
Then close sap b1 session.
Now log in sap b1,start the addon,all modules will not be displayed
I have checked in my test system and i am getting the desired result.
Kindly let us know if this solves your issue. -
Crystal Report Add-On not working
Hello Experts,
We have freshly installed Crystal Reports Add-On. when we start the add-on it says it is connected but when we try to access any of the forms in the Crystal Reports sap screen comes up with a message window stating
"There is already an open Datareader associated with this command which must be closed first"
which does allow any further transactions in crystal reports screens.
regards,
shreyasThread moved...
Please post Crystal Reports related questions only in the forum
Best regards,
Darius -
SAP B1 Crystal Reports Add On and Crystal Report 2008
Hi,
I have posted the question at SAP Reporting Forum, but not much luck.
The following reports is created in Crystal report 2008.
From http://help.sap.com/businessobject/product_guides/cr2008V1/en/CR2008_SP2_Fixed_Issues_en.pdf, I tnocie there could be moemry leak for Sybase Connectivity, but we are using ODBC.
My client is using SAP 2007 SP00 PL49, SAP Crystal Report Add on is 2.0.0.7 and they have Beas 6.70.07
They have encountered problem "The request cannot be submitted for background processing" after printing about 8 times of the same reports consecutively. It is a work order reports which my clients prints for one operations at a time, with each operations generated 8 pages of output. There are 5 jpeg on the report, which is not huge.
Yes, I am aware there could be any problem related to that.
What I notice is, on the workstation with SAP Business One client running, whenever user print a report named "Work Order", in the temp folder it creates one .rpt and 26 tmp files (Note that I have made up the number)
Work Order {C0ECP901-C6F6.......}.rpt
~cpe{51DD9109........}.tmp
~cpe{71DD9109........}.tmp
~cpe{52DD9109........}.tmp
~cpe{53DD9109........}.tmp
~cpe{54DD9109........}.tmp
At the moment, for a temporary solutions, everytimes when the error comes up, my client have to log off from SAP Business One, clear the temp folder and then relogin before they can print the same report.
Anyone encounter the problem and manage to resolve. it.
Edited by: Shwu Hua Gan on Aug 12, 2010 8:43 AMIn case anyone is interested.
I managed to drill down and get around with the following solutions. Still in progress of monitoring, but seems to solve part of the problem.
1. Open up the JPEG in Accessories--> Paint and notice that the JPEG is too big and cannot be seen without adjustting the scrolling bar. Reduce the image size seems to work.
2. The report is using dynamic graphic and reading JPEG path from a UDT with column 'type' and 'path'. Subreport is used with record selection Type='Precheck'. When there was no Precheck type JPEG, it seems to crash. We have asked client to add in type='precheck' and hyphen in path when it is not applicable. In that sense, it will return something to the report.
3. We also have subreport that read material issues. when there was no material issue in the subreport, it crash. So, we do the following:
- section express - tick suppress blank section
- right click subreport, tick suppress blank subreport.
- in Subreport, at report option, we select suppress printing when no records.
Note that workaround in point 3 does not seem to work for pictures. So, it might be worth suppressing with formulas. -
Problems Using Crystal Reports 2008 sample reports in CR2008 Basic
I just downloaded Crystal Reports 2008 sample reports from
[Service Packs, Hot Fixes, Samples, and Utilities|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000714768&_SCENARIO=01100035870000000202&] to use them with CR2008 Basic. I have trouble using them . It tries to connect to to a website to download an xml file. Has anyone tried these sample reports in CR2008 Basic ?From the portal you have mentioned, I had downloaded, "Crystal Reports 2008 sample reports - Demonstration" (demo_smpl.zip) which had three reports - Comparative Income Statement.rpt, Order Processing Efficiency Dashboard.rpt, World Sales Report.rpt.
These reports work fine for me. -
Crystal Report add on displays all modules
Is there a possible way where i can retain the modules visibility setting once i run the crystal report add on?
By default, once the add on is started, it displays all the modules in SBO even if I uncheck some modules to display.
Thanks!I would want to restrict each user on the modules I wanted to display in their menu but once i run the crystal report, all modules are displayed even if the crystal report is the only option in each module.
Edited by: Denisse Calaquian on Jan 29, 2010 4:28 AM -
Action failed after start Crystal report add-on then Account Setup
Dear All,
We got an error message on a work station when start Crystal report add-on >> Go Account Setup >> type in sa password >> Action failed
Then I tried on the server. It used to work before. I type in the same password, the error message said 'login failed...'
The password is correct. I can login by using management studio.
Then I changed the password of sa user in management studio. On the server, after I changed password in Account Setup, it works. But on the workstation, I still have the same error message Action failed.
They are on SAP2007A PL06HF01, SQL2008, the OS of the workstation is Windows Vista business
Any idea? Thanks a lot.
Regards,
YukaHi Yuka,
I moved your post to the Integration Kit forum.
Also be aware that CR 2008 supports MS SQL Server 2008 with Fix Pack 2.3 installed. MS also only supports MS SQL Server with their new Client. Go to the install CD for SQL Server and instlal the client Tools which installs a new driver.
Need to know what version of CR you are using?
Thank you
Don
Edited by: Don Williams on Feb 22, 2010 6:50 AM -
Crystal Report add-on in SAP2005
Dear All
Our customer is on SAP2005A and SQL Server 2000 (they will upgrade to SAP2007,SQL 2005 by the end of
month) They have 3rd party add-on.
They installed Crystal report basic 2008 and add the report to SAP by using SAP crystal report add-on
They can onlyhave 1 user open the report in SAP. Is this a SAP behavior or they may have something
wrong for the settings?
They only need one workstation to design the report. So they only install Crystal report basic 2008
on one workstation. But they need all users can open the reports in SAP. Should they buy more
license? I need a clear answer for this. I cannot find the document on Portal. Please help. Thanks.
Regards,
Yuka
Edited by: Jie Jin on Jul 21, 2009 4:46 PMThe system message I got is "multiple report views are not permited" for the 1st question.
2nd question is, when I run crystal report in SAP on my computer, I got an error message (I am on 1.0.0.10 of The add-on) Thanks a lot. Logon failed.
Details: IM002:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Edited by: Jie Jin on Jul 22, 2009 12:50 AM -
Crystal Reports Add-On Must be a Superuser error
Hello All,
I could not find anything related to my issue so far, so please direct me , if there is already a solution in the post.
My issue is that I have installed the Crystal Reports Add-on version 2.0.0 and I can use it under Manager account in SBO 2007 just fine.
However when I try to launch the main form of add u2013on (frmCrystalReports ) to view/print a report under Customer Service user account it gives me an error:
- u201COnly super users are allowed access to this functionu201D
The form is seen in the menu and Add-on is started.
I have tried to give all the authorizations to the Customer Service user account -It doesn't work. Only when i check 'Superuser' for the Customer Service user it works!
How could I enable non-superuser accounts to use launch the form and view the reports? What could be a problem?
Thank you for any comments in advance.
RahimGordon
It is Full License - the same license as the one that Manager account is using. Customer Service user is not relevant to a license type. Only authorizationwise, the user is configured to work with sales part in SBO.
In fact, it can be any user- even with all authorizations enabled , and unless "Superuser" is checked for a particular user in "users" form, the result is the error.
As you know giving "Superuser"' rights to all acounts is not an option.
Thanks
Rahim -
Can i Use Crystal Report Add-on in SBO 2005 B PL 25
Hi all,
I am using SBO 2005 B PL 25, I like to use Crystal Report Add-on with this version and PL.
Can I use It ? From Where I have to download the Add - on ? How to Install ?
Can anybody guide me on this issue ?
With Best Regards,
Chintesh SoniHI ,
Please go through the link.
http://72.14.235.132/search?q=cache:sZ8kQ1GEamMJ:https://www.sdn.sap.com/irj/scn/downloads%3frid%3d/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12CRYSTALREPORTSINTEGRATIONFORSAPBUSINESS+ONE&hl=en&ct=clnk&cd=1&gl=in
Rgds,
Premraj -
Sample Report: Sales per Customer by Period - WITH QUANTITIES
I am trying to make some modifications to the 'Sales per Customer by Period' sample report, but am having problems. I want it to be YTD and comparative, so YTD-12. That part was easy enough. Then I wanted to add the quanty. So i want the report to show the sales amount and quantity for each customer, ytd and prior year ytd. This seemed easy enough also, until I looked further into the data. It doesn't match up with reports from Business One. The problem seems to be my items that are packs, like an item that is sold in packs of 10. If the invoice has 10 10 Packs on an invoice, my report shows a quantity of 10. The SBO report shows it as a quantity of 100 (10x10). I have tried to add Item level stuff, so I could go get the 'Items per Sales Unit' value and multiply it by the quantity. When I do this the report crashes.
Does anyone have any suggestions? Has anyone created a report like this? Any help would be appreciated.Hi,
What is your B1 version and PL? Is this a Crystal Report or PLD?
Thanks,
Gordon -
Creating a sample report using JAVA SDK
Hi,
I am trying to create a sample report using JAVA SDK.
I slelect 4 "free cells" and pass 4 different strings to it.
I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
My issue is, Why am I not able to see the data when I run the java code.
Please find teh code below.
package com;
import java.awt.Color;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.businessobjects.rebean.wi.BinaryView;
import com.businessobjects.rebean.wi.DataProvider;
import com.businessobjects.rebean.wi.DataProviders;
import com.businessobjects.rebean.wi.DataSource;
import com.businessobjects.rebean.wi.DataSourceObject;
import com.businessobjects.rebean.wi.DocumentInstance;
import com.businessobjects.rebean.wi.DocumentLocaleType;
import com.businessobjects.rebean.wi.FontImpl;
import com.businessobjects.rebean.wi.FreeCell;
import com.businessobjects.rebean.wi.HTMLView;
import com.businessobjects.rebean.wi.OutputFormatType;
import com.businessobjects.rebean.wi.PageHeaderFooter;
import com.businessobjects.rebean.wi.Query;
import com.businessobjects.rebean.wi.Recordset;
import com.businessobjects.rebean.wi.Report;
import com.businessobjects.rebean.wi.ReportBody;
import com.businessobjects.rebean.wi.ReportCell;
import com.businessobjects.rebean.wi.ReportContainer;
import com.businessobjects.rebean.wi.ReportElement;
import com.businessobjects.rebean.wi.ReportEngine;
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.framework.ISessionMgr;
import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import com.crystaldecisions.sdk.plugin.CeKind;
public class Aug7th {
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
String CMS = "pundl8136:6400";
String userID = "srivas";
String password = "morcom123";
String auth = "secEnterprise";
List<String> entire =new ArrayList<String>();
List<String> country =new ArrayList<String>();
List<String> resort =new ArrayList<String>();
IEnterpriseSession enterpriseSession;
try
ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
if (enterpriseSession != null)
{//Create and store useful objects for the session.
IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
IInfoObject infoView = null;
String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
"AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
//String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
System.out.println(objInfoObjectsWIDs.size());
IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
DataProviders dps = doc.getDataProviders();
// Retrieve the 1st data provider
DataProvider dp = dps.getItem(0);
// Retrieve the universe objects
DataSource ds = dp.getDataSource ();
Query q = dp.getQuery();
Recordset rs = dp.getResult(0);
// 0: assume query has one flow
rs.first();
// Print the column types. They can be Integer, String,
// or Date.
for (int i = 0; i < rs.getColumnCount(); i++) {
Class c = rs.getColumnType(i);
StringBuffer sbt = new StringBuffer();
if ( c.equals(Integer.class) )
sbt.append("Integer");
if ( c.equals(String.class) )
sbt.append("String");
if ( c.equals(Date.class) )
sbt.append("Date");
sbt.append(";");
System.out.println(sbt.toString());
System.out.println(rs.getColumnCount());
while (!rs.isLast()) {
// column names
StringBuffer sbn = new StringBuffer();
StringBuffer sbd = new StringBuffer();
for (int j = 0; j < rs.getColumnCount(); j++) {
sbn.append( rs.getColumnName(j).toString() );
sbn.append(";");
System.out.println("sbn "+sbn.toString());
// data
for (int k= 0; k< rs.getColumnCount(); k++) {
sbd.append( rs.getCellObject(k).toString() );
sbd.append(";");
entire.add(rs.getCellObject(k).toString());
System.out.println("sbd "+sbd.toString());
rs.next();
System.out.println(entire.size());
for(int i=0;i<entire.size();i++){
country.add(entire.get(i));
i++;
System.out.println("entireList "+entire.get(i));
resort.add(entire.get(i));
DataSourceObject city = ds.getClasses().getChildByName("Country");
DataSourceObject resorts = ds.getClasses().getChildAt(1);
dp.runQuery();
ReportContainer report = doc.createReport("Resort");
PageHeaderFooter header = report.getPageHeader();
FreeCell headerCell = header.createFreeCell("Resort Report");
PageHeaderFooter footer = report.getPageFooter();
FreeCell footerCell = footer.createFreeCell("Report Ends");
ReportBody body = report.createReportBody();
for(int k=0;k<resort.size();k++){
FreeCell res=body.createFreeCell(resort.get(k));
res.getAttachTo();
res.setHeight(15d);
res.setWidth(30d);
Color c = new Color(255,255,255);
Color c1 = new Color(255,0,0);
FontImpl fnt = (FontImpl)res.getFont();
fnt.getDecoration().setTextColor(c1);
res.setFont(fnt);
//res.deleteAttachment();
//res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
doc.applyFormat();
doc.refresh();
final String l_docToken = doc.getStorageToken();
final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
doc.saveAs("mor31",835,null,null);
doc.closeDocument();
str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
"AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
//String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
System.out.println(objInfoObjectsWIDs.size());
objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
String token = doc1.getStorageToken();
DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
doc2.saveAs("123123", 835, null, null);
// doc.refresh();
//doc.save();
enterpriseSession.logoff();
catch(Exception e)
e.printStackTrace();duplicate post:
Sample report using JAVA SDK -
Crystal Report and Dash Board Report templates
Hi All,
I was wondering can you help to find out few Crystal report and Dash Board report Templates for SAP Business One.
This in order to give demo to customers.
Link pointing to same is good enough. I have authorization to SAP portal and I have searched through it found only two template of Crystal report no Dash report templates.
Regards,
AdityaHi Adit,
For CR demo, you can use this youtube CR demo:
http://www.youtube.com/watch?v=bKLtTDNpQMM
For the CR sample templates donwload, you can check this link:
http://scn.sap.com/thread/1239521
If you want to create the template by your self, you can check this link:
http://scn.sap.com/thread/1627677
For dashboard sample, you can download from this link:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0bd3605-e1ad-2d10-488d-f2e4fede1d46
JimM -
BI 4.1 auditing sample reports in WebI format ?
Hi!
Is it possible to get auditing sample reports in WebI format instead of Crystal format (like in previous versions of BO) ?
When Crystal is not used by a custommer, it's a pity to install and run Crystal servers & client just for auditing reports, isn't it ?
Regards,
Stéphane.Tilak,
All the information you need on the Audit Database can be found within the different Admin Guide and the sample UNX w/ Crystal Enterprise reports provided.
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_bip_admin_en.pdf
- Section 20
http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp4_bip_admin_en.pdf
- Section 21
Sample Auditing Universe and Reports for SAP BusinessObjects_4_x
You can very easily reverse engineer the Crystal Enterprise Reports and create starter WebI reports and beyond.
Regards,
Ajay
Maybe you are looking for
-
Need info about the parameter _FIX_CONTROL in a BW environment
Hi , I have done some research about the parameter FIXCONTROL and went through the SAP note 1165319. We have a task at hand where SAP has recommended a new value to be added to this parameter in a BW production environment. Now in the above note ther
-
How do I run a database procedure that inserts data into a table from withi
How do I run a database procedure that inserts data into a table from within a Crystal report? I'm using CR 2008 with an Oracle 10i database containing a number of database tables, procedures and packages that provide the data for the reports I'm dev
-
How do i change my name in Leopard so that it changes it everywhere?
When first configuring my new MacBook Pro, it asked me for my name and i put in my First and Last name (so that it registers it correctly), but now every time i want to install something or it asks for a name, Leopard automatically places my first an
-
How can I find and install adobe flash player for ipad2
I was try find but can't find flash player,,,,
-
Hi everyone, I was wondering if there was a way I could find some text that is separated by a word in the middle? For example, if I search for GHz Socket on our web site, our part numbers don't show up because the column this search is querying off o