Printing Crystal Reports from UDO form


Dear Experts,
I want to open a Crystal report from an addon. I've already found [the following thread|] and the [mentioned blog post|], and applied the solutions given there, but setting the parameters still does not work.
The report is opened, but the report gives me the message "Input string was not in a correct format", and asks for the parameter. When I enter the parameter, the report shows correctly.
My form is an UDO form loaded from XML, ObjectType set to my UDO. According to the latest answers, this ObjectType setting is the problem.
My code is the following:
Setting the form (the report is already imported into SAP, its DocCode is RCRI0002):
AddOn.Application.LayoutKeyEvent += new SAPbouiCOM._IApplicationEvents_LayoutKeyEventEventHandler(SetPrinter);
SAPbobsCOM.ReportTypesService rptTypeService = (SAPbobsCOM.ReportTypesService)
SAPbobsCOM.ReportTypeParams rptParams = (SAPbobsCOM.ReportTypeParams)
rptParams.TypeCode = "RCRI";
SAPbobsCOM.ReportType updateType = rptTypeService.GetReportType(rptParams);
updateType.DefaultReportLayout = "RCRI0002";
SboForm.ReportType = "RCRI";
the eventlistener function:
public void SetPrinter(ref SAPbouiCOM.LayoutKeyInfo eventInfo, out bool BubbleEvent)
     BubbleEvent = true;
     if (eventInfo.ReportTemplate == "RCRI" && eventInfo.ReportCode == "RCRI0002")
          eventInfo.LayoutKey = "21"; //Set the key of the layout - hardcoded for testing
I work on version 8.81 PL08
Has anyone found a solution? Is there a solution on higher patch?


OK, so we returned to this problem, and now I managed to make it work on 8.82 PL11. And now I can't remember anymore how I tried it back then. Maybe I did not use the [email protected] parameter in the Crystal report.
Anyhow, it looks like it works now.

November 30, -0001

Printing Crystal Reports from UDO form

Dear Experts, I want to open a Crystal report from an addon. I've already found [the following thread|] and the [mentioned blog post|

How to invoke crystal reports from Oracle forms 11g R2 along with passing p

How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it. how to pass parameters to crystal report, please to pass parameters to crystal report, please help.This would entirely depend on crystal reports and y

Calling Crystal Reports from Oracle Forms 10G

Hi everyone, I am trying to call a crystal report from Oracle Forms 10G. I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file. Can someone please send me the code to do this and also th

Problem in printing Crystal Report from SAP Business One - the printing cut in it width margins

Hi i'm trying to print crystal report layout from sap b1. when i preview the report as pdf file, i have the option to choose Fit in size option and then the layout print O.k with out any margins that been cut. The problem start when i'm trying to pri

Print crystal report without preview

Dear All, i want print crystal report without preview. when i click print button i want show printer list install in that computer. so user can choose which printer that use to print. I means like if we printing document from office, we can choose th

Calling a Report from a Form

I have uploaded my form to the app server and compiled to Linux. I have copied my RDF file to the reports_path/demo directory. I can run the report via a link from our portal using the URL as follows: /reports/rwservlet?report=IndRpt.rdf&desformat=pd

How to open Crystal Reports from Business Content Ext BW

Hi friends, I have activated 0CR_FIAA_M20_Q0007 Crystal Reports from Business Content Ext BW and I have configurated BW_Publisher services in BW but I do´t see reports in /CRYSTAL/RPTADMIN. I check RFC connection and it´s ok Here I can´t get a role a

How Can I call Crystal report from R3?

Hi experts,   How Can I call Crystal report from R3?Hi Bill, Can you please be specific and could you please provide the steps Thank youRead other 5 answers

Duplicate Object Name Error When Publishing Crystal Reports from BW to BOE

Hi, We recently upgraded our systems (all client and server) to SP2.7 in order to solve a problem with saving Crystal Reports to BW.  Now we are experiencing a new error when trying to publish a Crystal Report from BW to BOE (either all in one step f

How do I open a Crystal Report from Microsoft Access?

I'm looking for step-by-step instructions on how to launch a Crystal Report from a Microsoft Access application (for a dummy like me). My Crystal Report uses a connection to the Access database as the data. I have Microsoft Access 2002 with Microsoft

Crystal report from JSP using the JRC

Hi, I am trying to call crystal report from JSP using the JRC. But i am getting the Error as 'Logon Failed'. my web.xml entry is <env-entry> <env-entry-name>jdbc/Test</env-entry-name> <env-entry-value>!oracle.jdbc.driver.OracleDriv

Problem opening Crystal Report from SAP GUI through VPN

Hi Everyone,   I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYS

Show Crystal Report (from BW) in SAP EP

Hi Everybody, I am trying to show a Crystal Report in the SAP enterprise Portal. The Report resides in BW, so I do not want to go through BOE or OpenDocument command. All threads I found on SDN relate to showing a crystal report from the BOE in the S

Open a crystal report from WAD with passing  the variables values

Hi, I need to know is there any way to link SAP WAD to crystal reports (open a crystal report from WAD)and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report. Maybe we nee

How to delete all the crystal reports from SAP B1 ?

Dear Experts, I have one problem and I need to Delete all the Crystal PLD's and Crystal Reports from SAP B1. I can delete a PLD or Report using delete option from Report and layout manager or layout designer. But I need to select delete option for ea

Can't view Crystal Reports from BW

Hi, I'm installing SAP Integration Kit XI 3.1 SP3 with IIS.  I am able to publish reports from BW to BOE but not able view them from BW.  I followed the documentation to use report/report_view.aspx to define the viewer application in Content Administ

Calling Report From Oracle Forms

Hi I am calling this one report from oracle forms, I am using global temporary table to run that report. I am first inserting data into the temporary table through oracle form and then i am calling report in that form to view the data in that tempora

Possible solution: Open Crystal Reports Print Layout from UDO form

Hi all, I recently had to print information of a UDO which I have on a new form. I searched through the forum and found different solutions, but none that used the new "integrated" crystal reports viewer. So I came up with this workaround, which

How to send a character mode report from Oracle Form 10g to a printer.

how sending a character mode report from Oracle 10g report to a printer. I'm sending to a printer located in the network i have theses parameter report desformat = prtname desname=?????? destype= ????? mode=character i would like to preview the repor

Number field on crystal report displays Exponential form.

Number Type field on crystal report printed in Exponential form when digits in this field are more than 17.Hi Jay, The same issue is addressed in the K-Base article c2005336. This is the limitation in Crystal, If you have more than 15 digits of numbe