CurrentDate() value refresing at report opening moment

I have report, where is used function CurrentDate() to get date, when report refreshing and show that to cutomer. This report is scheduled to refresh once per week. Now i am looking into refresh history - each report instance(no matter how weeks ago it was created) have a same value in text field where CurrentDate() used, today date, not date, when report was refreshed and instance created.
Does there is anythin else to use for getting static value - date of refresh and no changing when report instance was opened?
The text field contain something like that "="week "FormatNumber(Year(RelativeDate(CurrentDate();-DayNumberOfYear(CurrentDate())));"####") "-"+Week(CurrentDate())" and it displays like "week 2007 - 51".
CurrentDate usen only in report text field, not in filters and report data is fine(each week report instance contain her own date period data). I have only problem with this text field.

Hi Ineta,
If you are using CurentDate () in page filter to filter data from all data, it will display all the data till current date because currentdate () access current date from your system date. Hence even though you are opening instance already created say 3 weeks ago page filter will filter the data based on the currentdate and not based on the date instance was created.
Your First Query:
I am opening this instance (created, for example, 3 weeks ago) now - how Page Filter with this CurrentDate will work?
Each week refresh moves 3 years period to one week forward is obvious.
Ex. Suppose you instance was created on 12-Dec-08 and you opening it on 19-Dec-08, you will get the data of 12-Dec-08 but as soon as you refresh the report CurrentDate () will refresh data based on Currentdate () used in page filter. Thus period goes on increasing one week every time you refresh the instance previously created. Every time you Refresh the instance one week after the instance was created it will refer the data at refresh time .
Your Second query:
Does Page Filter apply on already refreshed and prepared report instance on opening time or only on refresh time?
If you are just opening the report then it is fine then page filter apply on already prepared report.
Now refresh the report , your old instance will be overwritten by the new data.
I hope this is more clearu2026
Thanksu2026
Pratik

