Date Field Import - Which format

Hello,
I have a date field on a table in application express. An example of the data that is exported for the date field is: '2008-09-26T10:00:00'. I want to import this data and I do not know what format this is. Any suggestions are greatly appreciated. Thanks!
Sharon

Hello Scott,
>> I learned something new today
Good for you. I’m trying to learn something new every day, and this forum helps me a lot with that. That’s one of the perks in our line of work.
Regards,
Arie.
Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

Similar Messages

  • Problem Querying Oracle Forms Using a Date Field and a Format Mask

    Hello,
    We are experiencing a problem with Oracle Forms that I was wondering if you can help me with.
    We have several Forms that have single database blocks assigned to Oracle tables. The Forms are queryable and one of the fields we’re querying on is assigned to a field on the base table which is Not Null and has a Type of DATE. We are storing date/time information in this field on the database table. The item on the form is set up as a Date field with a Maximum Length of 7, a Format Mask ‘MMDDYY’ and having a Query Length of 10.
    We’ve seen a discrepancy in how these fields are used to query the base table block. On some user’s computers they are able to enter a 6 digit date followed by the % sign (e.g. ‘091808%’) and they get the expected results. Other users get ‘FRM-40301: Query caused no records to be retrieved. Re-enter’. Do you know why we are experiencing this difference?
    - The Oracle Database version we are running is Release 10.1.0.5.0.
    - The Forms Developer version that we’re experiencing the problem with is 4.5.10.15.2
    Thanks,
    Kris

    There is no obvious reason that I can see.
    Version 4.5 is very old so you might have problems calling Oracle Support. If you can reproduce the same problem o0n 10.1.2 you should call have them analyze the problem.

  • How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)

    Hello.
    How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)
    I have text field which has a databind to a date field. When I click on it, we can select the date, it is added on the format (dd,mm,yyyy). When I want to insert this date field to a database It doesnu2019t allow me to do it because it will only accept date field on the format (mm,dd,yyyy)
    I tried to store this format on a date variable and I get a message saying that is impossible to convert a string into a date.
    Regards,
    Jose

    Hi Jose,
    usually you format strings in c# like
    string.Format("{0:yyyyMMdd}", insertyourstring);
    in your case
    string.Format("{0:MM/dd/yyyy}", insertyourstring);
    [look here|http://idunno.org/archive/2004/14/01/122.aspx]
    there are more details
    if everything fails split the string with Mid()
    or ask me
    lg David

  • DTW Date Field Format

    Hi,
    I'm trying to import some UDF information into Business Partners, but one of my UDFs is set up as a Date field. What format of date shoul be in the import file becasue DD/MM/YYYY doesnt import so I tried YYYY/MM/DD and this doesnt work either.
    Thank you x

    Hi,
    Check this thread.
    Re: defining date possible while doing DTW import to Goods Receipt
    regards,
    Fidel

  • F4 help on date field on screen

    Hi ,
    I created a screen using dialog programming . I have a date field there which is defined as
    zscreenfield-zdate.
    The format for this field in Element list is DATS .
    How do i get a drop down on the date field on the screen .
    Please advise
    Thanks !
    Edited by: Hari  G  Krishna on Mar 5, 2008 4:20 PM

    Hi there,
    In your custom table, for  the date field use the dataelement "STRMN",, that should automatically gives you the search help for the date.
    let me know if you have further queries,
    <REMOVED BY MODERATOR>
    Thanks-
    Rahul
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:32 PM

  • F4 help for date field on screen painter

    Hi ,
    I created a screen using dialog programming . I have a date field there which is defined as
    itab-date.
    The format for this field in Element list is DATS .
    How do i get a drop down on the date field on the screen .
    Please advise
    Thanks !

    In Report u have to add,
    TYPES: BEGIN OF TY_F4HELP,                  
              ENAME  TYPE PA0001-ENAME,
              PERNR  TYPE PA0001-PERNR,
           END OF TY_F4HELP.
    Data:   IT_F4HELP TYPE STANDARD TABLE OF TY_F4HELP WITH HEADER LINE.
    *Begin of add F4 in Parameter field Ename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_ENAME.
      DATA: IT_RETURN_TAB TYPE ddshretval OCCURS 0 WITH HEADER LINE . " Return table for F4 help
      SELECT DISTINCT ename pernr
        FROM PA0001
        INTO TABLE IT_F4HELP.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'ENAME'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = IT_F4HELP
          RETURN_TAB      = it_return_tab
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
      READ TABLE it_return_tab INDEX 1.
      IF SY-SUBRC <> 0.
      ENDIF.
      IF sy-subrc = 0.
        MOVE it_return_tab-fieldval TO P_ename.
      ENDIF.
      CLEAR: it_return_tab.
    *End of add F4 in Parameter field Ename.

  • How to replace blank values in DATE field with 00000000

    Hi
    I have a DSO with Date field in which there are blank values. I want to replace the blank values in the DSO for date field with 00000000. Because of this blank values in the DSO the report is giving an ORA error.
    How do we replace the blank values in the DSO for historical data and also the new loads?
    Please advise.
    Thank you.
    Regards,
    Pavan.

    Hi Suman,
    I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
    This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
    Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
    But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
    Can anyone suggest on how to remove these "#" values in the report?

  • Name_in(date field) is converted in which format

    using name_in with a date parameter is automatically converted to dd-mon-yyyy character format. How to change this returning format?

    Can you please give us some more information . I mean elaborate your question
    using name_in with a date parameter is automatically converted to dd-mon-yyyy character format. How to change this returning format?
    in my library
    IF par_param_block IS NOT NULL THEN
    GO_BLOCK(par_param_block);
    ls_first_item := par_param_block||'.'||NAME_IN('system.current_item');
    ls_current_item := NAME_IN('system.current_item');
    --Dynamically get parameters from PARAM block (from forms)
    --pass on ITEM NAME / ITEM VALUE in (From the PARAM block into  the sy_print form - as parameters !!!!)
    i := 0;
    LOOP
    IF GET_ITEM_PROPERTY(par_param_block||'.'||ls_current_item, ITEM_TYPE) IN ('LIST', 'TEXT ITEM', 'RADIO GROUP', 'CHECKBOX') THEN
    i := i + 1;
    ADD_PARAMETER(pck_report_pl, 'PL'||i, TEXT_PARAMETER, ls_current_item);
    ADD_PARAMETER(pck_report_pl, 'PV'||i, TEXT_PARAMETER ,
    NAME_IN(par_param_block||'.'||ls_current_item));
    --- for date fields the name_in returns the date in this format dd-mon-yyyy ----
    END IF;
    NEXT_ITEM;
    ls_current_item := NAME_IN('system.current_item');
    EXIT WHEN ls_first_item = par_param_block||'.'||ls_current_item;
    END LOOP;

  • How to display date field in ALV in format 'YYYY-MM-DD'?

    Hi experts,
    I am not getting displayed the date field in ALV in the format 'YYYY-MM-DD' if it is different than my user setting's format (DD.MM.YYYY).
    Tried with the edit mask
    LVC_S_FCAT-EDIT_MASK = '____-__-__'  but it does not work.
    I could not find the conversion routine for this. Is it possible to write customer conversion routine?
    I have to use DATE field, otherwise if I display this format in CHAR10 field , sorting in ALV does not work for this field.
    PLEASE ANY HELP!
    Kind regards,
    Danijela

    Hi,
    Use FM FORMAT_DATE_4_OUTPUT.
    TYPE-POOLS : slis, KKBLO.
    TYPES: BEGIN OF t_data,
           sel     TYPE char1,
           matnr   TYPE matnr,
           bldat   type char10,
           END OF t_data.
    DATA: it_tab TYPE STANDARD TABLE OF t_data,
          it_fcat TYPE slis_t_fieldcat_alv.
    DATA: wa_tab TYPE t_data,
          wa_fcat TYPE slis_fieldcat_alv,
          wa_layout type SLIS_LAYOUT_ALV.
    data: lv_repid    TYPE syrepid.
    data : lv_date    type NLEI-IBGDT,
           lv_outdate type RN1DATUM-DATEX,
           lv_format  type RN1DATUM-FORMAT value 'YYYY-MM-DD'.
    lv_repid = sy-repid.
    lv_date = sy-datum.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000001'.
    APPEND wa_tab TO it_tab.
    lv_date = sy-datum + 1.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000002'.
    APPEND wa_tab TO it_tab.
    lv_date = sy-datum + 2.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000003'.
    APPEND wa_tab TO it_tab.
    wa_fcat-fieldname = 'SEL'.
    wa_fcat-ref_fieldname = 'XCHPF'.
    wa_fcat-ref_tabname = 'MARA'.
    wa_fcat-edit = 'X'.
    wa_fcat-checkbox = 'X'.
    APPEND  wa_fcat TO  it_fcat.
    CLEAR :  wa_fcat.
    wa_fcat-fieldname = 'MATNR'.
    wa_fcat-ref_fieldname = 'MATNR'.
    wa_fcat-ref_tabname = 'MARA'.
    APPEND  wa_fcat TO  it_fcat.
    CLEAR :  wa_fcat.
    wa_fcat-fieldname = 'BLDAT'.
    wa_fcat-ref_fieldname = 'BLDAT'.
    wa_fcat-ref_tabname = 'BKPF'.
    APPEND  wa_fcat TO  it_fcat.
    call 'REUSE_ALV_GRID_DISPLAY'' after this
    Edited by: Ankur Parab on Oct 1, 2009 2:50 PM
    Edited by: Ankur Parab on Oct 1, 2009 2:51 PM

  • Formatted Search for Delivery Date field in SO not working

    Hi All
    Can anyone help me as to why my formatted search is not working?
    I am currently using SAP B1A SP01 Patch 19.
    I have created a user query as follows:
    SELECT $ [$10.0.DATE] + 5
    When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
    Any ideas?
    Thanks and best wishes
    Gail

    HI Gail,
    If I am not mistaken you want to add days to the posting date...if that is so then try this out:
    SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
    Set The indicator to Auto Refresh when the fields change
    Nagesh

  • Format of Date field is loading wrongly in the Infocube 0pp_c01.

    Hi,
    Format of Date field is loading wrongly in the Infocube 0pp_c01. But it is loading properly into PSA.
    I am loading data into PP infocubes from the following DataSources.(they all are 3.x datasources)
    1. 2LIS_04_P_MATNR
    2. 2LIS_04_P_ARBPL
    3. 2LIS_04_P_COMP
    The data is coming properly upto PSA.  For example Actual Start date is loaded in cube like 733.884.
    And, it is the same issue with all the cubes. So I checked the update rules. But, in it the mapping is done properly.
    Thanks $ Regards
    Shyne Sasimohanan
    +91-9632674245

    Hi,
    HEre also value is loaded correctly. The reason u are seeing it in this format is because it is mapped into a key figure in the info cube.
    It will store the value as number of days from a standard date like 1/1/1000 or 1/1/1900 - not sure which one of these, u should be able to search and find the correct date in the forums..but this is the logic behind it
    Hope it helps.
    Regards,
    Rathy

  • Error when saving a default format for a date field in 11g

    Getting this error when attempting to save the default for a date field in 11g:
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/savedformat/v1.1"><sawsavedformat:columnSavedFormats><sawsavedformat:columnSavedFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawsavedformat:regularColumnSavedFormat" columnName="&quot;Retrospectives&quot;.&quot;Time Dim&quot;.&quot;Two Months Ago&quot;"><saw:displayFormat><saw:formatSpec suppress="suppress" wrapText="true" visibility="visible" hAlign="left" vAlign="top"><saw:dataFormat xsi:type="saw:custom" customFormat="MMMM dd, yyyy" displayTimeZone=""/></saw:formatSpec></saw:displayFormat><saw:tableHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:tableHeading><saw:columnHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:columnHeading></sawsavedformat:columnSavedFormat></sawsavedformat:columnSavedFormats></sawsavedformat:metadata>
    Line:2, Col:608, Attribute 'displayTimeZone' is not declared for element 'dataFormat'
    Thoughts and suggestions?

    I have a Support Request open with Oracle right now (it's taking a few weeks to resolve) but here's the update:
    OBIEE 10g handles DATE types differently than 11g. Both the support rep and I can't figure out how, but they are different. If you bring the column in as a DATETIME in your Physical Layer you can't save it system-wide, even if you do set a time zone for your account (My Account -> Preferences -> Time Zone). If you bring the column in as DATE you can save it system-wide but you can't display the hours/mins/secs, only the M/D/Y. This has been tested on a 9i and 10g database and produced the same thing on both. The problem never occurred with those same columns using OBIEE 10g.
    Oracle support has not fully admitted this as a bug, but the rep working on this SR said this will probably be fixed in the next release- 11.1.1.4, which is due out late Jan/early Feb of this year. He is trying to reproduce this so he can log it as a bug (which we all are hoping for!) so Oracle can address it.
    For now, I've found that you are stuck with two options: 1) bring the column in as a DATE, display it system-wide as a saved format, but you can't show the time, and 2) don't save that date value with a system-wide formatting and set it manually on every report you need a custom format (don't forget to set your time zone).
    If I hear anything more back from Oracle support I'll update this thread.
    Sorry guys, looks like we're all stranded on this one...

  • Date Field Formatting

    Hi All,
    I'm back already! Learning Flash is beginning to get to me
    again so I returned for yet more help!
    I've written the following AS code to get tomorrow's date . .
    // Calculates today's date and tomorrow's date
    var dToday:Date = new Date();
    dToday.getDate()
    trace("today: " + dToday) //today's date
    myD = dToday.getDate() + 100; // plus one day
    var dTomorrow:Date = new Date();
    dTomorrow.setDate(myD)
    trace("new: " + dTomorrow) //tomorrow's date
    var strDate:String = new String();
    var strDate = String(dTomorrow);
    trace("String: " + strDate);
    The strDate string returns the following value . . . "Tue Jul
    11 16:19:57 GMT+0100 2006".
    That is all well and good but I want to convert it into the
    following format for comparison with another field . . .
    "200607111619" which is basically the same value in the following
    format . . . "yyyymmddhhmm".
    Does the only way of doing this involve using parsing logic
    to break down the original string and then reconstruct it in the
    required format using variables from the broken down original
    string?
    I have tried looking at the Date Field object notes in my
    book but it does not give me anything as regards this programming
    requirement. The only thing I can find that might suit this purpose
    is string parsing logic. Am I right or is there an easier way to
    set a date field format?
    Any help would as always be much appreciated!
    Thanks,
    Kevin.

    I'm working on an application which requires a valid Voucher
    Number to proceed. The Voucher number is based on a combination of
    'date/time/no of items' (e.g. 20060711095802 which is today at
    09:58 (on a 24 hr clock) for 2 (02) items).
    As this date this date/time Voucher Number logic is
    essentially sequential, in that each subsequent Voucher Number will
    be greater than the last good known Voucher Number entered into the
    application (which is already stored in a variable field for
    comparison). But it must also be less than tomorrow's date, for
    which the Voucher Number would always be tomorrow's date (e.g.
    20060712 at 00:00 hrs for 00 items, thus giving 20060712000000).
    This is the value that I'm trying to ascertain from the date field
    logic.
    It would thus be really handy for comparison if I could just
    format tomorrow's date and time in the format yyyymmddhhmm and just
    add '00' to the end of the string.
    I don't like the idea of using the milliseconds value as it
    will be necessary then to convert the Voucher Number entered to a
    date field for comparison.

  • Formatting a date field auto populated with Javascript

    I have a date field, which I auto-populate to be the current days date with the following code:
    var date=new Date();
    var month=date.getMonth()+1;
    this.rawValue=month+"/"+date.getDate()+"/"+(date.getYear()-100);
    This works fine, but it comes out as 7/20/12 instead of 07/20/2012 like my pattern defines.
    Whether or not I write my code to be the correct format, I always get an "Invalid format" error. How can I fix this?

    The solutions is to format the date in YYYY-MM-DD when setting the raw value.
    var date=new Date();
    var month=date.getMonth()+1;
    var day=date.getDate();
    if(month<10){ month="0"+month; }
    if(day<10) {day="0"+day; }
    this.rawValue=date.getFullYear()+"-"+month+"-"+day;

  • Date field conversion in Import Manager

    Hi,
    I am getting the source Date field as 'Text' type and want to convert it to Date type.
    Is it possible in import Manager?
    What are the best way to manage the issue.
    Appreciate your reply
    regards,
    reo

    Hi Reo,
    The data types of source data values are automatically
    converted within the Source Values grid based on the data type of the
    destination field to which the source field is mapped, even when stored
    in the source data as text values.
    Original source values appear with their original data type in the Value
    column, and the converted values appear in the Converted Value
    column with the data type of the mapped destination field and the
    proper grid cell type for editing (e.g. text, numeric, measurement,
    currency, date, time, Boolean).<i> If necessary, individual values can then
    be manually edited to override errors or omissions in the source data.</i>
    Regards
    Neethu Joy.

