Web report (Last refresh date)

hi,
I have created webi report with prompt date.Now i want data from 1st to 31st MAY
.when i refresh data on 1st June it shows in this form (From     MAY 2010     To     MAY 2010   -   103%  Complete),but it should be display data 100% in place of 103% .
I have changed the logic (variable), but couldn't test logic in report on 1st June(1st to 31st MAY). 
Please advise ASAP.
Regards,

Ya sure..
1.Yesterday =If (DayNumberOfMonth(LastExecutionDate()) -1)=0 Then [LastDayofMth] Else
DayNumberOfMonth(LastExecutionDate()) -1
2.LastDayofMth
=DayNumberOfMonth(LastDayOfMonth(ToDate([Prior Mth];"MM/dd/yy")))
3. % Completed= =Round(([Yesterday]/[LastDayofMth])*100;0)
I have used 3 variable.
Regards,

Similar Messages

  • Webi report gives old data in infoview on refresh

    Hi Experts,
    We are facing this strange issue on a webi report after some data updation in the SAP BW infocube.
    The webi report is based on the universe which is connected to an infocube in our BW dev system. After some data updation in the cube, we had tested the report in webi rich client and everything was working fine (the newly updated data from cube was reflecting). Now, we had tested the same report in infoview, but it was showing the old data only. We had tried exporting the report once again to infoview, refreshed universe structure; but without any success.
    What appeared to be even more strange was that the last refresh time was also not changing. While running the report in the infoview it hardly takes 40secs. But on refreshing it says the last refresh time was 5mins.
    Any help on this would be highly appreciated.
    Regards,
    Arun.

    it sounds like when you refresh report in Infoview you get the cached data, it never goes to the DB to fetch new one...
    You'll need to enable traces on webi processing server as well as SOFA/MDX tracing and review log files to see if requests are going to db or not and what is being returned.
    It could be at webi proc level or at your BW level.
    You can also try disabling webi caching in webi proc server properties and see what happens.

  • Want to schedule WebI report for End date of Prior Month

    Hello Experts,
    We have WebI report created on top of Bex Query, We have key date as prompt for the report. Can we schedule the webi report for key date as last date of prior month, so if current month is February, my key date should be Jan 30 2011. I am not sure if this is possible?
    Thanks,
    Ravi

    You need to apply two FM to get the end day of the month.
    First you need to apply FM MONTHS_PLUS_DETERMINE. This will give you the date after 3 months.
                CALL FUNCTION 'MONTH_PLUS_DETERMINE'
                  EXPORTING
                    MONTHS        = 3   " << for 3 months
                    OLDDATE       = l_start_Date   " << 12/01/2007
                 IMPORTING
                   NEWDATE       = l_3_Date. " << 02/01/2008
    Then call the FM RP_LAST_DAY_OF_MONTHS . this will give you the end date of the month
      CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
        EXPORTING
          day_in            = l_3_Date  " << 02/01/2008
        IMPORTING
          last_day_of_month = l_3_Date  " < 02/29/2008
        EXCEPTIONS
          day_in_no_date    = 1
          OTHERS            = 2.
    Call both FMs again to get your another date(after 4 months).
    Regards,
    Naimesh Patel

  • Reportable Last Modified Date and Time Field

    Reportable Last Modified Date and Time Field
    Hello,
      We need a reportable RequestCenter 'last modified date/time' database field that is refreshed when the 'Comments and History' field is updated.  Any ideas would be appreciated.  Thanks! 

    No, unless you can use an FTP client.

  • Last Refreshed Date with Timezone

    Post Author: kongusiva
    CA Forum: WebIntelligence Reporting
    Hi,
    We have one requirements like below, we need to display Last Refreshed date which helps to see when the report got refreshed before.
    Present:            Last Refreshed Date: 01-JAN-2008 1:29 PM
    Requirement:     Last Refreshed Date: 01-JAN-2008 1:29 PM EST
                Users like to see the Time Zones also in the Last refreshed Date
    Please suggest me how to resolve the issue.
    Thanks
    Siva..

    Post Author: kcheeb
    CA Forum: WebIntelligence Reporting
    You could use the format editor, select Date and Time tab, Customize, Time tab then use the Format Formula Editor for the AM & PM symbols to add the time zone to the end of the AM or PM string.

  • How to schedule the webi report based on data changes in the report data

    Hello,
    I want  to schedule a webi report based on data change in a column in the report.
    The scenario is something like below:
    1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
    I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
    Anybody done this before.
    Thanks
    Gaurav

    Hi,
    May be these links can help you:
    http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
    SEM-BCS: Load from data stream schedule
    Attribute Change Run

  • Prompt's customized LOV is not pre-selected when webi report is refreshed

    BO XI R 2 SP 1
    DB: Oracle10g
    Hi - I have customized LOV in every dimension and it's value is '*All'....it appears at the top of LOV values in the prompt list.
    When I open the report, it shows the *All is already selected; but when I refresh this report using 'Refresh Data'; everythings comes up fine but *All no longer shows up as pre-selected value.
    Is there a way to handle this situation? Please let me know if you need more explanation.
    Note that when I hit the save button; report comes back with all '*All' pre-selected in all prompts.

    I don't know how to access the document you mentioned...
    anyway, to display All as customized value; edit the dimension's SQL and add
    UNION
    SELECT 'All' FROM DUAL (for oracle)
    SELECT 'All' FROM anytablename (for SQL Server)
    select the checkbox not to generate SQL and then click Run...click Display and then you should be able to see All as one of your custom value.

  • [Help]: Web-Report is refreshed never end.

    Dear Collegues.
    Hi guys ...
    In the web-report,,, i intend to make the report can extend some Info Object automatically & programmatically.
    Hence, i use web-API & javascript to make it happened. How ??
    In the web-designer; especially in HTML part, i create javascript & web-API code:
    <script>
    function test() {
      SAPBWOpenURL("<SAP_BW_URL DATA_PROVIDER='ZCVP_CON' CMD='EXPAND' IOBJNM='ZBRSLSPR' AXIS='Y'>");
    test();
    </script>
    I add this before the row of code : </BODY>
    Virtually, this line of code worked (It can expand the InfoObject/Characteristi/Key Figure that i want to) .. But..
    The report Web-Report is Refreshed never ending.
    <b>Could somebody tell me how to make some function is run only once ??</b>
    Should i check the session/something?? For Example the catche.
    Could somebody give me the clues how to make it happened ??
    If any of you little bit don't understand with my explanation & questions, p/s don't hesitate to ask me to make it clear.
    Kind Regards,
    Niel

    Hi Deepu,
    Basically, we're gonna make the process automatically run therefore i didn't use button/link to make it.
    Do you have any idea how to make the function run once???
    Because if we refer on ASP programming, it has condition to make sure some function is run only once.
    Many Tks Deepu.
    Kind regards,
    Niel.

  • Error in webi report while refresh

    BO XI 3.1 Sp2
    windows server 2003
    SAP BW NW 7.0
    Reports are working fine till yesterday. Today when we refresh webi reports getting below error
    *"A database error occurred. The database error text is: Error getting variable for cube "XXX_XXX/XXX_XXX_XXX". Unknown error (WIS 10901).*
    All webi reports are getting same error.
    Tried to verify iin CMC. We have two entitlement systems in CMC. QB1, QB2. Verified all username/passwords. And every thing is working fine. Imported all sap roles. Every thing was working fine till yesterday.
    But when I verified in user/groups, I am able to see all SAP roles of QB1. Very few sap roles of QB2.
    Please help me.
    Thanks,

    Hi,
    I think your BASIS may have done something in the BW side, as i've seen this kind of problem when importing wrong transport and overwriting content.
    As a test,  try hardcoding the Universe connection with a named SAP_ALL user instead of using SAP SSO
    FWIW -  SP02 is no longer supported .  SP03 is no longer maintained (last FP3.8 is due soon)
    most reference customers are on XI 3.1 SP04 FP4.1 or XI 3.1 SP05   with BW 7.01 SP09/10
    From your description, i can't tell if you are using EhP1 or not. ( you really should be)
    Regards,
    H

  • WebI report not refreshed after BW pwd change - SAP EP-KM asPoint of entry

    Config:
    BOXI3.1 SP3 FP3
    INTG. KIT SP3 FP3
    BW 7.01 SP5
    SAP EP 6.0
    Imported all transports
    Configured BW Publisher
    Configured SAP Authentication in CMC
    Imported required roles in CMC
    Imported KM Par file in Portal
    Issue:
    Users logon to EP with SAP BW credentials and clicks on a webi report within KM with Infoview structure -> report is executed and can be refreshed successfully.
    User forgets his pwd and the security team reset his pwd
    User logon to SAP EP with reset initial pwd and gets a prompt to enter new pwd -> new pwd chosen and logon successful -> clicks on a report within KM with Infoview structure -> report pops up but can not be refreshed as an error msg below pops up
    A database error occured.
    The database error text is: Unable to connect to SAP BW server Name or password is incorrect (repeat logon). (WIS 10901)
    Temporary solution:
    Logon to Infoview directly and login with SAP account -> report executed and refreshed successfully -> Logout
    Then go back to EP to execute report and since then works fine but issue occurs again if pwd is changed and logon to Infoview directly process have to be done to move on.
    Has anybody had these issues or have an idea what config might be missing?
    Please note that SNC was not configured as we are not using AD for logon or report bursting for now. All docs read have specified that SNC is not required for my scenario.
    Also certificates have been established btw BW and EP and SSO works well with BEX queries deployed thru EP.
    Any ideas will be appreciated.
    Thanks,
    Norita

    More info -
    If I clear the error msg and continue to click on refresh values in prompt screen multiple times then the bw account gets locked in SAP BW backend.
    Please note that the universe was created to use SSO authentication and no user credentials hardcoded.
    FQDN are also used for all the configs.
    Has anybody encountered these issues before? Please let me know if you have any ideas or pointers.
    Thanks,
    Norita

  • How can I capture Webi server name in a webi report after refresh.

    Hi Experts.
    My BOE clustered with two or more webi server, I want to capture the webi server name in the webi report after I refreshed this report. Is there any standard webi funtion I can use to show the server name or any variable in the universe I can use?

    Hi Bruce,
    May the following links lead you to the solution......
    [http://www.forumtopics.com/busobj/viewtopic.php?p=403480&sid=6cd088cfbf8cbffd78c17e0cbf280572|http://www.forumtopics.com/busobj/viewtopic.php?p=403480&sid=6cd088cfbf8cbffd78c17e0cbf280572]
    [http://www.forumtopics.com/busobj/viewtopic.php?p=601777&sid=d6123b363d6af6b3cf0aaa6cef6eb86b]
    Regards,
    ArunKG

  • Error (WIS 10901) while creating a webi report against SAP data source

    Hi,
    While creating a webi report against a universe created using Infocube/Bex query (basically SAP data source) get a error message -
    A database error occured. The database error text is: A runtime exception has occured. (License key check failed. Check that you are licensed to access SAP data sources). (WIS 10901).
    Any clues whether this is a license issue or something else?
    Thanks,
    -Purav.

    >
    George Pertea wrote:
    > Does your connection in the Universe test ok on the server if you are on Win? Did you install the Java Connector properly?
    I am having the same problem.  I checked and double checked everything, including deleting and recreating the Universe and the Connection.  No improvement.  On a whim, I deleted the hierarchy from the query on which the Universe was based, and recreated the Universe on the query without the hierarchy.  The problem went away.
    Now, the question is, why do I get the WIS 10901 error when a hierarchy is present in the query/Universe?

  • Opportunities Report - Last Activity Date ?

    Currently we use the Opportunities Report to generate data on the pipeline for each of our sales people.  We record each sales touch to a lead by recording an activity from the open opportunity.  We review our open pipelines and also the marketing touches that each rep performs within the opportunity.  We track open pipeline total activities weekly.  
    When we review the summary data presented by the Opportunities Report we are searching for a way to pull the last closed activity date for that opportunity.    
    Is anyone aware of a report that is available to service this need and or....does someone have a query to perform this need.
    Any help would be appreciated........
    Thanks, Dan

    Hi Dan,
    I don't have a query, but, as a quick pointer:
    The activities table (OCLG) contains a field OPRID which you can use to link the activities to the opportunity. You can the use a MAX function to pull the activity with the last date for the opportunity?

  • Reporting Last Activity Date on Contact

    Hello,
    I maybe lossing my mind here but i feel like i have been looking for "Last Activity Date" on the contact screen all day. Can someone veryify that this appears under reporting.
    Also does anyone know if you can create a case statement around this to state if values is less than 3 weeks = Dont not Contact and if greater Contact.
    Anyway hope someone can verify this.

    JE,
    i don't know about a last Activity date but I've just done it with Activity reporting on Service Requests. I did RANK(activity created date by SR ID) and then set the filter to RANK=1. This gives you the last activity created.
    I then did a calculation in another field TIMESTAMPDIFF(SQL_TSI_DAY, activity.createddate, Current_date) which gave me the number of days since an activity was last posted to an SR.
    You can then do conditional formatting or a CASE WHEN statement on this field.
    cheers
    ALEX
    ***NOTE I have a current SR with Oracle because I'm in sydney and Current_date returns Central Server time which is a 17 hour difference and for most of the day is a day behind so my formula above has had to be
    TIMESTAMPDIFF(SQL_TSI_DAY, activity.createddate, TIMESTAMPADD(SQL_TSI_HOUR, 17,Current_date))

  • Scheduling WebI reports for Dynamic Date Ranges

    Hello Everyone,
    Our Env is BOBJ XI 3.1 SP2 FP2.5 integrated with SAP NW  BW 7.02 EPH1
    We are trying to schedule few WebI reports which can be used on ad-hoc basis as well. Some reports need to get data from starting of the month to today (like MTD) and few are with dynamic date ranges.
    In case of relational universes i used to do Magic Date as mentioned here :  http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts
    But for OLAP Universes i have written a MDX filter prompt as :
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0)='First Day of Month','First day of Current Month\First day of Current Month',@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0))"/>
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0) > '1/1/2100 12:00:00 AM',''1/1/2010 12:00:00 AM'',(@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0))"/>
    </CONDITION>
    </FILTER>
    We are getting MDX erros because IIF can only return numeric values. So are there any other approaches for dynamically scheduling the reports or can the above MDX prompt be modified to make it work ?
    - Vamsi Ch

    Ingo,
    When we schedule the WEBI report we use the BEX query with a variable based on a customer Exit .
    There are good examples in
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    In order to avoid providing a hard coded date restriction in the BEX query we want to have a flexible date range solution (e.g. data from 1.1.2011 until yesterday).
    Is the folloing scenario possible:
    Scheduled webi report with a hard coded date e.g. 1.1.1900 (for the BEX variable)
    The BEX query should return the data from 1.1.2011 until yesterday (dynamically)  if date = 1.1.1900
    else it should return the data (for the e.g. adhoc reporting)
    Is a customer exit like this possible ?
    Pseudo code:
    IF date = 1.1.900 then return sysdate-1 else return entered date
    For a relational universe I always used a magic date condition

Maybe you are looking for