Ho can I schedule a WEBI report with dynamic parameters???

Hello again!!
Here i am with another detail about scheduling, the thing this time is that ia need to schedule a report with one parameter every week but with a different value for the parameter every week.
This is i need this week to run the report SALES BY STORE filtered by week with this value 2011 - 45 (yyyy - num ofweek) but the next week the value for the same parameter must be 2011 - 46
is it possible??? i mean is possible to schedule a report with different value for the parameter each time that it runs???
I know that i can schedule a report with different values for a parameter to send it to severals users whith different data but the values for the parameter are the same every time that it runs and i dont need that.
Any help or clue will be very appreciated

Hi Elio,
Do you have access to modify your universe?
Then you should try Dave Rathbun's idea. Here is the link:
http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
Note that you'll have to adapt it to what you need, in this case to the week number.
For example if you are using Sybase syntax you'd get 2011 - 46 with:
convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))
So you'll new object in Universe would look like :
your_table.week = case when @prompt('Enter week','C',,mono,free) = 'This week' then convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))  else @prompt('Enter week','C',,mono,free)  end
Adapt it to the syntax of the database you use. Then after creating this object in your universe you'll have to go back to your report and Edit the query and use this object in the filter area instead of  a normal prompt.
When you have to schedule the report leave the prompt with the parameter 'This week'
Hope this helps
Regards
Erika
Edited by: PadawanGirl on Nov 8, 2011 3:35 PM

