Passing dynamic prompt values.

Hello,
I have around 250 Webi reports that i need to schedule to run on a monthly basis, and using the scheduled month/year as prompt value.
What is the best way i can accomplish this?
If i set an individual report to run recurrently every month, it will always use the prompt's default values or the values i set manually at the CMC, but that doesnt work for me because i need the prompts to be different each time they run..
I cant use the magic date solution because 99% of the reports use UserResponse() for year and month on table headers and similar.
Is this possible with coding? Can i code a script and schedule it to run every month, that will run through my list of reports to pass them the correct prompt and refresh them?
What is the recommended way to achieve something like this?
I already have a VB script that schedules an individual report to run immediatly, but i cant pass the prompts..
Thank you for your patience

Hi Oscar,
I have attached a JSP file (renamed to .txt) with the code i used to fill the prompts dynamically with date variables (year, month, full date, etc).
You will need some libs. You should copy another web application deployed on the bo server tomcat and use that folder or read the SDK manual for the exact necessary libs - sorry, I have read this list somewhere but i cant remember where.
This code is not exactly great, far from it, but it has some comments and should give you a helpful start. I wish I had this when i needed it.
You need to know a bit of java to understand it.
After you have this working you just need to call the JSP to schedule the reports. We used a vbscript scheduled on the Windows Task Scheduler to call this every month. Each JSP schedules an entire folder full of reports.
Cheers, and good luck.
Fernando

