How to find out last updatde timestamp for a table

Hi All,
I want to find out the last updated time stamp of a table. Is there some thing available with the sys tables. Is there something can be done with user_objects.
Or, is there any need to write pl/sql code to get the last updated timestamp for a table.
Please provide some inputs.
regards,
Naresh

Hi Oleg,
Select * from user_objects.I belieive it gives you the last_ddl_time not the time a update or delete was done.
Not sure if we have this feature in any new release.
I am working on Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
to the OP
I will suggest if you planto audit then use the audit feature based on your DB version.
Or to make it more simple have a column called modified_date and update this column whenever you update the record.
Regards,
Bhushan

Similar Messages

  • How to find out last update date for business partner's marketing attribute

    How to find out last update date for business partner's marketing attribute??
    Im freshie for SAP Application and im assigned to find out last update date for marketing attribute changed
    which table is involved??
    Yours kindness will be appreciated
    thanks

    You can take a look at table AUSP as well as CRMD_AUSP_HIST.
    The "changed by" and "changed at" are logged on attribute level, not on attribute value level. When you change one specific value, the system does a "re-insert" of all existing values of this attribute.
    Take a look at the SAP notes 938426 and 966670  these may assit you in resolving the issue.
    Regards,
    William Laverde

  • How to find out Last Changed Fields for a line item of a PO

    Dear All,
    Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?

    Hello,
    Check the table CDHDR,CDPOS for PO items,
    Check this code:
    REPORT ZV_GET_LATEST_SO .
    DATA: BEGIN OF ITAB OCCURS 0,
            OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
            OBJECTID TYPE CDHDR-OBJECTID,
            CHANGENR TYPE CDHDR-CHANGENR,
            USERNAME TYPE CDHDR-USERNAME,
            UDATE TYPE CDHDR-UDATE,
            UTIME TYPE CDHDR-UTIME,
            TCODE TYPE CDHDR-TCODE,
            TABNAME TYPE CDPOS-TABNAME,
            TABKEY TYPE CDPOS-TABKEY,
            FNAME TYPE CDPOS-FNAME,
            CHNGIND TYPE CDPOS-CHNGIND,
          END OF ITAB.
    TABLES: CDHDR,CDPOS.
    DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
    LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
    *REFRESH AUSG.
    CLEAR CDHDR.
    CLEAR CDPOS.
    CDHDR-OBJECTCLAS = 'EINKBELEG'.
    CDHDR-OBJECTID   = '0000001784'.  " Purchase order number
    **SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
    **B~TCODE
    **B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
    **INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
    **                         A~OBJECTID    = B~OBJECTID
    **                         A~CHANGENR    = B~CHANGENR
    **                    WHERE OBJECTCLAS = 'VERKBELEG'
    **                      AND OBJECTID = '0000001784'.
    *SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
    *                                    AND OBJECTID = '0000001784'.
    *IF NOT LT_CDPOS[] IS INITIAL.
    *  SELECT *
    *  INTO   TABLE LT_CDHDR
    *  FROM   CDHDR
    *  FOR    ALL ENTRIES IN LT_CDPOS
    *  WHERE  OBJECTCLAS = LT_CDPOS-OBJECTCLAS
    *  AND    OBJECTID = LT_CDPOS-OBJECTID
    *  AND    CHANGENR = LT_CDPOS-CHANGENR.
    *ENDIF.
    **  SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
    *LOOP AT ITAB.
    *  WRITE: ITAB-UDATE."ITAB-UNAME.
    *ENDLOOP.
    *--- Interne Tabellen -------------------------------------------------
    DATA: BEGIN OF ICDSHW OCCURS 50.       "Ausgabeaufbereitung
            INCLUDE STRUCTURE CDSHW.       "Zwischendatei
    DATA: END OF ICDSHW.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
         EXPORTING
              DATE_OF_CHANGE    = CDHDR-UDATE
              OBJECTCLASS       = CDHDR-OBJECTCLAS
              OBJECTID          = CDHDR-OBJECTID
              TIME_OF_CHANGE    = CDHDR-UTIME
              USERNAME          = CDHDR-USERNAME
         TABLES
              I_CDHDR           = LT_CDHDR
         EXCEPTIONS
              NO_POSITION_FOUND = 1
              OTHERS            = 2.
    LOOP AT LT_CDHDR.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
        EXPORTING
    *   ARCHIVE_HANDLE                = 0
          CHANGENUMBER                  = LT_CDHDR-CHANGENR
    *   TABLEKEY                      = '00000000 '
    *   TABLENAME                     = ' '
    * IMPORTING
    *   HEADER                        =
       TABLES
         EDITPOS                       = ICDSHW
    *   EDITPOS_WITH_HEADER           =
    * EXCEPTIONS
    *   NO_POSITION_FOUND             = 1
    *   WRONG_ACCESS_TO_ARCHIVE       = 2
    *   OTHERS                        = 3
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT ICDSHW.
        IF ICDSHW-TABKEY+3(10) = '0000001784'
           AND ICDSHW-TABKEY+13(6) = '000001'.
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Vasanth

  • How to find out Last T-Codes by a Users in Last 24 Hurs?

    Dear experts
    how to find out Last T-Codes by a Users in Last 24 Hurs?
    Please Help
    Regrads
    Is STAD is only solution (or) any other easy way?
    Regards
    PR

    Hi,
    Maybe it's easier with this path :
    ST03N --> Expert Mode --> Day  --> choose your day
    Under analysis view double click on "Memory Use Statistics"
    You will get the list of transactions run that day.
    If you double click on a transaction you will get the list of users who used this transaction.
    If you select the User view, when you double click on a user, you will get the list of transctions this user launched this day.
    Many ways to use this ST03N transaction...
    Regards,
    Olivier

  • How to find out Max threads count for Custom Work Manager??

    Hi All,
    How to find out Max threads count for Custom Work Manager??
    I have created 1 WM & targeted it to a cluster of 2 MS. Later I created Max thread Constraint = 300 & assigned that to my WM.
    I need to check how many threads maximum were created by my WM after lets say 1 completed day.
    The idea behind that is to understand if .. 300 is enough or need to increase the same way as we do it for JDBC datasource like.. Active connections Max count.. etc.
    Any Idea?
    regards,
    Tanmay

    Hi Ashish,
    Thanks for your response.
    The monitoring page that you are suggesting does not indicate the max thread count reached for a particular WM.
    For example, If I have Sample WM with 300 Max Thread Constraint, is there a way for me to check how many threads have been used out of 300??
    Any pointers in this regard are appreciated.
    Thanks,
    Tanmay

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • Need to know how to find the last execution time for a function module

    HI all
    I need to know
    1) How to find out the last execution time of the function module ?
      say for eg. I have executed a func. module at 1:39pm. How to retrieve this time  (1:39pm)
    2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
    How to capture the latest SAP database update b/w time intervals?
    3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
    Is it possible to run the program once again from 21st records ? All this will be running in background...
    Kindly clarify....
    Points will be rewarded
    Thanks in advance

    1.Use tcode STAT input as Tcode of Fm and execute .
    2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
    VBRk-Erdat "date ., u can check the time field also
    So now if u talk the date and time we can filter then display the records in intervals.
    3. with an error exeption how is my txt download finished .
    once exception is raised there will not be a download .
    regards,
    vijay

  • How to find out the Area Menu for a Report/ Table/Function Module

    Hi,
    Is there any procedure to find out the <b>"AREA MEANU"</b> for a Report/Table/Function Module...
    Or is there any Transaction code / Report is available to find out all the report for a particular "AREA MENU".
    Thank you for your quick response...
    Regards,
    Thiru
    <b></b>

    Hi,
    Check these below threads:
    user log in & log out time SAO
    How to find user log-out time ?
    Regards,
    Nitin

  • How to find out the GR Numbers for which IR has not been done

    Hi Sap Gurus,
    Can anybody tell me how to find out the G R Numbers for which Invoice Receipt has not been done. Any TC or ant standard process to find out.
    Thanks N Regards,
    Siddhartha

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

  • How to find out the infospoke name for an existing infoobject?

    Hi,
    Could any one pls tell me how to find out the existing infospoke name for an infoobject?
    i've tried with where used list but its not coming....can any one pls suggest
    Thanks,
    Suri

    Hi,
        Check in metadata repository for that infoObject.
    If you are still not able to identify, goto RSBO tx and press F4.
    You will get the list of Infospokes available.
    Go in each and chk from the General Tab, if the infoObject is available in the source system.
    Regards,
    Balaji V

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

  • How to find out import & export path for object migration between D Q & P?

    Hi guys!
    Is there a way, how to find out export and import path for object transport on XI?
    Thanx!
    Olian

    Hi,
    Have a look at these links.
    When we do an export of the IR or the ID Oblects, a typical path at which it gets exported in the XI Server is as follow:
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\export “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\export"
    Now in case you need to import the ".tpz" that you have.... You need to place it in the path mentioned below and u will be able to do import it from IR or ID...
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\import “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\import"
    File Level transport in sap xi
    Every SLD related transport details are explained here
    Regarding transport of SLD objects
    https://service.sap.com/~sapdownload/011000358700001684302005E/HowToSLDandXI.pdf
    Regarding transport of XI objects
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/content.htm
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar
    Message was edited by:
            Akshay Jamgaonkar

  • How to find out last month's 1st & last date

    could you please tell me how can I find out last month's 1st & last date?
    regards

    Here is one way:
    SQL> SELECT  ADD_MONTHS
      2          ( TRUNC(SYSDATE,'MONTH')
      3          , -1
      4          )                                    AS FIRST_OF_MONTH
      5  ,       TRUNC(SYSDATE,'MONTH') - 1           AS LAST_OF_MONTH
      6  FROM    DUAL
      7  /
    FIRST_OF_MONTH      LAST_OF_MONTH
    05/01/2010 00:00:00 05/31/2010 00:00:00

  • How to find out all the OKCODEs for a particular screen?

    I am working on t-code CL20N and trying to record with t-code SHDB, in the second screen when I press enter it is coming out, but when I run CL20N without SHDB it is going through all the screens perfectly, SHDB is not working for CL20N.
    Is there any other way to find out all the OKCODEs for a particular screen/s?

    Hi,
    First look for any push button or menu item which can take you to the second screen instead of hitting enter directly in tcode CL20N . If any such button exist in the TCode, u can use the same button in SHDB also for moving to the  second screen.
    Thanks,
    Rajinikanth G

  • How to find out the best settings for BDT

    Hi there.
    I am trying to predict a movie rating. I downloaded datasets from IMDb, prepared them. A tried all of the regression algorithms, but the best result is giving Boosted Decision Tree. Now I am dealing with the best settings in this algorithm.
    With default, running time was 69 seconds and the mean absolute error was 0.4844, which is quite much I think. So I tried to improve it by changing parameters of the BDT module. I tried to set Leaves per tree to 150 and than experimentaly find
    remaining parameters. I've come to Samples per leaf=12, Learning rate=0.04 and
    Number of trees=700. Running time was 78 seconds and mean absolute error was 0.4596.
    Input of the algorithm is joined matrix with 14 columns (11 features) and 67672 rows splitted into 70:30 (training:testing).
    Is there any way how to find out the best setting of Boosted Decision Tree?

    Yordan's suggestion is correct, though the documentation is a bit outdated.
    You can use the single parameter + sweeper mode or define your own custom ranges in the BDT module with the Parameter Range setting
    Regards,
    aK