Similar Messages

  • How to schedule a report with dynamic parameters

    We need to schedule a Webi report with dynamic parameters then email the different result to different email groups.  Is it possible to do this in scheduler? Please advise. Thanks.

    there are 2 schedulers
    1st  CMS
    the reports which does not have any input parameters, only then t can be scheduled in CMS
    2nd in Infoview
    if report has input parameters and if you want to schedule it, then you may need to schedule the report from Infoview
    To have a email notification
    configure the SMTP server in report JOB Server
    Thanks,
    Ganesh

  • I'm getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I'm not getting this issue.

    I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.
    “This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

    BO does not run dynamic params through the report as would happen without BusinessObjects (BO) or Crystal Reports Server (CRS).  When you publish a report with dynamic parameters to BO/CRS, the prompt is published to the repository so that it can be accessed through the Business View Manager (which can be installed as part of the client tools).  In order for this to work a couple of things need to happen:
    1.  You need to be sure that you check the "Update Repository" box on the Save As screen the first time you publish the report.
    2.  Your BO/CRS user needs to have "view" access to the Crystal2013ReportApplicationServer in the Servers section in the CMC - in fact, the Everyone group should be given view access to the server in order for dynamic prompts to work correctly.
    3.  In the Business View Manager, the Administrator user needs to give your user, or, even better, a Crystal Developers group full control access to the "Dynamic Cascading Prompts" folder.
    Best practice for dynamic prompts in a BO/CRS environment is to actually create the prompts in the Business View Manager.  This will allow you to create a single data connection that can be reused and also create lists of values such that the same list or prompt can be reused by multiple reports.  If you just create the prompts in Crystal, you will end up with multiple data connections to the same database, the prompts will use the whole query for the reports to get the dynamic values instead of just a focused query to the lookup table that contains the values, and there ends up being lots of duplication and chaos.
    -Dell

  • Scheduling in Webi Reports with Changing Prompts.

    Hi Experts,
    I have a Webi report which is on top of 2 BEx queries connected through BICS. The Webi report has more than 4 crore records which makes it difficult to load each time when I refresh. I need to schedule this report so that the user can view the report based on the last instance.
    The report has 3 prompts namely Plant, Material and As of Date.
    The user uses only Plant and As Of Date. There are only two plants for example A and B. The user needs to run the report for each plant separately for all the days.
    Suppose today is 03/07/2013.
    The user will run the report with Plant A and As of Date: 03/07/2013 and second time with Plant B and As of Date: 03/07/2013.
    Next today is 04/07/2013.
    The user will run the report with Plant A and As of Date: 4/07/2013 and second time with Plant B and As of Date: 4/07/2013.
    I need your expert opinion in achieving this while scheduling. Hope you understood the scenario and will be helping me out in this.
    Thanks in Advance,
    Abdul

    Hello experts,
    I am very interested in this topic, as I have the exact same requirement as Abdul:
    Daily scheduling of Webi reports, based on BEx queries and connected through BICS. Done on BO4.
    I followed Aashutosh's link above, and i read something very interesting on page 3:
    Current Options Using Standard Functionality
    Until BusinessObjects 4.0 is released, it is not possible to use BEx variables (which will be made available by
    the BICS connector) or the last load date variable. This makes it impossible to automate the scheduling of
    Web Intelligence queries filtered by dynamic dates or time-slices (for example, yesterday, last week) using
    standard functionality. "
    Is this already functioning on BO4/Bex? Do you have an idea of how to implement it?
    Thank you!
    Best regards,
    Francisco

  • Executing a Webi report with input parameters

    How can I schedule a BO4 webi report dynamically? I have a set of tables which contains the required parameters for the reports and I need implement a mechanism which will invoke these reports with the parameters. Then I would want the reports to be placed at a specified location. I am told that this can be achieved using webservices integration. I just dont know how. Please advise.

    Hi Sukanto ,
    Check the below link for dynamic prompt during scheduling
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/24/dynamic-default-values-with-prompt-in-webi-reports-based-on-bex-queries-in-bo
    and file location check below screenshot
    It might help you.
    Regards,
    Anish

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • Can't run a WEBI Report with Sybase in Solaris

    Hi all.
    I have an instalation on Solaris 10, the database is Sybase IQ 15, the database work good and I can build an universe but when I try to run a report for that universe, Web Intelligence show this error:
    "Query 1 - Depositos
    A database error occured. The database error text is: (CS) "DBDriver failed to load : /disco01/bo/bobje_programs/bobje/enterprise120/solaris_sparc/dataAccess/RDBMS/connectionServer/libdbd_dbodbc10.so (ld.so.1: WIReportServer.bin: fatal: libdbodbc10_r.so: open failed: No such file or directory)" . (WIS 10901)"
    The driver ODBC for client Universe Designer is install and client IQ 15 is intall too in Windows, I build a Universe in window client and the check is ok. I can see the data. then I export the universe in BOE but when I build a WEBI report this dosn't work.
    Do you have any idea?
    Thanks in advance.
    Edited by: Mauricio Garcia on Oct 20, 2009 5:41 AM

    Thank you Denis,
    the database is intalled on the same server (Solaris-Unix) that boe and the databse is running.
    I have to install the driver when the database is in the same server?
    thanks in advance
    Mauricio

  • Scheduling a webi report with no access to univ. connection

    Hi,
    I have a user in BO enterprise, who has access to a report, but no access to the universe & universe connection.
    So ideally, the expected behavior is that, when the user schedules the report, the schedule should fail.
    When I do a schedule, by clicking on the prompts, and modify, it throws me an error that the Universe and universe connection are not accessible.
    But when I schedule the report, with all default settings (without modifying the prompt values), it schedules, and shows a Success status. (Though the report shows blank data)
    Has anyone observed this before? Any info on this would be helpful.
    Thanks.

    Hi,
    The use-case is:
    - An administrator creates a new user (by default belongs to Everyone group) and provides access to a particular report including the scheduling privileges
    - The Everyone group does not have access for the Universe or the Connection
    - When this user runs the report (View on Demand) and refreshes the data (via the Refresh Data button), the error is thrown stating that the universe is not found/not accessible.
    - When scheduling the same report, we see different behaviors (one of the prompt option happens to be a List of Values:
        - Changing the prompt values - Clicking the modify button on the parameters page and trying to select a value for the LoV prompt throws me the Universe not found/accessible error (which is correct as the concerned user does not have access to the universe or the connection)
        - With default prompt values (i.e. not changing any of the prompt values in the parameters page) - This shows that the schedule was successful and when i open the instance, it shows me blank report - The question here is, why would the schedule succeed when the user does not have the access to the universe/connection?
    Thanks -
    Chandra

  • Unable to Save Crystal Reports(With Dynamic  Parameters to Infoview)

    I am using Crystal Reports 2008 and BOXI 3.1. I have 5 dynamic parameters and can't save my report to Infoview, but If I use Static parameter then I am able to save it.
    Any help would be highly interested?
    thanks
    nisniki

    What is the exact error message and the version of crystal reports.Can you also check that all the BOE services are up and running

  • Unable to schedule webi report with Test user

    Hi All,
    I get the below error when i try to schedule a WEBI report with user id.
    I can schedule with my developer id.
    Error Message: Sorry, you do not have the right to 'Edit objects' (ID: 6) for 'sudes_errors' (ID: 45941). Please contact your administrator if you require this right. 
    Any inputs greatly appreciated.
    Thanks

    Error clearly showing that, Test user need access rights defined @ CMC.
    Contact BO admin, to assign Schedule/Full control rights for that Test user.
    Thank You!!
    H2H

  • Scheduling WEBI reports with API

    Is it possible to schedule a WEBI report with an external API?
    Explanation: our customers can view their data on our internet site. We want to show a list of reports where they can subscribe. For example: report X with parameter Y each monday morning in Excel format to mailadress Z.
    This subscribtion is stored in our Oracle database. The database sends an API to the BO enterprise server. BO schedules and sends the report to the customer.
    Regards,
    Emiel

    Hi
            What is the API ? Is it a Text file ? if so then you can schedule the reports based on an event in BO .
    Regards
    Prashant

  • Unable to save the Crystal Report with Dynamic paramters in Enterprise

    Hello,
    We are not able to save our Crystal Report with dynamic parameters in Enterprise, Error message as follows :
    "Failed to read data from report file C:\DOCUME1\...\crw{...}.rpt. Reason : Failed to read parameter object"
    CR Developer Version 12.0.0.683
    help us in this regard..
    thanks,
    Narasimha Murty

    Hello,
    The error message occurs because the user or group who created the LOV does not have the appropriate rights in Business View Manager.
    Try this hope its helps
    To resolve this issue follow the steps,
    1.Log on to Business View Manager as administrator.
    2.Click View > Repository Explorer.
    3.Right-click Dynamic Cascading Prompts. Click Edit Rights.
    4.Click the appropriate user or group receiving the error.
    5.Click the Granted option for the right to View, Edit & Set Security rights.
    6.Click OK. Close Business View Manager.
    The user or group is now able to save a report with dynamic parameters to Enterprise.
    Regards,
    Vinay

  • Problem scheduling webi reports with XI3.1 pending forever

    Hello,
    I've got a problem scheduling webi reports with XI3.1 scheduler.
    After confiming scheduling job (loggin in with "administrator" user), status remains "pending" forever(using Infoview or CMC).
    I tried different job recurrence a modalities (attachment formats, destination user etc).
    I also try to add (-javaArgs "Xmx900m,Xincgc,server") wich is the SAP solution found on its portal but it does not work.
    I use BO XI 3.1 in Windows 2003 server, after the install I reduced the maximum memory of Java in the tomcat 5.5.2 server from 1024 to 512 because the server never started with the initial size.
    Please I need Help.
    thanks in advance,
    Samy

    Hi,
    Below SAP solution found found in BOB Forum.
    I applied this solution and now everything works fine !!
    I just add  this -javaArgs "Xmx900m,Xincgc,server"  in the command line of the server
    Hope this helps:
    Symptom
    Scheduled WebIntelligence reports remain stuck in 'pending' status after installing Microsoft windows patches of April 2009. Restarting the Adaptive Job Server, Central Management Server or Server Intelligence Agent has no effect.
    The Event Viewer logs show the following entry: Unable to start the sub-process (Job Server Child). Cause : Couldn't get IJob interface or writing IAudit: Pipe exception. Reason: jobserverchild (WebIJavaSchedulingService ReplicationSchedulingService, 0, Timeout waiting for Child [4716] to register ([120]seconds).
    Reproducing the Issue
    Install Business Objects Enterprise XI 3.x on a French Windows 2003 SP2 32bits server
    Install the following Microsoft windows update patches of April 2009:
    KB923561, KB925336, KB952004, KB956572, KB959426, KB960225, KB960803, KB961373, KB967715
    Schedule a WebIntelligence report
    The report remains in Pending status
    Business Objects Enterprise XI 3.1
    Windows 2003 SP2 32bit (French)
    Microsoft windows patches of April 2009
    Cause
    With Microsoft windows patches of April 2009, the maximum Heap Size for java processes has been reduced to under 1000MB.
    Resolution
    Apply the following steps to fix the issue:
    Launch the Central Management Console
    Select Servers
    Right click on <server_name>.Adaptive Job Server and select Properties
    Add the switch -javaArgs "Xmx900m,Xincgc,server" in the command line of the server
    Click on Save and Close
    Restart the <server_name>.Adaptive Job Server
    Regards .
    Sam.
    Edited by: samouber on Aug 21, 2009 2:54 PM

  • Error when try to schedule a Webi Report

    Good day every one:
    Can anyone please help me to solve this problem??? the issue is this, I want to schedule a Webi report but when i clic on Schedule and go to Format and Destinations tab, i got this message:
    displayErrorMessage="VIEWER:VIEWER_ERR_DEFAULT (Error: INF )"; traceErrorMessage="\u003Cinput type="hidden" name="BENCHERROR" value="Error Number :  - Error Description : VIEWER:_VIEWER_ERR_DEFAULT"\u003E";
    And i can not see the formats availables to schedule the report and of course i can not see the configuration and destinations options.
    Looking for an answer i found this:
    http://forums.sdn.sap.com/thread.jspa?threadID=1537527
    but that is an old post and i can not find the file mentioned there, can somebody please help me to fix this???
    We are using:
    BOBJ 3.1 SP3
    Windows Server 2003
    32 bits
    Regards

    I just found this
    I was able to fix the issue by replacing the webiviewer.properties file with the file from the WARFILES\WEBAPPS directory. The webiviewer.properties file looks like it was corrupt as there was only 1 line in the file. After replacing and restarting the servers there's no longer an error when selecting Formats & Destinations.
    I checked those webiviewer.properties and like you , one of them had only 1 line, about the language.
    So I replace the one from Tomcat55\webapps\AnalyticalReporting\WEB-INF\classes with the one in the folder Tomcat55\webapps\AnalyticalReporting\classes
    My guess is that this properties is corrupted because of the installation of other language. What should be done is updating the file with the new language parameters but what is done is a replace of the file.
    I foun that in this link
    http://www.forumtopics.com/busobj/viewtopic.php?t=150796&sid=bad10669f42c6de2b77e37b03122334d
    I will apply this and if im success i let you know
    Regards
    Edited by: Elio Javier Guzman Hernandez on Oct 21, 2011 6:25 PM
    Well the solution that i gave you works fine.
    Regardas
    Edited by: Elio Javier Guzman Hernandez on Oct 21, 2011 10:42 PM

  • Re: Schedule a WEBI report once the BW process chain loading is completed

    Hello Guys,
    I want to schedule a webi report once the process chain in bw is sucessfully completed .Did any one face this situation before ?
    is it possible to trigger a event from bw to webi and schedule a webi report to end users once the process chain loads the data into cube sucessfully
    i searched sdn but didnt find any help related to this topic
    can any one help me with the above issue asap
    step 1 : Trigger the process chain load the data till cube
    step 2 : add a process type whcih has program - at the end of the process chain
    step 3 : trigger a event in BO inorder to schedule a webi report to end users from this program ? how to do it
    i want to know how to trigger a event in bo from bw using r/3 program inorder to schedule a WEBI report
    any help on this topic is highly appreciated

    Hi Venkat,
    At present, there is no standard functionality available in SAP NetWeaver 2004s BW/BOBJ that offers this integration and automation.But you can do it as given in following link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09033ab-4593-2e10-5fa0-b23bcfa1575a?QuickLink=index&overridelayout=true&51887500308956
    Regards,
    Pushkar Dhale

Maybe you are looking for