Similar Messages

  • Value sets and Report Parameters

    Hi
    these are my requirements
    i have developed report using scott where the
    parametes are
    dname
    empinfo
    (1)If i select Department 1o then
    in parameter empinfo should display the value only from department 10
    (2) i have created a value set for report parameters empinfo
    it only shows two columns like EMPNO AND eNAME AND THERE only two column space to be shows
    how could i make columns to be displayed in addition to ename and empno
    Regard

    Hi KittyCat101,
    If I understand correctly, you want to use a parameter to filter Status field that starts with “Is” or “Can” or “Fi”. If in this scenario, we can refer to the following steps to achieve your goal:
    Modify the available values for @Status parameter to “Is”, “Can” and “Fi”.
    Right-click the tablix or dataset to open the properties dialog box.
    Select Filter in the left pane, then add a filter like below to filter Status field:
    Expression: =Fields!Status.Value like (Parameters!Status.Value & "*")  Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • Help needed to report open orders from R/3 SD!

    Hello all,
    I need to report net open order value from SAP R/3 SD to BW. I'm using cube 0SD_C05 to report inquiry vs. quotation vs. orders. Is there any standard ods object in business content which can be used to report open orders? If not, will it be a good idea to create a ODS object and use it directly for reporting open orders? This BW installation is for a small IT company and we don't generate a lot of quotations or orders on a daily basis. Please guide.
    Thanks and Regards,
    Sumit

    hi Sumit,
    check if you can use 0SD_O01 - order item data
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/2b4f815f153014e10000000a114e5d/content.htm
    other business content ods objects are 0sd_o02-05.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/f5cc3c7dea9006e10000000a114084/frameset.htm
    (expand left side 'ods')
    hope this helps.

  • Default prompt values in webI report???

    I am using BO XI 3.1 on BW universe, I have a prompt A in the prompt window which has many Lov's but user will freequently use only three values out of it.
    So I want to make those three values to be default for that promp A when ever the report gets refreshed, so that it will be easy for user not to search in the big list for those 3 values.
    Any inputs please.
    Thanks,

    Hi,
    You can make some values as default prompt values by webi report.
    1) Open the webi report.
    2) Edit the query then go to the prompt
    3) Go to the prompt properties checked the chekcbox "Set default values" and type the three values and ok.
    So next time user refresh the report all three values come in the filter  default.They can remove or add more values in the list.but every time all values come in the filter.
    Thanks,
    Amit

  • How to add HEX values in a Report.

    I have a special requirement. I need to add hex values in a report. To be specific, the special HEX characters: 0D 0A 0C 0C, has to be added to TOP of PAGE event.
    Drawing What I want will be something like that:
    CR/LF FF/FFABCDEFHGIJKLMNOZVCXC 
    This is a Report that has to be send to the spool. Once in the spool will be converted to TXT file. I created a small code using print control function but still It is doesn’t working.
    I defined a print control ZPAGE as ‘0D 0A 0C 0C’.
    Any idea how to do this?.
    ** This report doesn’t include the Top-of Page event.
    ** Example Report.
    REPORT  ZCAPRTHEX2 NO STANDARD PAGE HEADING.
    Data: String1(120) type c value 'ABCDEFHGIJKLMNOZVCXC'.
    WRITE : /.
    PRINT-CONTROL FUNCTION 'ZPAGE'.
    WRITE : string1.
    This is what I see in SP01 as HEX View
    ABCDEFHGIJKLMNO ZVCXC #ZPAGE

    If you download spool to file like that, you are still getting the spool in SAP format, it's not going to have the hex chars. You need to print the file by clicking on printer button. SAP generates file in printer readable format and send it to printer. I'm refering to that file.
    Ask your basis folks to write the spool output reqest file to a file instead of sending to the printer. Open that file in hex viewer.
    Regards
    Sridhar

  • Passing value to a report after insert on form

    I am trying to open up a form after I insert values into a form, i have put the following code on the insert button after doInsert; but for some reason the value of l_req_id does'nt get populated, do i have to put the code somewhere else?
    declare
    l_req_id integer;
    l_url varchar2(2000);
    begin
    l_req_id := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SA_REQ_ID');
    l_url := 'pos.CUST_SHIP_RPT.show?'&#0124; &#0124;
    'p_arg_names=req_id&p_arg_values=' &#0124; &#0124;l_req_id;
    portal30.wwa_app_module.set_target(l_url,'CALL');
    end;
    value of l_url after the insert of the form:
    http://hostname/pls/portal30pos.CUST_SHIP_RPT.show?p_arg_names=req_id&p_arg_values=

    Hi prassu,
    thanks for you reply know we can do this if we have a prompt,but my issue here is we do not have prompt.
    We have Report 1 with a column area_id.
    & another report2 with column area_id,we would like to pass the value from one report to another once we click on the values under area_id column of report1.
    Hope have explained it properly.

  • Passing parameter values to another report using URL actions (reportserver)

    Hi guys,
    I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
    =Iif(
    Parameters!PAR_LinksEnabled.Value, 
    Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
    & "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
    week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
    Nothing
    Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
    Thanks!

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Adds entity value with which report was saved to all Combo Box in th report

    Hi All,
    We have 5 combo box related to Entity dimension in one of the WA 11.1.2 reports which we migrated from 7. The different combo boxes had different entity member selection and lists their children.
    The issue here is when we change the entity to one particular value in one of the combo boxes and save the report in studio, close and re-open, the report opens with the entity value with which it was saved in that combo box, also additionally it puts this entity value in other combo boxes also along with their existing values.
    We want the other combo boxes to retain only their value which was existing. Can anybody help with this.
    Thanks,
    Unni

    Hi,
    I believe- This happens because- You might be re-using the same DataSource, ReportDataSrc1* that you created for the very first object +(Spreadsheet/combo/...whatever)+ on the Web Analysis report that you're referring to.
    I'm surprised why you've 5 different combo boxes for the same dimension on a single report. If they're analyzed compartmentally, creating multiple DataSources is a way out.
    Let us know incase you've any questions.
    - Natesh

  • Facing Problem with passing Values from One report to another

    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

  • Unable to pass the values from one report to another using navigation links

    Hi All,
    I am facing a strange issue where I have to pass a column value from one report to other.
    I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
    Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
    Can anyone advice where I was going wrong
    Thank you,
    AO

    Hi,
    The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
    mark if helpful/correct.........
    thanks,
    prasanna

  • Display Currency symbol with value in ALV Report

    Hi Experts,
    I need to display currency symbol with value in ALV Report like if currency type is dollar then $200.
    Here I am using field catalog type slis_t_fieldcat_alv and suing field merge catalog FM: 'REUSE_ALV_FIELDCATALOG_MERGE'
    I tried like this
        IF <fs_fieldcat>-fieldname = 'STPRS'.
          <fs_fieldcat>-seltext_s = 'Std Cost '.
          <fs_fieldcat>-seltext_m = 'Std Cost'.
          <fs_fieldcat>-seltext_l = 'Std Cost '
           <fs_fieldcat>-tabname = 'MBEW'.
          <fs_fieldcat>-ctabname = 'T001'.
          <fs_fieldcat>-cfieldname ='WAERS'.
          <fs_fieldcat>-datatype = 'CURR'.
        ENDIF.
    Please any one can suggest the solution for this.
    Advance Thanks.
    Regards,
    Bala Achari

    Hİ,
    Check this link.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=24379571
    Take care.
    Çağatay

  • Tool Tip Text for field values in ALV report

    Hi,
    How to get the tool tip text for the field values in ALV report.
    Thanks & Regards,
    Pallavi.

    Hi,
    In fieldcatalog specify the TOOLTIP.
    <b>
    LVC_S_FCAT-TOOLTIP
    </b>
    In this speicfyteh tooltip you want.
    Then append this to the fieldcatalog.
    Hope this solves ur problem.

  • Sorting and null for monetary values in a report

    All,
    I think this should be an easy one, and I've just missed something obvious.
    I have a standard report in APEX 3.2.1 that includes a column with a monetary amount in it. I want the column to show the UK Pound sign, be sortable, and show nulls where appropriate.
    The issue I have is I can't find a way to achieve all 3 in a satisfctory way. As I see it the options would be:
    1) In the SQL for the report, concat the pound sign to the column required, e.g. SELECT '£'||amount FROM....
    The issue is that this makes this field a CHAR field, so sorting would not sort in the same way as for a number field.
    2) Use the Number format FML999...etc. in the Column Attribute.
    The problem with this is that this is a multi-country database, and the default monetary unit is set to the US dollar.
    3) Use the HTML expression box in the Column attribute to display £#COL#
    This fulfills the pound sign and retaining the number format, but unfortunately a null value is displayed as a £ sign with no numbers. I can't think how to get it to leave that value in the report as completely blank.
    As I said, I'm sure I've missed soemthing obvious. If anyone can spot how to achieve this it'd be much appreciated.
    Regards,
    Jon.

    >
    2) Use the Number format FML999...etc. in the Column Attribute.
    The problem with this is that this is a multi-country database, and the default monetary unit is set to the US dollar.
    >
    The NLS currency symbol can be modified on the fly if you have some means of identifying user location/preference: {thread:id=990848} (ignore the last post)
    However, it probably doesn't make sense to do that&mdash;£100 &ne; $100 (at least I hope not!)&mdash;unless there's some kind of conversion occurring in the report? Is there a currency stored along with the amount?
    >
    3) Use the HTML expression box in the Column attribute to display £#COL#
    This fulfills the pound sign and retaining the number format, but unfortunately a null value is displayed as a £ sign with no numbers. I can't think how to get it to leave that value in the report as completely blank.
    >
    Use 2 columns, one for the amount, and one for the currency, with a switch to include or exclude the latter as necessary:
    select
              ename
            , comm amount
            , nvl2(comm, '£', null) currency
    from
              emp
    where
              job in ('SALESMAN', 'MANAGER')
    ENAME      AMOUNT                 CURRENCY                        
    ALLEN      300                    £                               
    WARD       500                    £                               
    JONES                                                             
    MARTIN     1400                   £                               
    BLAKE                                                             
    CLARK                                                             
    TURNER     0                      £                                Then use both columns in the Amount HTML Expression:
    #CURRENCY##AMOUNT#

  • How to get rid of unassigned values in the report

    hai to all,
    here is the issue,
       while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
    Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible?    the same case with <u><b>Customer country</b></u>, on the same report.
    pl anyone help me
    br
    venkat/shyam

    Hi Shyam.
    Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty.  Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to  scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
    Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
    Hope this works for you.
    Chears, Jørn

Maybe you are looking for

  • CS4 no longer works after upgrading to Mountain Lion

    Hi, I just upgraded my operating system to Mountain LIon and my CS4 no longer opens.  Instead a box opens which says that  "Licensing fro this producti has stopped working.  Error 150:30.  What do I do? 

  • Share calendar with third party apps

    Hello, i have just set up the calendar server. It works well will the mac's calendar app and iOS clients. I also managed to import the CalDAV calendars into thunderbird with lightning extensions for the non-mac clients. I can send invites to specific

  • Whenever I import clips it always says there is an error and my clips are not imported.

    I plug my flip into my computer and then select the clips I want to import to make my movie...it imports a clip and then a message flashes and says "There was an error importing your clips please look over imported clips." But there are no clips too

  • 3G iPhone saying I need a restore

    I have had my phone for a couple of months now. This morning I woke up and the display showed I needed to connect to iTunes. I did so. When I plug my phone in it said my phone needed to be restored before I could use iTunes...... Okay, I dont have mu

  • Can't access server from Outside

    Hi all, I couldn't access my server from Outside. Seem the setting is OK as i see it but please see if I missed out anything. From Outside, I need to access http://60.x.x.50:8080. but failed to access. Please help. Thanks. Below I attached part of th