Using Static Boolean parameters in Crystal reports??

I'm displaying all the usernames and userid's in my report.
I'm trying to exclude few  userid's  in my report based on TRUE/FALSE  or YES/NO boolean values.
How can we do that?

In your select expert,
insert this:
{Boolean.Field}="Yes"
This will remove all instances where the boolean value is "Yes".
I hope that helps,
Regards,
Zack H.

Similar Messages

  • Problems using Dynamic parameters with Crystal Reports and SBO 8.8

    Has anyone been able to successfully use a dynamic parameter in Crystal Reports with 8.8 using the Business One connector? When we try we get an additional logon to the database that pops up and the logon fails.
    We need this because we want to return live lists of PO documents from the server for selection. We are also trying to use nested dynamic parameters, because we want to first return the PO document based on the PO number, and then chose specific rows based on a field value in POR1.
    It works if we don't use the Business One connector, but then the report doesn't function properly inside of SAP.
    Any ideas would be appreciated.

    I have tried using tokens but they are too simple. I need something like a subselect where you first select one value and then another that is a subset of those values. Apparently the tokens can't even use a "where" clause.
    SAP dances around Dynamic parameters, but won't come out and say that they can't be used with the B1 connector. If that is the case then they should just say so and stop wasting our time. Apparently Crystal is not truely interfaced with B1, just sort of hanging out with it.
    I don't really care other than I have to do this select, subselect. If someone has a way to do that with tokens I would love to hear it.
    Thanks,
    Roy

  • Need to use DocNum as parameter in Crystal report

    Dear All,
    I am developing a report for our customer now. It is a invoice report. We need 2 parameters
    1) Customer code (drop-down list. can only choose one each time)
    Here is my token
    Customer@ SELECT CardCode, CardName FROM OCRD WHERE CardType = 'C' ORDER BY CardCode
    2) Then we need another parameter to display all invoice number for the specific customer. How can I create the parameter here?
    Thanks in advance.
    Regards,
    Yuka

    You create two parameters in Crystal Reports. Try these
    One for Cusomer (Customer@Select CardName from OCRD where CardType='C')  - This would be String, Dynamic
    One for DocNum - Type :Number , Static
    Import the crystal report using Report Layout Manager to the app menu.
    Then navigate to the patch and click on the report, when the report loads you should see a dropdown list for Customer Name and the DocNum will be blank.
    Click on View-->System Information and findout field info
    create a query : Select DocNum,CardCode,CardName,DocTotal,DocDueDate from OINV where CardCode=$[TableName.Field]

  • "Date / Date Time" type parameters in crystal reports 2008

    i am using parameters in crystal report to select records. one of the parameters is "From Date" of type Date Time.
    i mapped this parameter to a field "DateIn" of type smalldatetime in my sql table.
    Now, when i open the report it asks for "From Date" but b y default it sets the time to current time so i have to change it to 00:00:00 manually. i want it to show 00:00:00 by default. which means i don't want time here.
    For this if i select the datatype of parameter "From Date" as Date only then i am not able to map it to the "DateIn" field of the sql table.
    Please help me out of this.
    Edited by: rohit0825 on Jun 2, 2010 2:25 PM

    >
    Deepravs wrote:
    > Hi Rohit,
    >
    > Change the Parameter to Date Datatype and use this formula in the "Record Selection Formula " (Report Tab -> Selection Formulas -> Record)
    >
    > = CDateTime ({?From Date})
    >
    > Though the parameter is date datatype it converts to datetime datatype amd maps to the desired column.
    >
    >
    > Thanks,
    Great !!!
    this is working.
    i found another way, i changed the datatype of parameter to Date and click ok and everything was good, it doesn't require any conversion to date time.
    Thank You so much. All Points You.
    Edited by: rohit0825 on Jun 3, 2010 10:47 AM

  • Default Parameters in Crystal Report

    Hi all visitors
    I have created one crystal report and now i want to set the parameters to my report by using parameters in Crystal Report(  the parameters not from sql).My parameters are datetime datatype. in my report, i create one formula( get date from DocDate field from sql).How can i set the default "Todate" parameter as current date?
    Best Regards,

    Hi,
    So all of the seleciton is done using selecct expert.  They have alot of default values there...but if you go to advanced then you can do much more still.  So if you just want to only use the currentdate then you can just do something like
    date({IT_ChangeManagement.Deployment Date/Time}) = currentdate
    In the above case there would be no parameters needed and would show the currentdates information. You could of course do a varity of >= or <= using the above method. 
    If you want more flexability then you could create a parameter or two . Here is an example.  This is again done in select expert....
    if {?Start Date} <= date("01/01/2000") then
    date({IT_ChangeManagement.Deployment Date/Time}) = currentdate
    else
          {IT_ChangeManagement.Deployment Date/Time} >= {?Start Date} and
          {IT_ChangeManagement.Deployment Date/Time} <= {?End Date}
    The above defaults to the current date if the start date is older than 2000, otherwise it uses the start & end date parmeters.
    Make sense?

  • How do send to call on Infoview programated parameters did Crystal Reports

    Hi
    I created some reports in Crystal Reports 2008 that have parameters, these reports function fine, but when I try to view them on Infoview, my reports still appear all the information without requiring all the program parameters.I have done the following steps to try solve that, but the problem contnues:
    1. connect to the Central Management Console (CMC)
    2. open the properties of my report
    3. expand Default Settings and click on Parameters link
    4. I checked "Prompt when viewing"
    I´m using Business Objects 13 and Crystal Reports 2008
    Do you have another solution?
    Thanks in advance

    Hi,
    please open the report in the CR designer und go to File. Unselect there the Save data with report option and save the report again in the BOBJ repository.
    Regards,
    Stratos

  • PASSING PARAMETERS TO CRYSTAL REPORTS THRU FORMS!

    Hi! all,
    Is there someone who passed parameters to crystal reports from
    forms 5.0?
    The problem is when I call the report executable from the form,
    its giving a login prompt again which is not desirable as @ this
    stage the user has already logged in once. So is there a way to
    pass this as a parameter to crystal or may be any better way???
    Thanx for the solution,
    Hima
    null

    First make sure you are on SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    (The above does apply to your version of CR also)
    Have a look at the samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    And look at the Developer Help file:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.
    - Ludek

  • How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

  • Using Jsp to create a crystal report

    Hi,
    I am using Jsp to create a crystal report from an oracle database.To create a new report document,i am using the ReportClientDocument class in the
    "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument " package.
    I am using this code:
        ReportClientDocument rpt=new ReportClientDocument ();
                       rpt.newDocument();The report application server running on my machine does not support this.
    I have to use an IReportAppFactory interface method which is part of the package com.crystaldecisions.sdk.occa.managedreports.*,, in order to create a new report document.Can anbody help be know how to use this interface in a Jsp??
    Any help would be appreciated.
    Thanks,

    <p>Hi Tim,</p><p>      For security reasons we do not save the database password with the report. There are a few ways to solve what you are trying to do:</p><ol><li>Use the Create Viewer JSP page wizard to auto-generate the code. You will need to use the API option and select the option to <strong>"Log on to existing data connections" </strong>as well as the option to <strong>"Connect the CrystalReportPageViewer" </strong>(Note: I suspect that the reason you had a blank page the first time you tried this is because you did not have an Output option selected) <br /><br />The code that is generated will provide you with the ability to pass in the database authentication and then launch the report in the viewer.<br /><br /></li><li>The other option is to use a JNDI Connection at runtime. If you setup a JNDI Data Source you should have the ability to store the database authentication with the Data Source. To have the report use a JNDI connection at runtime you will need to set the name of the JNDI Data Source using the Properties View of the database in the Report Designer.</li></ol><p>Anyway, give this a shot and let me know how you make out.</p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <strong><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>          </p>

  • How to use Dynamic cascading parameter in crystal Report XI ?

    Hi,
    I want to use Dynamic cascading parameter in crystal Report XI which is to be viewed through the infoview without using the Business View.Is it possible?
    I could implemented Dynamic cascading parameter using the CR XI developer without using Business View, but cannot view the report when uploaded it to BOXI, through infoview.
    Please suggest..
    Thanks in advance..
    Rajneesh

    In the crystal reports field explorer>right click on parameter field>create new-->name the parameter field and select the type as dynamic. Now in the value field click the row and add the database field also add another field below that by clicking on the next row so..on. The order should be like this parent field first and then child field next...... Also click on the last column to add parmater for each level.
    Regards,
    Raghavendra

  • How to use drill down option in Crystal Report

    Dear all,
            I want to know how to use drill down option in Crystal report 2008.  In below i have explained my screnario
    For example
       My scenario is.  In crystal report I have Purchase order like PO101,PO102.  Each purchase order have 5 line items.  If i drill down each purchase order it should display line item in crystal report. 
    Regards,
    Baskaran.

    hi,
    Create a Group on 'Purchase order'.
    Group Expert -> Select the Purchase Order and Click the arrow button such that it appears right side. Click ok.
    GH1 is inserted.
    Your detail section should include 'Line items' fields.
    Right Click 'Detail' section on left hand side,  Click 'Hide (Drill down Ok)'.
    Now you will see only 'Purchase order's in Group Headers.
    Now when you click on a particular order, you will see respective line items.
    Regards,
    Vamsee

  • Calling a stored procedures and using its output parameters in a report

    Hi,,
    I have a procedure defined in a package on the database. This procedure returns a number of output parameters. How do I call this procedure and use the output parameters in my report ?
    Thanks, Mark

    Depends on the level at which the procedure has to be called. If its at report-level, call the Form in the BEFORE-REPORT-trigger (or AFTER-PARAMFORM) and store the out-values in Placeholder-columns. These you can use anywhere in your report.

  • Using 2 Universe Queries in Crystal Reports

    Hi,
    I am trying to use Universe queries in a Crystal report.
    I want to use 2 Universe queries and then link the common dimensions between them using the Database Expert,   is these similar to merge dimensions in Web Intelligence?. Is it possible? Or how can I do to merge objects that came from 2 Universe queries?
    My problem is when I tried to execute the report, Crystal Reports get stuck.
    Any ideas would be helpful.
    Thanks in advance,
    Diana

    Moved to Universe Design forum

  • How can we use business object (e.g. crystal report ) in webdynpro abap

    Hi All,
    We all know that business object has been part of sap products.
    But even though in SAP, I really don't know much about business object.
    and how can we use the great function of BO and integrate into our development to make
    user have much better function and user experience.
    Do we have some learning material of BO?
    Could someone share some material here?
    Thanks and Regards
    Aaron.

    One of the main ways that you can integrate some Business Objects content with WDA is via FlashIslands.  If you are on 7.01 or higher, you have the option to use FlashIslands UI element.  There are many tutorials on FlashIslands available on SDN. FlashIslands work well with Xcelsius content, since the output of Xcelsius is a Flex component.  It is pretty easy to set the Xcelsius interface to External Connection and then write a wrapper Flex Component around the generated output, so that it can be used in the FlashIslands interface.
    For Crystal Reports integration you will need NetWeaver 7.02 (comming early next year).  We have integrated Crystal Reports as an output option in the Web Dynpro ABAP ALV and the Classic Dynpro ALV.  You don't need to do any development to enable this.  You can use two different SAP delivered Crystal Reports templates for the ALV output, or create and add your own templates.
    Some of ther BOBJ integration is still in prototype and demo phase within SAP.  For instance we have a data interface to send data to Explorer onDemand from any ABAP application. We have a prototype FlashIsland for WebI to run in place within Web Dynpro ABAP.  Over future enhancement packages you will see increased integration opportunties with the BOBJ capabilites.

  • Problem in using  Nested  IF-ELSE in Crystal Report  formula

    Hi Experts ,
                         I am having some problem using  Nested IF-ELSE in Crystal Report formula ,
    there is no error in the formula but only one condition is working. other condition is not working
    i am using this concept in formula workshop :-
    ' if{EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}<>0 and{EXCISE_INVOICE;1.Education Cess @2%}<>0 and {EXCISE_INVOICE;1.Secondary Education Cess @1%}<>0 and {EXCISE_INVOICE;1.Central Sales Tax(CST)@2%}<>0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%} + {EXCISE_INVOICE;1.SecCessAmount@1%} + {EXCISE_INVOICE;1.CSTAmount@2%}
    else
    if {EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}<>0 and {EXCISE_INVOICE;1.Education Cess @2%}<>0 and  {EXCISE_INVOICE;1.Secondary Education Cess @1%}<>0 and   {EXCISE_INVOICE;1.Input VAT@5%}<>0  and {EXCISE_INVOICE;1.Addtional Tax@1%}<>0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%}+{EXCISE_INVOICE;1.SecCessAmount@1% } + {EXCISE_INVOICE;1.VATAmount@5%} +{EXCISE_INVOICE;1.AddTaxAmount@1%(for VAT@4)}
    I want that  all conditions  should work and the condition which is applicable there according to formula it display the result,  if i add another condition then it should also work.
    kindly tell me the solution of this problem
    Regards
    Rahul

    Try this logic:
    if{EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}!=0 and{EXCISE_INVOICE;1.Education Cess @2%} !=0 and {EXCISE_INVOICE;1.Secondary Education Cess @1%} !=0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%} + {EXCISE_INVOICE;1.SecCessAmount@1%}
    else
    0
    +
    IF {EXCISE_INVOICE;1.Central Sales Tax(CST)@2%} !=0
    then
    {EXCISE_INVOICE;1.CSTAmount@2%}
    else
    IF  {EXCISE_INVOICE;1.Central Sales Tax(CST)@5%} !=0
    then
    {EXCISE_INVOICE;1.CSTAmount@5%}
    +
    if {EXCISE_INVOICE;1.Addtional Tax@1%} !=0
    then
    EXCISE_INVOICE;1.AddTaxAmount@1%(for VAT@4)}
    else
    0
    If not work, try SQL command.
    Thanks,
    Gordon

Maybe you are looking for

  • Possible bug: Clicking on Constrain Crop does not constrain crop

    Anybody else experiencing this bug? I saw it a few times, rarely, in LR 4.1 and earlier. I am seeing it more often in LR 4.2 (but nowhere near 100% of the time, this is an intermittent bug) In the Lens Corrections panel, I make a set of corrections,

  • I opened my iphone 5c and got a few problems

    i opened it and when i did i pulled to hard and the cables attached to the screen plugged into the rest of the phone ripped and now the screen doesnt show anything and touch doesnt work. though i found out how to fix this and am getting a new screen

  • Can't drag clips into viewer

    what causes the clips in the browser to be unable to be dragged? If i restart FCP, it works again, but after a while it goes back to being undragable. I am switching back and forth between FCP and firefox, and mpeg streamclip... any ideas on why this

  • I am not able to update my i pad

    I am not able to update my i pad

  • Volume Adjust Knob

    Didn't hear anything about this?!? Did anyone else notice that it is a heck of a lot easier to grab on to the volume knob? I always hated trying to use that and always just ended up using the volume controls on the side!