BI Integrated Planning - Most Current Data in Query

Hi Experts,
I have a small question about Integrated Planning, for a better understanding.
in a workbook I have a reporting query and a button. the button triggers a planning function that is executed at another query (which is not displayed in the workbook).
Both query's are built upon the same aggregate of a real time InfoProvider.
Now when I execute the planning function, the new data (that is in the open request in the infoProvider) made by the planning function, is immediately displayed in the reporting query.
But I did not inserted a 'most current data' infoobject in the reporting query.
So how come that the data in the open request is displayed in my reporting query?
Is this a new functionality of IP?
Gr,
K
Edited by: Koen V on Feb 12, 2008 8:22 AM

Thanks for the fast reply.
Two times yes:
- I meant the variable 'most current data'.
- the queries are built on the same aggregate.
So when you built a query on an aggregate on which a function is executed, it reads automatically the most current data.
How does this happens? Is this a filter that is automatically set on the aggregate?
I will assign points.
Gr,
K

Similar Messages

  • Most Current Data

    Hi,
    There is the variable 0S_RQMRC "Most Current Data"
    for BW 3.5 for transactional cube in BEx.
    Can anybody say what can i use in Netweaver 2004s
    instead of this variable for real-time cube?
    Thank you.

    Go to the RSRT Properties and you can specify the ability to read open requests directly in the data integrity property.

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • Trying to find selling price based on most current date

    Need help on finding the selling price based on the most current date.  I'm able to get the current date but not the selling price for that date.  Any help will be appreciated.
    Thank you in advance.
    This is the pivot table I'm working with.  The price should be 5.81 but it's picking up the highest price and not the last price.
    Formula for current date is =LASTDATE('Product Cost'[EFFDATE])
    Formula for current price is  =LASTNONBLANK('Product Cost'[STDCOST],LASTDATE('Product Cost'[EFFDATE]))
    Row Labels
    Current Date
    Current Price
    1152
    09/29/2014
    6.01
    Should be 5.81
    1/1/2009
    01/01/2009
    5.5
    7/9/2009
    07/09/2009
    5.11
    1/4/2010
    01/04/2010
    5.15
    4/12/2010
    04/12/2010
    5.18
    7/12/2010
    07/12/2010
    5.18
    10/27/2010
    10/27/2010
    5.18
    12/21/2010
    12/21/2010
    5.48
    12/27/2010
    12/27/2010
    5.18
    1/5/2011
    01/05/2011
    5.48
    1/17/2011
    01/17/2011
    5.47
    4/4/2011
    04/04/2011
    5.56
    8/22/2011
    08/22/2011
    5.45
    1/2/2012
    01/02/2012
    5.9
    1/2/2013
    01/02/2013
    6.01
    1/6/2014
    01/06/2014
    5.84
    9/29/2014
    09/29/2014
    5.81

    Hi Mike,
    Something like this should give you the behaviour you're after:
    Current Price:=
    CALCULATE(
    MIN(Product Cost[STDCOST]),
    FILTER(
    ALL(Product Cost),
    Product Cost[EFFDATE] = MAX(Product Cost[EFFDATE])
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • OWL with Default Set containting Current Date as query parameter

    Hello Everybody,
    I have a custom BO which mainly consists of a name and a time period (start and end date).
    Now I'd like to create a Default set like
    "Give me all objects with today between start and end date."
    I already tried the following:
    Filling a field using UI-Scripting:
    $data.UIState.Today = $controller.DateTimeUtils.DateNow;
    Copy the field into the search parameter
    executing the query with this search parameter.
    However, I using this approach, I only managed to search for objects matching exactly todays date, but not using greater/lower comparators.
    Furthermore I also searched for a field transformation giving me the current date but did not succeed.
    Does anyone have any ideas how to achieve this or how to get one of the above ideas to work?
    Best regards,
    Ludger

    Hello Ludger,
    That`s what I expected: The fields do not define the interval.
    Therefore you need to define it by yourself via this "less or equal".
    What you can do in the UI Designer at the query definition is to provide an interval
    For the field "CurrentDate" provide
    - SelectOption = "between"
    - Low Value = your start date
    - High Value = your end date
    - Select Option = "include"
    HTH,
        Horst

  • Current Date in query

    Hi guys,
    I would that at the opening of a query in BEx, my characteristic "ZDAY" will be allways equal to todays'date.
    I'm working on Infoset and so I can't use virtual characteristic...
    Do you know how to do that in BW or in BEx ?
    For sure, points will be assigned.
    Cheers,
    Vince.

    I want that in my BEx report we can see :
    Offer : 1        Zdat : 2007.11.23          Other_char : A ........
    Offer : 2        Zdat : 2007.11.23          Other_char : B ........
    Offer : 3        Zdat : 2007.11.23          Other_char : B ........
    Offer : 4        Zdat : 2007.11.23          Other_char : C ........
    But Zdat contains just the current date. All records have their Zdat with today's date...
    It seems it doesn't work with step = 1 or 2.

  • How to suppress a row based on current date -  at query level?

    In an Bex query report i have suppress rows based on current date.
    There is no current date available in query.
    there is a date field in the query.
    If by chance the date in that field is lesser than current date, I have to suppress that row.
    How can this be achieved?

    What is the code ofr creating a variable to get values >= to current date?
    I have implemented the following code which is not working.
    data L_S_range like line of E_T_range[].
    CLEAR L_S_RANGE.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    L_S_RANGE-LOW = SY-DATUM.
    APPEND L_S_RANGE TO E_T_RANGE[].
    Actually i have written in class, which will be inherited in superclass.
    Edited by: akshara20 on Feb 2, 2011 1:21 PM

  • What is the best way to keep 7 days most current data in tabledata

    Hi,
    Can anybody help me to keep most recent 7 days data in a table? any data older than 7 days should be removed which cen be done once a day.
    What is the best way to do this? partition, re_create table or anything else?
    Thanks
    George

    Have you considered partitioning the table? You could then drop the oldest partition every day, which would be marginally quicker & easier than deleting the 10,000 rows. 100,000 rows is a pretty small table to partition, but it may be worth considering.
    I wouldn't expect there to be a significant difference on query performance no matter how you set this up. You won't reset the high water mark, but that is only important when you are doing a full table scan and Oracle will reuse the space for the current day's data, so it's not like the high water mark will be constantly increasing.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Update once only most current record that meets conditions

    Want to only allow the most current date with the stateID of 1 to update once and not update after the intial update when running sql code over again. 
    changeTypeID containerID    stateID dateEntered                               note
    UPDATE          900172-0800  5       2014-09-23 04:38:29.313            Pallet #71809
    UPDATE          900172-0800  1       2014-11-20 09:17:51.017 
    UPDATE          900172-0800  10      2014-11-24 15:03:32.177   900172-0800->Destroyed
    UPDATE          900172-0800  10      2014-11-24 15:04:00.777   900172-0800->Destroyed
    UPDATE          900172-0800  10      2014-11-24 15:05:44.763   900172-0800->Destroyed
    SELECT containerID
    INTO #Temp
          ContainerHistory
          WHERE dateEntered >= DATEADD(DAY, DATEDIFF(DAY, 0, CURRENT_TIMESTAMP) -1, 0)
            AND dateEntered < DATEADD(DAY, DATEDIFF(DAY, 0, CURRENT_TIMESTAMP), 0)
            AND stateID = 1 ORDER BY dateEntered DESC ????
    UPDATE ContainerStates
      SET stateID = 10,
       dateEntered = getdate(),
       note = containerID + '->Destroyed'
      WHERE containerID IN (
       SELECT barCode AS containerID FROM #Temp WHERE containerExpired = 1

    >> Want to only allow the most current date with the state_id of 1 to update once and not update after the initial update when running SQL code over again. <<
    Please follow basic Netiquette and post the DDL we need to answer this. Do you know how to follow industry and ANSI/ISO standards? You should follow ISO-11179 rules for naming data elements. You hjave noi idea what that means.  Avoid dialect in favor of
    ANSI/ISO Standard SQL. 
    There is no such attribute as a “change_type_id” in RDBMS. You can have a “<something>_id” “<something>_type” but not a weird mix of attribute proprieties. Likewise, “state_id” makes no sense. If you meant a status, then you need two dates to show
    when that state of being applied to the entity. 
    To track the history of, say, Foobars we need to see time as a continuum and model it as (begin_date, end_date) pairs that define when a foobar had a particular value. Here is the skeleton. 
    CREATE TABLE Foobar_History 
    (foo_id CHAR(9) NOT NULL, 
     start_date DATE NOT NULL, 
     end_date DATE, --null means current 
     CHECK (start_date <= end_date),
     foo_status INTEGER NOT NULL, 
     PRIMARY KEY (foo_id, start_date)); 
    When the end_date is NULL, that state of being is still current. You use a simple query for the status on any particular date;
    SELECT * 
      FROM Foobar
     WHERE @in_cal_date
         BETWEEN start_date
          AND COALESCE (end_date, CURRENT_TIMESTAMP);
    There are more tricks in the DDL to prevent gaps, etc
    CREATE TABLE Events
    (event_id CHAR(10) NOT NULL,
     previous_event_end_date DATE NOT NULL  
     CONSTRAINT Chained_Dates  
      REFERENCES Events (event_end_date), 
     event_start_date DATE NOT NULL, 
     event_end_date DATE UNIQUE, -- null means event in progress
      PRIMARY KEY (event_id, event_start_date), 
     CONSTRAINT Event_Order_Valid 
      CHECK (event_start_date <= event_end_date), 
     CONSTRAINT Chained_Dates 
      CHECK (DATEADD(DAY, 1, previous_event_end_date) = event_start_date)
    -- CHECK (previous_event_end_date + INTERVAL '01' DAYS) = event_start_date)
    -- disable the Chained_Dates constraint
    ALTER TABLE Events NOCHECK CONSTRAINT Chained_Dates;
    GO
    -- insert a starter row
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Foo Fest', '2010-01-01', '2010-01-02', '2010-01-05');
    GO
    -- enable the constraint in the table
    ALTER TABLE Events CHECK CONSTRAINT Chained_Dates;
    GO
    -- this works
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Glob Week', '2010-01-05', '2010-01-06', '2010-01-10');
    -- this fails
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Snoob', '2010-01-09', '2010-01-11', '2010-01-15'); 
    What you did post is awful. Why did you append “->Destroyed” to an identifier? This is redundant AND destroys the integrity of the original encoding. Why do you use a local temp table? This mimics a  1950's scratch tape and no SQL programmer would use
    it. Why would a note repeat another column? 
    Please read this and try again. 
    https://www.simple-talk.com/sql/t-sql-programming/state-transition-constraints/
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • T/X model SORTing Find/Search results from Most Current Entry

    Have the Palm T/X model, and use the FIND/search function constantly.
    The results always come up from the earliest (oldest) entry to the most current.
    This is a major league pain-in-the-butt especially when there are tons of entries to go thru to get to the most current date.
    Is there any way to sort the FIND results so that they show from most Recent entry to the oldest.
    This would be a HUGE Help.
    Thx!
    Post relates to: Palm TX

    There is a pulsing, reddish dot in the middle of the
    blue light but on the hard drive itself, I don't see
    any "lights" in any "menu bar".
    It's at blue circle with a white Q-shaped symbol at the right end of your menu bar.
    If you dare to use the terminal application (can be found in the utilities folder) you can use the following command to re-index that drive. Start Terminal and type (or paste) the following line and hit enter:
    sudo mdutil -E "/Volumes/xxx/"
    Replace "xxx" with the name of Your drive! If there is a space in that name type it like "/Volumes/My\ Drive/"! You will be prompted for Your admin password to proceed.

  • How to select the most recent date in a CR XI subreport

    Post Author: rickcf
    CA Forum: General
    I have a sub report and it is simply a reporting of a sub table.  It is a table that has multiple records with many dates coupled with types.  I only want the most current date for certain types - the types can have more than one date.  Much like the following select statement
    select type, max(date) from table where type <> 'E' group by type.
    How can I accomplish this in crystal? 
    Thanks

    Post Author: Jagan
    CA Forum: General
    Group on type. Use record selection formula for type <> E, use group selection formula for the max date. e.g. group formula is{table.date} = maximum({table.date, table.type})

  • Posting a full years worth but only display current date

    i am wondering how i go about posting my rss feed for the whole year but only allow itunes to read the current date? i understand from research that it takes the most current date and uses that as the first. but if i wanted to display September's 06 podcast in September and not July's 07 then how would i do that. i have seen some software that you can purchase that will do this for you, but i would rather code it my self or with the help of others. does anyone have any ideas on how this is done? or have you done it your self. any thoughts or ideas are very welcomed.

    not quite. i have cooking videos that i would like to be availbe new episode every 2 weeks. so my rss feed is set up with 27 diferent items, because 52/2=27 52 is the number of weeks. any who so there are 27 diferent items in the rss feed all with the diferent dates. (item 1= aug 30, item 2=sept sept 13, item 3= sept 27....) but on sept 13 the only items that should display would be the aug 30th and the sept 13th. but when sept 27th roles around all prev. are displayed includeing the new sept 27th episode.
    i understand that i can just reupload the rss feed and ping the system. but i am just trying to see if i can do this automated style for ease of use and to be able to concentrate on other things.
    thank you for your quick reply.

  • Most recent date in report filter.

    Hi,
    I have a report with a date column. I would like to run the report for the most current date. I would like to add a filter to the report which pulls data for the most current as of date. Which would be the best method to use in the filter. Please advise. Thanks.

    First, you need to determine what the date column is that contains the dates you want to filter on. So say you have a Processing Date column which houses the dates transactions are processed.
    1) Add this date column to your workspace.
    2) Click on the filter button of this column and then on Advanced>Convert this filter to SQL.
    3) After the name of the column, enter MAX(date_column). So you will have:
    "Table name"."Date Column" = MAX("Table name"."Date Column")
    Now chances are you will have many reports that need the "most recent date" filter. Therefore, what you should really do is build this filter in the repository and expose it as a Saved Filter for all to use.

  • Planning query donu2019t show current data

    Hello,
    I have an input ready query over an aggregation level of a real time cube. Whenever the yellow request is closed and a new request is opened, the input ready query does not show the old data. And sometimes it shows incorrect data. We found that the issue is with the Cache.
    In RSRT when opening the input ready query in debug mode with "Do not use cache setting", the query returns correct data. But the surprise thing is that, the input ready query has Cache setting as inactive (0) in RSRT. So we had to generate the Delta buffer query <infoprovider>/!!1<infoprovider> in RSRT where <infoprovider> is the name of the real time cube.
    This solved our problem and the query brought in correct data. But again when I close the second request, the input ready query again shows me no data or shows me wrong data. So again we need to generate the delta buffer query in RSRT <infoprovider>/!!1<infoprovider>.
    This is very annoying when considering the fact that you have to generate the delta buffer query every time the request is closed. This could be a overhead in maintenance and will not go well with people.
    Does anybody have any solutions for solving this issue. Is there any setting by which we can turn off cache altogether or delete cache when a request is closed etc? or worst conditions how to automate the generation of delta buffer queries every time the request is closed?
    Any help is really appreciated.
    Regards,
    Anand

    please check the below;
    Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
    Planning query donu2019t show the current data
    Edited by: Hymavathi Yanamadala on Sep 9, 2009 5:47 AM

  • Query for data input into IncoCube (Non Integrated Planning)

    Hello Gurus,
    i was trying to search over the internet how to make a query ready for input, but without using integrated planning, but no luck.
    I want to make a bex query (specific form) which could be filled with data by simple user, and then on button click sent to BW InfoCube.
    Is it at all possible or not?
    Thanks and Regards

    Hi,
    Thanks for quick responce.
    So basically what you are saying is that only IP anables me to enter the data through BEX.
    Regards
    Laurynas

Maybe you are looking for

  • How do I view the first imessage between a friend and I from over 1 year ago?

    My girlfriend and I have been texting for quite awhile now, over a year to be exact and I was curious on how to see the first imessages we shared between each other whenever we first started talking. I have tried to scroll all the way up but it just

  • How do I install on new computer?

    I purchased Adobe Creative Cloud (Lightroom and Photoshop) some time ago. I purchased a new computer but see no options to tie into the cloud. In fact, when logged into Adobe, it doesn't seem to recognize I've already purchased this product. Any idea

  • Apple tv could not connect to library

    Hi, my apple tv (2nd generation) doesn't connect to my itunes library. It reconizes my computer and my housband from home sharing, his a PC it loads the library, but mine from 3 days now, shows always the same message "apple tv could not connect Ana

  • Best way to convert In-Memory bitmap to BufferedImage

    Hello! I am working with DirectShow on a Windows system to access a camera. From DirectShow I get called back on every frame with a Pointer to a native Buffer which contains a Bitmap (http://msdn.microsoft.com/en-us/library/windows/desktop/dd376985%2

  • Frqently used process code in message control

    Hai, Ca you send me some frequently used process code used in Messge control to transfer transactional data thanks and regards murali rkishna