Maybe you are looking for

  • Upgrade to 10.5 from 10.4.9 on a Power Mac G5?

    I'm running Pro Tools|HD 7.4 in a 10.4.9 environment on a Power Mac G5 dual 2.3 GHz (The last Power Mac G5 ever released before Intel) with 4.5GB Ram and I was wondering if the upgrade to 10.5.4 would bring on better performance and stability or if I

  • Stuck with the apple and the scrolling gear while booting

    Hi there i am using my mac for more than 2 years , i did not format it or even fix any thing into it but now something bad happend... accdentaly my genius friend preesed the power putton for more than 5 seconds to start up the computer and i heared a

  • Both can connect to test sites but not videochat with each other

    I am using a 2GHz PPC iMac on 10.4.6 with external iSight. I can see the Apple ad from one of the test sites. My wife is using a G4 PowerBook running the latest Panther OS with external iSight. She is in a hotel but can also see the Apple ad from the

  • How can i update acrobat's locale?

    i've installed acrobat 10.0 with only default locale... i need Chinese locale and i've download one from internet , it works well until i updated my acrobat to 10.1.3... what should i do?

  • Canon 7D Mark II GPS Problem

    Tried the GPS on a new 7D Mark II. The GPS symbol just kept blinking...did not connect.  I tried it again and let it blink for an hour...no connect.  I was wearing a Garmin GPS watch...it connected in about 3 minutes so I know there are satellites up