Date Parameter for Report

Hi,
How can I add a date parameters to a report using date pickers?
Please Help!!! :)

William,
Most of the time you'll want to allow for a range of dates to be selected using the BETWEEN operator. But since your trying to do an exact match try the following:
select "CSC_MASTER"."LEAD_LOGON" as "LEAD_LOGON",
"CSC_ACTIVITY"."ACTV_DESC" as "ACTV_DESC",
"CSC_MASTER"."PRIORITY" as "PRIORITY",
"CSC_ACTIVITY"."ACTV_DT" as "ACTV_DT",
"CSC_ACTIVITY"."ACTV_TIME" as "ACTV_TIME",
"CSC_MASTER"."STATUS" as "STATUS"
from "CSC_ACTIVITY" "CSC_ACTIVITY",
"CSC_MASTER" "CSC_MASTER"
where "CSC_MASTER"."CSC_ID"="CSC_ACTIVITY"."CSC_ID"
and (to_char(actv_dt,'dd-mon-yyyy') = lower(:P32_SEL_DT))Make sure the format string in the to_char matches the format string you're using for the date picker.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
Edited by: dmcghan on Dec 5, 2008 10:45 AM
Removed lower from left side as it was not needed...

Similar Messages

  • How to make cube data avilable for reporting

    Hello,
    I have loaded data in to info cube from flat file, and created a query using BEx Analyzer. that query does not return results and gives an error msg "No Applicable Data Found".
    Padmanabha Rao had a same problem. In his thread, expert is recommending to check whether the data is available for Reporting by Rt clicking Infocube -> Manage -> Requests tab. Ideally, you'll be able see an indicator(Query icon) if it's available for reporting.
    My cube data is not available for reporting, how can I make it available for reporting?
    Regards,
    Tejas.

    Normally when the data gets loaded to cube, it will be available for reporting unlike DSO where you need to activate the data to make it available for reporting. There could be many reasons why the data is not available for reporting;
    1. May be there is aggregrates created on the cube and the data never been rolled up to the aggregates. If you see a summation sign next to the cube then there is aggregates created on the cube and you need to fill the aggregates first before you can have the data available for reporting in the cube. To do that, manage ->rollup and start, that will fill the aggregates.
    2. If there is any request in the cube which is still red, then any request after that won't be available for reporting until you either delete the red request.
    If the problem still persist, then I would just delete all the data from the cube and reload the data again.
    thanks.
    Wond

  • Data source for report

    Hi guys.
    Can somebody let me know how to set data source for report?
    I did import "import.zip" and "bootstrp.zip".
    I did run "HFPBMMAK.PRO".
    I did create model connection of "HFPBM"
    Best Regards,
    Chul.

    Chul,
    You only have to import either import.zip OR the bootstrap.zip, not both.
    I don't know if you have SSM 7.5 or SSM 10, this will be for 7.5
    If you have followed the set-up correctly, you should be able to open the demolauncher -
    http://localhost:50000/strategy/pilotworks/demolauncher.htm
    Where localhost = server 50000 = port
    You should open the Administrator interface of your demo and Set Scorecard Defaults. For a context make sure that the PAS Model Connection is set for the model connection you set - HFPBM.
    You also need to make sure that Manage Application Groups have your user added for the context you selected.
    (For 10 the application groups are managed in NetWeaver)
    Regards,
    Bob

  • How do you set up a default Date To based on Date From for report parameter

    I'm working on a report. I have been asked to set up a default Date To based on Date From for the report parameters. I mean when running a report, if an end user selects a value for parameter Date From, system will automatically populate the Date To parameter based on the Date From + 6 days.
    I guess there's gotta be something to do with Value Set. Do any of you guys know how to go about this?
    Any suggestion is greatly appreciated.
    Dennis

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

  • How do I prompt a date parameter for each piece of equipment?

    Hi,
    I've developed a report that displays all of the invoices, over a selected date range, for each piece of equipment. There are 25 pieces of equipment. At present, when the report is run there is just one date range parameter. I select the date range and get all invoices that are within the date range. However, if I want to ensure the invoice-related data from January 31, 2012 (for example) for Equipment #2 is returned I need to have January 31, 2012 in my date range. However, I wanted the cutoff date fro Equipment #1 to be January 28, 2012. Under the current design the result set for Equipment #1 will include invoice data up to January 31, 2012.
    I would like to select a unique date range PER piece of equipment within the same report.
    For example:
    Equipment #1 - January 1, 2012 to January 28, 2012
    Equipment #2 - January 1, 2012 to January 31, 2012
    and so on.
    Is this possible? Basically, how do I tell the report the data range I want for each piece of equipment?
    thx!
    Mark

    Hi,
    I am not sure of how you would be able to filter records using 2 different parameters.
    You can get 2 different parameters for Date dynamically with 2 different data sets.
    You need to create 2 formula in Business View Manager , data foundation as below:
    if {Customer.Country}='Australia' then {Customer.Customer ID}
    and
    if {Customer.Country}='Brazil' then {Customer.Customer ID}
    Here instead of Country you can use your Equipment Field and respective values.
    Save the Data Foundation
    In Business Element create 2 Business Elements for these above formula.
    And Create 2 LOVs for these Business Element above and schedule them.
    Now in crystal reports you can create 2 Dynamic Parameter and use the above created LOV respectively.
    I am not sure how you would be able to filter and link the parameters to your report.
    Hope this may work or give you a thought.
    Cheers,
    Kiran.

  • Data source for reports

    hi all,
    we r using 10g application server along with the reports service to deploy J2EE application
    The data source for the application is specified using the JNDI lookup
    Is it possible to use the same strategy for reports as well.
    i.e., we are using jdbcpds. so is it ok if i give the JNDI look up name as P_JDBCPDS
    If not is there any other way to make the P_JDBCPDS connection generic, so that i can change the username and database name without having to change the cgicmd.dat file
    Any help is greatly appreciated.
    Thanks & regards,
    Ramakrishna

    If it is intended to be accessible from Reports servlet then you can use "ssoconn" command line option where by the user name and password is stored in OID (Oracle Internet Directory)
    Pls see publishing reports to web document --> command line options -> rwservlet
    (link below)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Help with Setting Previous Month Date Parameter for SSAS via SSRS

    Hi All,
    Firstly, any assitance is greatly appreciated.
    Now, I am working on developing a report for a business area that will be sent on the first of every month. The report will contain data for all records created in the previous month, current year.
    I have been able to successfully implement a default year parameter, which will default to current year-
    ="[REFERRAL LODGEMENT DATE].[CAL YEAR].&["+CSTR(Year(Today))+"]". However, when I attempt to set a previous month paramater it is not setting when the report is generated. The code I have used
    is as follows: 
    ="[REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&["+CSTR(Month(Today)-1)+"]"
    Cheers

    Before you spend more time trying to fix the parameter, let me suggest that you can write MDX to come up previous month data.
    if you can't go that route, couple of things to consider for your approach:
    1) don't subtract 1 from January that won't work. you'll need to handle it using the ssrs expression.
    2) when you use the month function it's going to return a month index so effectively you are passing something like [REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&[7] to SSAS, is that the current format?
    you can use the MonthName function to get month names but again make sure that the formatting is right.
    to see the parameter value, you can display it on the ssrs report and see if it's the right format.
    Paras Doshi (Blog: ParasDoshi.com | Twitter:
    @Paras_Doshi )

  • Passing of userid as a parameter for report viewing in Flex portal

    Hi,
    We are using flex application and Business Objects reports are integrated with it. We had created one service id which is used to access reports from application. Also we want to implement Data Access in Business Object's Reports. and for the same we want to pass UserID as a parameter internally from Flex code to the reports. We cannot use @BOUserID as we are using single service id. We want to pass "UserID" as a parameter (which we can get from Flex application) and pass this to Report OR Universe which internally filter out the data accessible to the respective user. Kindly advise on the same.
    Thanks,
    Eswar

    I've resolved this issue by creating a prompt in universe and inserting the security table in the universe structure

  • Parameter for report title

    Hello,
    I have a report with many pages and I need the same title on every page. To do so, I would like to use a parameter which could be defined by the user through a VBS inputbox and then reused on each page.
    I tried something with scalar parameters : B1, B2, B3... (see attached file) but I don't know how to change their values. Is it possible to do it this way? Otherwise, do you have any other method?
    Thank you in advance for your support
    Jérémy
    Solved!
    Go to Solution.
    Attachments:
    text_parameters.JPG ‏164 KB

    Hello Jeremy,
    In addition to Brad's suggestion with the properties, have a look at the "Master Layout" function in DIAdem.
    A Master layout allows you to define some standard elements (those could include logos, texts - including variables, boxes, etc.) that will appear on each page of your report in the same location and cannot be edited or moved by the person working on the layout (somewhat like a watermark)
    Let us know if you have questions about this function, it's pretty neat ...
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • No data found for Report

    Hi, I am new to Apex so please be clear with your answers.  We use a report based on a view when I access the report in the application I receive "no  data found" error.  If test the query in SQL commands it works fine.  If I check the view in object browser I see data.  I am perplexed as to why I receive a no data found error on the front end.  Any suggestions will be greatly appreciated.  Thank you in advance.
    Apex Version:   4.1.0.00.32
    Newbie tryin to learn(Texas twang)

    Thank you for your quick response!  Sometimes as a tech we look for the hard answer vs the easy one.   One of the binding variables(P0:PLANS) was misspelled after correcting the issue we were able to see the report.

  • Date parameter in report whose source is SSAS cube shows all dates in DimDate?

    My cube consists of a FactTable that has a foreign key to [DimDate], through column [DateKey]. My DateKey has dates from
    20010101 to 20201231. My fact table only has data from today (20141017). 
    In SSRS, I add the dimension Dim Date, Date Key as parameter. When I run the report, everything runs great, the only problem being that the date dropdown shows all the
    DateKeys from [DimDate] (20010101 to 20201231).
    How can I only show in the dropdown parameter only the DateKeys that have actual data? In this case, the parameter would only only display 20141017.
    Thanks.
    VM

    Thanks, but I don't think you read the whole question. 
    I'm using as datasource an SSAS cube. The query that populates the parameter looks like this:
    WITH MEMBER [Measures].[ParameterCaption] AS [Dim Date].[Date Key].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS [Dim Date].[Date Key].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Dim Date].[Date Key].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    [Dim Date].[Date Key].ALLMEMBERS ON ROWS FROM [Sales cube]
    VM

  • FI-AP  Add  field of master data vendor for reporting of vendor

    Hi,
    I have to add the field LFA1-BRSCH (industry) into layout output reports for suppliers:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    I have already read the note 984305 - Line Item: Definition of special fields (T021S), but does not help me because it does not allow to enter fields of master data vendor
    But  I 've found the extension RFKRRANZ, but I do not know what to enter as a code.
    Has anyone ever used or even if it is used on your systems could send me the code?
    Any assistance would be greatly appreciated.
    Eric

    Hi,
    if someone can affect, the answer SAP  such enhancement is not possible for teh reports:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    But only transactions: FBL1N/FBL3N/FBL5N or, as of ERP2004, FAGLL03.
    Best Regards.
    Eric

  • Need functional consultant  help in having data source for report

    Hi Experts,
    My Client needs to have report with following fields:
    Sales order, date of sales order created , Purchase order number/Work Order number/Contract Number ,date of Purchase order number/Work Order number/Contract Number, curve out, product/material description, created by, created on, invoice/bill number,invoice/bill date,invoice value,currency,exchange rate to USD for the date of invoicing,bill type,bill description,date of posting invoice,reference document number,company code,customer name,customer account number.
    As we dont had functinal consulatnt it is very hectic for me to get table name and feilds
    sales order u2013,
    date of sales order created -,
    Purchase order number/Work Order number/Contract Number-? ,
    date of Purchase order number/Work Order number/Contract Number-?,
    curve out-?
    product description-?
    created by -?
    created on-?
    currency-?,
    exchange rate to USD for the date of invoicing,-?
    bill type-?,
    bill description-?,
    date of posting invoice-?
    reference document number-?,
    company code-?,
    Customer name-?,
    Customer account number-?.
    Please let me know if any standard data source is there for above fields.
    Anything is appreciable. I am waiting for your valuable reply.
    Thanks Regards,
    narasimha.

    Hello,
    Check these DS and tables list for SD. You will get all the required info
    SD 
    Data sources Tables
    2LIS_11_VAKON VBUK, VBUP, VBAK, VBAP, VBKD, KOMV, T001.
    2LIS_11_VAHDR VBAK, VBUK, T001
    2LIS_11_VAITM VBAP, VBUP, VBAK, VBKD, VBAJP, T001, VBUK, PRPS.
    2LIS_11_VASCL VBAP, VBUP, VBAK, VBEP, VBKD, T001, PRPS
    2LIS_11_VASTH VBUK
    2LIS_11_VASTI VBUP, VBUK
    2LIS_11_V_ITM VBAP, VBAK, VBKD, VBUP, T001, PRPS, VBUK.
    2LIS_11_V_SCL VBUP, VBEP, VBKD, VBAP, VBAK, T001, PRPS.
    2LIS_11_V_SSL VBAP, VBEP, LIPS, WVBEP, VBUP
    2LIS_13_VDKON VBUK, VBRP, KOMV, T001, VBRK.
    Also check the below link;
    http://help.sap.com/saphelp_nw70/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    Lo Datasources for SD
    Thanks,
    VA
    Edited by: Vishwa  Anand on Sep 20, 2010 4:26 PM

  • Html or other data source for report

    The Federal FCRA notice must be included in certain reports. In order to keep it user maintainable, I wanted to save it in the database in some fashion. One way I'm trying is using HTML to generate a PDF output that will be merged with the other reports or possibly be included in the main reports.
    I have a simple Oracle 11g Report selecting html from a database column of clob datatype.
    The html is produced in the report as text, tags & all. It does interpret the bold <b> tag, but nothing else.
    I do have the Contains HTML tags property set Yes.

    Is the ability to include a MS Word document inside an Oracle Report no longer available? I am in 11g Reports and 10g database.
    I've successfully loaded the Word doc to a blob column and the report runs and presents other data elements from the table. However, the OLE2 field for the Word doc is blank. Suggestions?

Maybe you are looking for