Problem when trying to print standart invoice crystal report for SAP

Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
I pass params and load the report using this code
Private Sub DisplayThreadReportSeq()
Dim oView As New frmViewReport
Dim strReportPath As String = ""
Dim strParamName As String = ""
Try
Dim CR As New ReportDocument
CR.Load(oReport.CrstPath)
' Declare the parameter related objects.
SetReportValues(CR)
Dim crParameterDiscreteValue As ParameterDiscreteValue
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldLocation As ParameterFieldDefinition
Dim crParameterValues As ParameterValues
' Get the report's parameters collection.
For Each oPar As cslParam In oReport.Params
crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
crParameterValues = crParameterFieldLocation.CurrentValues
crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
crParameterDiscreteValue.Value = oPar.Value
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
Next
If pPrint Then
If oReport.Printer "" Then
CR.PrintOptions.PrinterName = oReport.Printer
End If
CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
Else
oView.Text = pReport
oView.TopMost = True
oView.Viewer.ReportSource = CR
oView.Hide()
oView.ShowDialog()
End If
Catch ex As Exception
Util_GenErrorLog("DisplayReport", ex)
End Try
End Sub
This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
Error in formula .
'Shared numberVar SectionTotalMaxHeght;
A number, currency amount, boolean, date, time, date-time, or string is expected here.
This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
thanks in advance,
Ezequiel.

Hi Ezequiel,
You can try to search in SAP Business One Reporting & Printing forum section or post there.
nd.Q

