Key Date Variable in Webi

Hi
I have one webi report created on top of BW/ Bex Query and im using the KeyDate variable as my exchange rate conversion date. So, whenever i run the Webi Report it prompts a screen where i can key in the Date.
Whenever i repoint the universe to the new unverse which is created on the same bex Query, the keydate variable isn't working anymore.
Can anyone help me on this, i need to repoint several reports to this new universe.
Regards,
Siva

Well, there are several versions in the old universe and just to avoid confusion i created a new universe.
There is a warning message when i remap the webi report universe. this is the error message i got "An Internal Error Occured while calling 'ProcessDPcommands' API . (Error: ERR_WIS_30270)"

Similar Messages

  • SAP BW Hiearchy Key Date Variables - Web Intelligence

    Hi,
    I have couple of issues / scenarios which are not working as expected. First, as I understand that hiearchy variables are supported by WebI.
    Scenario 1
    I have created a hiearchy key date variable within the report and made it optional. I run the report an no key date appears. It should appear. If I then make the hiearchy key date to mandatory I get a database error. Looks like there is a problem with hierarchy key date variables?
    Scenario 2.
    I change the hierarchy key date so it uses the key date of the query (so no longer a variable).
    As an example,I have employee "Employee X" assigned to "team A." This team moves from the Desktop team to the IT team on the 01.04.2011.
    IT
       A - 01.04.2011 -> 31.12.9999
    Desktop
       A - 01.01.2011 -> 31.03.2011
    I have a hiearchy variable so I can select a team as requied (using the object 0ORGUNIT) If I run the report using the key date 01.04.2011 the WebI report displays the current hierarchy nodes i.e.
    IT
       A
    and the data shows correctly,
    If I now re-run the report using the key date 01.03.2011 in the selection screen in the WebI report the following is still shown
    IT
       A
    If I select team A - no data is displayed. So it looks like via the use of the "Use query key date" for the hierarchy key date works but not in selection screen which is a problem.
    Is this a bug or am I doing something wrong?
    Thanks

    Hi,
    I have now got scenario 2 working - well I didnt do anything apart from run it InfoView and it is fine. But for some reason does not work in WebI Rich client - I will have a look into this furrher but am happy that it works in infoview. Sceanrio 1 is no working still I have run it in InfoView and get the error "A database error occured. The database error text is: Failed to execute MDX query. Reason: Specify a value for variable Hierarchy Key Date. (WIS 10901)" This hiearchy key date is th variable which I have created and assigend to the hiearchy so that a "hierarchy date" can be selected.
    +Scenario 1+
    +I have created a hiearchy key date variable within the report and made it optional. I run the report an no key date appears. It should appear. If I then make the hiearchy key date to mandatory I get a database error. Looks like there is a problem with hierarchy key date variables?+
    Any help is appreciated.
    Thanks.
    Edited by: Leo on Apr 25, 2011 4:20 PM

  • Key Date variable; Interval in query properties for Time Dep. Masterdata

    Hi,
    I've been searching on the forum, and I think I know the answer already, but still I'd like
    to ask you all whether it's possible to create a Key Date Interval variable to be used in the query properties.
    As far as I can see you can only report by a single key date used in the query properties field for time dependant masterdata, but my customer has asked me to investigate the possibility to enter a date range.
    As all masterdata is time dependant I don't see how this would work, but if someone can shine a light on this maybe there is a solution available?
    Thanks for your help.
    M.

    Hi marc
    I understand your problem.
    I had an idea for a workaround.
    If you can create master data compounded with Valid from and Valid to both of these characteristics , how the query is computing
    the keyfigures.
    Every change in valid from or valid to is unique for the system in this case.
    Thanks
    N.Ganesh

  • Problem with Date Variable in Web I

    Hi everybody,
    In the BW I have a query with a Date Variable (0date) and when i execute the WebI report the variable
    shows date and time, like "04/22/2010 00:00:00". Is it possible i remove the
    time from the variable ?
    I need to do this cause i use this date to make some calculation into the WebI report, and with the time the formulas don´t work fine, it shows "#ERRO". I've already tried to insulate the date in other variable using some functions, but it does´t work nevertheless.
    Any idea ?
    Thanks.

    Hi Jordan,
    I would suggest several options.
    First, you have the option within Webi to display only the date and not the time (right click on the object on the report, or go to field properties, and change the format of the display).
    If you are using this value in comparisons in the report, you must make sure the format matches. Try changing the format within the variable to be the same as what you are comparing it to. If that is still not working, let me know. It may still just be a syntax or data type/format error.
    Thanks

  • Query key Date Variable not working

    Hi Folks -
         I am coming across an issue with which some of you might be able to help me. I have a time dependent master data object which I've marked as a datatarget and have created a report on it. I wanted to give the user an option of specifying the key date and hence have created a variable in the query properties for the key date. This variable is of the type SINGLE VALUE, MANDATORY, USER ENTRY and CAN BE CHANGED DURING QUERY NAVIGATION.
         Now my issue is that even though I enter a specific key date, the query is not pulling the records according to the key date. But instead if I use the option of specifying a particular date (instead of a variable in query properties), the query is running fine!!! Can someone please let me know why this is happening? Why is the query working fine when I mention a single constant value but not when I use a variable? Thanks for your help in advance.

    hi
    This clearly shows your variable is not working fine
    So in RSRT transaction debug using your variable
    See in every step whether the variable is working properly
    Assign points if useful
    Thanks
    N Ganesh

  • Making key date variable optional on selection screen

    Hi All,
    My query is based on time dependent data and I want user to specify key date during execution. I created variable for the same with setting "Optional". But still it asks user to enter key date everytime as if it is a mandatory.
    Is there anything i am missing out? Doesnt it take a current date as key date if no value is specified?
    Or is there a way to populate keydate variable by current date?
    I am on 2004s. Please let me know. Thanks in advance.
    -Abhijit

    Hi,
    You better take 2 variables in the query. One Variable is just for taking user entry and lets say it as VAR1. And VAR1 is optonal varible.
    Take the Other variable as Customer exit varible which is actually used for Key date. Heres in the code , you assign the value of VAR1 to this if it caontains a value ,otherwise you will assign sy-datum to Customer exit variable.
    With rgds,
    Anil Kumar Sharma. P

  • Key date variable only works for i_step = 1?

    Hi, I'm working with the query designer. I need to change the key date of a query before and after the user input.
    Using the debugging on transaction rsrt I found out that key date of the query only works for i_step = 1.
    With i_step = 2 I never get this variable.
    After the popup I can only change the date manually.
    I couldn't find any documentation about this specific subject.
    Can anyone confirm/ help?
    Thanks,
    Cristina

    you can go thru the Article at [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09d4588-3832-2c10-e185-f778d9dbea85?quicklink=index&overridelayout=true]
    with I_STEP = 1
    the enhancement call takes place before varaible entry. so this can be used to populate variables with default values
    with I_STEP = 2
    called after the processing of the variable pop-up.

  • Cannot change variable for key date in aggregate

    Hello,
    when I drag time-dependant attributes into an aggregates definition I am prompted to enter a key date or choose a variable for that. I then activate and fill that aggregate. Afterwards I deactivate it and remove the time-dependant attributes so there are no time-dependant attributes in the definition any longer. I then want to also remove the variable for the key date but I can't do so. This property is greyed out and there is no context menu for the entry "Variable for key date".
    The SAP Help says this should be possible by changing the key date variable through the context menu (see http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm).
    Has anyone faced this problem, too? I do not want to redefine my aggregate as this is not an elegant solution to the problem.
    Thanks to any answers in advance.
    Regards,
    Philipp

    Hey Karim,
    Because you have time dependent attributes in the aggregate you need to specify key date:
    check this
    http://help.sap.com/saphelp_nw70/helpdata/en/44/70f4bb1ffb591ae10000000a1553f7/frameset.htm

  • Key date properties popup

    HI all
    when I refresh the webI report, a pop up with name key date properties is showing up, and once i enter the date value init then it is taking me to prompt window.
    I just wonder why this popup is showing up, in Bex query properties I don't see any variable in the key date assigned.
    My second question is I need to show the prompt values in the header of the report. I can show the one which is in prompt window by using UserResponse() function, but if I use the same UserResponse() function for the key date variable it is not showing up in the report.
    Thanks

    @Pumpactionshotgun:
    very thank you for the reply, I tried the function can you please help me with syntax too because I tried this
    =DataProviderKeyDate("Calender Date(Parameter,Mandatory)")
    It's not taking it  and saying dataproviderkeydate() using invalid data type, but I feel it is correct.
    Thanks

  • Currency Translation on Key Date for AR Aging

    Need your valuable advice!
    I have created an AR Aging query including both Open and Cleared Items based on 0FIAR_C03_Q0005 standard query. However the requirement is to do currency translation to Group Currency (USD) on Key Date. This Key date is defaulted to today but the user can change this to go back in time and pull all the ARs as of that back dated key date.
    I was planning to create a currency translation type on M rate based on the Key Date Variable in RSCUR. However I am confused on which variable to base this currency translation. I have several key date variables in my query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date).
    Which Key Date Variable should I use in 'Time Reference from Variable' field in RSCUR? Would it be one of the 3 mentioned above or something else and why?
    Appreciate your valuable advice.
    Thanks,
    Al

    Hi,
    Yes I do want to use the Key date from the variable screen and I am using the standard 0FIAR_C03_Q005 with slight modification including currency translation.
    As I mentioned in my original post I have several key date variables in this query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date). My question is which one should I use if I want to base it on the specific key date variable from the variable screen? I need the specific Key Date variable technical name.
    Thanks,
    Al

  • Open orders display in BEX report based on Key date

    Hello All,
    I have a requirement:
    We have an existing report which needs to have input selection as Key Date.
    The report should display the Open orders based on the key date mentioned.
    For Eg: if an item A was Opened on 20th Sept, 2010 and now CLEARED and if I run the ECC report today and mention the key date as 20th Sept, 2010, then the report will show me the item A status as OPEN
    Plz help me with the logic for the same at the earliest
    Tthanks..
    Sneha

    Hi Sneha,
    I assume you have open and crear dates in your query. So put an open date in your query filter and restrict it as less then Key date variable(which is a variable of type user-input on 0calday), then create another variable that feeds from keydate variable (it can be a replacement path or simplest user-exit).
    Note: the another variable is needed because as far as i can remember you cant use the same variable to restrict two different chars in the same query/anyway test if it's not possible - then create another variable as i mentioned.
    Take Cleardate in your query filter and restrict it as more than keydate variable andr # (not assigned). (in case if it hasnt been creared at all yet at the key date time)
    Pls let me know if this was helpfull

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • Key DAte

    Hi ,
    We ahve a Key date option in BEX Query designer i am assigning an Customer Exit variable to that key date which based on calander day. In the same Query iam using another customer exit which should be depend on the above Key figure can anyone will let me know how to do this..
    means in CMOD i wrote a program for both the variable key date variable is converting fiscal year to date and month and after that second variable need to be exeucted
    Note to both the customer exit iam passing the same variable..
    Thanks

    Hi Srinivas,
    I am creating a reprot which is based on fiscal year period and the customer want to display the data based on periods.
    Means if they select the period as 007.2008 then
    Column 1 should display the data 001.2008 to 003.2008 and
    column2 should display teh data 004.2008 to 006.2008
    column3 should disply the data 007.2008
    how to go head and their is the column where i ahve to disply current fiscal year data..
    Thansk

  • How to get open items as on a key date

    Hi experts,
    I want to show a report Agewise report of offsets: 0-30, 30-60,....
    Only the open items of Vendor as on a particular key date to be considered...
    How to get the open items as on a particular key date ?
    Regards,
    Rao.

    Hi All,
    Thanks for the reply..
    ==============================================================
    Basically create one ckf and two rkfs for each aging bucket
    ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
    Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
    so rkf 0-30 days open is
    posting date <= key date
    item status = O
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    rkf 0-30 days subsequently cleared is
    posting date <= key date
    cleared date > variable date (which reads cmod of key date)
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    ========================================================================
    In the above two cases, while creating restricted key figures how to design this;
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
    Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
    What is the solution for this ?
    Regards,
    Rao.

  • Display key date of hierarchy in the query

    Hello,
    we have a query that uses a hierarchy with the time depending structure. The key date of this hierarchy has been restricted with a variable and can be entered by user in the query selection screen.
    Is there any way to display this key date variable in the query result ? Otherwise the users do not see the key date they had selected before.
    Thanks in advance !
    Regards
    Igor

    Hi Chandamita,
    Thank you so much for your quick response. I'm not sure if it will fix the issue because it has the same properties for other object which we do not encounter the issue.
    Thank you!

Maybe you are looking for

  • Training and event management- Add Basket

    Hi, In traning and enent management i've to delete the *add basket* column how do i do that. help me Regards, Prasad Edited by: SN Vijay Rajandra Prasath on Apr 6, 2010 11:22 AM

  • Use 23" apple monitor as second monitor with 27" imac

    I've just bought a 27" imac, and I want to connect the 23" apple monitor from my old system to it as a second monitor. The 23" has a huge cable with firewire and usb connectors as well as a multipin connector. How can I link it up?

  • Sap report error

    Hai in outgoing payment field having two remarks table is there one is journa remarks ,another one is manually we enter the remark(reason) , when i will import general ledger report(default report in sap ) only one remarks table is come , (journal re

  • How to see my old postings ?

    Hi there, I remembered I asked some questions here & it was answered before but it was long time ago. So, instead of asking again, I thought I just do a search. I click on my make & goto the "Your Stuff" tab. But what i see are only those 3 months ag

  • HT5840 Can you change the tab name? If can, how?

    Can you change a tab name?