Crystal Report Layout With Prompts SAP BO v8.8

Forum members,
I can successfully import a Crystal Report with parameters as a REPORT type into SAP BO 8.8.  But when I attempt to upload the same report as a LAYOUT type, I receive the error, "Missing Parameters" and the import process halts even when I set a value as the default value for the parameters.  I have two questions:
1.  Does SAP BO v8.8 support Crystal Report parameters in print layouts?  If it does,
2.  How do I resolve this error message and get this functionality to work?
Thanks!
Gregg

I ended up submitting this to SAP support as a bug.  Found that we can successfully print using the preview button first and then printing from that interface but sending the report directly to the printer or pdf generates an error.
Edited by: Gregg Horwitz on Mar 30, 2010 8:30 AM

Similar Messages

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • Set As Default Crystal Report Layout in SAP B1 8.8 PL13

    Hi,
    I want to Set As Default a Crystal Report Layout. I know you can do that in Layout Desginer - Selection Criteria, but SAP B1 8.8 PL 13 has only a Manage Layout button in the Layout Desginer window which links to the Report and Layout Manager. There is no Set As Default button.
    Where can you select which layout to be default in PL13?
    Thanks!
    Cristina

    Hi
    If you want to Set as Default particular PLD then Open that Form
    For. Example
    Sales Ar > A/R Invocies (Item) document
    Then Click on PLD icon ans select your crystal report as Default by Set as Defaul button.
    Thanks
    King Kevin

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

  • SAP BO 4.1 Webi report sample with prompts to try Restful api

    I was not able to find, in the report demo samples available in the SAP BO 4.1 installation, a Webi report with prompts.
    I found many Webi reports samples but all are without prompts.
    I need at least one Webi report sample with prompts to try the Restful API http://localhost:6405/biprws/raylight/v1/documents/7090/parameters and http://localhost:6405/biprws/raylight/v1/documents/7090/schedules with parameters body.
    Where can I found such webi sample?
    Thanks,
    Riccardo

    As you have BI 4.1 installed, you could design a sample webi report using Webi Rich Client tool.
    Open Webi rich client, select the sample eFashion universe drag few objects in the query and a filter. Set the filter as a prompt and save the report to Enterprise.
    Now you could now use this sample report for your handson on REST SDK.
    -Bhushan

  • SAP 8.8 Crystal Report layout templates

    I have installed SAP 8.8 this is working fine apart from one thing i don't understand..  maybe i am just being stupid..
    But there are no Crystal report layouts in the system.  Do we have to download these.. surely we don't have to write them all from scratch ???

    Dear Rabie,
    Without the User ID  On Cannot Access the Portal and Cannot Download the Files.
    Regards,
    Vamsi

  • Getting No rights error in Crystal Reports connection with SAP ECC 6

    I am ABAP/BI developer and would like to work in Crystal Reports 2011. Currently, We have SAP ECC 6 and BI 7 set up. I have installed trial version of Crystal Reports 2011.
    I am getting error while trying to create blank report in Crystal Reports:
    Create New Connection -> SAP Tables.. -> entered SAP Development server user id and password -> following error message :
    LOGON failed
    Details : You do not have necessary rights to design reports against the SAP system. Please check with your system administrator.
    My user id has all rights in development server.  So, is any special rights require? OR do we have to install any patch for Crystal Reports at SAP level?
    Please guide me.

    Hi,
    To be able to report off an SAP data source in Crystal Reports, request the SAP Administrator to set the appropriate authorizations for the user.
    For a list of authorizations that are necessary for each type of SAP connection, consult the document:
    BusinessObjects XI Integration for SAP Installation Guide
    In the "Authorizations" chapter, there is a description of each authorizations needed for each type of connection and actions.
    ( The document is attached to this SAP Knowledge Base Article in the attachment section )
    In addition to the authorizations specified in the SAP Integration Kit Installation Guide, the following authorizations are required:
    For Authorization object: S_RFC with Field name: RFC_Name. According to the installation guide the values should be: SYST, /CRYSTAL/OPENSQL
    Additionally you will need the value: SUSR as well.
    For Authorization object: ZSEGREPORT with field name: ACTVT. According to the installation guide the value is: 02 (Change)
    Additionally you will need the value: 01 (Create or generate) as well.
    Thank you.

  • Crystal Reports background processing for SAP Business One 8.8

    Dear Partners,
    I have an SDK program developed in SAP Business One SDK that works in 2007, it calls crystal reports externally and can be executed as a background task using the windows schedular or from the command prompt.
    My problem is it does not work under SAP Business One SDK 2008 PL18 with SQL Server 2008, Visual Studio 2008.
    I receive the following message after this line in my code,"oReport.PrintToPrinter(CopyNo, False, 0, 0)".
    'CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
    Error in File XX_Report_Ver_0.01 {1A6620A2-5D73-49D2-9347-32ED068AA64E}.rpt:
    Unable to connect: incorrect log on parameters. ---> System.Runtime.InteropServices.COMException (0x8004100F): Logon failed.
    Error in File XX_Report_Ver_0.01 {1A6620A2-5D73-49D2-9347-32ED068AA64E}.rpt:
    Unable to connect: incorrect log on parameters.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.
       at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at BGProductionRpt.ECR_Common.ECR_PrintReport(Int32 CopyNo) in C:\SDK Development\8.8\test\XX_Rpt\ECR_Common.vb:line 485'
    My Question is what Crystal Reports libraries or other method should I be using ?
    Crystal Reports 2008 for SAP Business One eg. 51038978.zip - downloaded from portal obviously dosn't contain the CrystalDecisions libraries.
    Crystall Reports 2008 - cr2008_sp3_fullbuild, cr2008fp33.exe, cr2008fp33_mm, cr2008fp33_clickonce - also download from the portal, the cr2008_sp3_fullbuild does contain the crystal decisions libraries.
    Finally other choices are crystal reports included with the visual studio 2008 and crystal reports full version direct from Business Objects.
    I have tried different versions of crystal decision libraries- eg, 12.0110 or 12.02 but still no joy.
    Also if I manage to get the report to fire what should the client be running eg, if they have the Crystal Reports 2008 for Business One do they also need to install the Crystal Reports Run time - cr2008fp33_clickonce.
    Any help would be appreciated.
    Thanks.

    Hi John
    Since the SDK works in 2007 it will be using the OLD DB access method.
    Change the Crystal report to use an OLE DB datasource rather than the SAP Business One data source.
    Regards
    Rob

  • Importing Crystal Report layout for customer statements

    Hello,
    I have imported a crystal report layout to use for the customer statements when running them from the ageing report.  The problem is even if we only select one business partner in the ageing report, when we print preview the statement it displays statements for all business partners - this is because in the crystal report there are no parameters.  I know that when you import a layout like this for other documents you need to use for example, {ORDR.DocEntry}={DocKey@} as the parameter however the customer statements don't have a docentry.  When I look at the system statement layout (collection layout), when you run the report you get an ADO.NET (XML) connection prompt.  Is it possible to use the crystal layout i have for the customer statements but for only the customer(s) showing on the ageing report?
    Many thanks,
    Kate

    So just to make it clear,
    you want an overview of open invoices from 1 customer.
    If so, try this in crystal reports :
    Create a parameter field (field explorer)
    Name : CardName
    Type : String
    Value : Static
    do not select a value field (none)
    press ok.
    Select expert
    Create new
    Starts with
    type this : {?CardName}
    press add
    Click formula editor and make it look like this :
    {OINV.DocStatus} = "o" and
    {OINV.CardName} startswith {?CardName}

  • Number of Copies in Crystal Report Layout

    Hi all,
    Is it possible to show the number of copy in a Crystal Report layout?
    I mean: I am creating an invoice layout in Crystal Reports for SAP Business One 8.8.
    Customer wants to print always 3 copies, but with the word "Copy" in second and third document.
    I can set the number of printed copies but... is it possible to include a reference of what number of copy is every document?
    Sorry for any language mistake.
    Kind Regards,
    Toni Dorta

    Hi Toni,
    If the customer always prints  3 copies of the Invoice, here is what you could do. You could design your Crystal Report to always print 3 copies. That is, if your Invoice has 1 page, then design your Crystal Report to Print 3 pages every time. On the 2nd and 3rd page, you include the word "Copy" to indicate that they are copies.
    Once you have modified the report, change the No: of Printed copies to 1. This when the customer prints the report, it will always print 3 copies of the report and have the word "Copy" on the 2nd and 3rd invoices.
    Hope this helps.
    Krishnan

  • Error encountered during generation of default Crystal Report Layout

    Hi Experts,
    I am currently encountering an error on a particular workstation during generation of a default crystal report layout. Is there any SAP note for this or did someone encountered this error already?
    Details:
    SAP B1 8.81 PL:06 (I think its not a patch issue since the error is occurring on a particular workstation)
    Windows OS: Windows 7
    Actions Taken:
    Run CRRedist2005_x86
    Run CRNET11WIN_EN_200403
    Run crnet11win_en_sp1
    Run crnet11win_en_sp2
    Regards,
    Zeus

    Hi,
    Check SAP note regardless of version and PL.
    1529682 - Crystal report not displayed in Windows 7 OS
    1668274 - Print Draft with Crystal Layout
    Thanks & Regards,
    Nagarajan

  • 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,
    Siva

    Hi Siva,
    If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
    -Abhilash

  • Huge delay in Printing Crystal Report Layout

    Good Day Experts,
    I am experiencing big delays when printing a document that makes use of a Crystal Report Layout Design.
    For example,
    The Sales Quote is set to automatically print when added by the user.
    When clicking 'Add', SAP freezes up and only about 30 seconds later does the printer finally print the document.
    During that time, the user cannot use SAP at all.
    The layout does have a lot of fields and a few formulas here and there.
    Logically, I am thinking that that is the reason for the delay, as SAP needs to calculate and populate those fields.
    Is there any other way that I could speed up this process? Or if you know what might be causing this speed issue?
    Your assistance will be appreciated,
    Thanks
    Regards
    Dario

    Hi Dario,
    Pl Try the Below Threads and Ref SAP Notes Provided by NagaRajan.
    http://scn.sap.com/message/13419121#13419121
    http://scn.sap.com/thread/2024941
    Regards,
    Vamsi

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

Maybe you are looking for