Crystal Report Parameter multiple values

In crsytal report 2008, I created a report to enable user to view list of sales order. I created the following parameter to display list of sales order:
doc@select docnum from ORDR
In SAP B1 8.8, it displays a dropdown list of SO and users can select one sales order at a time to view the report. However, is there a way for users select MULTIPLE SO from the dropdown. I know in the parameter properties, you can set the 'enable range values' to TRUE. The end result of that is it generates a range for users to choose from (docnum next to each other). Instead of selecting range of SOs, is there a way for users to select random SO from the list? Example, from the list, select SO 13000, 13010, 14000 etc. Thanks.

Daniel,
Excellent, I changed
- list of values from static to dynamic
- changed toke from @select docnum to @select *
- changed select criteria from docnum to docentry
The list works fine.
From the multiple values selection screen in SAP, it shows the following three columns:
- Value (DocEntry)
- Description (DocNum)
- Check Box
I was able to hide the vlaue (docentry) column from form settings. However, can I change the name of 'Description' to something more meaningful like 'Sales Order #'? Also, the description column is really wide. Is there any way I can narrow the column width?

Similar Messages

  • Crystal report parameter defalut values in infoview

    Hi All,
                I am working on crystal reports, and  i have created a local variable in the crystal and set a default value. I aslo deploy it to the BO enterprise . When i open the report from the infoview, the default values which was set in crystal is not available.We can set this at the CMC level, but a developer may not have access to CMC other than Instance manager. Do we have any other option for the same to get the default values in infoview. Appreciate your help at the earliest.
    Thanks & Regards,
      Magesh Anandan.

    Hi Deidra,
    You can download latest service pack and hotfix from the following link:
    [https://www.sdn.sap.com/irj/boc/businessobjects-downloads]
    Have a look to Knowledge base article 1219377 - Error "ERROR: Thread was being aborted" in .NET InfoView .
    Hope this helps!!
    Regards,
    Shweta

  • Crystal Report Parameter Default Value

    Hi All,
    I have one issues regarding the parameter in the report.
    I have two parameter field in the report. The scenario will be as below:
    In my report, i have mobile no & passport no parameter selection. Currently in my report, the selection was like below:
    {pax.mobile} = {?mobile} and
    {pax.passport} = {?passport}
    Formula above was placed in report's select expert. Each time user need to select or enter the two parameter above in order to select the entered data to be reflected into the report. However, my report REQUIRED to allowed null value from the parameter selection. I can enter mobile no but leave passport null, however with the formula above was unable to proceed to refresh the report. I have the formula as below, however it could not be able to work.
    (if(hasValue({?mobile}) = true) then {pax.mobile}  = '*ALL'
    else {pax.mobile} = {?mobile} ) and
    (if(hasValue({?patssport}) = true) then {pax.passport}  = '*ALL'
    else {pax.passport} = {?passport} )
    The formula above will display all of the records and sometimes it will b hung.
    Appreciated anyone who knows this able to advice.
    Thanks.
    Regards,
    CK

    hi,
    Thanks for your feedback.
    I have try one of the example below:
    if(hasValue({?Country})=false) then true
    else {Customer.Country} like '*'&{?Country}
    If country parameter is null, it will retrun all country. But i would like to return Country = 'USA' if my parameter value is null.
    Is this possible to do it in the formula above? I tried something like below, but if has parameter value it will return the USA as well.
    if(hasValue({?Country})=false) then {Customer.Country} = "USA"
    else {Customer.Country} like '*'&{?Country}

  • Crystal Report with multiple BEX queries

    I have a Crystal Report that uses 6 different BEX queries.  The report needs to display the results from each query, there is no need to join these queries.  The Crystal Report is using subreports and displaying the data one BEX query after another.
    The issue I have is that these BEX queries all have the same mandatory variable.  This is causing Crystal to prompt the user to enter the same variable filter once per BEX query.  
    If we change the BEX queries so only the first BEX query has a variable and use Crystal to filter the other 5, the performance is unacceptable.  My guess is the other 5 queries are experiencing client side filtering instead of the filter being passed down to BW.
    Is there a way to have multiple BW queries with the same variable and have Crystal only prompt the user to enter input one time?
    Thanks,
    Andy

    Hi Andy,
    My understanding of the issue is :
    --You have 6 Bex queries and are displying on after the other becaused you have inserted all these queries as sub report.
    --All your Bex queries are having same parameter / prompt / variable which will take user input and filter the data.
    --Now the report is prompting the user to enter prompt / variable 6 times.  You are looking for an option to proimpt only ones insted of 6 tiems.
    If I understood correctly follow the method to link sub reports to grab the parameter value form main report parameter :
    Right click on sub report go in Change Subreport Links, select main reort prompt / varieable and then select sub report prompt / parameter / variable.
    Do the same for all your sub reports.  This will eliminate asking / prompting the same parameter value several times.
    Thanks,
    Sastry

  • Report Parameter Default Value at runtime

    Post Author: DMiller
    CA Forum: .NET
    Hi,
    I need to be able to create new parameters at runtime and have been somewhat successful in this endeavor. I have one remaining issue that I am hoping that somebody can help me with. Let me explain.
    When you create a parameter from within the Crystal XI designer, you are able to specify a number of default values that will display as a list box at runtime. Eg. ParameterName is MaritalStatus and default values are ("Married", "Single", "Divorced" etc). There is also the ability to specify the Default Value in the Value Options area of the screen. This value could be set to any one of the default values above - let's say that I set it to "Single". By setting the Default Value, this causes the Parameter Fields screen, at runtime, to "Select" the specific default value set above - in this case "Single", instead of showing "..." as the parameter value.
    The default value setting in the Value Options is beneficial when you have reports that are usually run with certain parameter values and only occasionally these need to change. Instead of having to specify every parameter value, the user only has to set the ones that have not been defaulted or they want to change.
    So, I have been successful in creating the parameters at runtime and successfully running the report. I have been unsuccessful in setting the "Default Value" as seen in the Value Options area. I have tried a number of properties on the report parameter object and have not found anything to set this.
    Does anybody know how to set the "Default Value" as seen in the Value Options area in the designer at runtime?
    Thanks for any help.

    Post Author: JerryB
    CA Forum: .NET
    You have described my scnario to a tee.  Did you ever figure out how to get the single default value that is available in the "value options" area when working within the Crystal Reports development environment.  I am using VB.Net and have a nice report menu form and viewer but recently a user ask me to set the default value in one of my combo boxes and I have been unsuccessful in finding the correct property to use.

  • How to parse crystal report query prompt value via url parameters

    HI All,
    I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
    for example, in my query panel i have created a prompt called "pwwid"
    and this is how i parse the prompt value via open document url.
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
    I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
    any idea why i am not getting this works?
    Regards,
    KeatAun

    Could you try:
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
    -Abhilash

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • Crystal report parameter usage

    Hi all,
    I am facing a issue in designing crystal report. I want to display records in report as per user entered value of date parameter but  in database if data is not present for given input date value then the report should run for value which is one older than given input date value which is present in database (In short, report run for near by older value than input date value if record is not present for entered input value)  .
    How to do it in crystal report.
    Please help.
    Any comment is valuable.
    Thanks

    You can try this - In your sql query select data for both the dates - input date and next higher date (something like where sale_date = {input date} or saledate ={input date}+1)
    In Crystal do a record select filter to display the data for input date
    For eg:
    if sale_date ={input date} then
        if count(sale_id) is not null then 'sale amount'
    else ' '.
    Basically use the idea not sure about how to put it in syntax without looking at other report elements....Hope it helps

  • SAP B1 suspends when Crystal Report parameter screen appears

    Crystal Report Add On is installed to my SAP B1 2007B (patch 10) system.
    When I run a CR report, a parameter screen appears for me to enter required parameter values. The system seems suspended to all other B1 users until I submitted the parameter values.
    Any idea of why this happens? And how to prevent this?
    Thank you.

    Hi,
    Is the addon download from SDN or developed by yourself?
    If it is developed by yourself, please make sure to open the CR report in another thread.
    You got to separate B1 Event Routine and Window Form Event Routine in different Thread.
    Otherwise one will be hung.
    Regards, Yatsea

  • Regarding Crystal report  parameter from and to.

    hi.
    I am having one requirement ie.
    Normally we are giving..i.e
    We are using parameter in Sap b1 like Docentry
    Based on this one Docentry the data will fetch from the data base and it will shows into the sap crystal reprot
    suppose Ex Docentry = 3 then it will show the data.. then
    but ring now what i nee dis  Docentry from and to
    fromdocentry = 1
    todocentry  = 5
    so, 1,2,3,4,5 five documents should be generate one by one in crystal report in single crystal report not 5 pdf files single pdf should have 5 doc entries
    Is it possible how can i do it.
    how can i do it...

    Hi
    I think it is not possible from Crystal Report but below discussion indicates it is possible through some Crystal Report SDK tool.
    Exporting a Crystal Reports file into multiple PDF's
    How to export a crystal report into several pdf files then email them to several email addresses
    With Regards
    Balaji Sampath

  • Crystal Report - Parameter issue (advanced dialog box)

    In our wpf .net application we view the crystal report, the report prompts for entering 2 parameter values i.e 2 dates and inturn these parameters will be used to generate the crystal report.
    The parameter panel on the left has a button (show advanced dialog box). This button should again invoke the same parameter prompt dialog box, so that the user can modify these parameters and the report can be regenerated.
    Issue is that when I click on the the button, this generates a null reference exception in the code. The call stack is -
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowAdvancedDialog(ParameterUnit pu)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.pu_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.OnShowAvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.editControl_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.OnShowAdvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.btnShowAdvancedDialog_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Please note, I used the .net reflector to debug the crystal report dll , the isDCP method looks like -
    public bool isDCP
          get
            return (this.Attributes.Contains("IsDCP") && ((bool) this.Attributes["IsDCP"]));
    Looks like the attributes value is null.
    Please let me know your comments. Am I missing something while getting the report in the frontend.
    I use crystal reports 2008 sp 2 (also note that my gac contains different version of crystal reports (cannot remove them - tried it) , with windows server 2003. I use web service with proxy to get the report from the local server.
    Note I also tried to create sample application in which I specify the local path to reports source , this works. However when I tried to use webservice, i was getting soap exception.
    Please let me know how solve above issue

    So you found the Report Design forum, if you looked down one more you would have found the SDK forum, SDK stands for Software Development Kit if you did not know.
    Or did you not mention you get the same error when you run this report in CR Designer, if so then you were in the right forum.
    Try Service Pack 3 also
    Move to the SDK forums.

  • Running Scheduled Crystal Reports for Multiple Customers!

    Hi,
    We are trying to accomplish what we felt was a very common practice with reports.
    We have CR 2011, CR 2011 Enterprise, CR Server 2011.
    What we are trying to accomplish is very simple.
    Currently, I have a prompt in my report that prompts me with a dynamic list based on a small sql statement my report, it provides a list of individual customer and their id's. It takes that ID , puts it into another SQL statement in the command and generates just that customers data. it works perfectly!
    What we are trying to do is use crystal server 2011 to take that report in question, schedule it, and have it run for each of the dynamic customer id's that I previously used when it prompted the screen.
    The reports cannot use multiple values as we only want each customer data to be included in the report.
    We need to have the scheduler run this report for our 10 different customer idu2019s and send it to their individual email addresses at a scheduled time each day.
    Is this possible? This has to be a very common request of reporting tools.
    If SAP software cannot do it, is there a 3rd party software that will allow our reports to be ran in the way I am wanting?

    Hi Rsheppick,
    Within CR Server you can use the publication functionality to create a publication and schedule this to external customers - for this you would have to use a dynanic recipient list to map the customers email id's to a field in the source report.
    The workflow is described in the online Publication document, accessible at the SAP Support site.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • Crystal report Parameter binding issue with Liveoffice

    Hello,
    I have created a Crystal report on top of BW query. In crystal report when parameter is set to null the report gets all data from BW query.
    On inserting the same Crystal report to Live office document on binding the parameter i get the data for selected value for parameter but i am not able to set the parameter to null to get all the data from BW queries.
    Please help!
    Regards,
    Rahul Doshi

    Hi,
    I was able to solve the issue with the below code. I have added a parameter value as <Not Specifed> in paramter.
    if {?parameter1}='<Not Specified>' Then like '*' else
    ={?Parameter1} and
    if {?Parameter2}='<Not Specified>' Then like '*' else
    ={?Parameter2} and
    if {?Parameter3}='<Not Specified>' Then like '*' else
    ={?Parameter3} and
    if {?Parameter4}='<Not Specified>' Then like '*' else
    ={?Parameter4}
    This code works perfectly fine in crystal report. But when i bind the parameter with excel in Live office it gives me below error.
    Parameter has no value.
    Details: errorKind
    Error in File {7D9B961E-ADB9-4292-9DDE-A8D11B94D78E}.rpt:
    Error in formula  Record Selection:
    'if {?Sales Office}='<Not Specified>' Then {0SD_C03_ZQRY_0SD_C03_0011_BOBJ.D[0SALES_OFF]K} like '*' else
    Parameter has no value.
    Details: errorKind (LO 26603)  (6603)
    Please help.
    Regards,
    Rahul Doshi

  • Report parameter field value has a single quote. need to escape before pass

    Report has a parameter whose value might have a single quote in it. If I pass that value directly into the SQL Command... like
    where ... user_name = {?parm_user_name}...
    which would translate to
    user_name='O'Donnel Honda'
    I am getting an error... so would like to convert this parameter value into 'O''Donnel Honda' before passing into the query.
    I created a formula called parse_user_name with following:
    Replace ({?parm_user_name}, "'", "''")
    And used in the query like
    where ... user_name = {@parse_user_name}...
    I am getting an error like invalid SQL92 character...

    I think you should use the condition like this
    where ... user_name = '{?parm_user_name}'
    keep the parameter in single quote at the command level itself.
    Now use the same formula like
    replace({?Parameter},"'","''")
    This works only if the parameter is a single value parameter but not multi value parameter.
    Regards,
    Raghavendra

  • Crystal report parameter problem while uploading in sap business one

    Hi
    All
    I designed a crystal report using
    stored procedure
    and
    Routemas user defined table
    in sql server with three parameter
    routname,from date,to date
    these parameters are from storedprocedure only but not created in report
    i set the parameter routename  as dynamic and i assigned the routename field from routemas table
    when i run the report in the parameter window it displays the list of routenames
    upto this is k but
    when i upload this report in sap business one 8.81 PL-05  and
    run this report in sap environment First it asks parameters there
    it didnt display the list of routnames
    when the parameter routname is set as static and assign some  routenames manually
    then it shows the list in sap environment
    Can any suggest the answer
    Edited by: madhu ganga raju on Oct 17, 2011 7:06 AM

    Hi Rhaul,
    i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
    Or as a workaround,
    try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
    Regards,
    D

Maybe you are looking for

  • Playback and Rendering issues when GPU acceleration is enabled

    I'm using the new MacPro with dual AMD FirePro D300. When I enable GPU Acceleration (Open CL) I can no longer play through an entire sequence. It specifically has issues playing through any layered graphics or titles, but seems to play with those dis

  • Error while deploying an HFM application in EPMA application

    Hi, I have created an application in HFM and its validating fine. While I try to deply the application by EPMA application library I get the below error; Detail : Initiating Product Action... Generating Headers and Callback Information... Generating

  • Selection screen is not displaying if I use logical database CCLDB_AENR

    Hi Experts, If I use the logical database CCLDB_AENR in my custom program, it is not displaying my custom program selection screen. It is only displaying the logical database selection screen. some one help me how we can handle this. Thanks, Naresh.

  • GRC 10.0 Database average size

    Hello everybody, A customer has asked me how to size their disks for their new GRC 10.0 Risk Management installation. Installation guides and sizing guidelines provide information for software space occupation, but the size of the database should dep

  • Oracle 8i hash parallel update question

    Hello All, Fairly new to Oracle (old Sybase guy). Using Oracle 8i. Trying to get an update to run in parallel against a table. Partitioned the table 4 ways using hash partitioining. Please see the following query/plan. I am trying to determine if thi