OLE clipboard export method:format of Date field converted

Hi Experts,
I'm using OLE clipboard export method to download data to Excel field.
There is a field whose value is combined Date with time, such as: "2014-06-18 23:59:00" (which is built in program and the desired format)
But after downloaded to excel, the format is auto converted to "6/18/2014 23:59". I put a single quotes mark ahead and the format is not converted this time but the mark stays there also.
Is there a solution to suppress the conversion?
Thanks in advance for your help.
Regarda
Vindy

This is an Excel "feature" - the only way I've found to trick Excel is to format the column as "Text" in Excel first and then do the paste.
Jonathan

Similar Messages

  • 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

  • Formatting a date field

    I am trying to format a date field so that it shows as 06/29/2005 instead of 06/29/2005 00:00:00. Im thinking that I need to use the Substr function to do this but cant get it to work. Here is what I have, @(Substr(REQUIRED_DATE,1,10)). Any help would be great.

    The field is set up as a text field. From what I have read in Help, $date20 is for when you want to make a field be the system date. I want to change the format of a date that is being pulled from my database. Can I use the $date20 function for this? Thanks

  • When formatting a date field in a where clause the template put dot instead of comma

    Hello to Headstart Workers !
    In a query find block the template construct a where clause, in some cases, and i dont know when the template is formatting a date field putting a dot instead of a comma.
    Ex.: to_date('19-01-2001'.'DD-MM-YYYY')
    Anybody knows why or where the template do this.
    Congratulations
    Nelson

    - We created it using the HS utilities.
    - "nls_numeric_character = ,.".
    - it onky happen when the field date is not the first field in the where clause.
    - i can see the problem just after pressing find button, already in the ls_block in last_query.
    - the find_query works normally but cannot edit any line in ls_block.
    Hope that i had helping
    Regards
    Nelson
    null

  • No message for validation error "format", type "date", field "date-expired"

    Dear
    Guys,
    i am getting the following error : ((No message for validation error "format", type "date", field "date-expired"))
    When trying to upload adobe connect 7 license to the adobe connect 7 configuration wizard. the problem occurs because my server was install on Arabic Saudi Arabia date format while installation, but if i change the windows date format to US then the problem still occurs, and formatting windows is not possible, could anybody help??
    Regards

    Thank you for replying,
    No i am not on host mode, a have installed it deferent times ago successfully, but the only problem now is that during the installation windows server 2008 the default language, time and date. Was set Arabic Saudi Arabia. And even changing it does not solve the problem, as i mentioned above.

  • 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;

  • Updating date in text format to date field

    I have 2 Strings which represent the date and time respectively. I need to load these into a date field. Every way I have tried has failed. Can anyone tell me how to get these Strings into the date field?
    Thanks,
    Steve

    Assuming these strings are in definite format concatenate them and use function to_date
    For example if your date is 01-JAN-2000 and time 22:33-34
    then use to_date('01-JAN-2000' &#0124; &#0124; '22:33-34', 'DD-MON-YYYYHH24:MI:SS')
    More about date patterns - RTFM ;)

  • Formating Invoice Date field to display in Japanese format 2012年2月22日

    Hi ,
    I need expert help in Crystal reports for formatting a field which contains date in Japanese format.
    I need to develop a Japan report that has invoice date as 2012年2月22日 which means 22-Feb-2012.
    Thanks,
    Ravi

    Thanks.. you saved my time.
    I have found the solution for this issue
    totext(year({shiphead.ShipDate}),0) & '年' & totext(month({shiphead.ShipDate}),0) & '月' & totext(day({shiphead.ShipDate}),0) & '日'
    However your solution looks good. Short and sweet.
    totext({shiphead.ShipDate}, 'yyyy年MM月dd日')
    Thanks,
    Ravi

  • Change Display Format of Date Field

    Hi,
    How can I change the display format of a date?
    When the field is displayed as a DateField the data format is good, but can I change the format? The problem with a DateField is also that the field can be updated and that shouldn't be possible.
    When the field is displayed as a DisplayField the format looks worse. It looks like it's doing a toString from a Data variable.
    Could someone tell me what is the best way to Display a Date from the database? The users shouldn't be allowed to change the value.
    Thanx

    Use something like this:
    <messageDateField name="Birthdate" promptAndAccessKey="Birthdate" data:text="Birthdate" anchor="Birthdate" persistent="true" dataObject="uNextMonthsBirthdaysSet" data:value="Birthdate" data:readOnly="isViewing">
      <onSubmitValidater>
        <date dateStyle="shortish"/>
      </onSubmitValidater>
    </messageDateField>

  • Format of Date Field in RAR background job history page

    Hi Everyone,
    Is it possible to customize the format of the fileds: "last run", "next start" in RAR background job history page?
    By default it is in the format yyyy-mm-dd.
    I am just wondering my customer's requirement is possible or not?

    Hi,
    There is no option to set the date format in the Configuration settings. Check the FM /VIRSA/ZCC_GET_STATREC_DATA which has the CALL FUNCTION 'GET_SYSTEM_TIMEZONE'. RAR will read the time from the system.
    You may look at formatting the the date format here.
    Hope this helps!!
    Warm Regards,
    Raghu

  • Report displays date field on server as timestamp, despite format

    I formatted a date field in my report as 01/03/2009.
    This looks ok when testing in Crystal Reports.
    On the server the date displays as 01/03/2009 12:00:00 AM.
    I really want to get rid of the time, as it doesn't fit in the report.
    I noticed that in an older report the field of the same date is typed as timestamp. In this case the server display correctly.
    The problem is, I cannot figure out how/why the date is typed differently in the 2 reports, e.g. date vs timestamp.
    Help!?

    Ah, that explains it. Some JDBC drivers handle date field types differently.
    Be sure you are using the latest JDBC jars from Oracle and make sure you have the correct Java path in the PATH statement.
    Other than that it is likely a limitation of the driver itself.
    Try using the native Oracle driver in the database wizard and see if you get the same results.
    And as suggested go into the Report Options and see if any of the those switches help. Also right click on the field and select Format and see if those option also help you.
    Thank you
    Don

  • Hash is printed in date field in excel output.

    Hello,
    I am developing a report in abap. Report output is exported to excel by using OLE code technique.
    The one date field 'posting date '  is  in the system has value i.e 27.12.2009    and i want it to be as 27/12/2009.
    i have concatenated the internal table date field into another field ' text ' of type c seperated by '/'.
    as follows :
    concatenate itab-budat6(2) itab-budat4(2) itab-budat(4) into itab-text separated by '/'.
    all dates values  are coming right,
    except dates which starts with 01.12.2009 to 09/12/2009 are showing hash(###) character and when excel column is extended then it shows
    date but in the format 12/01/2009.
    how to solve this.

    that is because 1 tab = 8 char..
    add a single quote ' to the beginning... it will be displayed as u wish....

  • Error while updating Date Field on Process Form.

    Hi,
    I am using java code to pre-pop date on the process form.First I used a java code whic took java.sql.date as input and returned the same java.sql.date.But it gave an error that:java.lang.String cannot be converted to java.sql.date.......
    So I changed the java code and now it takes string as input and returns java.sql.date. This code works fine for Pre-pop adapter and the date is populated on the process form.
    But when i use the same code in a Process Task adapter to update the date, then it gives the following error:
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: Adapter Execution Error: updateDataObjFieldValuePost: error updating UD_OID_USR_DATE_OF_BIRTH
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: {1}
    Can anyone suggest any method to update date field on process form?

    Hi Abhi,
    Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
    Regards,
    Sunny Ajmera

  • IR Date Filter - My date field is MM/DD/YYYY users want to filter by same

    Hi,
    I have a interactive report that has a date field and I put a "MM/DD/YYYY" display format on it.
    The filter uses DD-MON-RR format in filtering which works fine but the users want to filter by same format of MM/DD/YYYY because they want to type it in. Is there a way to change the date format of the filter to match the display format of the fileld?
    Also, if a valid date is entered in the wrong format no error occurs just no data.
    Thank you,
    BillC

    Hi Billj,
    I am not quite clear about your question. For the date field in the form you can create a validation for valid date and that will not accept the input if user type invalid date. if you want to format that date field in the form you can do that as well by choosing the date picker with your expected format (Date picker(dd/mm/yyyy).
    Hope this will help,
    Thanks,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • 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

Maybe you are looking for

  • Alpha numeric numer ranges for Shopping Cart based on year and month

    Dear All, My client requirement is that Shopping cart number should be generated based on year and month specific. Though it is possible through smart numbering, it should generate automaticaly. For eg:- Shopping cart generated for March 2011 should

  • Report id and Application parameter

    Hi I am just configuring my iview to display my Crystal Report but I just get a blank screen. These are the paramters I am using: My report in BO is: frs://Input/a_163/009/000/2467/1c8c69c861bbb952.rpt In the iview I set: Appplication Paraters as: cm

  • Later - save and manage URLs to be opened later

    later is a small (242 sloc) perl script that saves and manages URLs to be opened later. GitHub repo AUR package (-git) dependencies perl optional dependencies (see -t command-line option) curl perl-html-parser command-line options later [options] [UR

  • Change photoshop cc clipboard format – OS X

    Where can I change the photoshop cc clipboard (OS X maverick) preference to export as a png or pdf to retain transparency when copying and pasting?

  • Print margin in reports

    Is there a way to set the left margin? Since the migration from 6i to 10g, the report doesnt print correct. On the left side is about 0,5 cm not on the page. Anyone knows this problem? Thanks