Table & Field's Created Date & Time details

Hi all
I have a table Name as Emp with Attributes as Empid,ename,esal
Now am getting Table Created Date from the view "user_objects"
But i want to know the Field's Created Data & Time by query?
Can any give a solution?
Thanks in advance..

Frank Kulash wrote:
Hi,
I don't believe Oracle automatically keeps that anywhere.Am also getting to know the DDL Performed time by the help of "dba_objects"
select to_char(created,'YYYYMMDD HH24:MI:SS'), to_char(LAST_DDL_TIME,'YYYYMMDD HH24:MI:SS') from dba_objects where object_name='Emp';
By the above query am getting that some field is changed, but am not getting exactly which field i.e Attribute got changed...

Similar Messages

  • Get Sale order created date & time

    Hello.
        Can anybody help me in finding the function module which takes sale order no. as input & gives me the order created date & time as output.
    Regards
    Devika.S

    In Table VBAK,  you can see both these fields
    1)  ERDAT:::::Created date
    2)  ERZET::::::Created time
    thanks
    G. Lakshmipathi

  • How to change the "content created" date/time in FCPX?

    Since I've had problems importing my whole iMovie event library into FCPX I decided to run some tests with importing individual files (part of iMovie events and originally imported from camera into iMovie). Some of them for some reason got the wrong "content created" date/time in them while in iMovie they have the right date/time set. Does anybody have an idea on how to change the "content created" timestamp?

    I had a bunch of DV files that imported stamped with the file modification date and time.  I did not find a way to change it in FCPX. With FCPX not running, I used A Better Finder Attributes to modify the creation and modification dates of the files in the event folder. FCPX reconnected to them but the event still showed the old range of dates so I created a new event and moved the clips to it. Maybe ther is a beter way but that is how I did it.

  • How to set table field mantatary in data dictinary?

    how to set the table field mantatary in data dictinary?
    exampl
    null value not allowed.

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19187532&messageID=2575276]

  • Is it possible to get the updated table records based on date & time.

    Is it possible to get the updated table records based on date & time in oracle.
    Thanks in advance.

    no, actually i am asking update records using 'UPDATE
    or DELETE' statement, but not insert statement.
    Is it possible?
    I think we can do using trigger on table, but problem
    is if i am having 20 tables means i have to write 20
    trigger. i don't want like this.Of course it's still possible, typically you'll find applications with a column LAST_UPDATE, probably a LAST_UPDATED_BY and so on column. You don't say what your business need is, if you just want a one of query of updates to particular records and have a recent version of Oracle, then flashback query may well help, if you want to record update timestamps you either have to modify the table, or write some code to store your updates in an audit table somewhere.
    Niall Litchfield
    http://www.orawin.info/

  • SP.ListItem.File.Versions (FileVersionCollection) has wrong Created date/time?

    I'm trying to use CSOM to get info about old versions of list items. But while I can retrieve the FileVersionCollection (File.Versions) fine, the only info it gives me for each version is the ID/Label/Created/CreatedBy/Url. It doesn't give me any other field
    values.
    I know I can get this info using lists.asmx/GetVersionCollection, but that API only returns the specified field value, Modified and ModifiedBy for each version.
    That would be OK if the Modified timestamp matched the Created timestamp returned in the FileVersionCollection, but it doesn't, and in fact, the Created field of FileVersion seems to be simply incorrect in many cases.  For instance, when I look at the
    version history page for one item I see:
    2.0  
     1/15/2015 4:35 PM   Edit 
     Administrator  < 1 KB   
    1.0  
     1/12/2015 4:30 PM   Edit 
     Administrator  < 1 KB  
    But File.Versions has:
    3.0  1/15/2015  5:33:49 AM
    2.0  1/12/2015 5:18:11 AM
    1.0  1/12/2015 5:18:11 AM
    Obviously the latter is in the UTC, but even converted to local time, the timestamps don't correspond at all. Nor do I understand why there are three entries (I assume 3.0 is the 'latest' version that the version history screen doesn't show, but it's reported
    'Created' date is before the date of version 2).
    GetVersionCollection in comparison returns:
    <Version Departments=";#Sales;#Development;#" Modified="2015-01-15T05:35:48Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    <Version Departments=";#Development;#Sales;#" Modified="2015-01-15T03:55:07Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    <Version Departments=";#Development;#Sales;#" Modified="2015-01-12T05:30:06Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    Where the 3rd entry would seem to be version 1.0 (512), and the first entry the latest version, but the middle entry has a completely different date that doesn't correspond to anything else!
    And yes I'm absolutely sure these are all for the same item.
    BTW if I specify "Created" as the field for GetVersionCollection, I just get the same Created date for all 3:
    1/12/2015 5:15:48 AM - a completely new date that doesn't correspond to anything else at all!
    For kicks I just tried it with the "Version" field, and now I get:
    <Version Version="4.0" Modified="2015-01-15T05:35:48Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    <Version Version="3.0" Modified="2015-01-15T05:33:49Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    <Version Version="2.0" Modified="2015-01-15T03:55:07Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    <Version Version="1.0" Modified="2015-01-12T05:30:06Z" Editor="1;#Administrator,#i:0#.w|sp2013dev\administrator,#,#,#Administrator" />
    Well I suppose technically that now gives me enough info to locate the right version, but talk about convoluted...then I still have to figure out how to parse the field value (which in this case is a multi-choice field, but I need to support all field types).

    Hi,
    Please check the code as below, it working fine in my test environment.
    public DataTable GetDoucmentHistory(string listName, int id)
    using (ClientContext ctx = GetClientContext())
    var file = ctx.Web.Lists.GetByTitle(listName).GetItemById(id).File;
    var versions = file.Versions;
    ctx.Load(file);
    ctx.Load(versions);
    ctx.Load(versions, vs => vs.Include(v => v.CreatedBy));
    ctx.ExecuteQuery();
    var ds = CreatHistoryDataSet();
    foreach (FileVersion fileVersion in versions)
    var row = ds.Tables[0].NewRow();
    row["CreatedBy"] = fileVersion.CreatedBy.Title;
    row["Comments"] = fileVersion.CheckInComment;
    fileVersion.Created.ToUniversalTime();
    row["Created"] = fileVersion.Created.AddHours(-8).ToShortDateString() + " " +
    fileVersion.Created.AddHours(-8).ToShortTimeString();
    row["Title"] = file.Title;
    row["VersionLabel"] = fileVersion.VersionLabel;
    row["IsCurrentVersion"] = fileVersion.IsCurrentVersion;
    ds.Tables[0].Rows.Add(row);
    DataView view = ds.Tables[0].DefaultView;
    view.Sort = "VersionLabel DESC";
    DataTable sortedTable = view.ToTable();
    return sortedTable;
    private static System.Data.DataSet CreatHistoryDataSet()
    DataSet ds = new DataSet();
    DataTable table = new DataTable();
    table.Columns.Add("Title");
    table.Columns.Add("Created");
    table.Columns.Add("CreatedBy");
    table.Columns.Add("EncodedAbsUrl");
    table.Columns.Add("VersionLabel");
    table.Columns.Add("Comments");
    table.Columns.Add("IsCurrentVersion");
    ds.Tables.Add(table);
    return ds;
    To get all versions of version field you just need to call GetVersionCollection method on version field by passing it's internal name
    _UIVersionString
    Simple code snippet:
    ListProxy.Lists lists = new Lists();
    lists.UseDefaultCredentials = true;
    XmlNode versions = lists.GetVersionCollection("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx}",
    "n", "_UIVersionString");
    foreach(XmlNode version in versions.ChildNodes)
    Console.WriteLine(version.Attributes["_UIVersionString"].Value);
    More information is here:
    http://sharepoint.stackexchange.com/questions/27346/how-to-programmatically-retrieve-item-version-history-from-client
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Dennis Guo
    TechNet Community Support

  • IPhoto: Retain modified date&time details when re-importing

    Instead of having all my photos in just one iPhoto library, I am now moving out photos into separate iPhoto libraries to better manage my photos:
    ... Export photos from existing/old library
    ... Re-import photos into newly-created library
    Some of my existing photos have modified date & time (result of not checking camera clock after a service!)
    Is there a way to retain these modified details when exporting photos from the OLD library and re-importing them into the NEW library?
    I am really hoping not to re-edit the photo attributes
    Thanks in advance
    Message was edited by: auroranight

    I am using iPhoto 6.0.6 I do not know of any option "modify original photo". Other than 'batch change' there is no option.
    You are posting in the iPhoto '08 forum and will get iPhoto '08 answers here - if you want iPhoto 6 answers it is best to post in the iPhoto 6 forum
    I xferred the pics from my camera to a new folder on my desktop. The times are all correct in that folder.
    Again - how are you seeing that the time is correct? iPhoto looks at the EXIF data and the finder looks at the file data - how are you seeing the EXIF data on the desktop? EXIF viewer - http://homepage.mac.com/aozer/EV/index.html - is a useful utility to have to see the EXIF data
    You can create a fresh plist - that might be the issue but I doubt it - quit iPhoto and in the finder to to "your username" ==> library ==> preferences ==> com.apple.iPhoto.plist and delete it - launch iPhoto and reset any personal user preferences you have changed and if you have moved the location of the iPhoto library repoint iPhoto to it
    LN

  • How to check which Table & Field is populating Data source

    Hi,
    My requirment is to check from which Table and Which field the data is extracted in the data source
    Data Source : 0MAT_PLANT_ATTR
    Field in Data Source :  MINBE
    Now i want to check from where (Table/Field) in R/3 is populating the Field MINBE in Data source 0MAT_PLANT_ATTR
    How can i do that

    Hi,
    Since you have the extract structure and the extractor, you can try Extractor Checker RSA3.Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
    switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to retrieve data and present it to you.
    Note: Set the break point in the Extractor Function module.
    View the ST05 Extended Trace list. The Object name shows the Tables accessed.
    Hope this helps.
    Thanks,
    JituK

  • Finder and wrong Created dates/times

    I've noticed this glitch in Tiger and Snow Leopard, and it has remained in Lion.  When I have a Finder window open (whether in List or Column view), I notice that a number of files show the Created date and time as 12-31-69 5:00 PM.  Even if I check the file info (Command-I), I get the same results.  Yet when I import a photo file with such a date/time into say Aperture or Lightroom, for example, the original created date is proper, which tells me that my Mac isn't corrupting this information, it's just not rendering it properly in Finder.
    Anyone else having this problem with Finder?  More importantly, does anybody know if there is a fix for this?

    Copying files from a backup should not alter the created/modified dates, I just tested that.
    Why don't you try a TM restore on one of the files and see if it works.

  • How to populate internal table field with text data?

    Hello Experts,
    I was able to load text file to a internal table but data is not populating each field. Can someone help me how to populate each field of internal table from text file?
    Here is the text file:
    io_name, io_type, io_txsht, io_txlng, io_datatype, io_length
    ZEA_IO1, CHA, IO Test,     IO Test 1, CHAR,       20
    ZEA_IO2, CHA, IO Test,     IO Test 2, CHAR,       20
    Here is the Code:
    *& Report  ZAS_BAPI_TEST                                               *
    *& InfoObject Creation through BAPI.
    *& Read the Text file, call a BAPI to create InfoObjects.              *
    *& Text file will hold the Info Object Structure. Text file will be    *
    *& located either work station or local PC.
    *& Step 1. Create internal table to hold InfoObject structure          *
    *& Step 2. Retrieve/Load text file into Internal Table structure       *
    *& Step 3. Call BAPI Function to Create IO                             *
    *& Step 4. Call BAPI Function to Activate IO                           *
    REPORT  ZAS_BAPI_TEST                           .
    Make data separator a comma
    CONSTANTS: gc_tab TYPE c VALUE ','.
          Declaring Internal table for creating InfoObject
    DATA: p_file TYPE string.
    DATA: BEGIN OF itab-bapi OCCURS 0,
            io_name like BAPI6108-infoobject,
            io_type like BAPI6108-type,
            io_txsht like BAPI6108-textshort,
            io_txlng like BAPI6108-textlong,
            io_datatype like BAPI6108-datatp,
            io_length like BAPI6108-intlen,
          END OF itab-bapi.
    DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
    PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
          PUT THE TEXT FILE PATH TO P_FILE
    p_file = sel_file.
         Copy the file from the workstation to the server        ****
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = p_file
                   FILETYPE                = 'ASC'
                   HAS_FIELD_SEPARATOR     = SPACE
                   HEADER_LENGTH           = 0
                   DAT_MODE                = SPACE
                   CODEPAGE                = SPACE
                   IGNORE_CERR             = ABAP_TRUE
                   REPLACEMENT             = '#'
                   READ_BY_LINE            = 'X'
                 IMPORTING
                   FILELENGTH              =
                   HEADER                  =
      TABLES
        data_tab                = itab-bapi[]
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        not_supported_by_gui    = 17
        error_no_gui            = 18
        OTHERS                  = 19.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
      &1 &2 issued return code &3
       ELSE.
         pit_data[] = lit_data[].
       ENDIF.
    ENDIF.
    loop at itab-bapi.
      write: /5 itab-bapi-io_name,
               20 itab-bapi-io_type,
               30 itab-bapi-io_txsht,
               50 itab-bapi-io_txlng,
               75 itab-bapi-io_datatype,
               85 itab-bapi-io_length.
    endloop.
          SELECT THE LOCATION FOR TEXT FILE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ''
          def_path         = 'C:\'
          mask             = ',Documentos de texto (*.txt), *.txt.'
          mode             = ''
        IMPORTING
          filename         = p_file
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      find '.txt' IN p_file.
      if sy-subrc <> 0.
        concatenate p_file '.txt' into sel_file.
      else.
        sel_file = p_file.
      endif.
          Create InfoObject through BAPI Function
    *CALL FUNCTION 'BAPI_IOBJ_CREATE'.
    *IMPORTING
        VALUE(DETAILS) LIKE  BAPI6108 STRUCTURE  BAPI6108
    *EXPORTING
        VALUE(INFOOBJECT) LIKE  BAPI6108-INFOOBJECT
        VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    TABLES
         COMPOUNDS STRUCTURE  BAPI6108CM OPTIONAL
         ATTRIBUTES STRUCTURE  BAPI6108AT OPTIONAL
         NAVIGATIONATTRIBUTES STRUCTURE  BAPI6108AN OPTIONAL
         ATRNAVINFOPROVIDER STRUCTURE  BAPI6108NP OPTIONAL
         HIERARCHYCHARACTERISTICS STRUCTURE  BAPI6108HC OPTIONAL
         ELIMINATION STRUCTURE  BAPI6108IE OPTIONAL
         RETURNTABLE STRUCTURE  BAPIRET2 OPTIONAL
          Activate InfoObject through BAPI Function
    CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
    *ENDFORM.                    " RETRIEVE_DATASET
    I appreciate your help.
    Regards,
    Mau

    I have used tab delimited file.
    Here are file contents
    io_name     io_type     io_txsht     io_txlng     io_datatype     io_length
    ZEA_IO1     CHA     IO Test     IO Test 1     CHAR     20
    ZEA_IO2     CHA     IO Test     IO Test 2     CHAR     20
    And here is program used
    *& Report ZAS_BAPI_TEST *
    *& InfoObject Creation through BAPI.
    *& Read the Text file, call a BAPI to create InfoObjects. *
    *& Text file will hold the Info Object Structure. Text file will be *
    *& located either work station or local PC.
    *& Step 1. Create internal table to hold InfoObject structure *
    *& Step 2. Retrieve/Load text file into Internal Table structure *
    *& Step 3. Call BAPI Function to Create IO *
    *& Step 4. Call BAPI Function to Activate IO *
    REPORT ZAS_BAPI_TEST .
    Make data separator a comma
    CONSTANTS: gc_tab TYPE c VALUE ','.
    Declaring Internal table for creating InfoObject
    DATA: p_file TYPE string.
    DATA: BEGIN OF itab-bapi OCCURS 0,
    io_name like BAPI6108-infoobject,
    io_type like BAPI6108-type,
    io_txsht like BAPI6108-textshort,
    io_txlng like BAPI6108-textlong,
    io_datatype like BAPI6108-datatp,
    io_length like BAPI6108-intlen,
    END OF itab-bapi.
    DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
    PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
    PUT THE TEXT FILE PATH TO P_FILE
    p_file = sel_file.
    Copy the file from the workstation to the server ****
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = p_file
    <b>FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'</b>
    TABLES
    data_tab = itab-bapi[]
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    not_supported_by_gui = 17
    error_no_gui = 18
    OTHERS = 19.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
    &1 &2 issued return code &3
    ELSE.
    pit_data[] = lit_data[].
    ENDIF.
    ENDIF.
    loop at itab-bapi.
    write: /5 itab-bapi-io_name,
    20 itab-bapi-io_type,
    30 itab-bapi-io_txsht,
    50 itab-bapi-io_txlng,
    75 itab-bapi-io_datatype,
    85 itab-bapi-io_length.
    endloop.
    SELECT THE LOCATION FOR TEXT FILE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ''
    def_path = 'C:\'
    mask = ',Documentos de texto (*.txt), *.txt.'
    mode = ''
    IMPORTING
    filename = p_file
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    find '.txt' IN p_file.
    if sy-subrc <> 0.
    concatenate p_file '.txt' into sel_file.
    else.
    sel_file = p_file.
    endif.
    Create InfoObject through BAPI Function
    *CALL FUNCTION 'BAPI_IOBJ_CREATE'.
    *IMPORTING
    VALUE(DETAILS) LIKE BAPI6108 STRUCTURE BAPI6108
    *EXPORTING
    VALUE(INFOOBJECT) LIKE BAPI6108-INFOOBJECT
    VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
    TABLES
    COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
    ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
    NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
    ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
    HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
    ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
    RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
    Activate InfoObject through BAPI Function
    CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
    *ENDFORM. " RETRIEVE_DATASET
    This program is working fine. You can test it.
    Only problem is as the column headings are big for some columns, they are getting truncated which you can always change by changing the column width in declaration
    Please let me know if this helps.
    ashish

  • For custom tables should we use UTC for date/time fields

    A general question.
    Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
    We're building custom tables and we're making it a standard to store date/time fields in UTC format.
    Regards,
    Lavaughn

    Hello Lavaughn,
    I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
    Best Regards
    Klaus

  • To know the actual date & time for created versions in cprojects

    HI ABAPers,
    Am working on cproject version 3.1,  wanted to know where the  exact date & time  is getting captured when a version i.e
    con H & base  versions is created in cprojects ( collaboration projects ).
        Already i have checked in  dpr_project table where versions are getting stored with the same project created date & time. But not with the actual date & time when the versions were created. 
    is there any BAPI or table where we can know the actual date & time of the created versions.
    Thank you!!!
    Abdul

    Hi,
    According to your post, my understanding is that you want to change date format for ‘Created’ field in the getVersions web service.
    Per my knowledge, you can get the date format for ‘Created’ field as “MM/dd/yyyy HH:mm a”.
    For more information, you can refer to:
    Versions.GetVersions Method (Versions)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • In table maintance to save date and time.

    Hi,
    I am trying to write a code in table maintenance for updating date, time and user id.
    I have created a z include and written a below code which i got from help document. Thid code i have implemented in maintenance event 01. When i checked the code system is showing declare total. Where shall i declare this. Is this code is correct.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Please any one suggest on this.
    Thanks in advance,
    Ravi

    Hi Ravi,
    Can you go to SE80 and check the function group you have provided while creating the table maintainance generator.
    See at the top include what the name SAP has generated for the  internal table .
    I think if you get the name of the internal table name you can do the manipulation.

  • Problem with Date/Time field in Adobe LiveCycle

    I am trying to create a form that has a check-in and check-out dates. I want the user to enter those dates and then have the form automatically compute how many nights the user intends on staying.
    I have two fields, CHECKIN and CHECKOUT, set up as text fields. My third field, NIGHTS, has the following script to do the calculation:
    var strStart = CHECKIN.rawValue
    var strEnd = CHECKOUT.rawValue
    if(strStart.length && strEnd.length)
    var dateStart = util.scand("mmm d, yyyy",strStart);
    var dateEnd = util.scand("mmm d, yyyy",strEnd);
    var diff = dateEnd.getTime() - dateStart.getTime();
    var oneDay = 24 * 60 * 60 * 1000;
    var days = Math.floor(diff/oneDay);
    this.rawValue = days;
    else
    this.rawValue = 0;
    NOW...this is fine if the user inputs a four-digit year. If not, it's trouble. SO, what I want to do is change the CHECKIN and CHECKOUT fields to the date/time field so they select the date off the pop-up calendar.
    When I make the changes, I can't get the script to work for the NIGHTS field.
    CAN ANYONE HELP THIS NEWBIE?

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • How not to insert a Date/Time field on INSERT

    hi all, i have a MSAccess table which has a lot of fields one of which is a date/time field......
    when i run the SQL code to insert values into this table i want the date/time field to be left blank.....
    i have tried to insert a blank space using '' but it shows the error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    does anyone know how i can overcome this problem.....?

    that worked thanks a lot,
    the values are inserted into the database now but i still get an error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    but the values are inserted....a bit confused about that any reason why that would happen?

Maybe you are looking for