Similar Messages

  • Passing dynamic prompt value using Report Engine SDK

    Hello Experts,
    I have created a webi report which contains prompt. Using SDK, I would like to catch the value of prompt which is selected by a user at runtime.
    e.g. If prompt contains values year, quarter, month, etc and user has selected value of u2018Quarteru2019 at run time, then I would like to catch that value using Report Engine SDK.
    I tried to implement prompt.getCurrentValues(). However that is not working.
    Can someone please help me to figure out the way to catch this dynamic prompt value using Report Engine SDK?
    Thanks,
    John

    Where is the prompt values being set, and where are you trying to catch it?
    Workflow description is missing here.
    Sincerely,
    Ted Ueda

  • Passing Dashboard Prompt values to different dashboard.

    Hi All,
    I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard.
    The scenario is:
    I am using a column formulae to navigate to the different dashboard.The column formulae written is:
    case when rank ("Table".column ) <=10 then cast(rank ("Table".column) as char(10)) else ''||'+'|| '' END
    In this scenario, the dashboard prompts are not get passed to the other dashboard.
    In other case when I do not customize the column as stated above and in the Column Property just give a 'Navigate' in the Value Interaction it passes the prompt values to the other dashboard.
    Similarly can we do something in the column formulae or using something else to pass on the dashboard Prompt values to the other dashboard.
    Please Note that the dashboard Prompts in both the dashboards are exactly same.
    Regards,
    Bhavik

    Bhavik,
    Your nearly there, simply extend your URL syntax and pass the colum values with it, see here :
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    e.g
    http://webserver/analytics/saw.dll?Go&Path=%2Fshared%2FSupplier%2FRegionDollars&Action=Navigate&col1=Periods.%22Year%22&val1=%221999%22&op1=eq
    Passes colum : Periods.Year
    value : 1999
    operator : equals (=)

  • Passing Dynamic Filter values to Web template in VC

    Hi Experts,
    Iam working with a Web Template (which is created using WAD)  in Visual Composer Model
    I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
    This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
    I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
    But i wanted the template to be executed with filter values also
    in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
    In order to make the template execution dynamic i added the following URL which is not working:
    http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
    Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
    Thanks
    P.Navakanth

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • Modify Dynamic Prompt Values based on User Name

    Hi,
    I did some searching for this issue on the forum and could not quite find anyone with the same problem.  If I missed something, please except my apologies in advance.
    I have created a report within Crystal Reports 2008 with dynamic prompts.  The report pulls possible values for the report directly from my database (MS SQL 2005).  This works well.
    I have deployed the report, with eclipse, under tomcat using the free JRC components provided by SAP.
    This is a financial report which allows users to view the budget of a department.  Each user will have one or many departments that they should have access to.  Not everyone sees the same departmental information.  I have a table that contains the user name of each individual and the department code they should have access to.
    One of the dynamic parameters I have in the report now lists all department codes.  Would it be possible to pass to the report a user name that would limit the listing within the department code parameter to only those departments the user name has access to (as specified in the security table I have setup for this)?
    I need to do this within the JRC and not the Business Objects EDGE server.  With this in mind, I do not believe I can use any of the RAS components of the JRC.
    Thanks, in advance, for any advice or help you may be able to provide,
    Dave

    Moved to Java SDK forum where the JRC is answered.

  • How to Pass dashboard prompt value to RPD variable??

    Hi Experts,
    I am creating RPD variable with below query in initialization block
    SELECT extract(month from Max(report_date))  from xyz_date_dim where report_id=14 and year=:YEAR
    I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
    I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
    can any one help me in this....
    Thanks,
    KSS.

    So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
    If so try the following, lets assume your measure is simply called 'count'
    in the BMM you have measure 'count' with aggregation set.
    Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
    in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
    repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
    Repeat for however many Mth Ago's you want.
    Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
    Sorted?

  • Pass Multiple Prompt Values Dynamically in a Publication

    Hello
    I have a dynamic list for list for my Publications of a Web Intelligence Document. The dynamic list has the following columns names
    ID
    Name
    Email
    Zone
    and the Web Intelligence document has the columns:
    Zone
    Sales Value
    I can't use Profiles because some of the recipients in the dynamic list do not have a BOE account
    Lets say I use the following values
    ID = 1   
    Name = Sally 
    Email = [email protected]
    Zone = USA
    This works fine and if I change the value of the Zone to another single value, (maybe Sally has been reallocated to a different Sales Region) for example:
    ID = 1   
    Name = Sally 
    Email = [email protected]
    Zone = UK
    then this also works fine and the output from the Publication shows the correct value.
    However, when I try and do the following, I run into problems:
    ID = 1   
    Name = Sally 
    Email = [email protected]
    Zone = USA;UK
    The resultant output is blank!!! The prompt that is in my document that I want to burst is set to optional. I've tried using:
    semicolons: for example USA;UK
    commas: for example USA,UK
    brackets and semicolons: for example (USA;UK)
    brackets and commas: for example (USA,UK)
    but nothing works and the resultant output is empty
    Also, passing in a blank value for the optional prompt to return everything but this does not work either and the resultant output is empty.
    I can't believe that this is not possible and would welcome any suggestions.
    Thanks in advance.
    Julian

    ZHello Arijit
    Because that is just 2 individual values I know that would work, but its not going to be suitable for my needs. In reality, my dynamic list will look more like below and will contain a lot more people too.
    ID
    Name
    Email
    Zone
    Region
    Item
    1
    Sally
    Sally@mytown
    USA
    2
    Mary
    [email protected]
    USA
    California
    3
    Jim
    [email protected]
    UK
    North
    Coats
    4
    Bill
    [email protected]
    Coats
    5
    Fred
    [email protected]
    USA;UK
    Jeans;Belts
    My Web Intelligence Report that needs to be burst/published has the columns
    Zone
    Region
    Item
    Sales
    Zone, Region and Item are also Optional Prompts so, in the case of "Sally" above, she should get all items for all regions in USA, Bill should get Coats in all Zones and all regions etc etc
    Thanks
    Julian

  • How to pass the prompt value to repository variable in obiee 11.1.1.7

    Hi All,
    I am given a tabular report to build in OBIEE 11.1.1.7 version using insurance data.
    I have to show different types of claim names and their corresponding count in the table. One of the calculations require me to use the total no of claims(i.e sum of all the claims).
    Example:
    Total No of claims: 600
    Total No of Auto Claim: 60
    I have to create a table on Auto Claim like:
                   claim types       count
                        X                    10
                        Y                    20
                        Z                    30
    I was calculating total no of claims by using dynamic repository variable as it was a constant value. Example: repository_variable1: select count(claim ID) from Insurance; In report I was just using value of (repository_variable1)
    Now client has asked us to give date prompt so the total no of claims (assumed as 600) will change with respect to period. I can calculate total no of claims with respect to different claim type (as shown in the table above) with respect to period filter in the report.
    The problem I am facing now is, I need the count of all the claims on a partucular period too. Repository variable is giving always calculating the count as 600. But the count should change with respect to period selected. How to get this value?
    Can I create a presentation variable in the prompt and pass this value as an argument for repository variable?
    Please help. I am in urgent need of the solution.
    Thank you.

    Hi Srini,
    I tried creating it as metric. But the problem is my pivot table is on Auto Claims.
    Let me try to make myself a bit more clear.
    Total No of claims in fact table: 600
    Total No of Auto Claims in fact table: 60
                    claim types(auto claims)       count        Calculation
                        X                                        10             10/600
                        Y                                        20             20/600
                        Z                                        30             30/600
    So I need to access total no of claims to calculate. I cant use a metric as the count will take group by with respect to auto claim type and give value only for X claim.

  • Passing a Prompt value to Webi using Xcelsius with OpenDocument

    -Operating System: Windows XP
    -OS Patch level: Service Pack 3
    -Office Version: 2007
    -Flash Player version: 10
    -Xcelsius Version and Patch Level: Enterprise 2008 with SP2 (version: 5.2.0.0)
    -Xcelsius Build number (Help>About Xcelsius): 12,2,0,608
    -Business Objects Enterprise version/patch level (if applicable): Edge 3.1
    -Issue Description:
    I'm trying to open a Webi Document from my Xcelsius dashboard and pass the value for the prompt "Region".  Ultimately I want to have this value determined by the drill down from a chart but at the moment I cannot get it to work even by adding the value at the end of the URL.  The webi report opens but the user is given the prompt option and asked to select the value, where I want to pass this so it automatically shows the selected region.
    The URL I'm currently using is:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&nbPrompts=1&lsSRegion=South
    I have double checked the report and the prompt is definitely called "Region" and "South" is a valid region.
    I would be very grateful for some help.
    Many thanks
    Robert Peters

    Hi Robert
    I would take out the reference to the number of prompts to give:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&IsSRegion=South
    If you copy and paste the url into a browser does it sucessfully find the document?
    Regards
    Charles

  • How to pass dashboard prompt value to requests in folder

    Hi,
    I want to have a dashboard page that contains dashboard prompt for period and list with requests (for this I add Folder and select "Expand folder").
    If I use dashboard prompt to set presentation variables, the chosen value is not passed to requests in folder list and as I understand this is the way presentation variables work. Therefore I tried to use Request variable, but get the same result - value that is chosen in dashboard prompt, influences request only if it is shown in dashboard not if I open it from folder list.
    Steps I did:
    (1) Created session variable "Period", that users can alter. Initialization block is simple dummy select - Select ’2008.08’ from dual;
    (2) Created dashboard prompt that sets Request variable Periods;
    (3) Created report with session variable value in it:
    SELECT Time."Period code" saw_0, VALUEOF(NQ_SESSION.Period) saw_1 FROM "TEST" WHERE Time."Period code" = VALUEOF(NQ_SESSION."Period") ORDER BY saw_0, saw_1
    If I include this report directly in dashboard, it shows the session value that is set from dashboard prompt, however when I open it from folder list, it shows the default value 2008.08 although I have stayed in the same session.

    Iza, you are correct in your assumption regarding passing Presentation Variables to reports that are in the Folders object. If you have a dashboard prompt on the same page as the Folders object, then even if you select a value in the prompt, it will not pass when you click on the report name in you Folders object.
    Here is something you might want to consider to achieve what I think you are trying to do. Instead of having the Dashboard prompt on the first page, create a "table of contents" home dashboard page. What I mean is:
    1) First, create a Dashboard page with the prompts you wish to filter a report with and set the default values. Save this as the template dashboard page. Now, with a second copy of this template, drag one of your reports to this page. Save it. Using your dashboard template page, create another copy and drag the second report to this page. Save. Do this for each report you wish to display. Note that you can drag more than one report to a dashboard page.
    When you are done, you will have several dashboard pages, each with one or more reports and the dashboard prompts on the top of the page.
    2) Now on your "home page," drag the Link or Image to a section. Link this object to the first dashboard page you created in step one. Name the link the title of your report. If there are more than one report on this page, title the link appropriately. Click the "open in new window" checkbox. Drag a Link or Image object for each dashboard page you created in step one.
    When you are done, this home page will look similar to your Folders object, with links to each of your dashboard pages that contain the reports. When the user clicks on the link, the appropriate dashboard page will appear with the dashboard prompts and the report will be filtered on the default values. Now the user can change the values of the prompts as desired. When the user is done, he/she can close the window and he/she will be taken back to the home page to select another report.

  • Passing Dashboard Prompt Value to multiple pages in a Dashbaord

    Hello,
    I have a situation where I neeed to pass value of Customer ID from first dashboard page to multiple pages belonging to same Dashboard. What is the best way to implement ?
    Thanks !
    Raj

    I created a presentation variable for the prompt and when I acess the same variable in the second page (for another report), its not giving accurate results. should I write an SQL and pass the variable to the report in the next page and so on ..?
    Thanks,
    Raj

  • Drill down passing incorrect prompt value

    Hello Gurus,
    I am in a situation where I have a dashboard with 4 sections showing charts and a prompt section.
    In one of the prompts, I have a field called let's say Tenure that has values like '<1','>1 and <2','>2' and so on.
    When the dashboard is run, for this Tenure Prompt, the values all appear correctly both in the prompt's dropdown and also in the chart and its legend. The problem comes when the user clicks the chart to drill down on a particular tenure. The value that is getting passed converts the greater than '>' sign into ampersand gt ('&gt;') . Because of this, the entire dashboard shows 'No Results'
    No Results
    Tenure is equal to / is in &gt; 2
    How should I be handling this? It is working when the user choose >2 from the prompt drop down, but it does not work when he tries to drill down from the graph.
    Thank you for your time.

    Thank you.. That Option is not working. I also tried giving Custom formats like \@ ,\>@ etc., but nothing seems to be solving the issue.
    '>' is still getting converted as 'ampersand gt semi-colon' and gets passed as a filter value.
    Edited by: 952506 on Aug 13, 2012 10:46 AM

  • CR XI Cascading Prompt on Dynamic Parameter Value

    Hi friends need a help related to Cascading prompt parameter in CR XI.
    I need to modify an existing report wherein Stored Procedure having a parameter is used as a datasource. Now in Report when I go in edit mode for that parameter under the value section of it a query (&select col1,col2 from tbl where userid='value coming from front end app') is written which populates the value to select the particluar value to pass as a parameter. First of all what this functionality is termed as I am not aware of it please help me with it if somebody knows it. Also in the select list its mention 2 columns but when we run the report at that time the col2 data is only being displayed in dropdown and col1 which is a id field is passed in record selection formula.
    Now as per our requirement we need to introduce 1 more parameter for record filtering i.e. based on the above parameter value. This can be achieve through Dynamic Cascading Prompt. But the challenge is to use Cascading Prompt funcionality its necessary that both the parent & child field should be populate from db but here the parent value is populate using a query as I stated so in that case how to achieve this.
    Sorry if I am not able to explain the scenario properly.
    Please friends help as soon as possible.

    Looking at the Prompt text you have mentioned, it looks like you guys might have a front end SDK solution which passes the prompt values to the 'Report'. The cascading 'imitation if you will' might be happening on the front end page and not really using the report(s) cascading prompts. To help better i think you should answer following.
    1. where are users viewing this report.
    2. In your CR designer, do you see cascading prompt on existing prompts?
    3. what version of Crystal reports are you using and where is it hosted ?

  • Linking reports passing prompt values to detail report ?

    Hi,
    I am building a linked report in webintelligence on SAP universe which has prompts coming from BI variables.In the master report i have created a hyperlink column so that if user can select the hyperlink for each row.now if i select the hyperlink it should take me to the detail report by passing the prompt values.i want to pass the values to the prompts build in BI varaible.
    eg: master report
    Country  Product  Rev  City
    now here i want to select city and open the detail report by passing city values. i need the formula for the hyperlink  city. City is just a prompt in master report it is not object in my report.
    Thanks,

    Hi Try this code
    ="<a href='http://l1280:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&sDocName=Account&sType=wid&iDocID=5311&lsSAccountType="+[Account Type]+"'>"+[Account Type]+"</a>"
    Regards
    Prashant

  • How to retrieve dynamic filter value submitted from control query to .....

    How to retrieve dynamic filter value submitted from control query to broadcast query.....
    I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
    The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
    But how do I catch the dynamic filter value which has been submitted by the bursting query,
    with other words:  where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
    BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
    Any thoughts are welcome!
    Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PM

    Further information,
    Report is used via webi only, not Xcelsius or Dashboard.
    Report is consuming BI Web Services.
    Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows?

