Default Parameter Dynamic Values in BIP

Hi All,
I have Period Name which is Varchar data Type and has values like JAN-2014, so I want to set the Default Parameter value to previous month dynamically. I tired setting with {$To_Char(Add_Months((Sysdate),-1),'MON-YYYY')$) but it didn't work as I thinking for using this Data Type should be only DATE format.
Any Help or Thoughts
Thanks
SYK

Hello,
We are trying to create a BI Publisher Report in Siebel by passing the values dynamically from Siebel field to report. Is it possible to
1. Pass dynamical values to parameter values of type picklist from Siebel, while executing BI Publisher Reports?
As far as I am aware, it is not possible to have picklist values to be passed on from Siebel while executng BI Publisher reports.
2. Select more than one value in the parameter values while executing the report?
Parameters can have one of the many values defined while generating the report.
3. How to attach Calendar as a parameter to the report?
No, one cannot have calender as a parameter to the report. You can define the parameter as a sting and users can enter a date value in that string.
Thanks
Swarna

Similar Messages

  • Cached Parameter Dynamic Values

    I hope someone in this forum can help out. I created a report that depends on the database values of a field and it seems to be getting cached.
    When I query the database the values are there, when I run the report the values are read correctly, it just seems like the values are saved in the parameter? The dynamic field also creates many results and I would love to filter the results if at all possible by another field. I know you can do it, but it would have to work with crystalreports.com as well.
    Thanks

    I paid the couple hundred bucks and got some help.
    There is a limitation at 1000 records and to get around it you need to edit your registry:
    HIKEY_CURRENT_USER >>Software>>Business Objects>>Suite12.0>>Database Options>>LOV
    create
    MaxRowsetRecords value:#(I set it to 2000)
    This allowed me to query on my local machine the additional records.
    This will not work on crystalreports.com. I created some custom tables to pull the specific records instead of all my records, imported the records into the new table and then created some APEX code to update the table whenever a new record was created that fit what I needed for reporting.
    An idea would be to allow us an opportunity to filter the parameter values vs dumping the whole table into these picklists. It's not the sexiest fix, but it is a fix.
    Thank you to all who tried to help. I tried to not do it this way, but it looks like the only solution.
    Edited by: egoehring on Mar 30, 2011 1:29 AM

  • Dynamic default parameter value

    Hi,
    I'm running Oracle BI Discoverer Plus 10g (10.1.2.45.46c)
    Is it possible to make the default parameter value dynamic ?
    In my case I want the default parametervalue to be set to the week before actual week.
    Eg if I'm running the report during this week it would be set default to '2005W43',
    running the report during next week it would be set default to '2005W44' and so on...
    Have tried to assign the default value with "TO_CHAR(SYSDATE-7,'RRRR')||'W'||TO_CHAR(SYSDATE-7,'IW')"
    Note the enduser must have the possibility to change from the default week to some other week.
    Any ideas ?
    /Sam
    Message was edited by:
    [email protected]

    Post Author: synapsevampire
    CA Forum: General
    A common solution is to use a Union All in a query to get the ...All and the dynamic values using a Command Object.
    select '...All' from tableUNION ALLselect field from table
    -k

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • How to set default bind variable value to task parameter value

    Hi,
    I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
    Thanks,
    I.D.

    Hi Shay and thanks for your reply,
    What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
    Is there anything else you can tell me?
    Thanks,
    I.D.
    P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
    Re: How do I prepopulate a bind variable from a session variable?
    Anyway just out of curiosity could you please tell me if I could have done it your way?
    Thanks a lot,
    I.D.
    Edited by: user8696770 on 5/Ago/2009 7:12

  • How to use different default parameter value for different report subscriptions

    In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values:
    Report name – Testsubscription.rdl
    Subscription-1
    Input parameter (default values):
    start_date = first day of current Month
    end_date = till date
    Subscription-2
    Input parameter (default values):
    start_date = first day of current Quarter
    end_date = till date
    I know an alternative way of doing this would be to copy the rdl file with a different name but I am curious whether this can be done within a single report definition file. I am using SQL Server 2008 R2 Standard Edition.
    Thanks!
    spp

    Hi sppdba,
    As per my understanding, there is a report with two parameter: start_date and end_date, you want to configure subscription for the report, and set different default values for start date and end date. And you want to know if it is possible to achieve you
    goal by using a single report definition file.
    Since you are using SQL Server 2008 R2 Standard Edition, we need to achieve your goal by configuring two subscriptions for the report. For detail information, please refer to the following steps:
      1. In design surface, right click start_date and open Parameter Properties dialog box.
      2. In General pane, type Name and Prompt, set Data Type to Date/Time.
      3. Click Available Values in left pane, select Specify Values.
      4. Click Add button, in Label text box, type “First day of Current Month”, click (fx) button in Value section, then type the expression like below:
    =DateSerial(Year(Now()), Month(Now()), 1)
      5. Click Add button, in Label text box, type “First day of Current Quarter”, click (fx) button in Value section, then type the expression like below, then click OK.
    =DateSerial(Year(Now()), (3*DatePart("q",Now()))-2, 1)
      6. Right click end_date and open Parameter Properties dialog box.
      7. In Available Values pane, select Specify Values.
      8. Click Add button, in Label text box, type “Today”, click (fx) button in Value section, then type the expression =Today(), then click OK.
    Now that the parameters are created, we need to configure subscription for the report. For detail information, please follow these steps:
      1. Open Report Manager, and locate the report for which you want to create a new subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Subscription.
      5. Select the delivery extension and data source for the subscription.
      6. Select a method of delivery, then choose report delivery options.
      7. Specify conditions that cause the subscription to process and delivery to occur.
      8. Set start_date to First day of Current Month, end_date to Today, then click OK.
      9. Create a new subscription as step4 to 7, set start_date to First day of Current Quarter, end_date to Today, then click OK.
    The following screenshots are for your reference:
    For detail information about Creating Standard Subscriptions, please refer to the following document:
    http://msdn.microsoft.com/en-us/data/ms156307(v=sql.105)
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • CR-XI How to prefil Default Parameter value in code

    I am setting parameter default value(s) in VB6 code.  When the report is launched the default parameter is in the list but not selected.  The user has to manually select the value instead of just accepting the default value and pressing enter key to launch the report.  I would like parameters to prefil with default values like they did in Crystal version 7 when using the OCX.
    I am using CR XI and VB6.  I am passing a default parameter by using .
    <report object>.ParameterFields(1).AddDefaultValue
    If I use <report object>.ParameterFields(1).AddCurrentValue the parameter then the report viewer knows the parameter value and the form does not display the value incase the user desires to change it.
    My Question is how can I display the parameter and prefill with the default value.  When I use "AddDefaultValue" like above the parameter will be in the dropdown but will be blank when the form opens.  This requires the user to use the mouse and click the dropdown to display the default value.  I would prefer the default show in the dropdown so the user just has to press the enter key to launch the report (if the user wants to accept all default values).
    If this is not possible with the current viewer class then maybe the development team can include in future updates. 
    Thanking you all in advance.

    Hi Brent,
    The document you linked is for the Enterprise Product.  As Jonathan stated, the RDC for XIR2 is supported for use in VB6, you do not have to have .NET.  This can be found in the Crystal Reports supported Platform document found here:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_r2_supported_platforms_windows_sp3.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_r2_supported_platforms_windows_sp3.pdf]
    Crystal Report XIR2 is the last version that has the RDC.

  • Map the parameter with dynamic value.

    Hi,
    can be map our variable with some dynamic values??
    like suppose I have a variable in which I want to fill current value every time like current date or current time to my variable.
    is there any way to customize the variable in this way?
    thnx
    USoni

    USoni
    In OFT you can generate user variables by:
    Edit -> Databank Wizard -> Add Variable; then select Internal - Specify Expression as the type then you can enter Date() in the expression text field, to call the system date or Time() to call the system time.
    Unfortunately since the removal of VBA that is all OFT can do
    In OpenScript however you can use Java code view to substitute the parameter value with any Java expression, or for the date you can change the parameter value for *{{@today(MM/dd/yyyy)}}* which will return the date with the format MM/dd/yyyy, calling *{{@today(dd/mm/yyyy)}}* would return the current date with the format dd/mm/yyyy etc ...
    There is a list of pre-build functions on the help files, and if you need something that is not there and have not Java skills you can post the specific question here and I'm sure someone will post the code.
    Regards
    Alex

  • Accessing DefaultValues for parameters with dynamic values

    We have a custom user interface we place in front of all Crystal Reports (to maintain look&feel) that reads the parameters from the report and dynamically generates controls for user input.  The only time this doesn't work is for parameters that have dynamically generated default values.  If there is a static list of default values then we get the list from the DefaultValues collection; but if the list is dynamic then the collection is empty.
    Is there a way to force this collection to be populated, or alternatively, a way to find out what SQL query is being used to populate the parameter list?

    I think you may be out of luck. Dynamic cascading parameters (DCPs) are a relatively late addition to the Crystal Reports product line, and the Crystal Reports SDKs haven't caught up to that yet. Currently we don't have SDK access to dynamic value collections, including the SQL queries made for them. The most we can do at the moment is determine whether the parameter field uses dynamic or static values.

  • 30EA2 - UNIT TESTING - Dynamic Value Query truncating time from dates.

    So i've been using the SQL Developer Unit Testing facility (very nice by the by) for a bit now and just recently upgraded to the latest beta release (3.0.02.83). It looks like a bug was introduced whereby the dynamic value queries are truncating all the time information from any DATE Data Types.
    This causes some serious sadness for my current test cases and for me since i have to revert to the previous beta release :)

    Irian wrote:
    I noticed that in the new 30EA2 the parameter:
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false has been introduced by default in
    [SQLDEveloper_install_dir]/sqldeveloper/bin/sqldeveloper.confmaybe this has something to do with the incorrect date behaviour, try to remove the parameter and check again.That seems to have done the trick.
    Many thanks!

  • Pass dynamic values to search-query in wlp-syndication-config for RSS

    Hi All,
    I want to pass dynamic values to the <search-query> element for the <syndication-feed> node in the wlp-syndication-config.xml file for implementing RSS feeds.
    Here's a sample
    <syndication-feed>
              <name>RSSFeed</name>
              <search-query>cm_objectClassInstance=='Node' &amp;&amp; date == 'x'_</search-query>
              <search-type>pubmeta</search-type>
         </syndication-feed>
    I tried passing the parameter in the url but the feed doesn't read it. The only option i have is to manually put the value to get the content from the repository, which sucks...because the values can change any time. is there any way that I can avoid it
    Any help on this would be appreciated.
    Thanks,
    K

    James:
    Passing filters to an IR within the URL is described here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref989
    Varad

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Please help how to pass the dynamic value to VO -- Urgent.

    Hi,
    I have an Oracle Standard VO( SQL Query). As per my requriemnt i extended standard VO with one new feild.Now i want to query the new VO dynamically.
    How to pass the dynamic values to new query?
    for refence i am giving my old query.
    select
    secondary_inventory_name as SubInventoryName,
    description as Description,
    from mtl_secondary_inventories
    my new Query is like this:
    select
    secondary_inventory_name,
    description,
    Item
    from mtl_secondary_inventories
    where item='123456'
    I want to pass this "where item="123456" as dynamically. please help where i will do the change's.
    Thanks,
    Sekhar.

    Hi,
    thanks pratap for quick response...but i am extending VO from Standard VO.
    I have a Standard VO which contains a bind variable suppose :1.
    I have extended this above standard VO and i want to add another bind variable say :2 to the custom VO.
    Please tell me how will i pass bind parameter value to the bind variable in runtime ?
    what are files i want to change?
    Thanks,
    Sekhar.

  • Is the task-flow input parameter class value being ignored by the framework

    hi
    Although I don't remember where, I think I read or heard about the task-flow input parameter class value that it is "being ignored by the framework".
    One example of this could be what is currently in the UI Shell sample application available
    at http://www.oracle.com/technetwork/developer-tools/adf/uishellapp-134633.zip
    It has in its task-flow in "flows\second.xml" an input parameter configured like
      <task-flow-definition id="second">
        <!-- ... -->
        <input-parameter-definition id="__3">
          <name id="__2">tabContext</name>
          <value>#{pageFlowScope.tabContext}</value>
          <class>oracle.ui.pattern.dynamicShell.TabContex</class>
          <required/>
        </input-parameter-definition>
        <!-- ... -->
      </task-flow-definition>Notice the missing "t" at the end of the class name "oracle.ui.pattern.dynamicShell.TabContex".
    Still this task-flow configuration does allow to use expressions like "#{pageFlowScope.tabContext.selectedTabIndex}", which suggests that the class value is indeed "being ignored by the framework".
    (see also forum thread "does the UI Shell sample break encapsulation in its task-flows"
    at does the UI Shell sample break encapsulation in its task-flows )
    All relevant references (bug numbers, documentation, blogs) explaining about this task-flow input parameter class value are welcome.
    If no such references exist, maybe someone from Oracle can give some feedback.
    many thanks
    Jan Vervecken

    fyi
    The feedback below was posted in the forum message
    at Re: does the UI Shell sample break encapsulation in its task-flows
    Richard Wright wrote:
    That appears to be a bug for which I am seeking confirmation.There is an enhancement request (i.e., 9377487) submitted over a year ago, that describes this behavior. It is listed as an ER as our documentation (e.g., Fusion Developer's Guide for Oracle ADF, online help ) does not specifically state that Java class for the input parameter definition is checked for type. Further anything using EL is untyped. So the expectation that types are enforced is somewhat puzzling to the development team.
    However, there is an acknowledgment within circles of the development organization, that some might come to have this expectation. One trigger might be the definition itself. The other is the existence of a design time audit on the definition. For example, if the class is specified inaccurately (e.g., typo), there is an audit warning to report "not found."
    Under consideration are a number of framework proposals to check for type without breaking backward compatibility or adding overhead to the production environment.
    In the interim, the following recommendations are given.
    Unless this breaks or can break your app in some way, no need exist for change. Nevertheless, if this is a real concern, write a test or consider a java assertion. By default, assertions are disabled at runtime. There is no need to override that default.I have been able to find enhancement request 9377487, "TASK FLOW PARAMETER VALUES NOT VALIDATED ACCORDING TO CLASS", on My Oracle Support. It currently has "Status 15 - To Internal (Oracle) Review" and "Updated 16-Dec-2010".
    In the context of service request 3-4185839067 recently bug 12838099, "THE TASK-FLOW INPUT PARAMETER CLASS VALUE BEING IGNORED BY THE FRAMEWORK", has been filed and it currently still has "Status 16 - Bug Screening/Triage".
    - about "... the expectation that types are enforced is somewhat puzzling to the development team ..."
    Hmm, strange ... so what are people supposed to expect when there is an option to configure a class name for a task-flow input parameter?
    regards
    Jan

Maybe you are looking for

  • "Unable to load replica"- Can I just start over???

    I am just in the beginning stages of setting up a new server. When it came time to create network user accounts I was unable to and upon further investigation realized that the open directory isnt properly set up. Long story short, since I have no us

  • 32 inch Class 720p LCD HDTV

    I have only had my TV for about 8-9 months and yesterday morning, while watching my local news, I lost the audio.  I tried various channels and still nothing.  I tried shutting the TV off, thinking it would "reset", but no such luck.  I am still with

  • Commitment in Purchase contracts and purchase order

    Hi, We are loading contract through LSMW. As account assignment we are just passing the cost center and the account is configure in OKB9.  However for some contract the flag is set in items affect commitments and the wrong account is determine. I wan

  • Problems parsing a string

    Hi, I'm having a problem with parsing a string. Basically, I want to take a string for example: "TomWentToTheShop" and divide it into a coherent sentence (Tom went to the shop). I've started the code by breaking the string into a char array, and if t

  • Quantity gets divided by 1000 while a BAPI is used to create a quotation...

    Hi all, I am using a BAPI "BAPI_QUOTATION_CREATEFROMDATA" to create a Quotation. I am passing the value 1000 to the REQ_QTY field and that is getting stored as 1 in the Quotation. How should we handle this situation inorder to have 1000 as the quanti