Fiscal week offset in crystal report record selection when using BW

Hello:
I have a report that is based on BEX Query.
The data model has 52 weeks (fiscal week) worth of information.
I would like to limit the results sets to pull back the last 12 fiscal weeks.
Is there a way to setup in crystal record selection and "OFFSET" to evaluate on execution time?
CR2008 SP3
BOE XI 3.1 SP3
SAP IK 3.1 Sp3
BW 7.0

Hi Dwayne,
that is something that can be done as part of the BEx query using EXIT variables.
Ingo

Similar Messages

  • Crystal Reports Publication fails when using dynamic recipients

    Hi experts,
    We are facing a problem related with the BOE 3.1 Dynamic recipients Publication.
    We have created a Publication with just one Crystal Report based on a MDX Query.  We send the report in PDF format to email destinations
    Dynamic recipients are defined in a WebI report pulling data from a BW query universe. We can display the email, user ID, Use Name and other fields we would like to use as dynamic parameters.
    Server side trust seems to be configured (is there any way to test it is properly configured?).
    The Publication is working fine with enterprise recipients (which have SAP BW account), and each recipient receive its PDF by email.
    When we execute same report with dynamic recipients without selecting dynamic personalization parameters it is working fine. But when we select one dynamic parameter (which is coming from the WebI report we use for dynamic recipients) eg: Profit Centre, the Publication fails and we get a Database Connector error:
    2011-02-14 08:53:25,275 ERROR [PublishingService:HandlerPool-13] BusinessObjects_PublicationAdminErrorLog_Instance_31036 - [Publication ID # 31036] - Scheduling document job "P&L" (ID: 31,051) failed: Error in File ~tmp191067bfa343ff0.rpt: Database Connector Error (FBE60502) [1 recipients processed.]
    How can a dynamic parameter affect on the Database Connection?
    Does anyone have an idea about what could be wrong?
    Thanks!

    Ino, what do you mean for "technical name or the member unique name"? Are you talking about the SAP User name? So in the dynamic recipients we can find  these parameters:
    - Recipient Identifier (required):      
    - Full Name:      
    - Email:      
    In the Recipient Identifier I should refer to a SAP user?
    Dynamic recipients option is working for same recipients. The problem appears when I assign one parameter to a field coming from the dynamic webi report.It fails with the previously detailed error. This parameter assignment seems to be causing the Database Connector error.
    Message in CMC:
    2011-02-14 17:00:25,590 ERROR [PublishingService:HandlerPool-24] BusinessObjects_PublicationAdminErrorLog_Instance_31594 - [Publication ID # 31594] - Scheduling document job "B1 - P&L" (ID: 31,603) failed: Document for recipients {BD1~500/EVER} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients {EVER, JOHNDOE} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error (FBE60502) [4 recipients processed.]
    Error in the Adaptive jobserver trace does'nt give more details:
    |1c2fd2be-3ba1-f414-f8fa-e4f7b004f1ee|2011 02 14 17:00:18:974|+0000|==| | |jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0| 2560|4856|| |6187|1|11|2|CMC.WebApp|vwd2520:1624:39.23486:1|CMS.runJobs|localhost:8392:11648.936338:1|jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0.run|localhost:2560:4856.5:1|CntazqXlSEO7hcDJVIv11545bbb|||||||||||(.\src\reportdllerrors.cpp:140) ras21-cr: procReport.dll: CRPE FAILED: GetLastPEErrorInfo(1) returns crpe error code [707] with extended error string [Database Connector Error: ''
    Failed to retrieve data from the database.
    Failed to export the report.
    Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]. Localized error string is [Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]
    I would like to discard thats a SNC misconfiguration error. Can I consider that SNC server side trust is properly configured if I can run Publication for many SAP users mapped in Enterprise?
    Thanks!

  • Crystal Report not visible when using IE9

    Hello,
    I have a report that has been displaying fine in IE8 for me, but when I upgraded to IE9, the report stopped displaying.  This problem seems to only occur if the report has more than 5 columns of data in it.   If it has 5 or less columns, everything displays correctly.  If it has 6 or more columns, a blank page loads.  I've noticed that if I try to print the blank page,  it will print correctly(all columns will display).
    So far, the only solution I've found is by going into compatibility mode in my IE9.    Is there a way to fix this so that compatibiltiy mode is not required to view the report in IE9?  This report is going to be used by client's and I have no way of stopping them from upgrading their browser.
    Also, I have read that Crystal Reports does not support IE9.  Does anybody know when they will support it?
    I'm using Crystal Reports version 14.0.2.364 RTM to create the report.
    The version of Crystal Reports on my aspx page is  13.0.2000.0
    Thank You.

    Bug description and suggested workarounds have been posted in this thread:
    Fix for CR for VS2010 visual effects bug: faded or blank report under IE9
    04/17/2012 Update:
    It has been verified that the bug fix has been applied to Service Pack 3.

  • VS2010 Crystal Report Crashes System when using 'Set DataSource Location..'

    Runtime ASP.NET 3.5
    VS 2010
    Under Database Fields (rt click) try Set DataSource Location... causes VS2010 to crash.
    This is on an imported report from VS2008.  VS2008 has no problem with the report.
    Since this is a ASP.NET 3.5 program the internal property field
    <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture>
    has been set in the project in order to allow the code to compile w/out errors.
    What is solution for Crystal Report Set DataSource Location?

    Hi Ken,
    Here's one link on the issue: CRVS2010 RTM: Database Expert / External Component has thrown an exception
    The reason is Old OS's used c:\temp as the default, now you are require to use %user%\temp as your temp folder as well as using the AppData folder for your app. If CR finds c:\temp it uses it and depending on what is in there it can cause Cr to crash, XML files have been know to do this.
    Following MS's new rules on users temp folder should make your app Windows Compliant.
    Thanks again
    Don

  • 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

  • Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?

    Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?  I use this for my mobile, on-site auto repair business and not being able to call up repair and diagnostic info and reference for some cars is troublesome for sure. It works fine on the computer and I have installed a remote desktop app as a workaround but it is unreliable because the desktop is not business dedicated and may be off or in use at the time. So is there a known fix for this?
    Let me paint a more descriptive picture, visualize 4 drop down selection menus, first one is for year, next one is for make, 3rd one is model and the last one is for engine size/type. If I wanted to choose a 2012 vehicle it wont work because it is the top selection on the list. This can be forced by selecting any other year and then coming back to 2012. Ok fine, but then let's say I wanted to choose Acura as the make, well it won't take it because again it's the top selection. Again you work around it be selecting any other make and coming back to Acura. Ok now select the model, same trend follows. But now since most Acura vehicles come with dedicated engines and no optional engines I have only 1 selection in that final drop down menu and it will not take my selection and therefore never let me proceed to the info I need.
    This is also true when ordering parts from my wholesaler's website, they use drop downs and I can only get to that last drop down and then I'm stuck. This is blindingly frustrating, what options do I have. I'm not opposed to any avenue at this point.

    Did you ever figure this out? I bought my iPad last week to use in my business as well. I assume you are trying to use alldata? That is where I noticed this same issue. I had problems with identifix working with safari but downloaded a different browser and that works fine. Alldata does not work with either browser. The main difference is that on identifix if there is only one engine selection, it automatically selects the only option and continues to the home page. With alldata you have to make the selection manually even if there is only one option. Honestly if I can't get this to work I am going to return the iPad as it looses a significant amount of usefulness to men

  • I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.

    I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.  I have looked thru this forum and I don't see anyone else having this problem. (unless I missed it).  The recording works in Notes, but not when I open Webcam and try to record from there. video recording works fine. I have had this computer less than a month and I am having a couple of problems with it. Still loving it though.

    Hello schae731: Welcom to HP Forum and your new Touchsmart. You need to contact HP Direct Support on line your Touchsmart comes  with one year warranty so use it why you can. You can contact them through your HP Support Assistant or on line. They will help you with trouble shoot the web-cam software. Goto your computers model and make support web-site. They will also help you with your other issues as well.
             I am using the older version software so I won't be much help. Please repost if HP direct support is un able to help you resolve your issues. While you are chatting with them have them check out your computer do it before your 1 year warranty expires. Have fun with your new computer.

  • Crystal Reports 2008 crash when Select Page or Print Report

    Hy,
    I Have Crystal Reports 2008 on Windows Vista. When I select page or I print reports, Crystal Reports crash. I tried to uninstall Crystal 8.5 and Crystal XI that I was on the same computer and manually removed all entry in Registry. After this I reinstalled Crystall 2008 but the problem was not resolved.
    So I tracked the dll called by CRW32.EXE and I found that the problem was on a DLL of Microsoft Office OneNote. I uninstall the Microsoft Office OneNote printer that Office Installation Program created for OneNote and now all work fine. I hope that this can help other people that have the same problem.
    Ciao Filippo

    Thank You for the information Filippo,
    This is actually a known issue with CR 2008 when a printer driver is missing at least one file. Our developers are aware of the issue and are planning to release a fix soon.

  • How to split the crystal report records by batch

    Post Author: dhivya
    CA Forum: General
    Im using a Crystal report and i have to split the records to be printed from the application.For Eg: I Generate a report which has about 2000 pages, now i want to print first 500 as one job and then the second job with the other 500 and til 2000 pages.Now i want to know how to split this records..If i use page count and split for first 500 and then how would the second job know that from where it has to continue (How will it take the 501th record).

    Post Author: Charliy
    CA Forum: General
    When I need to do something like that I use the primary sort field as the limiting feature.  For example: if I'm printing a report sorted by Name I'll have parameters for the first letter of the name.  So if the user enters the range A to E, then only names that start with those letters are printed.  The pages wonlt be exactly as if you'd printed the whole report, but it makes in manageable.

  • SBO crashes when I Preview a Crystal Report after selecting the parametres

    Hi,
    I've been investigating for several days and I don't know what is the problem that I have. I have done a new report on Crystal Report, with an SQL for the principal report, and also I have a Subreport with another SQL.
    Using several parameters some with @TOKENS, and I lunch the report in Crystal Report and it works perfectly. But when I want to test if the rerport works in SAP B1, I can see the parameters and the @TOKENS works perfectly, but when I lunch the report, B1 crashes.
    I tried to import this report to B1, and everything seems correct, once I imported, I try to lunch and I get an error message that says Error when creating Crystal Report, and the message number is 410000064. This message is not on the Notes data bese.
    I have tested the performance problems that are in the Market place, but nothing about my problem, also when I check dependences I get and advertise "Warning - Data Source: The fields for table Comando, have changed on server TUPINAMBA03. Please verify your report." And as I read it seams that this problem should not affect in the preview, I have another report that I get the same message and It works in B1.
    SAP Business One Release 8.81 PL 05
    SQL Server 2005 SP2
    Crystal Report  13.1.3.1028
    Thanks
    Cristian Moreno

    I install Crystal Reports Designing Software on those computers which canu2019t preview reports.
    Then start the Crystal Reports design software to open the problem report.
    It usually asks to enter the column on the interface u201COLE DB (ADO) u2013 Connect Informationu201D.
    But it gets into the interface u201COLE DB (ADO) u2013 OLE DB Supplieru201D.
    I correct the setup and save the report.
    The problem is solved.
    I try many methods, but only this one can solve my problem.
    If you have another solution, please tell me, thanks!
    Regards,
    Karen

  • Crystal report SQL Command and using IN

    Post Author: geozuh
    CA Forum: Crystal Reports
    Does any one know how to get a multiple value prompts to work in Crystal report SQL Commands? I have an extremely large database and do not want to pull back all the records to the report. I know I can do the filtering in the report, but due to the size of the database, I am restricked from doing do.
    I would like to set the State as a multiple value parameter/prompt to be used in the SQL Command.
    Ex.
    Select CustID, FirstName, LastName
    from Customer
    where State in ('WI', 'IL', 'MN') --this would be turned into a parameter

    Post Author: yangster
    CA Forum: Crystal Reports
    you are over thinking the problemsimply create a parameter within crystal for your state and change it to allow multiple valuesthen in the select expert put in state = ?stateif you do show sql query you will see that the values are pushed down to the sql level thus no performance hit vs putting the parameter directly in the command itself

  • Crystal Reports 11 - How to use group in footer

    hello
    i have a recordset of multiple branches and that is grouped by customer already. a customer  can buy goods from multiple branches so it is summery of customers with their goods. and i need the summery of branches with detail like i have attached an image
    in this image it is the record of one customer with 4 goods which are from 2 branches and in footer it is summery of both branches. i'm having issue here while m showing summery of both branches.so how can i show this summary and it is not sure always that there is only 2 branches. it can be 1 or many.
    i'm using Crystal Report 11

    Hi Amit,
    Use a subreport to show the branch wise summary. Here's a bird's eye view of what you might have to do:
    1) Insert a Subreport pointing to the same table on the Group Header
    2) Right-click the Subreport > Change subreport links > Move the CustomerID or any field that uniquely identifies each customer to the Pane on the right > From the dropdown at the bottom right that reads 'Select data in Subreport based on field', choose the same field. This will link the customer fields from both the datasources.
    3) Inside the Subreport, create a group on the Branch Field and place all the required summary fields etc
    4) Suppress unwanted sections in the Subreport > Right-click the Subreport > Format Subreport > Uncheck 'Keep Object Together'.
    -Abhilash

  • Crystal report print error when canceled by user in VS2003

    Hi ,
    I have a problem with print in crystal report using VS2003.
    Code region
    CrystalRpt rptdoc = new CrystalRpt();
    System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument();         
    rptdoc.PrintOptions.PrinterName = printDocument.PrinterSettings.PrinterName;              
      rptdoc.PrintToPrinter(1, true, 0, 0);
    End Code
    CrystalRpt is the crystalreport that I use.
    when user clicks cancel in the print dialogbox that appears, it throws the error.
    Please find the stack trace below:
    Exception Text **************
    CrystalDecisions.CrystalReports.Engine.InternalException: Error in File C:\DOCUME1\RAKESH1.RED\LOCALS~1\Temp\temp_d047ddc7-9297-4a24-a03f-11f21917120a.rpt:
    Request cancelled by the user.
    at  . I(String   , EngineExceptionErrorID   )
    at  . D(Int16   , Int32   )
    at  . C(Int16   )
    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 SampleCrystal.Form1.btnPrint_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.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
    When I implement the same code using VS2008, i dont get the error.I found it specific in VS2003.
    Thanks in advance.
    Rakesh Reddy

    Hi,
    Can be a permissions issue.
    Try giving the ASPNET account full control on Temp folder :
        . Right-click the folder and select 'Properties'.
        . Go to the 'Security' tab and click the 'Add' button.              
        . Select the 'ASPNET'. Click 'ADD'. Click 'OK'.
        . Check 'Full Control' from 'Permissions for 'ASPNET'.   
    Sincerely,
    Nikhil Dharme

  • Crystal Reports 2008 crashes when previewing image with graphic location

    Hi,
    I'm using Crystal Reports 2008 for SAP Business One.  When I try to insert an image with a UNC graphic location (browse to a UNC drive for image) and I preview, Crystal Reports crashes with the following debug info:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.1.0.892
      Application Timestamp:     48de4bbc
      Fault Module Name:     cslibu-3-0.dll
      Fault Module Version:     12.4.0.966
      Fault Module Timestamp:     4daed0a1
      Exception Code:     c0000094
      Exception Offset:     0002d7fd
      OS Version:     6.1.7601.2.1.0.272.7
      Locale ID:     1033
      Additional Information 1:     0a9e
      Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:     0a9e
      Additional Information 4:     0a9e372d3b4ad19135b953a78882e789
    Any idea why?  If I trun graphic location off, it works fine.
    The code I'm using to pull image is:
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Thanks.

    Through  Startu2014Run are you able to view the image by choosing the following path ?
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Also try to insert any image which is on your local hard drive and try.  I think this is because, CR is unable to access the images which are on UNC.
    Thanks,
    Sastry

  • Crystal Reports XI Crashes When Reporting on Event Log

    I have successfully connected to the event log on my local Windows 7 pc, as well as two different Windows 2003 server event logs. The report runs fine unless I include the field "DESCRIPTION" on the report. If I include that field, CR crashes with the following error in my event log:
    Faulting application name: crw32.exe, version: 11.0.0.1282, time stamp: 0x422d5c77
    Faulting module name: crheapalloc.dll, version: 9.2.0.4, time stamp: 0x422d5ade
    Exception code: 0xc0000005
    Fault offset: 0x00002454
    Faulting process id: 0x17e0
    Faulting application start time: 0x01ca58e2b9115606
    Faulting application path: C:\Program Files (x86)\Business Objects\Crystal Reports 11\crw32.exe
    Faulting module path: C:\Program Files (x86)\Common Files\Business Objects\3.0\bin\crheapalloc.dll
    Report Id: fe7f7599-c4d5-11de-a50a-001e4fe037ce
    I've found a few sites online that others have had the same problem, but I've not found a solution. Any suggestions from anyone here??

    Hi Carla, I moved this post to the database connectivity forum.
    It may be due to the size or of the text included int he description or MS is reporting the wrong size of the field.
    Other issue is XI is not supported on Windows 7 due to the age of CR and newness of Windows 7. CR XI is no longer patchable nor will any new OS platforms be added.
    What you can do though is download CR XI R2 for free and use your XI keycode to install it, then go to the Keycode Request site and get one for R2:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Test again and if it still fails you may have to wait for Service Pack 6 to come out, I believe we are adding Windows 7 to the supported OS's.
    Thank you
    Don

