Calculating MAP at a point in time

Hi,
I need to find the MAP for a list of materials as of 06-30-2009.  Which table do I use?  MBEW, MBEWH or both?
If I have to use both, please explain SIMPLY and CONCISELY how to do it.  Looking at these tables is confusing.  It seems that both have dates for periods/fiscal years in the past. 
Thanks,
Kevin

Hello Kevin,
MBEW stores the the latest stock valuation details & MBEWH stores the stock valuation history for the material.
Suppose you are in 03.2009 &  for Mat. M1 there is no stock movement till period 03.2009 (for the year 2009), MBEW will have the data for 03.2009 (the period & year are irrelevant as it is the current stock valn) & in MBEWH you have the data for the last year i.e., 12.2008 (LFGJA = 2008, LFMON = 12).
Now in 04.2009 you have some stock mvmt & there is change in mat. valn. So the latest valn will move to MBEW & the last valn details (i.e., of 03.2009) now moves to MBEWH (LFGJA = 2009, LFMON = 03).
It will be very clear to you once you check MBEW, MBEWH along with MB5B. In MB5B you can check the mat. mvmt data & see how the data in tables MBEW & MBEWH are modified based on mat mvmt.
BR,
Suhas
PS: Try consulting an MM functional, he may answer in a better language

Similar Messages

  • Adding static images to map at specific points in time

    Hello,
    I am trying to create a power map animation and I am having difficulties figuring out how to go beyond simply animating the data over time.  let's say I want to add a little image of the space needle in Seattle when the animation gets to the point in
    time when it was built.  Obviously, I will be in the process of animating my normal data when this image gets added.  Also, if you know of any tutorials that might be relevant please mention them.
    Thanks,
    Bob

    You can add static images at a point in time and these are done by adding an annotation to a specific point that is plotted on your map.  Once you pause the tour at a specific time you might want to add a scene to the tour and then add your annotation.
     In order to add an annotation you will need to select the point and then right-click and select 'Add Annotation'.  You will then be able to add a title along with either text, a field from data set, or an image.  At this point you can continue
    to plat the tour and/or add another scene and continue to build out your tour.
    Check out this article on inserting annotations to Power Maps for additional information
    http://office.microsoft.com/en-us/excel-help/add-an-annotation-to-my-power-map-HA104106344.aspx

  • Percentage calculation from a certain point in time

    I am trying to calculate the pass rate from after the ID studied a particular UNIT.
    So I want to get the rate AFTER they studied their PREP01 unit
    So right now  the code below works fine but it considers all units.
    ID 1 studied one UNIT in 2010 which is before PREP so I do not want to consider it.
    Also studied FGT459 in 2011 SP 1 as well as their FIRST PREP unit in SP 1 so i DO NOT want to consider it. IF A UNIT HAS BEEN DONE AT THE SAME TIME AS THE PREP01 UNIT I WOULD LIKE TO IGNORE IT.
    After the PREP unit i want to consider any unit which has the Status as PRESENT. so out of the 3 remaning units they passed 1 and failed 3 so the percentage pass is 33.3%
    Right now my code gives me 66.7% coz i condier all units.
    I would only like to consider after PREP has been studied (PRESENT) IF A UNIT HAS BEEN DONE AT THE SAME TIME AS THE PREP01 UNIT I WOULD LIKE TO IGNORE IT.
    Thanks for any assistance.
    The code I tried is:
    select  d1.id, ROUND(avg(case PASS_OR_BETTER
                  when 'Y' then 1
                  else          0
                  end ) * 100,1)  as Pass
    FROM DAN_SPIL_GRADE_IDS D1, DAN_SPIL_GRADE D2
    WHERE D1.GRADE = D2.GRADE
    AND D1.STATUS = 'PRESENT'
    group by d1.id
    TABLE1
    CREATE TABLE DAN_SPIL_GRADE_IDS
    (ID     VARCHAR2(8),
    UNIT    VARCHAR2(8),
    STATUS VARCHAR2(8),
    GRADE VARCHAR2(12),
    YEAR VARCHAR2(12),
    PERIOD VARCHAR2(12));
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','FGT458','PRESENT','HD','2010','SP4');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','FGT459','PRESENT','HD','2011','SP1');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','PREP01','PRESENT','P','2011','SP1');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','OPT878','ABSENT' ,'F','2011','SP2');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','FRE111','PRESENT','D','2011','SP3');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','PREP02','PRESENT','F','2012','SP1');
    INSERT INTO DAN_SPIL_GRADE_IDS (ID, UNIT,STATUS,GRADE,YEAR,PERIOD) VALUES ('1','PREP03','PRESENT','F','2013','SP4');
    ID
    UNIT
    STATUS
    GRADE
    YEAR
    PERIOD
    1
    FGT458
    PRESENT
    HD
    2010
    SP4
    1
    FGT459
    PRESENT
    HD
    2011
    SP1
    1
    PREP01
    PRESENT
    P
    2011
    SP1
    1
    OPT878
    APSENT
    F
    2011
    SP2
    1
    FRE111
    PRESENT
    D
    2011
    SP3
    1
    PREP02
    PRESENT
    F
    2012
    SP1
    1
    PREP03
    PRESENT
    F
    2013
    SP4
    TABLE2
    CREATE TABLE DAN_SPIL_GRADE
    (GRADE     VARCHAR2(8),
    PASS_OR_BETTER VARCHAR2(12));
    INSERT INTO DAN_SPIL_GRADE (GRADE, PASS_OR_BETTER) VALUES ('HD','Y');
    INSERT INTO DAN_SPIL_GRADE (GRADE, PASS_OR_BETTER) VALUES ('D','Y');
    INSERT INTO DAN_SPIL_GRADE (GRADE, PASS_OR_BETTER) VALUES ('P','Y');
    INSERT INTO DAN_SPIL_GRADE (GRADE, PASS_OR_BETTER) VALUES ('F','N');
    GRADE
    PASS OR BETTER
    HD
    Y
    D
    Y
    P
    Y
    F
    N
    GIves:
    ID
    PASS RATE
    1
    66.7
    Want
    ID
    PASS RATE
    1
    33.3

    Thanks for you assistance
    I found an example which has  me puzzled
    using your code on a case such as
    ID
    UNIT
    STATUS
    GRADE
    YEAR
    PERIOD
    2
    SUS108
    PRESENT
    F
    2013
    SP1
    2
    PREP01
    PRESENT
    F
    2012
    SP1
    2
    SSH100
    PRESENT
    F
    2012
    SP3
    2
    COD125
    PRESENT
    F
    2012
    SP2
    2
    SOC134
    PRESENT
    D
    2012
    SP1
    2
    SGY110
    PRESENT
    F
    2011
    SP1
    2
    SOC105
    PRESENT
    F
    2012
    SP3
    Where ID 2 studied 4 units after PREP01 in 2012 SP 1
    STUDIED:
    2
    2012
    SOC105
    SP3
    OTHER
    F
    2
    2013
    SUS108
    SP1
    OTHER
    F
    2
    2012
    SSH100
    SP3
    OTHER
    F
    2
    2012
    COD125
    SP2
    OTHER
    F
    Your code gives 20% when it should give 0 because after PREP01 2012 SP1 the ID Failed everything

  • Point in time snapshot

    Hi,
    I'm very new to Oracle and this is my first post so if I miss anything important, please excuse my ignorance...
    We have a Oracle 10g datawarehouse which contains service desk data on tickets, agent performance etc.
    I'm specifically trying to obtain a count of tickets that were in an active status and were sat with a certain group at a certain point in time.
    The table TICKETS contains the usual ticket data, ticketnumber, open date, close date etc and the refgroup field which indicates current group ownership.
    The select statement below works for all tickets currently owned by Group1 that were active (not closed) at 00:00:00 on Monday but doesn't take into account changes in group ownership so a ticket could be counted by the statement on first run but if the group changes, it will not be included.
    We have a table which records SLA events for each ticket such as (but not only) group transfers and the date each transfer took place and this table is linked from the TICKETS table via a ticket ID field in each.
    Each row in this table has a GroupName value to show the group responsible for each event, as in the below example.
    If for example the snapshot date is 13/07/09 00:00:00, is there a way to calculate from the SLA events records as below, whether Ticket1 fits this criteria?
    This is basically an expression field in Crystal Reports so I can work with either a field that returns a 1 or 0 at the ticket level and then count within the app, or a field that returns a total count of all tickets that fit this criteria.
    Thanks alot in advance.
    Andy.
    TicketNumber GroupName EventDateTime
    Ticket1 Group1 09/07/09 08:43:21
    Ticket1 Group1 09/07/09 14:28:35
    Ticket1 Group2 14/07/09 13:12:10
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."CLOSE_DATE" > LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    OR
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."STATUS" <> 'Closed'
    )

    Hi,
    user11696977 wrote:
    Thanks again Frank.
    Looking at the doc you linked I think this query should do what I'm after but running it gives me an insufficient priviledges error.In case you're wondering what privileges are ineeded, under "SELECT - Prerequisites" the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2065699] says:
    "To issue an Oracle Flashback Query using the flashback_query_clause, you must have the SELECT privilege on the objects in the select list. In addition, either you must have FLASHBACK object privilege on the objects in the select list, or you must have FLASHBACK ANY TABLE system privilege."
    Will have to see how this goes if I can get priviledges assigned to the account I'm using.
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    AS OF TIMESTAMP LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND "TICKETS"."STATUS" <> 'Closed'
    Looks good.
    This will join the organization table as it exsited at 00:00 on Monday to the tickets table as it exists at run-time.
    TRUNC (dt, x) is never later than dt, so you can just say
    AS OF TIMESTAMP TRUNC(SYSDATE, 'IW')

  • Balance Sheet translation at spot rate at ANY point in time

    My client produces its financial accounts in AUD.  They will have open items in AR, AP and Bank in foreign currencies.  WITHOUT running periodic valuation they wish to produce a Balance Sheet at any point in time during the month applying the applicable daily spot rate to valuate the Foreign Currency open items (for reporting purposes only).  I have run S_ALR_87012284 and maintained the special evaluations tab for Display Currency (AUD), Key date for translation (current date) and exchange rate type (spot rate type).  However, this does not appear to be revaluating the open items in the subledger accounts to produce the balance sheet at the current spot rate.  Appreciate input / alternate approach.  Cheers, Dean.

    Hi Chirag
    As per Oracle following are the rules that has to be followed for translation.
    1. For Balance Sheet Accounts (Asset & Liabilities) GL as a default uses the YTD rule.
    2. For P&L Accounts you can choose between YTD and PTD rule. So in your case you can use the default PTD Rule. (Profile Option 'GL Translation: Revenue/Expense Translation Rule')
    YTD Rule = (Translated Period Amount = Period-End Rate x YTD Ledger Currency Balance - Beginning Translated Balance).
    PTD Rule = (Translated Period Amount = Period Average Rate x PTD Ledger Currency Balance)
    Hope this helps.
    Regards,
    Gautam
    Edited by: Gahlout on Sep 25, 2012 11:04 PM

  • HT4325 Will there be a point in time when I can multiple speaker play to my Air devices, and my AppleTvs?  Or do I need redundant Air @ the tv too?

    Background
    I drank the coolaid and have a MacMini command center along with all my PC's and Wifi and this and that.
    I have a few Airport expresses in random locations.. bathroom.. kitchen... I also have an Apple Tv in the fam room, and bedroom.
    From the Mac I see I can play songs in iTunes, click Multiple speakers, and choose all my AirExpress devices.  However I cannot also mutiple to the AppleTvs.  Of course I can AirPlay to a single tv, or a single AirExpress. 
    Question
    Will there be a point in time where I can choose 'Multiple Speaker', and select all my home AirExpress class devices, and the AppleTv devices?
    Current Infrastucture --- Will easily support my ambient musical desires.
         Mac Mini 2012, running 10.8.
         AirPort Expresses, newest generation.    
         AppleTv 3's, 5.1 not the developer 5.1+ yet.
         Whole house each floor and exterior, one SSID wifi network, multiple bands, (cisco e3000)'s running dd-wrt with a backend WDU.
         Multiple Linksys (SRW208P)'s wired switching fabric, 802.1q and all that jazz.

    Ok looks like the latest updates made this possible.

  • Structuring a Business Area for Reporting Periods and Points in Time

    Dear all,
    I'm in the process of designing my first business area for discoverer.
    The database is for people staying in accommodation over various periods.
    (Anything from individual days to periods of 15 years!!)
    The reports I'm producing fall into two categories:
    (a) Reports on periods of time such as:
    Accomodation days during a year broken down by Region
    Trend of accommodation days per month during a two year period
    (b) Reports on a particular point in time such as:
    Number of people in accommodation on a particular day
    I'm trying to work out how to structure the business area.
    If I think about requirement (a), I'm inclined to create a view which
    splits up periods into one month chunks (the smallest period I think I need).
    By this I mean having a view which gives me a row for every month for which any period of accommodation is active. This makes reporting on a monthly basis fairly easy.
    If I think about (b), I'm inclined to create a view which leaves the accommodation periods as single rows and then calculate a boolean field which indicates whether that accomodation is active on the date in question.
    It seems that these two requirements need different structures in the business area. Maybe it's best to create two folders which draw on the two different views.
    Any thought would be appreciated.
    Regards
    Suhada

    Hi,
    As you would probably expect, it all depends on your requirement and the table design.
    You can create a date hierarchy in Discoverer that contains the day, month, year levels and this will make it easy to create reports with totals aggregated at these levels.
    However, if your table contains, for example, the start and end dates when people move in and out of accommodation, then you will need to have a period table so that you can report on the months between the start and end dates. The period table will list all past and future months and you can join this to your data to obtain totals for all the periods.
    If you need to have reports that display zeros or nulls for periods where there is no data, then you will need to outer join your data with a period table.
    The decision on whether to use views or folders and joins in the EUL depends on the complexity of your data model. If you need to join many tables together to produce a single report, then you should consider putting some or all the joins into database views.
    Hope that helps,
    Rod West

  • Migration status at any point of time

    Hello to All,
    I am running a migration scripts (which are actually a procedures) to pick the data from the source table to target
    table.
    My requirement is to find out the migration status at any point of time.Is there any way to do it?
    Please help.
    Best regards,
    Pavan

    Hi Pavan,
    Does your source table have columns to store the status, error message?
    In general, stage tables should have a status and error message column which are updated by the migration script with the status of that particular record.
    You can check these columns to get the status.
    For eg
    select status, error_message, count(*)
    from you_table
    group by status, error_message;The above script will give the number of records Successfully processed, errored during migration.
    Regards
    Imran

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Long story short....I restored my computer to an earlier point using time machine and now all of the previous back-ups are gone. My question has to do with itunes...is it possible to restore my itunes library to the most recent backup because the restore

    Long story short....I restored my computer to an earlier point using time machine and now all of the previous back-ups are gone. My question has to do with itunes...is it possible to restore my itunes library to the most recent backup because the restore that I did was in march and the latest backup was in may....the reason being is that there were app that i had downloaded that are in my most recent back-up, that were not in the backup I restored to. Is it possible to just restore one application ie)itunes?

    See this post.
    tt2

  • Need help with Backup Recovery using Rman - Point in Time.

    Hi all,
    I am trying to recover my database to a certain point in time. Here are the details below.
    Oracle database version is. 11G R1. on 2 Node RAC. OS is AIX.
    Database name is Sales.
    Due to a mistake by the Application team, the database is written over by bad data. Now I have to restore the database in to a point in time, where the database was good.
    For this, i took a whole (full) RMAN backup, everything, all the archivelog files and Controlfiles as well.
    After doing this, i dropped the entire database. So now everything is clean.
    Now i have to restore and recover the database to this point in time.. 03/16/2011 12:45:00
    Please guide.
    The backups are located at.. /backup/sales/rman/
    I am trying various things, but each time i get the msg..
    ORA-01507: database not mounted
    I understand.. the reason for this message is the controlfile does not exist.. as the database is in mount mode. But as i said.. i have dropped the database in order to proceed with entire restoration.
    But i have taken a whole backup.. which also includes the controlfiles + archivefiles.
    Please guide.. with proper steps and commands.

    Hi,
    Priror to start with restore and recovery - Try to restore the control file from backups "/backup/sales/rman/"
    Then further you can mount the db and further carry on with recovery (catalog the backups prior to recovery)
    - Pavan Kumar N

  • Problem in performing multiple Point-In-Time Database Recovery using RMAN

    Hello Experts,
    I am getting an error while performing database point in time recovery multiple times using RMAN. Details are as follows :-
    Environment:
    Oracle 11g, ASM,
    Database DiskGroups : DG_DATA (Data files), DG_ARCH(Archive logs), DG_REDO(Redo logs Control file).
    Snapshot DiskGroups :
    Snapshot1 (taken at 9 am): SNAP1_DATA, SNAP1_ARCH, +SNAP1_REDO
    Snapshot2 (taken at 10 am): SNAP2_DATA, SNAP2_ARCH, +SNAP2_REDO
    Steps performed for point in time recovery:
    1. Restore control file from snapshot 2.
         RMAN> RESTORE CONTROLFILE from '+SNAP2_REDO/orcl/CONTROLFILE/Current.256.777398261';
    2. For 2nd recovery, reset incarnation of database to snapshot 2 incarnation (Say 2).
    3. Catalog data files from snapshot 1.
    4. Catalog archive logs from snapshot 2.
    5. Perform point in time recovery till given time.
         STARTUP MOUNT;
         RUN {
              SQL "ALTER SESSION SET NLS_DATE_FORMAT = ''dd-mon-yyyy hh24:mi:ss''";
              SET UNTIL TIME "06-mar-2013 09:30:00";
              RESTORE DATABASE;
              RECOVER DATABASE;
              ALTER DATABASE OPEN RESETLOGS;
    Results:
    Recovery 1: At 10.30 am, I performed first point in time recovery till 9:30 am, it was successful. Database incarnation was raised from *2* to *3*.
    Recovery 2: At 11:10 am, I performed another point in time recovery till 9:45 am, while doing it I reset the incarnation of DB to *2*, it failed with following error :-
    Starting recover at 28-FEB-13
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/06/2013 11:10:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until time 'MAR 06 2013 09:45:00'
    ORA-00283: recovery session canceled due to errors
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+DG_REDO/orcl/onlinelog/group_1.257.807150859'
    ORA-17503: ksfdopn:2 Failed to open file +DG_REDO/orcl/onlinelog/group_1.257.807150859
    ORA-15012: ASM file '+DG_REDO/orcl/onlinelog/group_1.257.807150859' does not exist
    Doubts:
    1. Why did recovery failed 2nd time, but not 1st time and why is RMAN looking for online redo log group_1.257.807150859 in 2nd recovery ?
    3. I tried restoring control file from AutoBackup, in that case both 1st and 2nd recovery succeeded.
    However for this to work, I always need to keep the AutoBackup feature enabled.
    How reliable is control file AutoBackup ? Is there any alternative to using AutoBackup, can I restore control file from snapshot backup only ?
    4. If I restore control file from AutoBackup, then from what point of time/SCN does RMAN restores the control file ?
    Please help me out in this issue.
    Thanks.

    992748 wrote:
    Hello experts,
    I'm little newbie to RMAN recovery. Please help me in these doubts:
    1. If I have datafiles, archive logs & control files backup, but current online REDO logs are lost, then can I perform incomplete database recovery ?yes, if you have backups of everything else
    2. Till what maximum time/scn can incomplete database recovery be performed ??Assuming the only thing lost is the redo logs, you can recover to the last scn in the last archivelog.
    3. What is role of online REDO logs in incomplete database recovery ? They provide the final redo changes - the ones that have not been written to archivelogs
    Are they required for incomplete recovery ?It depends on how much incomplete recovery you need to do.
    Think of all of your changes as a constant stream of redo information. As a redolog fills, it is copied to archive, then (eventually) reused. over time, your redo stream is in archivelog_1, continuing into archvivelog_2, then to 3, and eventually, when you get to the last archivelog, into the online redo. A recovery will start with the oldest necessary point in the redo stream and continue forward. Whether or not you need the online redo for a PIT recovery depends on how far forward you need to recover.
    But you should take every precaution to prevent loss of online redo logs .. starting with having multiple members in each redo group ... and keeping those multiple members on physically separate disks.

  • Pl/sql block reading reading table data from single point in time

    I am trying to figure out whether several cursors within a PL/SQL block are executed from within a Single Point In Time, and thus do not see any updates to tables made by other processes or procedures running at the same time.
    The reason I am asking is since I have a block of code making some data extraction, with some initial Sanity Checks before the code executes. However, if some other procedure would be modifying the data in between, then the Sanity Check is invalid. So I am basically trying to figure out if there is some read consistency within a PL/SQL, preventing updates from other processes to be seen.
    Anyone having an idea?.
    BR,
    Cenk

    "Transaction-Level Read Consistency
    Oracle also offers the option of enforcing transaction-level read consistency. When a transaction runs in serializable mode, all data accesses reflect the state of the database as of the time the transaction began. *This means that the data seen by all queries within the same transaction is consistent with respect to a single point in time, except that queries made by a serializable transaction do see changes made by the transaction itself*. Transaction-level read consistency produces repeatable reads and does not expose a query to phantoms."
    http://www.oracle.com/pls/db102/search?remark=quick_search&word=read+consistency&tab_id=&format=ranked

  • Stock on hand at a point in time

    Hi Experts
    I am busy doing an inventory report in Crystal. I need to pull the stock on hand for all the items for each month (past 4 years, +-2500 items)
    At the moment, i am taking inqty - outqty where date <= (beginning of each month)
    My report is taking forever to process the info.
    Is there any other way I can get the stock on hand at previous points in time? Or any tricks to help SQL process the data quicker?

    Hi Bradely,
    I've a query pulling opening stock in qty from the system.
    Through unions on all the transaction tables i'm pulling the data warehousewise.
    It hardly takes any time.
    I'm trying to print stock value too. Which I'm unable to figure out.
    If you want I'll pass that query.
    Any idea about how to figure out stock value ?
    Thanks
    Malhaar

  • Setting Valid Time to a point in time

    What's the recommended way to set the valid time to a point in time? There are cases where we want to execute a select against Valid Time enabled tables, asking for valid records at a point in time (rather than a span of time).
    I can't call SetValidTime, passing in the same begin and end date, which complains about a validTill date not greater than the validFrom.
    DBMS_WM.SetValidTime(TO_DATE('05-01-2005', 'MM-DD-YYYY'), TO_DATE('05-01-2005', 'MM-DD-YYYY'));
    What's the best way to do this?

    Hi,
    You can use dbms_wm.SetValidTimeFilterON to specify the point in time that you are interested in.
    SQL> exec dbms_wm.SetValidTimeFilterON(to_date('05-01-2005', 'MM-DD-YYYY')) ;
    This date needs to be contained within your session's validtime range.
    Regards,
    Ben

Maybe you are looking for

  • Error Code -50150 from DAQmx Create Channel (AI-Voltag​e-Basic).v​i

    I have an executable, built from Labview 7.1 VI's. All it is doing is reading 6 voltages back from a 6008 USB-DAQ, and reporting the results back. Occasionally, it is throwing an Error -50150 from DAQmx Create Channel (AI-Voltage-Basic).vi. The full

  • Email and passwords

    When I try to get my email it asks for my password but won't take it. I have made sure that it is correct in preferences, etc.  No luck.  Keeps asking me for the password over and over again.

  • Postioning with CSS

    Now i'm using CSS do i have to set the positioning for everything? do i still need to use a table if i want to have a background image with i.e. text on top? Also finally...I'm not ready for specifically code yet (I'm learning though) so how do i wor

  • IWeb - Blog NO dates?

    Is there any way to not have the blog dates appear in the blog summary page?

  • Survey URL

    Hi Gurus, I have created the Customer Satisfaction Survey, know i have to create the URL for that survey? How can i generate the URL  for the created survey? Can any body brief the procedure step by step?