How to get the last update time for a table ?

I want to know the last change of the table data , for example, a record has been changed, how can i get that time?
Regards,
Lament

Hello
check the tables CDHDR & CDPOS
But the condition when u r checking the these table.for a particular field the at data element level- futhur charactestictab level we have one check box called change document it as tick
Thank u,
santhosh

Similar Messages

  • How to get the last modified time for directory?

    Hi,
    I have to accomplish this.
    A folder c:\myfolder can literally contain anything files.. sub directories, fiels in sub directories.
    I have a thread monitoring c:\myfolder, basically people can dump files in any order into that directory and I have to trigger something when there is no activity on c:\myfolder for 10 secs.
    I tried lastModified() with File("c:\myfolder") but that seems to be working only if there is some change on root level of c:\myfolder, for eg if I have a sub folder c:\myfolder\subfolder and I copy some file into c:\myfolder\subfolder, then the lastModified() doesnt seem to be updatiing on the mail folder "c:\myfolder"
    Is there a way I can handle this situation?
    Any suggession is appreciated.
    Thanks in advance.

    I was looking to accomplish this using simple java
    code without any 3rd party involvment.Then you will have to monitor all the directories that people might dump files into. You can't expect Java to automatically deal with things that the operating system doesn't support just because those things happen to be your requirements.

  • How to get the last modifed time for table & its constraints

    Hi All,
    I have table. I want to know when it is modified last. Actually few constraints are added to the table. I want to find out when the constraints are added to the Table.
    I am using Oracle 9. Could you help me out plz.
    Regardds
    Ashish Mishra

    Check LAST_DDL_TIME from USER_OBJECTS, and LAST_CHANGE from USER_CONSTRAINTS.

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • How to get the latest update time of a info provider in ABAP

    hi experts,
    i am doing a ABAP program and need to get the latest update time of a info provider , does anyone know where it stores in BW or any other way to get it?
    many thanks
    WHY

    Table : RSREQDONE
    you can give INFOPAK_ID as parameter and search for latest/last Request ID and dispaly time and Date.
    Cheers
    Praveen

  • Sql statement for retrieving the last update time of a table

    Hello all,
    Can somebody give me an example of sql statement for retrieving the last update time of an oracle table.
    Thank you
    Il

    Thanks for the fast replies. It works great when I test it as a sql statement but when trying to populate a datalist with it it raises the following exception:
    Exception Details: System.ArgumentException: SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN is neither a DataColumn nor a DataRelation for table DefaultView
    Part of the Datalist Code:
    ItemTemplate>
    Line 12:             SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN)):
    Line 13:             <asp:Label ID="SCN_TO_TIMESTAMP_MAX_ORA_ROWSCN__Label" runat="server" Text='<%# Eval("[SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))]") %>'>
    Line 14:             </asp:Label><br/>
    Line 15:             <br/>
    {code}
    Why is this happening? Any ideas?
    Il                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get the last inserted record from a table ?

    :-) Hiee E'body
    I work on Oracle 8i and need to get the last
    record inserted in a table.
    I have tried using rownum and rowid pseudo-columns
    but that doesn't work.
    Can you please help me out ?
    :-) Have a nice time
    Vivek Kapoor.
    IT, Atul Ltd.,
    India.

    I'm not sure about 8i features.
    I assume here that you don't have 'Date-Time' stamp columns on the table which is the easiest way to determine the last inserted row in the table.
    If not try the following :-
    select address, piece, SQL_TEXT
    from V$SQLTEXT
    where upper(sql_text) like '%INSERT INTO TABLE_NAME%'
    Substiute the TABLE_NAME with the name of the actual table.
    Have fun.
    Regards,
    Shailender
    :-) Hiee E'body
    I work on Oracle 8i and need to get the last
    record inserted in a table.
    I have tried using rownum and rowid pseudo-columns
    but that doesn't work.
    Can you please help me out ?
    :-) Have a nice time
    Vivek Kapoor.
    IT, Atul Ltd.,
    India.

  • How to get the last record of an internall table ....

    Hi All..
    i want to get the last record of an internal table itab, and i want the the value of the last record.

    Hi,
         Use describe statment.
    data: lv_line type i.
        Describe table itab lines lv_line.
        read table itab into wa_itab index lv_line.
    regards,
    Santosh Thorat

  • 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 get the last update date

    Hi Everyone,
    I need to insert into a table the name of the package and date of the last updated version of the execution.
    I was thinking in inserting from procedure into a table, the ID and system date into a table.
    But I would like to know if there is another way, or better way of doing this.
    I do appreciate your help and guidance.
    Best regards.
    J_ORCL
    Edited by: J_ORCL on Apr 23, 2012 9:16 AM

    Hey Atdi,
    Thank you so much for your guidance and help.
    What i do need is the following:
    Once I am inserting/passing some data into a table from an excel file/Database to an Oracle Table in my environment, I do need now to get a record of the last update that has been inserted. And after that I will have to show that date on my screen, but that is something else.
    So i have thought of inserting it with a store procedure over a new table that i will have to create or if ODI stores this information somewhere it will be really useful for me to retrieve from there.
    In some cases I am passing data from one table to other using store procedures, because there is no link between them, but as this is a new scenario, which is why I am asking if ODI already does this for us, or if I will have to implement it myself.
    Hope to be a bit clearer with this explanation.
    Please do not hesitate to contact me if any further detail is required.
    Best regards.
    J_ORCL

  • How to get the date n time for log in ODI

    Hi,
    I wanna ask, what is the syntax for getting the date n time when i specify the location of log for Interface. Thanks.

    I quite do not get what you are trying to achieve here.
    - In a mapping, use the DBMS engine sysdate command.
    - In a variable, you can refresh the variable value using a "select sysdate from dual" type of query.
    - You can also use the appropriate odiref substitution method to get a date. For example:
    Current year is: :<%=odiRef.getSysDate("y")%>
    Hope this helps.
    -FX

  • How to get the last row of a database table.

    HI ,
    I want to get record exactly from the last row of a database table.
    How is that possible?

    Hi,
    To fetch last record from an internal table, just do find the number of records in it and read using index.
    DESCRIBE TABLE ITAB LINES L_LINES.
    READ TABLE ITAB INDEX L_LINES.
    You can also use LOOP .. ENDLOOP but the above method is better (performance wise).
    using LOOP .. ENDLOOP.
    LOOP AT ITAB.
    **do nothing
    ENDLOOP.
    **process ITAB (Header record of ITAB).
    **after ENLOOP, ITAB will have the last record of the internal table.
    [here ITAB is internal table as well as header record.]
    But what is the requirement?
    If you are looking for the current record of an employee then you can use ENDDA = HIGH_DATE.
    My advice is to review your requirement again and try to fetch only that record which you need.
    Mubeen

  • How to get the last seven days for out put of present day

    Hi Experts,
    we developed one query for 3 years data
    1.user enter the current date (21-03-2014) but out put value should be last seven days (21-03-2014 - 7) (last one week data only)
    2.some times user will enter the (20-03-2014 ) but out put value should be last seven days (20-03-2014 - 7) (last one week data only)
    how to achieve the 2 different scenario?
    is there any standard variable ? please suggest .
    Thanks,
    Bindu.

    Hi,
    i created the Characteristic value variable not formula variable
    in char variable i can't see the off set functionality but we can see off set function in formula variable
    user requirement he wants enter the input value as date and he need last week data means one week data calday wise.
    i tired the 0PREVWK , 0CWEEK these two variables these not asking the input and direct showing the out put.
    these can achieve through the customer exit?
    Thanks,
    Bindu.

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Installation problem on CS4 Master Collection

    WHen I attempt to install CS4 master collection on Vista Ultimate X64 While the installer is "checking system profile" the next window shows "Loading Setup" I then get a System Check error page. The window label is "Adobe Creative Suite 4 Master Coll

  • IMac Very Slow  and crashy recently.

    I am no longer able to run apple mail, safari, or iTunes without a freeze or crash. I fixed disk permissions, but it didn't help.

  • Issue with Proportional Spreading Script. Please help !

    Hello, I have a requirement where I need to write a spreading script for a data form. On this form user will enter data at a parent level and what the script needs to do is spread the parent level input value to the 0 level members proportinally base

  • How do make sure a trojan how be 100% remove from my Macbook pro?

    3 days a go my Kaspersky security had found a two trojans on my Macbook pro I use Kaspersky security on my system. I all so put up a screenshot from my Kaspersky reports to show you guys where the two trojans where found on my system. But I still bel

  • PRINT IN BLACK ONLY OFFICEJET 4622

    how do i get my officejet 4622 to print only w/black ink on a mac? thanks.