Crystal Report Date Prompt  Query from SAP BW

Dear Support,
Using Crystal Report 2008 and Query is design In SAP BW
Date Prompt is made mandatory in Query at Query Designer.
Problem:  Requirent is that Date promt shoud take value currentdate-1
when report is excuted first date prompt will show in that prompt value should have today date - 1 which is yesterday date.
how to pass formula to date prompt?
Thanks

If the prompt value should always be CurrentDate -1, then there is no need to use a prompt at all. Just put the formula to the selection criteria.
If you want the prompt to default to CurrentDate -1, while allowing the user to change the prompt to another date if they wish... That won't work. CR won't allow you to use a formula as the default value in a prompt.
If there is a BO Universe between you and the tables... IE, you're building against the universe, you'll need to get with the universe designer and have them make an alternate field available that has the formula hard coded in the SQL as opposed prompting.
HTH,
Jason

Similar Messages

  • Run a Crystal Report published on BW from SAP NetWeaver Portal without BOE

    Hi all,
    We need to create a report using Crystal Reports, save it to BW, publish it to SAP NetWeaver Portal, and run it from SAP NetWeaver Portal. We do not want to use BOE here.
    Currently, we are able to save the report on BW.
    With Xcelsius, we have seen that we can directly refer to the dashboard's technical name from SAP NetWeaver Portal. Is similar thing possible using Crystal Reports? If yes, how this can be achieved?
    Regards,
    Dhanesh Aradhye

    take a look here:
    Portal Part 1
    /people/ingo.hilgefort/blog/2010/03/29/sap-businessobjects-enterprise-sap-enterprise-portal--part-1-of-4
    Portal Part 2
    /people/ingo.hilgefort/blog/2010/03/30/sap-businessobjects-enterprise-sap-enterprise-portal-part-2-of-4
    Portal Part 3
    /people/ingo.hilgefort/blog/2010/04/08/sap-businessobjects-enterprise-sap-enterprise-portal--part-3-of-4
    Portal Part 4
    /people/ingo.hilgefort/blog/2010/04/21/sap-businessobjects-enterprise-and-sap-enterprise-portal--part-4-of-4
    but you still need the BusinessObjects Enterprise system as only the BusinessObjects system will actually render the report.
    Ingo

  • Universe based Crystal report date prompt appears as DateTime

    I have faced this issue in all XI versions and was hoping there is a solution for this in XI 3.1 and/or Crystal 2008.
    There is a date dimension in a universe which is tied to a datetime datatype on the backend SQL server field.  If a Crystal report (XI,2008) uses this date dimension as a prompt, the prompt created in Crystal report is of type Date Time and therefore when the report is ran, the required syntax for this prompt is with timestamp.  There was a fix for a similar issue in XI R2 Fix Pack 3.3 by creating a useDateInsteadOfDateTime registry key and setting its value to the DSN of the ODBC based universe connection.  I could never get that to work by the way.
    Any ideas on how to change the prompt data type to Date without the timestamp in XI 3.1 and Crystal 2008 reports?
    Thanks.

    Hi Farhan Jaffery 
    Have you tried to change the object defination in universe level and crate a prompt and check. 
    Also try to use Add Command to retrive the database field with only date and create a prompt.
    Thanks,
    Sastry

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Crystal Reports with BEx Query using Custom Exit Variable

    Hi,
    We have BW BEx Query using Customer User Exit variable to derive  the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
    VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
    When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem".  (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
    Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
    Crystal Reports with BEx Query using Custom Exit Variable
    Thanks,
    Andy

    Hi Vibhav,
    We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
    We tried that "mandatory" option and did not work either.
    Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
    23.08.2011 - 08:20:49 CET - Info for Customer by SAP  
    I have raised this issue on the Idea#s Place as an enhancement request
    on the below link:
    https://cw.sdn.sap.com/cw/ideas/5586
    This ER contains the information of including the customer exit
    variables in the report without checking the #input for ready# option.
    This ER can be considered for being implemented in the future
    versions. You can refer to SAP Note: 1515837 - How To: Enhancement
    Request Process - "Idea Place" for more information regarding the Idea
    Place.
    Cheers,
    Andy

  • Crystal Report requests Database logon if SAP BW is datasource

    Hi all
    I experience the following:
    1. SSO from SAP Portal to BOE works: I can view Sample Crystal Reports based on the BO-iView-template without additional login
    2. SSO from SAP Portal to SAP BW works: a) I can view custom BW Web queries without additional login and b) the connection tests on the system object in SAP Portal run fine
    3. I assume SSO between BOE and BW works because I can view Xcelsius dashboards based on BW queries within SAP Portal without additional login
    Nevertheless I am presented a login screen ("The report you requested requires further information. -
    Database Logon") if I try to view a crystal report based on a BW query, no matter if I start the report from InfoView, SAPGUI or SAP Portal. If I enter my SAP credentials in "Databse logon"-window I can see the report runs fine.
    SAP Authentication in BOE seems to work (I can import users & roles). In all 3 systems I have at least Admin or equivalent permissions. If I change the Database Configuration for this report within InfoView ("Use SSO") it does make any change (I also read somewhere a reply from I. Hilgefort that this is not necessary if BW publisher service is installed correctly).
    We use SAP BW 701.06, BOE XI31FP3.4 and SAP Portal 701SP6
    I publish the report from Crystal Reports 2008 SP2 with the SAP-Menu -> Save Report.
    I logon to InfoView-App with my SAP-BW credentials.
    Any help appreciated!
    BR
    Kanan

    Real solution is different, my other post is only a workaround:
    1. SNC settings in CMC were not correct (Certificate path, path to sapcrypto.dll)
    2. Relevant Serices have to run under local username
    3. Username has to be added to PSE
    See here: https://websmp130.sap-ag.de/sap/support/notes/1364536

  • Xcelsius - Crystal Report Data Consumer connection Issues

    Sorry for the long post but i hope with the full explaination, i can get a quick answer & solution.
    Using Crystal Reports 2008 and Xcelsius 2008 Engage, SQL 2008 stored procedure.
    I have tested the Crystal Reports Data Consumer connection within the Xcelsius program, using the following steps :
    1. Create a stored procedure that returns the Continent Name and the Count of Projects within each Continent.
    2. Create a Crystal Report using the stored procedure, 2 columns in the Details section, column names in the Page Header section.
    3. Save and export this as an Excel spreadsheet.
    4. Open the Xcelsius program, new file and import spreadsheet. Column A is the Continent Name, Column B is the Count.
    5. Without altering the spreadsheet, I created a graph using the data imbedded. i.Bar Graph, series and row selections. Ii. Pie chart with row data selection. Iii.Column data as series and row selections.
    6. Created a Crystal Report Data Consumer connection using the data imbedded within then spreadsheet. The column A as the u201CRow Headersu201D & column B as the u201CDatau201D. Took quite a while to get the right combination of selected components so that the preview actually showed the data and the corresponding data labels. The Legend still hasnu2019t shown up.
    7. Save and Export as Flash (swf) file.
    8. Close Xcelsius and open Crystal Reports.
    9. Open the same report used to create the spreadsheet and Insert -> Flash, choosing the newly created swf file.
    10. Link the data displayed On the Crystal Report to the Flash file now embedded, using the Flash Expert. Have tried both with the data listed on the Report, and the data listed as the result of the stored procedure.
    11. Previewed and the Data shown on the Graph does match the data listed within the Details section of the Report.
    12. I then altered the stored procedure to add u201C1u201D to all counts, and refreshed the Crystal Report. (I cannot add new data to the underlying database/tables, due to various other folks & projects using that same database.)
    13. The listed data does change to match the changes within the procedure.
    14. The Data labels on the Graph do change to match the changes within the procedure.
    15. The Actual Displayed Data within the Graph Does Not change to match the changes within the procedure.
    I have attempted this with a pie chart, a bar and column charts with the same affect.
    I have searched the web, printed out 4 different examples on how to make this work and still it is hit or miss. I still can not get the legend to show up, either in the preview or the within the Crystal Reports. When I preview the graph before adding the Crystal Report Data Consumer connections, it does work.
    Please someone tell me, What am I missing here ? 
    Thanks in advance for your help.

    http://www.****************/Tutorials/BI/Xcelsius/Index.htm
    http://www.resultdata.com/Company/News/Newsletter/2008/aug/Articles/Xcelsius/Using%20the%20Xcelsius%20Crystal%20Report%20Data%20Consumer.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10161e25-c158-2c10-3086-ad502098b36b?QuickLink=index&overridelayout=true
    http://codesforprogrammers.blogspot.com/search/label/How%20to%20suppress%20blank%20row(s)%20in%20detail%20section%20of%20the%20report%3F
    http://www.businessobjects.com/pdf/product/catalog/crystalreports/cr_xc_integration.pdf

  • Unable to export report to excel file from SAP

      Hi all,
    I have a problem to download data from a report. The XL gets downloaded in a different format than my colleague.
    We are using the same XL version but two weeks back the SAP GUI 730 got reinstalled to my machine and since then the problem
    started.
    Can you please confirm is there is any particular user settings for this?
    I have login in any different working ( SAP Export ) machine with my login ID and Password and try to export the report to excel file from SAP, and I have same issue . Same we have requested another user to login in my machine with their ID and Password and check the same, They have tried and its working for then in my machine.
    see screenshots attached.
    Thanks.

    Execute report>
    Right click anywhere in the report output and select Spreadsheet.
    A pop up box will appear, select which export option you would like to use and click green check.
    NOTE: If you don't see this option then goto Settings>Switch List then try above said.
    Thanks,
    Kumar

  • Using Crystal Report Data Connection in Xcelcius 2008

    The documentation does not explain how data to populate row, column and details is passed to SWF.
    Can some-one please point how CR Data Connection when created in Xcelcius 2008 is used in Crystal Report Design time ? Is it through Flash variables? Basically more details are needed for "when setup properly" clause. How to map Crystal Reports Fields to Xcelcius Definitions.
    Thanks
    Harish Tejwani
    From Doc:
    "With the release of Crystal Reports 2008, it is now possible to embed an Xcelsius-generated SWF file into a Crystal Report and have the SWF consume data from that report. When set up properly, refreshing the data in your Crystal Report will update the embedded SWF.
    To configure your Xcelsius SWF to consume data from its Crystal Rport source data, you must open the Data Manager in Xcelsius and add a new Crystal Report Data Consumer connection. After adding the connection, bind the following ranges to your spreadsheet:  Row Headers, Column Headers, Data"
    "Using Crystal Reports 2008, embed the SWF file into the Crystal Report source data file. When designing your Crystal Report, you will determine what fields/data populate the Row Headers, Comumn Headers, and Data ranges that were designated in your Xcelsius SWF. When set up properly, refereshing your Crystal Report will also refresh the data being sent to and consumed by the embedded SWF. See"

    <div class="content">
    <p>
    Please check the following post to see if there is a solution to the issue you are experiencing:
    </p>
    <p>
    <a href="/node/19014"><span style="color: #0063af">http://diamond.businessobjects.com/node/19014</span></a>
    </p>
    </div>

  • Can i use crystal reports standard to query ODBC datasources

    Post Author: Andy Forrest
    CA Forum: Data Connectivity and SQL
    Dear all,
    I'm struggling to identify if i can use crystal reports standard to query ODBC data-sources, the only information i can find is the following :-
    An intuitive solution that provides basic report design functionality off of PC-based data sources, Crystal Reports XI Standard Edition will provide you with access to data stored in personal data sources.
    This gives the impression that i cant access any data other than local data, can anyone give me a definitive answer or point me to somewhere that explains in a little more detail.  We are about to purchase some copies but need to ensure crystal reports standard can access ODBC data sources.  We are replacing crystal reports 8 standard edition and need to ensure previous reports will still run.
    Thanks in advance for any assistance.
    Cheers
    Andy

    Post Author: foghat
    CA Forum: Data Connectivity and SQL
    Well, you can certainly connect to ODBC with Crystal XI Developer.  I'd be very surprised if you couldn't with the Standard version as well.  Not the definitive answer you were looking for, I suppose.

  • Crystal Reports and BW Query- Translation

    Hello,
    I'm trying to use Crystal reports with BW Query in the Hebrew Language.
    When i open the Crystal Reports and connect to SAP I'm putting the Hebrew language key in the logon screen. When the crystal report starts i can see the reports info objects but without the Hebrew description. I can see that in the formula fields the Language key is selected but shouldnt i get the info objects description as well?
    Thanks,
    David

    Hi David,
    when I create a new report (using the SAP toolbar) I always get the descriptions for the info objects on the field explorer according to the language I set when I logon on into the SAP system my query resides in. I tried with both english and german language and it works fine. I assume you have installed the hebrew language pack for CR and that the hebrew descriptions are maintained in your SAP system. I also assume that you are talking about creating a report here and not opening an existing one though. In this case the language at creation time defines which descriptions are displayed.
    If the above assumptions are valid, then you may face a hebrew language specific problem here. Opening a support case would probably make sense.
    Regards,
    Stratos

  • Defining multiple Crystal Report Data Consumer connections?

    I am creating a Xcelsius object that uses data from Crystal Reports.
    To do that, I define Crystal Report Data Consumer connection. With this I can use Crystal to connect to the data source, create table of data (crosstab) and pass it to the flash object.
    But I can only define one such connection. Why can't I define more that one?
    I would like to pass two different sets of data and use them in different parts of the dashboard. Trying to get all the data into a single crosstab may not be possible.
    Is there another way to do this?
    Thanks.
    Tim

    I have found that I can pass any number of tables of data from CR to XC using flashvars, either XML or CSV.
    XML is easy, but you chew up 17 chars (64 bytes) in XML chars per column marker. And with a 64KB string max, you're left with at most 1K data points, and that's with no data!
    CSV is old school XC 4.5, converting an array in to a row-order string, not nearly as convenient as a Crystal Report Data Consumers, but it works and you have only a 4 byte overhead per column (the comma.)
    Converting cross-tabs to strings, though, can be a bear because cross-tabs are evaluated column-order and you may not know how many columns you are going to have.
    So use the Crystal Reports Data Consumer for the intricate cross-tab and CSV flashvars for the other tables.
    And then hope it all loads in less than 7 seconds.
    Tim

  • Executing Crystal Report using BI Query as datasource in Bobj portal

    I have a Crystal report using BI query as the datasource. The BI query contains User Entry variables.
    The Crystal report executes as expected except when added to the Bobj portal. From the portal, I can schedule the report and it will execute as correctly. However, if I try to execute without scheduling, I am able to enter the BI restrictions, but then am presented the following error message: "An error has occurred: For input string: "" ".
    If I remove all the BI variables from the query, the report will execute from the portal with out scheduling.
    Any help would be greatly appreciated.

    Hi,
    You can set your parameters from CMC. Select the report and set parameters in to the report properties.
    -SG

  • Crystal report with prompts takes very long time to open in infoview BOXI3.

    Crystal report with prompts takes very long time to open in infoview BOXI3.1?
    Is there any way to increase the performance.

    Ramsudhakar,
    There are several items that could cause these slow down problems. Without knowing more about the way your environment is setup, I could cause more problems, by giving out performance tips. You would need to be more specific in your post.
    What we know. BOXI3.1
    What we don't know.
    O/S
    App. Server
    Hardware Spec's
    ETC.
    I see that this post has been out here for some time. So if this is still a problem for you I'll try and help, if you provide more information.
    Thanks
    Bill

  • How to handle data that got from SAP by Webservice?

    Hi, Gurus.
    I am working on IFbA with ABAP and Adobe LiveCycle Designer.
    I've developed a function module in R/3 system and created webservice, connected the WSDL address to the form. The problem is how can i handle data that got from SAP by Webservice?
    It's Ok if i bind the dataconnection node to the form element, but how can i handle data without binding to the form element? I mean that how can i use the data retrieved from Webserivce in the Javascript, please give me some sample code or script method.
    Thanks.

    Hi Yang,
    If you are using Web Service, then the binding will be done automatically.
    It can't grow automatically, what else should i do to achieve this?
    1.Select the table(make sure you are not selecting subform) in Hierarchy view
    2. Under table select the Row which is having the required fileds for data
    3. In the Binding of that row, check the checkbox "Repeat Row for each item data" and under that check the Min Count which will set the default row **** to 1
    Regards,
    Sachin

Maybe you are looking for

  • Best Practice Report development

    Hi All, I am working on a blue print for a BI 7.0 project and I am searching for some information regarding a best practice for the development of queries in the three environments within SAP development/quality/production. I was wondering if there i

  • Problem with Markers

    I've seen this before on some projects in the past. When I have a clip with more than 20 something markers, they'll truncate folders and clips from my browser window. It'll get to a point where any new markers I add will not show up in the browser, b

  • KT4 Ultra switching off

    I have a really strange problem, Recently purchased a KT4 ULTRA Board and xp2700 (333Mhz) processor, 500w silent HIPER psu, 1.5Gb 2700 Ram, Gf4mx64mb, Sony DRU500 DVD-RW, CDRW, DVD.. etc This was for a friends multimedia system in his front room. All

  • BDB 4.7.25 C++ API documentation errors

    The documentation for DbEnv::set_event_notify() and DbEnv::rep_set_transport() says that their callback functions take "DB_ENV *" as the first argument. The callback functions' first argument should be "DbEnv *".

  • How to TRANSPORT SMARTFORMS LANGUAGE TRANSLATIONS

    Hi, Would anyone know how I will be able to transport to a different system the Language translations I defined for my SMARTFORM? I observed that I am not asked for a Transport when I define the Translations in SE63 THanks!