Maybe you are looking for

  • Frozen appple on LCD and not recognized by windows (Device Malfunction)

    All songs totally erased from my Ipod a few weeks back. When I tried to syncronize my computer now says that the device is malfunctioned and windows does not recognize it. Now the Ipod has a frozen apple on the LCD that I cannot turn off or anything.

  • Problems displaying Thai characters in FTE components on Mac

    I had originally posted a question here: http://forums.adobe.com/message/4027591, but was told that this is more of a flash runtime issue. I am running into issues displaying Thai characters in Flex components that make use of the Flash Text Engine (

  • Hook Up

    When I attach my ipad2 I get a pop up that says, This iPad cannot be used because the Apple Mobile Device service is not started.......  How do I start it?     

  • Movement Type 103 - 105

    Hi Gurus, In Purchase Order GR scenario, QM is active at M.Type 103 & Inspection Lot is generated. Once UD is done then with M. Type 105, material is sent to Unrestricted Use or Blocked Stock. Now after 103 M. Type, system allowing to do M. Type 105

  • Configure Listener for Multiple IP's???

    I need to know how to configure my listener on a Windows 2000 Advanced Server using Oracle 8i to allow for the following conditions: 1) I have 4 NIC'S in my server and I have 1 different IP address on each NIC. 2) Stations will connect to Oracle via