Maybe you are looking for

  • Error while trying to Execute the Query with Customer Exit

    Hi Experts,        I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting. system error in program SAPLLRK0 a

  • Quad core

    Hi hope someone can help me out here? My brother in law has just bought a new HP  laptop 1337tx  amd quad core cpu. He asked my why his laptop was running slow when browsing and opening programs. He runs win 7 64 bit now I told him maybe his cores ar

  • How do I know if my AT&T unlock was successfull?

    Hi, I called AT&T about an unlock for my  iPhone 4 (that I purchsed from a friend) two days ago. After being on hold for about 15 minutes the operator finally came to the phone and told me to wait about 3-5 business days to plug my phone to itunes an

  • Runtime information in BPM

    Hello XI Experts, I've got one question: Is it possible to obtain a runtime information in Business process ? I have created alerts where I use container to add dynamic text from payload but I also need to add information on which system this alert w

  • X99S SLI Plus/4 sticks of G.Skill/No POST

    Same as some others.  4GB G.Skill (F4-3000C15Q-16GRK) placed in 1, 3, 5 and 7 ... does not POST.  In troubleshooting this, I removed all except #1 and it POSTed.  Ditto #1, #3.  Ditto #1, #3 and #5.  Added #7 and no POST.  I moved all four sticks aro