Maybe you are looking for

  • Where can I get the driver for my HP DE8A4L external USB CD/DVD drive?

    Where can I get the driver for my HP DE8A4L external USB CD/DVD drive?  On the label it says, Model HSTNN-PD06-91 and HP PN: 518819-001 Rev.B I've had my Mini 110-1000 running our music system for a couple of years, no complaints.  When I wanted a CD

  • Problem with tiles ..VERY URGENT!

    I have a problem using tiles. I have a search page called search.jsp. It calls a searchResults.jsp page when user enters searchcriteria and clicks the search button. I want to have the results on the same page in the bottom part. I tried using Struts

  • Meaning of terms...

    OK, I'm considering getting an iPhone 3GS but am, admittedly, new to this device. After reading the posts on this site I've run across several terms that I'm not familiar with. Could anyone enlighten me on the meaning of the following terms? Differen

  • If I want to create a form...?

    Any tutorials on this? Should I build it in Flash and import? Are there lingo forms? Any advice plse. Cheers Joe .....BTW this is for a Director project that asks for at least one element of programming, I thought of a form but any other (easy) sugge

  • IMessage Activation Failing for Google Apps Hosted Email Addresses

    I'm having failuers when I try to add additional emails addresses to iMessage on iOS 7.0.4.  It appears that the failure has to do with email being hosted on non-primary systems.  example: [email protected]  verifies [email protected]  failes  MX rec