Using Select Expert Criteria in a Report Title

Post Author: kevinday17
CA Forum: Formula
Hello,
I can't quite figure out how to get a select expert criteria in my report title.
My title is "Sales by Customer from Jan 1, 2007 to Aug 31, 2007"  but I want to be able to have the dates in that title reflect what the user has given as parameters.
So if the user selects July 31, 2007 as the end date, I would like the title to reflect that.  I'm less concerned about the format of the date that how to bring it into that text area.
Thanks,
Kevin

Post Author: yangster
CA Forum: Formula
oh you are not using parameters to do the date selection (i'm guessing you have a reason for this)simplest way for you to achieve what you want would be to create a couple of formula within your report and use those instead of your hard coded dates@begin_dateDATETIME(2007, 08, 01, 00, 00, 00)@end_dateDATETIME(2007, 08, 31, 00, 00, 00)@report_title"Sales by Customer from "& @begin_date &" to "&@end_datein the selection expert put in{SOP30200.DOCDATE} in @begin_date to @end_dateso if you wanted to modify the start and end range change the values inside the 2 formulas, your report title will reflect the changes but this really should be done with parameters to allow more flexibility (but i leave that up to you to decide)

Similar Messages

  • Using Select Expert Inserts Blank Section

    I'm using Crystal Reports XI Developer Edition and it recently started to display some strange behavior. Every time I use the Select Expert to add a parameter, Crystal adds in an empty ghost section. I refer to it as a ghost section because you can see it in preview mode as an unlabeled, blank section between the report footer and the page footer, but when I go into design view it's not there. How can I make this section not appear?

    Hello Mary,
    I can't explain why it would do that but here are some things to try;
    1) Ensure you are patched up with the latest service pack, SP4
    2) Try lowering the screen resolution
    3) Try lowering the hardware acceleration
    4) If you are using dual monitors only use Crystal Reports on the primary
    5) Have someone else try logging onto your machine and see if they receove the same behaviour
    Some questions if the above does not resolve the issue;
    1) Is this happening on other machines?
    2) What Operating System is CR installed on
    3) Could you please detail the exact workflowif the following statement is incorrect > go into the Select Expert, select a field to filter on, select a parameter from the drop down list of values.
    4) What happens if you manually create the record selection formula where field = parameter?
    5) Does this happen with any field type or is limited to a specific type?

  • Use of Presentation Variables in Navigated Report Title

    Hi All,
    It's regarding the presentation variable in report title. I have value interaction to another report based on Prompted values. But when we click on the value it will go to another report page and giving the results, but the title view is not changing as per the requested value. The title should change dynamically, but it is showing the P.Variables in place of prompted value.
    Below are the ways i have used the P.Variables:
    @{brand1} at @{customer}, @{sensitivity}% Sensitivity
    @{brand1}{'Prod'} at @{customer}{'CVS'}, @{sensitivity}{'15'}% Sensitivity -----(default values here)
    Version : OBIEE 11.1.1.5.0
    Could you provide me the solution for this issue.
    Thanks in Advance,

    Hi,
    You can use the presentation variable when you are passing the value from the prompt and filtering after
    clicking on the 'GO' or 'APPLY' button. So that assigns one value and is passed in the report in the
    page used.
    What you need to do is you need to have the 'is prompted' for the column used in the title
    or you can make the column is equal to @{pres_var}.
    But still if you dont use the columns in the report and you dont want to filter the report with the title columns
    then you can use narrative view with all the columns used in the title and have 'is prompted' and make its formatting similar to title view and save as a separate report
    And place the narrative view above the report
    Regards,
    MuRam

  • Using Select List value for building report

    I have an interactive report form. I have a "After Header" (LOAD) process that run sql commands that will populate a table with the data that the report needs for a given week.
    I have a Select List item that is run as a "Before Header" that gets a list of dates from a table. The dates only contain the first day of the week for the past two years. It is called "WEEK_OF" table and the column is called "WEEK_OF_DATE".
    The default value for the Select List is the first day of the current week. And then all of the first day of the week from the WEEK_OF table.
    I would like the LOAD process to use the value in the Select List. So at start up I would like the List to show the current week and report to begin with data from the current week.
    So I have tried to use the variable :WEEK_OF_DATE (Item name) as the beginning date for the report. However :WEEK_OF_DATE is null.
    Also, after I have the report displayed, I would like to select a new date from the list and have the report automatically refresh with that new data.
    Any Ideas what I am doing wrong?

    Hi Lyle,
    When setting a default value for a select list that is to be used to filter a report, I have found it best to do that using a computation, conditional on the item being NULL and running Before Header. If other computations rely on this value, then it should have the lowest sequence number to ensure that the value is available for those.
    Andy

  • Selection/Filter Criteria restriction in reports?

    Hi,
    We have a requirement to restrict customer master data list by signed on user (sales rep - navi attr of customer) how will you restrict master data in query filter variable?  we have implemented data level security for reps (sales rep is a navigational attribute of 0customer), when sales rep signed in and access report, he/she is prompted to select customer from customer list, BW is displaying all customers from master data and we would like to restrict the customer list only for signed in sales rep (Not all customers from master data).
    Replacement variable and customer exit variable fill the data and this approach (customer exit and replacement path variable) doesn't work. We need to prompt user a list of their customers to select from.
    Is there a way you can restrict the master data list based on sign in user (sales rep)? we are open to use web application designer to achieve this if it is not possible using query designer?
    Any input will be appreciated.
    Thanks,
    Steve

    Hi Steve,
    Check this....
    Authorizations for a Few Groups
    You can divide users into a few groups. This is the case, for example, if the authorizations need to be checked only on the level of the InfoCube. You can then, for example, create roles that allow you to run queries from the current InfoCube(s). You can then assign one or more roles to the user.
    The administration of the authorizations, rolls, and user assignments can occur here completely along with the role maintenance (transaction PFCG). The work is, in comparison, quite low. The assignment of roles to users can also occur in the maintenance of the user (SU01) or that of the central user administration
    http://help.sap.com/saphelp_nw04/helpdata/en/31/4af438cd2b7058e10000000a11402f/frameset.htm

  • How to add a filter/selection into the report title?

    Hi experts,
    Currently I try to fugure out how to set up a field into the page header (title) of a report in order to dynamically adapt the title to selected filter criteria. I tried to use the Reprot Filter Summary, but since I do have several sheets in my reports the information given through it is not applicable.
    What I would like to achieve is that the end user can select e.g. a category X and Y and the title says: "Report title - categories: X,Y" Somthg like this. I'd appreciate any tips.
    Best regards

    Hi guys,
    thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
    I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
    When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
    Regards

  • CRViewer XI R2 Select Expert error when using dates

    I am using RDC.  CR XI R2 w/ SP2/3.  When I open any report with dates in the output and then use Select Expert and choose a date from the browse or dropdown list I get an error.
    "Error - the ) is missing"
    -Thanking you in advance.... Brent
    Edited by: Brent Lawrence on Jun 11, 2008 2:15 PM
    Edited by: Brent Lawrence on Jun 11, 2008 2:18 PM

    Hello Brent,
    I'm sorry the RDC viewer and the Select Expert do not meet your expectations.  The RDC was deprecated with the release of Crystal Reports 10.  Once the RDC was deprecated it stopped receiving development focus for issues like this.  The RDC remained available for two more versions (XI / XI R2) but it has now been retired with the release of CR 2008 a few months ago.
    I'm surprised to hear that the Select Expert wasn't showing this issue in CR XI (v11.0), unfortunately I won't be able confirm this.
    If you want to roll back to the viewer for CR XI (v11.0) you have to roll back entirely to work with CR XI (v11.0).  You should not mix versions of DLLs (e.g crviewer.dll v11.0 and craxdrt.dll v11.5).  This may work, but it would not be supported for any issues you might encounter.  You indicated in your post that you moved to CR XI R2 (v11.5) to get past another issue that was resolved in CR XI R2, so rolling back entirely won't be a solution.
    With the retirement of the RDC the recommended upgrade path for Windows application development is to move to the Crystal Reports .NET SDK.  The Crystal Reports .NET SDK is available in CR XI R2 so if you want to explore this SDK as well you can visit the online developer library for additional information.  Here's the link:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Sincerely,
    Dan

  • How to use selection-set in submit report

    Hi ,
    How to use,
    submit report via selection-screen
                                         using selection-set 'ABC' .
    Can somebody pl tell me how to use selection-set 'ABC' in submit report . It would be nice if someone can send me a piece of code.
    Regards,
    Hardik

    Hi,
    This is from ABAPDOCU.
    SUBMIT REPORT01
           VIA SELECTION-SCREEN
           USING SELECTION-SET 'VARIANT1'
           USING SELECTION-SETS OF PROGRAM 'REPORT00'
           AND RETURN.
    Effect
    Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.
    You can use f1 help also.

  • Change the report title to more meaningful title? How to achieve it?

    Hi Guys,
    We have some BI reports which the users runs from BEx analyser. Currently the report title shows the names of the reports. For example a Sales by products reports has the title SALES BY PRODUCT REPORTING.
    What we want to do is these reports have selection screen and based on what the user selects on the selection screen we want the report title to be more meaningful. For example if the report is run for the period 1 and company code ABC selected on the selection screen then the report title must show SALES BY PRODUCT FOR PERIOD 1 AND COMPANY CODE ABC.
    My questions is how to show the variable in the report title? I am new to BI and need help on the same. We are on 7.1 version of BI.
    Cheers
    VJ

    Hi,
    We have done the same but in my case the input Month will display.
    Eg: We have MM reports which will run Period wise, so user wil give 001.2009, in the report title it will display...
    Stocks report for 001.2009.
    Using Text Variable we can do it.
    Steps;
    1. Create a Text Variable with Customer Exit option.
    2. Take the user input value and pass into Custome exit Variable.
    For Sample Code, you can see one blog and some Articles.
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    See the blog "Using Text Variables with Customer Exits in Report Headings" and see Customet Exit articles..
    WHEN 'ZT_C'.   " ZT_C = Text variable with customer Exit
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMONTH'.  " ZMONTH = User input variable on 0CALMONTH
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              zsmy = loc_var_range-low.
              zemy = loc_var_range-high.
              zsmnth = zsmy+4(2).
              zemnth = zemy+4(2).
              zfyear1 = zsmy+0(4).
              zfyear2 = zemy+0(4).
              CONCATENATE zsmnth '.' zfyear1 INTO zsmnyr.
              CONCATENATE zemnth '.' zfyear2 INTO zemnyr.
              l_s_range-low+0(7) = zsmnyr.
              l_s_range-low+9(2) = 'To'.
              l_s_range-low+13(7) = zemnyr.
              l_s_range-sign = 'I'.
              l_s_range-opt = 'BT'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
        ENDIF.
    Thanks
    Reddy

  • Select Expert

    When using the Record Selection tool from the Standard report creation wizard, the drop down list in the Record select is not being populated with data. However, when using the select expert from a blank report the drop down is working just fine.
    Any suggestions?
    Thanks!

    Hi
    Is it happening with all the reports that you create with Standard report wizard?
    If so try  doing a repair of the software using Add/ Remove programs -> Select Crystal Reports -> Click on Change ->Repair -> After installation restart Crystal Reports.
    Hope this helps!!
    Regards
    Sourashree

  • Select Expert issue or limitation

    I am trying to create a report using select expert in crystal report. However, I am finding that when I use 'is equal to',  drop down besides it does not show all the data values in the list. It shows list of some data. Anyone have any idea what could be a reason. Is there any limitation in Crystal report select expert drop down?
    Thanks
    Syed

    The following SAP Note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313331333933303332%7D.do]
    Regards,
    Raghavendra.G

  • Select Expert - Record

    I'm trying to limit the values presented in the Select Expert - Record tab based upon it's relationship to a selected value from another field.
    We have several hospitals.  Each hospital has several floors or unit/wards usually identified as 6 East, 2 West, 4 North, etc.  Not all of the hospitals have the same named unit/wards.
    I select use select expert - table_name.Facility_Name = "Hospital A" when I select table_name.Unit_Name I only want those units/wards from the "Hospital_A" to be displayed in the list and not all of the units/wards that are listed in the table.  This way I do not have to wade through all of the unit/wards that a facility does not have.  The report is for unit/ward.
    Thanks
    Michael

    Hi Michael,
    If you are using Crystal XI or newer version then try creating a cascading prompt to get filtered with parent level field value.
    For more information check the sample report prompting.rpt that shows the cascading prompt of Country>Region>city
    Regards,
    Raghavendra

  • Prompt parameter in Report Title

    I have created one summary report and this report has two drill downs detail reports. First Summary Report is Sales report by Country, Second report is sales report by State and Third report is Detail Sales Report.
    I am passing parameter Country on second report. I used Narrative View to show Selected Country name on the report Title. This is working and Selected Country Name is appearing on Title (Narrative View). But Some reason I am unable to show State name on third Report. Still it is showing Country Name on third report. I want to show State name on it. Any idea?

    As Sandeep says, respond to the people who take the time to help you. So far you have asked several questions and only reply to ask more questions or get more help. Then you abandon the thread without every acknowledging the help you received or responding to the solutions that you were given.
    Do not simply take and take. It is forum ettiquette to come back and share what worked. Then you should close out your threads and award helpful and correct points where appropriate.
    So go back and respond to your previous threads and close them out. Otherwise, you may find that you will not be helped in the future.

  • Select Expert - Formula : Some clarifications

    Hi,
    Can anyone explain the below formula in Select Expert:
    IF {?param} = "AAA" THEN {Command.CD} = "ALL"
    ELSE IF {?param} = "BBB" THEN NOT({Command.CD} = "BALL")
    ELSE true
    My doubts are:
    1) This formula will be executed after the query in the 'Command' object is completed. That is from the output of the Command query, we are filtering the records based on the above formula - Please confirm my understanding.
    2) The final return type is True . What is the effectiveness of this return type? How is it affecting my output?
    Thanks in advance!!
    Meena

    Hi Fritz,
    Thanks for your response!!!.
    One more query regarding the execution of the formulas in Select Expert.
    1) The record filtration using Select expert will be done while retrieving from database itself
    or
    2) the output of the database retrieval will be filtered based on the Select expert ?
    Which one is true?
    Thanks in advance!!
    Meena

  • Crystal Report - Title from Select Expert.

    Hi Experts !
    I need some help here. Recently I have build a new crystal on the production analysis. Part of the select expert for record is between posting date A and posting date B.
    Below is the code I uesd for the select expert whereby Posting Date 1 is a parameter with range that I have defined.
    {ODLN.DocDate} = {?Posting Date1}
    I am interested to have this 2 date from the parameter to appear on my report. For example :
    Date: A date till B date.
    I have tried picking up this data from the parameter, but failed to get what I want. Anyone have syntax for this ??
    Best Regards,
    Alex

    Hi Gordon,
    Yeah, I know the syntax to do this. The real problem lies as I have stated on my first post - I want the date that I have entered on the parameter during the filtering process, to appear on the report itself. I have tried it before, but all that appears is only True value, not date.
    So If, I am about to use two parameter date instead of parameter range with selection expert, will I be able to pull the two parameter date into the report, so that I can print it out with the date on the report itself. It's important for the report to have date because not everyone knows the report is from when to when.
    Best Regards,
    Alex

Maybe you are looking for