Crystal Report + BI 7 Intergration
Hello Gurus,
I have Crystal Reports 2008
SAP BO Connecter
BI7
I created a report and Saved in to Role in BI7.
My question is can i use this in a production env(Users will have crystal reports viewer). if not please let me know why.
Thanks
Fazal
hi,
you would need Crystal Reports, SAP Integration Kit and BusinessObjects Enterprise as server environment.
You can look at my recent blog series about the installation and configuration. Here the link to part 1
BusinessObjects and SAP - Installation and Configuration Part 1 of 4
Ingo
Similar Messages
-
Crystal Report 2011- SAP Data Sources: CL - no items found
Background:
SAP ECC 6.0 was purchased three years ago with DSD package. Only FI and SD modules are in use. Accounts download data filesfrom SAP to produce spreadsheet reports. Few user trust these numbers. We are setup as "SAP in the Cloud" model- Listening to constant user complaints, it seems SAP is broken. Interim solution: Crystal Report for everyone.
Encouraged by Ingo Hilgefort papers and Crystal Report Forum:
We decided to deploy Crystal Report 2011 and Business Object XI 3.1 with SP4 for our small user community. These software are installed on local XP laptop and Business Object XI 3.1 installed in the SAP server as well.
Problem Description:
The desktop user cannot see SAP infosets or tables contents. When connect to the data sources. After user login, she can navigate to expand the data source CL.- displays "no items found ". I can reproduce this error. Using the Crystal Report wizard and selecting various data sources such as: SAP Table, Cluster and Functions: CL, DD and FN category only DD and FN display items.
Current Environment: SAP in the Cloud.
SAP Server::ECC 6.0 EhP3 dual stack. Database MSSQL, OS 2008 Server, Business Object Intergration Kit 3.1, Remote Acces VPN.
Desktop Environment: Crystal Report 2011: SP1, Business Object Xi 3.1, XP SP3
Surprise: Clicking on either DD and FN tab inside the connector window in Crystal- it expands and displays tables and content reference but not CL.
Questions: Do we have to move to EhP5 for the CRX 2011 to work ? What is wrong: ? Any help will be appreciated?
This question is for Ingo H. How to convince SAP hosting company otherwise to solve our problem ? Is is desktop problem or Host side configuration ?Ahmad
K900687 is Open SQL Connectivity transport and required for direct SAP tables connectivity, so you need it, but I am not sure if the warning message relevant to your problem. Sometimes warning is just a warning.
You can see other objects in DD, but not in CL, it means the connection works. You probably do not have required authorisations to see objects.
I would suggest to review the Authorisation section of SAP Integration Kit Installation Guide here:
[http://service.sap.com/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf ]
You may also check what is the differences between DD and CL in terma of authorizations.
If you think CR 2011 is broken, then test CR 2008. Is still available for free 30-days trial download here:
[http://www12.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx]
, but you would need to add SAP Integration Kit to it.
Vitaly -
SAP Integration Kits 3.0 with Crystal Report 2008
Hi,
I have installed Intergration Kits 3.0 and Crystal Report 2008.
I open the Crystal Report Designer from Start >Programs >Crystal Reports 2008 > Crystal Reports 2008.
As mentioned by Ingo, I have ticked the MDX driver setting via SAP menu option.
I clicked on u201CCreate New report from queryu201D
Selected the fields from the Query and placed in the report.
When I click on Preview button, I hits the following:
Database Connector Error: u2018Function module u201C/CRYSTAL/MDX_GET_STREAM_INFOu201D not found.u2019
Another problem that I encountered is when I can only enter UPPERCASE for my SAP BW User ID and Password in Crystal Report (when I try to logon into SAP BW in Crystal by clicking on the u201CCreate New report from queryu201D). So I need to change my password to Uppercase in BW.
Have you encountered this before? I guess it is related to installation problem? Should I uninstall and reinstall again?
Please advise, thank you.Hi,
So I just need to send the neccessary files mentioned in transports_EN.txt to my basis guys with your instruction. Then I should be able to use the MDX driver in crystal reports already?
Correct!
the SAP BusinessObjects documentation (and Ingo) mentions that the transports have to be imported. HOW to do this is an SAP Basis administration related issue and is NOT described in the BusinessObjects documentation.
As far as I know the appropriate files (there is a dependency related to the version and the type (BW or R/3) of your SAP backend system) described in transports_EN.txt) have to be copied in the directory which is set to be the tranport queue for your SAP system and then the admin can use the STMS transaction to import them.
NOTE: In a BW system you have to import BOTH the SAP Basis transports AND the SAP BW related transports. That means you have to import in total 9 transports = 18 files
Regards,
Stratos -
COM dlls in the Standard and Professional Editions of Crystal Reports
Post Author: enz0
CA Forum: Deployment
Hi.
Do the Standard and Professional editions of Crystal reports install all the com dlls?
thanksHi,
The crystal reports trainign for SAP Business One is designed for partners and customers and provided for free to them.
It's not available to non-customers. You will need to have a login to the partner or customer portal to use it.
Alternatively you can use the regular Crystal Reports training resources or available books to get yourself skilled for Crystal Reports. Being able to work with Crystal Reports is 90% of the work where as the SAP Business One specific's are in the area of ....
- Release 8.8: the datasource connections; working with variables in the report; intergration and distribution of reports
- Release 2007: linking the reports into the SAP Business One menu and making them secured available to the end users.
Best regards,
Peter -
Function Sequence Error -- After upgrading to Crystal Reports 2008
Since we intergrated Crystal 2008 in our application, We are having the ODBC DRIVER ERROR "S1010, Function Sequence Error"
The following steps reproduces the error.
I open any crystal report(using my application) and close it.
And then I try to close another dialog in my application.
The destructor of that dialog has the DELETE FROM TMPRPT WHERE etc... But actually the TMPRPT table is empty.
But This Scenario in general, does not produce any error. Only after I open and close Crystal report, and when the TMPRPT table doesn't have any records, executing the above DELETE sql throws CDBException, Funciton Sequence Error.
Is it because of the upgrade/mismatch of dlls? Can any one help how to work around this?
Thanks.Hi Don,
I would like to thank you for your helpful advice. your tips for odbc tracing really works.
Just to simplify things, I have created a simple mfc dialog based application that opens a connection using CDatabase in the initdialog and closes the connection in the destructor(because that is how we do in our main large application). On the dialog i put a "Print" button and when i click it, I open a crystalreportform and fill the connectioninfo structure and then call SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument). on the Form_closed function, I close database connections and close the report document.
When I come back to mfc application I execute a Delete from table where 1 =0, basically any delete/update that return empty recordset and it throws function sequence error.
BOOL CCrystalDemoDlgDlg::OnInitDialog()
CDialog::OnInitDialog();
ConnectDatabase() ;
return TRUE; // return TRUE unless you set the focus to a control
BOOL CCrystalDemoDlgDlg::ConnectDatabase()
if ( m_Database.IsOpen() )
m_Database.Close();
// Process database open request.
CString szConnection("DSN=CRYSTALTEST32;UID=DBA;PWD=picture");
!m_Database.OpenEx( szConnection, CDatabase::noOdbcDialog ) )
return TRUE;
BOOL CCrystalDemoDlgDlg::bExecuteSQL( CString SqlString )
if(m_Database.IsOpen())
m_Database.ExecuteSQL( (LPCTSTR)SqlString );
return TRUE;
void CCrystalDemoDlgDlg::OnBnClickedBtnPrint()
TRY
bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
CrystalReportsForm ^ CRForm = gcnew CrystalReportsForm(gcnew System::String("ActvSumm1.rpt"));
CRForm->ShowDialog();
//CRForm->RunCrystalReports();
delete CRForm;
CRForm = nullptr;
bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
CATCH(CDBException, e)
AfxMessageBox( e->m_strError );
return ;
END_CATCH
the following is the code in crystalreports library
namespace CR2008Library
public partial class CrystalReportsForm : Form
private ReportDocument _reportDocument;
private string _reportFile = "C:\\Nomadic\\Report\\";
public CrystalReportsForm(string reportFile)
InitializeComponent();
_reportDocument = CreateReportDocument(reportFile);
private ReportDocument CreateReportDocument(string reportFile)
ReportDocument newDocument = new ReportDocument();
_reportFile += reportFile;
newDocument.Load(_reportFile);
return newDocument;
public void ConfigureCrystalReports()
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.DatabaseName = "CRYSTALTEST";
connectionInfo.UserID = "DBA";
connectionInfo.Password = "picture";
connectionInfo.ServerName = "CRYSTALTEST32";
SetDBLogonForReport(connectionInfo, _reportDocument);
crystalReportViewer.ReportSource = _reportDocument;
private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
Tables tables = reportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tableLogonInfo);
public void CrystalReportForm_Load(object sender, EventArgs e)
ConfigureCrystalReports();
private void CrystalReportsForm_FormClosed(object sender, FormClosedEventArgs e)
DisposeCR();
private void DisposeCR()
// Clean up by closing and disposing of the ReportDocument object
if (_reportDocument != null)
if (_reportDocument.Database.Tables.Count > 0)
Tables tables = _reportDocument.Database.Tables;
foreach (Table table in tables)
table.Dispose();
_reportDocument.Database.Dispose();
_reportDocument.Close();
_reportDocument.Dispose();
_reportDocument = null;
I have the log file which doesn't show any error in crystalreports library. I am giving some of the log file for your reference to see what's happening while exiting from crystal and executing the problem sql
CrystalDemoDlg 16c8-e8c EXIT SQLFetch with return code 0 (SQL_SUCCESS)
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLFetch
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLCloseCursor
SQLHSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLCloseCursor with return code 0 (SQL_SUCCESS)
SQLHSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLDisconnect
HDBC 00F427A0
CrystalDemoDlg 16c8-e8c EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
HDBC 00F427A0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 2 <SQL_HANDLE_DBC>
SQLHANDLE 00F427A0
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 2 <SQL_HANDLE_DBC>
SQLHANDLE 00F427A0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 1 <SQL_HANDLE_ENV>
SQLHANDLE 00F42718
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 1 <SQL_HANDLE_ENV>
SQLHANDLE 00F42718
CrystalDemoDlg 16c8-a34 ENTER SQLAllocStmt
HDBC 00F419A0
HSTMT * 0012E2C4
CrystalDemoDlg 16c8-a34 EXIT SQLAllocStmt with return code 0 (SQL_SUCCESS)
HDBC 00F419A0
HSTMT * 0x0012E2C4 ( 0x00f41cc0)
CrystalDemoDlg 16c8-a34 ENTER SQLSetStmtOption
HSTMT 00F41CC0
UWORD 0 <SQL_QUERY_TIMEOUT>
SQLPOINTER 0x0000000F
CrystalDemoDlg 16c8-a34 EXIT SQLSetStmtOption with return code 0 (SQL_SUCCESS)
HSTMT 00F41CC0
UWORD 0 <SQL_QUERY_TIMEOUT>
SQLPOINTER 0x0000000F (BADMEM)
CrystalDemoDlg 16c8-a34 ENTER SQLExecDirectW
HSTMT 00F41CC0
WCHAR * 0x03A30458 [ -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
SDWORD -3
CrystalDemoDlg 16c8-a34 EXIT SQLExecDirectW with return code 100 (SQL_NO_DATA_FOUND)
HSTMT 00F41CC0
WCHAR * 0x03A30458 [ -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
SDWORD -3
CrystalDemoDlg 16c8-a34 ENTER SQLNumResultCols
HSTMT 00F41CC0
SWORD * 0x0012E2B8
CrystalDemoDlg 16c8-a34 EXIT SQLNumResultCols with return code -1 (SQL_ERROR)
HSTMT 00F41CC0
SWORD * 0x0012E2B8
DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0)
CrystalDemoDlg 16c8-a34 ENTER SQLErrorW
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224
WCHAR * 0x0012DE20
SWORD 511
SWORD * 0x0012DE14
CrystalDemoDlg 16c8-a34 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224 (0)
WCHAR * 0x0012DE20 [ 56] "[Microsoft][ODBC Driver Manager] Function sequence error"
SWORD 511
SWORD * 0x0012DE14 (56)
CrystalDemoDlg 16c8-a34 ENTER SQLErrorW
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224
WCHAR * 0x0012DE20
SWORD 511
SWORD * 0x0012DE14
I know that my post is too long, but i would like to give enough information for you to see what's happening. I use visual studio 2008 with crystal library 2008.
Thanks,
Lavanya. -
SAP cant show my .swf in the imported Crystal Report
Hi,
I have made a Xcelsius what if scenario, with data from a crystal report connected to a SAP database, and embedded it in my crystal report. This report i have imported in my SAP system via the crystal report intergration for SAP.
Now to the problem.....
I can see the swf picture in my report and i can interakt with it so i know it works but i cannot see it in the report generated from SAP.
WHY is that ???
Thx Elleyou should have hash installed on client side/viewer side.
also there is a cross domain security associated with falsh objects. if you are accessing SAP Server(i am not SAP expert just a guess) from another domain using VPN then you might need to edit domain.xml of SAP server
--Kuldeep -
SAP Crystal Reports Add-In in SAP v9.0
Hi Experts,
I have installed SAP V9.0 PL04. In the crystal reports the SAP Add-In is missing . Has anyone else observed this ? If so how can I get it back ?
Regards,Tried un-installing the client, Installed Crystal Reports 2011 SP07 and re-installed but to no avail. When I run the crystal reports intergration from the B1_SHR folder I get the error below : -
-
How to connect Crystal Report 2008 server with SAP BI/BW server
Hi ,
I have downloaded the 60 Days trial version of "Crystal Report 2008 Server' from sap site to my machine. Now i would like to connect this Crystal server with SAP BI and want to use the data of BI Bex queries and Infoproviders.
Can you please guide me how to connect them?
Aslo how can i get the free trial version of Intergration kit ..here please provide me the entire full path of site(to download the Integration Kit).....
Any inputs would be appreciated!!
Regards,
NaweenHi Michelle,
Older versions of CR would allow you to run CR from a network share point but you still had to have a license for each user. Current versions of CR do not allow you to do this any more, possibly using a Citrix or Terminal Server would allow this but you still need a license for each user. Older versions had a Network install option.
And as suggested exporting to PDF or some other format is fine for end users viewing your output. They are not using CR but Adobe Reader or Word etc. to view the reports, they just can't use the Designer to view the reports.
Hope this is clear now?
Thank you
Don -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Sales quote layout rows doubled in crystal report layout
Dear All,
Sales quote layout rows doubled in crystal report layout.
In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
Regards,
SivaHi Siva,
If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
-Abhilash -
Sale Order Query Print layout/Crystal Report Query required
Hi Experts,
I created a Sale Order. Items included in it are service and material.
(I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
I need the report on it please let me know how i can do it.
I tried with below query
select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum
from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
--and b.TreeType <> 'N'
where a.docnum = '14240621'
output of above query is
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
2493.76
43940.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0001
Material for PROVIDING & LAYING
17.62
2800
49336
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
1980
19908.9
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0002
Material for BM CM INCLUDING CEMENT
10.055
1650
16590.75
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
116.5
7572.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0003
Material for P/APPLYING
65
65
4225
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
31625.05
70618.74
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0004
Material for P& FIXING
2.233
44000
98252
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
3593
10779
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0005
Material for PROVIDING RMC
3
4847
14541
354652
18888.46
and my desired output is
Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
5293.76
93276.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
3630
36499.65
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
181.5
11797.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
75625.05
168870.7
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
8440
25320
354652
18888.46
please let me know the update on this.
with regardsHi Nagarajan,
thanks for reply..
1) Yes, i.e i have taken into BomType: Template
2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
for parent item, unit prices are not fixed. I give the price for them in Sale Order.
I want unit price for parent and child should be summed/cumulative for Sale Order print.
(in my above post, first matrix exactly same as sale order line items plz check it)
Please help me, how i can achieve this by query(for PLd or Crystal report)
With Regards -
SQL Connections remain open after Crystal Report closes
I am wirting an interface to use the crystal report viewer to print reports, connecting to a Progress Open Edge 10.1B database. From our application we declare the application, report, exportoptions and connectionproperties objects and pass these to the crystal reports viewer. Once the report is printed we release the objects and set their variables for null. However we are finding that the SQL connection to the database is remaining connected and we can only release the connection by manually going in a disconnecting.
I have read in forums that people use .dispose or .close to release the connection, however we do not have access to these methods as we do not use .NET. Are there any methods we can use to disconnect these sql connections?Hi Dean,
Moved to the Legacy Application forums. Likely using the RDC as your report engine.
You should still be able to close and dispose of the report objects. They are not specific to .NET.
In VB it would look something like these lines::
crReport.Close
Set CrystalActiveXReportViewer1.ReportSource = Nothing
Set crReport = Nothing
Once the report is closed it should disconnect from the DB. If you close the application does that disconnect?
Have you looked on 4GL's site for info on how to?
Thank you
Don -
Dunning Letter as Crystal Report: What tables? (SAP B1 9.0)
Dear Experts,
I am being asked to revise the Dunning Letters for our clients. The existing PLDs for each Dunning Letter shows most data fields as system variables. The existing Crystal Report for Dunning Letter 1 is a conversion from the PLD and doesn't show table information for most of the report's main items. There are tables in the report but they are standard ones (OADM, OADP, OCRD, OHEM, OSLP). It also includes a "table" called "PLD__ITEMS" which has all the PLD system variables and no B1 table or field/column information.
As I'm just now starting to work with dunning letters, I see that I can't even run this report in Crystal. The PLD__Items datasource prompts me for a file path and class name. Any ideas what one enters here to run the report outside of B1 (from the Crystal report designer)?
The main focus of my question is: Has anyone created a Crystal Report to replicate the Dunning Letter and if so, what tables are involved and how are they connected? If I can create a Dunning Letter entirely in Crystal, I can replicate it across all clients and get the correct fields/columns of data the clients want. The inclusion of the PLD__Items apparently limits my ability to test the results. I would prefer to avoid the PLD limitations.
Thanks for any assistance.Thank you Nagarajan. I have a dunning letter created in Crystal Reports for our client. It is fairly limited in scope, it just has the customer name and address, invoice numbers and dates, amounts due and the text they wanted in it.
I can import it into B1 9.0 and set it as the default for Dunning Letter #1 and it runs, but unlike other formats where there is a DocEntry and/or ObjectID and a ?DocKey@ or ?ObjectId@ parameter, how do I limit the report to just one customer? Typical document layouts run for the document that's on the screen. In the dunning process, the report runs once for every customer when the Dunning Letter Method is set to "One Letter per BP". I have to limit the report to one customer at a time. Right now, each dunning letter based on the Crystal report is identical and it contains all the data for every customer.
So, does anyone have any ideas for what selection criteria needs to be included in the Crystal report to have it select just one customer from the dunning wizard tables? Thanks.
Michael
Edit: I created a ?WizardID@ parameter and a ?CardCode@ parameter to limit the report to a single dunning wizard event and a single customer. While it works fine in Crystal itself, it doesn't work in B1 at all. I had thought that by limiting the report in this way, it would only create dunning letters for a single customer. -
Exporting Crystal Report to HTML is not working in Windows 7
Hi Sir,
I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
Below is the code to Exporting Crystal Report to HTML in VB.NET.
Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
Dim CrFormatTypeOptions As New HTMLFormatOptions
Dim vFormat As Integer
Dim CrExportOptions As New ExportOptions
Dim vRdReport As New ReportDocument
Dim sfd As SaveFileDialog
Dim vFileName As String = Nothing
vRdReport = vRptSource
sfd = New SaveFileDialog
If Not (vRptPath = "") Then
sfd.InitialDirectory = vRptPath
End If
sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
If sfd.ShowDialog = DialogResult.OK Then
' Set the disk file options.
CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
Else
Return
End If
CrExportOptions = vRdReport.ExportOptions
CrFormatTypeOptions.HTMLFileName = vFileName
CrFormatTypeOptions.HTMLEnableSeparatedPages = True
CrFormatTypeOptions.HTMLEnableSeparatedPages = True
CrFormatTypeOptions.HTMLHasPageNavigator = True
CrFormatTypeOptions.UsePageRange = True
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.HTML32
.DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
.FormatOptions = CrFormatTypeOptions
End With
vRdReport.Export()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
Code working fine at Windows XP, But it is not woking in Windows 7 environment.
Please can anyone share your valuable thoughts or ideas reg. this.
Thanks in Advance
Deivanayaga Perumal D.user13509659 wrote:
Run this code to reproduce the issue.Which issue?
It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
Edited by: jduprez on Feb 10, 2011 1:01 PM -
Print crystal report without using the print button on toolbar
Hi,
I am working on Crystal report XI. I need to print the report w/o using the toolbar. So I have inserted a print icon in the report. On clicking that icon it should call a jsp page which will print the report. I am not able to call any print methods provided by JRC to do this.
Can someone help me with this problem.
Is there some other way to implement it ?
Thanks
Message was edited by:
CR_newbiePrint the report where? On what printer? The server's printer?
Java code runs on the server. You can't affect the client's computer from JSP.
You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print)
Maybe you are looking for
-
Non English caracters in Policy Server invitation mail
Letters that are not in the English alphabet do not come out as they should when invitation and confirmation mails are sent from Adobe Policy Server. In my case the Norwegian letters Æ Ø Å are not showing correct. But I'm guessing this goes for all o
-
Row currency has changed since the user interface was rendered.
Hi All, we have developed and deployed an Application in Production, before four months, Suddenly for the past two days we are getting an error after the page being idle for 2- 3 minutes. Row currency has changed since the user interface was rendered
-
AD-OID synchronisation Agent Execution Successful, Mapping/IMPORT operati
Hi We are trying the AD-OID synchronization,using ActiveImport profile. The bootstrap is successful. But synchronization status is Agent Execution Successful, Mapping/IMPORT operation Failure. Attaching the trace file for import : LDAP Connection suc
-
Hello, Can anyone help me with the following question. How using the SIM card memory instead of the phone memory for incoming and outgoing SMS messages. Device: Nokia C1-01 Solved! Go to Solution.
-
Hi, I'd like to set a system wide lock timeout to 10 secs, i est I want that if a transaction waits for a row more than 10 seconds, the Oracle forces a ROLLBACK! Looking in the documentation I found the trigger: CREATE OR REPLACE TRIGGER resumable_de