Similar Messages

  • Hi There, I have a problem when trying to print either Email or from a web page.

    Hi There,
    I have a problem when trying to print contents fro either Email's or from web pages, the problem started after i opened Google earth and it down loaded Google Chrome i do not like Google chrome so i removed it from my pc via add and remove programmes since then when i try to print an email i get what looks like the computer settings for writing the email and not the text same for web pages, as anyone come across this problem before i can print any word or spreadsheet documents but problem is with email's and web pages.
    Many Thanks.

    Something changed on your system, possibly when Google Chrome installed. It could  be many things, but what it boils down to, is it needs to go back to the way it was. Either by removing whatever else might still be left from the install, or maybe by reinstalling the printer itself.
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Print preview using crystal report in SAP B1 is very slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form  and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    Kamlesh Naware

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • Print Preview using crystal report in SAP B1 slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    bodhi86

    Hello,
    How do you answered to this question ?
    Malika
    Edited by: Malika Sanoune on May 13, 2011 1:48 PM

  • Crystal report for sap business one problem

    Hi experts,
    I am facing problem while dealing with crystal report 2011.
    I installed sap b1 8.8 pl 10, then upgraded to pl 20. Now again upgraded to 9.0 pl08. Then i installed SAP Crystal Report for SAP Business One 2011.
    I seems that it is not integrated to SAP Business One, because i am not able to save my crystal layouts in sap business one.
    How can i resolve this issue, please let me know if anyone faced same kind of problem and got solution for that.
    Thanks

    Hi
    1758302 - Error while connecting to Crystal
    1397692 - Error when starting Crystal Reports software
    Thanks
    Mohammad Imran

  • Error while 'Crystal Report for Sap Business One' addon started

    Hi,
    I have try to install Crystal Report for Sap Business One (Addon Versione number 2.0.0.7).
    The installatione finish succesfully, but when I started the addOn i retrieve this errore message: External Connection to the dataBase failed. Sap Crystal Addon may not function properly. Please re-run the account setup with superuser login.
    I'm logged in Sap with manager (super user), so maybe I have forgot some step in the installation?
    I have see the Demo in the Channel Partner Portal, I have note that I have to isntall the CR_Runtime_12_0, but I don't find it, I don't know where I can download this file. I have just installed SapCrystalSetup.exe and registered the Addon like a normal Sap B1 addon.
    Where is the error??
    Regards
    Marco

    You must configure in each cliente Pc the connection with the DATABASE.
    You must Know the Database Super User (In SQL Server usually sa, and its password, the standard form SAP Business One is SAPB1Admin)
    In Administration > Crystal Reports Administration > Account Setup
    The CR_Runtime_12_0 is only necesary to view reports, but isn't necesary to start de addon.

  • Add web element in Crystal report for SAP system

    Hi all,
    I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
    But if I add the webelement for Excel sheet ,It shows the control.
    How can I add web element for SAP System? Can't we use web controls in SAP system ?
    Help me in this regard.

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

  • Convert PLD to Crystal Report for SAP Business One 9 or higher

    Hi Experts
    Please guide me how to convert PLD to Crystal Report for SAP Business One 9 or higher... I have tried to use B1 Crystal Converter for 8.8, but its not working with SBO 9... So please guid as per SBO 9.
    Thanks in advance...

    Hi,
    Check this thread:
    http://scn.sap.com/thread/3391875
    Thanks & Regards,
    Nagarajan

  • License for Crystal Report for SAP 8.8

    Hi All!
    Our customer ask that  can they install the crystal report for SAP 8.8 with multi computer and no need to buy any license for this because they bought license for SAP B1 already.
    I wonder this and everyone can help me?
    How can we should advice them.
    Thanks!

    Hi,
    If you want more users to edit CR, you need to buy extra licenses.  B1 only include one free license for maintaining reports for 2007 version.
    Thanks,
    Gordon

  • Crystal Reports for SAP Print Output requirements like Sales Order O/P

    Hello,
    Has anybody used Crystal Reports for Sales Order or Invoice Print Output type requirements?
    Typically these outputs get triggered via Output Management Configuration on Save of a Sales Order or Configuration.
    Traditionally in the Output Management configuration of say Sales Order, we can specify the "Output Program" and the "Sapscript" or "Smart Form" or "Adobe Form".
    How do we tell SAP t trigger a Crystal Report output if it is a feasible way to go?
    Also can anybody tell what is SAP's strategic direction for Print Output requirements?
    regards,
    Atul

    Hi Atul,
    Do you have answers for your questions? If so, could you please share?
    Thank you in advance,
    Joã

  • CDZHome Error when trying to connect universe from Crystal Reports XI R2

    I am getting the below error message when I am trying to connect a universe from Cyrstal Reports.
    CDZHome not found on server, IRAPPS437.WebIntelligenceProcessingServer
    I am using below versions:
    Universe - Business Objects XI 3.0 Enterprise Edition
    Crystal Reports - Cyrstal Reports XI R2 SP4.
    If you notice the error is related to Web Intelligence when I am not doing anything related to Web Intelligence. So I suspect that Cyrstal Reports XI R2 is not compatible with BO XI 3.1 or Vice Verse.
    Any input on this is appreciated.
    Cheers,
    Kanna

    Hello All, I am working on BO version migration. Presently we have BO XI 3.1 in which we have Java process through which we gets connected to BO server and generates an report.
    as we need to move to migrate BO version to SAP Business Objects BI Platform 4, we need to accomodate connecting to new BO server. I have upgraded all JAR which has been given by "SAP Business Objects BI Platform 4" installation still i am getting below exceptions and one of them is almost same as this POST so thought od posting my question here rather than opening an new POST.
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServiceConnection: Unable to connect to service CDZHome from server LONWS20055.WebIntelligenceProcessingServer via CMS LONWS20055.EUROPE.NOM:6400 (FWM 01006)

  • Crystal Report for SAP B1 8.8

    Hi All !
    I can not finish for designing template layout for Sales Quotation by Crystal Report 2008 for SAP 8 8
    I have already done for template of sale quotation but when i print preview in SAP for this one, system did not understood and it get all data from Sale quotation in database. I would like to assign specify Sales Quotation Doc number which i want to Print preview on my template.
    How can i assign or how can i have to create what parameter.
    Thanks!

    Hi,
    Try this:
    For Sales Order
    The DocKey@ token is mandatory in a Crystal Reports .rpt file that you want to use as a
    layout. The DocKey@ token is used to identify the current active document. SAP Business One
    populates its value when you preview or print a layout.
    When you apply the DocKey@ token, in the Select Expert window, you need to specify a filter
    condition, such as:
    {ORDR.DocEntry}={DocKey@}
    If the DocKey@ token does not exist, create a new parameter with the following settings:
    In the Name field, enter DocKey@
    In the Type dropdown list, select Number
    In all other fields, leave the default settings
    Then Save report as layout to B1
    Try previewing this layout as you will notice it will no longer ask for a parameter.
    This likely behaves as a standard layout
    Try searching forums or channel portal regarding Parameter Tokens
    Thanks,
    JP

  • Add-Ins menu not visible in Crystal report for Sap Business One

    Hi,
    I have installed the Crystal Report Design for Sap Business One on my customer server.
    But when I open the Crystal Report I can't see the Add-Ins menu to put the rpt directly on my Sap Business One.
    I have installed it on many customer, but only with this I have this type of problem.
    There is some restriction on Sap Version/Patches or Authorization Users or some check that I have to set on Sap or on Crystal Report?
    Regards
    Marco

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

  • RG23A in Crystal report for SAP Business  One

    Hi All Experts,
    Can Anyone Provide me RG23A part I And RG23A Part II in Crystal report Format  For SAP Business One Database
    Regards ,
    Gayatri Shukla

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

  • Xcelsius and Crystal Report for SAP BW

    we're going to use Crystal Report 2008 and Xcelsius Enterprise 2008 to integrate with SAP BW 7 (with SAP EHP1 + SP5 applied).
    I understand that Crystal Report 2008 and Xcelsius Enterprise 2008 is "Client" application, which will be installed on each local machine (Developer machine, not end-user machine). I also understand latest xcelsius Enterprise 2008 + SP2, xcelsius can connect directly to BW.
    Question is do I still need to install SAP Integration Kit on these local machine (Developer machine) so that we can access SAP BW data from Crystal Report as well as xcelsius Enterprise 2008?
    Please advise, thanks.

    Hi Ingo,
    Yes, I understand what you 're saying:
    "for distributing report objects with a larger audience you need a BusinessObjects server environment - either BusinessObjects Edge or BusinessObjects Enterprise."
    What I dont understand is WHY we need to have BusinessObject Enterprise to distribute the crystal report so that my user can access the crystal report?
    The reason why I am confused because earlier on, you mentioned we (BW users) can call the URL and access crystal report is saved in the BW Role.
    Since my BW users can access crystal report directly from BW, WHY do we still need BusinessObject Enterprise?
    Please advise, thank you.

Maybe you are looking for

  • Sony Nex 6 ARW files

    Hello, I have been trying to open the above files in PS CS5 and get a message that ACR doesn't recognize the files. I downloaded the applicable DNG converter for ACR version that I have and it still won't open the files. Can you pls advise. Tali

  • Remote Desktop cannot verify?!?!

    So I'm very ticked right now... I bought my father an iMac for Christmas, and he lives across the country in Florida (I'm in California). When I went home for the holidays, I set up everything on his iMac and turned on "remote management" on his mach

  • How To Use Microsoft Progress Bar import in ocx in forms6i

    I import microsoft progress bar in ocx in form6i but i dont have to initialize it with form or cursor.. can any one send sample code on [email protected] thanxx

  • Line due to go active 24/07/15 but can now call out and in today

    Hey guys, why can i now use my phone line. I have moved from talktalk and sky gave me a new phone number as it was the only way thy could process the order. Today i have tried to dial the new house number they gave me and it works, does tha mean my l

  • Compiling and installing Tux On Ice, need a little help

    I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice I downloaded from the AUR the ke