Stop download to Excel from converting string of digits & dashes into date

Hi,
How can I stop BI and Excel data from converting a column of string data that is comprised of numbers and dashes into a date format when it is downloaded into Excel?
I'd like to solve this problem in BI, so that any users can download the data from a BI report into Excel without having to change the Excel date column back into a string column.
Thanks,
Darcy

Hi Again Darcy,
hmmm... That is very interesting. I just tried on OBIEE 10.1.3.2 ( a version before yours) on Windows XP with Office 2003 and an Oracle 11g DB backend and it did not have any problems pulling the value as text and not a DATE
Can you try something for me? In a new report, add any old dimensional (year, month name, etc) field twice into the report and change the second column formula to be following: '7001-2'
Try to export that report and see if that value comes through as text or a date. If it is something about the SQL server data set, then the above test should come through as text object in your excel download because we aren't pulling it from SQL Server, we'll creating it directly in OBIEE. If the above test does come through as a date, then it should mean that SQL Server isn't the issue. And if that is the case, I am starting to wonder if there's a setting in Office to can be enabled/disabled to avoid any data casting.
Best regards,
-Joe

Similar Messages

  • In download to excel from bsp hw to increase excel column width to wrap txt

    in download to excel from bsp how to increase excel column width to wrap text
    in each column.
    My client does not want to manually click each cell aftet downloading to excel to see full text in each column

    Hi,
    You can achieve this by formatting your output using HTML table tag.
    Try the following code.
      DATA: lv_output  TYPE string.
      concatenate
      '<table border="1">'
      '<tr style="font-weight: bold; text-align:center; "><td>Name</td><td width="150">Description</td></tr>' cl_abap_char_utilities=>cr_lf
      '<tr><td>First Name</td><td>Some Description goes here..... ....... ...... </td></tr>' cl_abap_char_utilities=>cr_lf
      '<tr><td>2nd Name</td><td>XYZ.......</td></tr>' cl_abap_char_utilities=>cr_lf
      '</table>'
      into lv_output.
      response->set_cdata( data = lv_output ).
    Regards
    Geogy
    PS. Reward the useful answers.

  • Download to excel from front end - percent coming as date

    download to excel from front end - percent coming as date
    Hi,
    i'm using below method to dowload to excel from frontend (Backened is R/3).
    1) l_string will have the entire xls date ( with sepeartor cl_abap_char_utilities=>horizontal_tab and cl_abap_char_utilities=>newline)
    2) Converitng string to xstring using FM SCMS_STRING_TO_XSTRING
    3) pumping excel date to browser using  IF_HTTP_ENTITY~SET_DATA
    4) creating URL using GUID_CREATE fm.
    it's downloding the excel file but funny date.
    example
    percentage 1.5 coming as Jan 50 and Percent 3.5 coming March 50.
    How to avoid this funny conversion.
    ...Nandha

    Hi Nanda,
    have you tried to change the number format of the corresponding cells in excel to percentage?
    BR Steffen

  • Download to excel from alv display

    Hi,
    How to download to excel from alv display.I am using object oriented abap for using alv.If i click export->spreadsheet i am getting fatal error and if i export->local file->spreadsheet i am getting only the column names and heading but no contents.Can anyone tell me how to overcome this problem.
    Regards,
    Sowmya.

    Hi Sowmya,
    Just put break point near FM reuse_alv_grid_display and check if internal table which is used to display output is popullated or not.
    Regards Sachin.

  • Limit the number of record to download to excel from a report

    I am just wondering if there is a way to limit the number of rows that I want to download to excel from a report in apex, right now when I click download to excel it downloads all records. If I am displaying 15 records on report page I want the ability to download only those records.
    Any help with that would be appreciated.
    Kind Regards,
    Sofia.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • How to avoid the "filter cells" during download to Excel from WAD

    How can we avoid seeing the "filter cells" in the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a54dbe09411d2acb90000e829fbfe/content.htm
    which we have every time a Bex query is downloaded to Excel from Web application designer?
    The objective is to find a way to avoid the filter cell rows from happening period.... and not asking the users to manually delete the excel rows.
    Edited by: Sharon West on Nov 26, 2008 12:12 PM

    Why is your topicstart all in bold?

  • Not able to convert string attribute to number and date please help me out

    not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out

    Hi,
    You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
    regards,
    Nick

  • How to download a file from the net and save it into .txt format in a datab

    Can some one show me a tutorial on how to download a file from the net and save it into .txt format in a database?
    Thank you,

    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

  • Download to excel from alv grid

    I developed a alv report and I have one percentage field(say PER) in the grid.When I sum on that field PER then it comes in my formula basis.Suppose If I have 5 line items and all PER field have a value 2 then when I sum in PER column then it come 7 inseted of 10 becoze of my formula basis and it comes perfect.But my query is when I download to excel then it comes real value 10 insted of 7. here my formula basis sum which is 7 for all 5 line items is not comming. Can any body help me how will it come?
    Thanks,
    Rakesh

    Hi
    try this code----
    *&      Form  DOWNLOAD_EXCEL_TEMPLATE
          text
    -->  p1        text
    <--  p2        text
    FORM download_excel_template .
      TYPES: BEGIN OF lt_data,
                field1(20),
                field2(30),
                field3(20),
                field4(20),
                field5(20),
                field6(30),
                field7(15),
                field8(10),
                field9(10),
                field10(20),
                field11(20),
                field12(10),
                field13(20),
                field14(20),
              END OF lt_data.
      DATA: lv_file TYPE rlgrap-filename,
            li_data TYPE STANDARD TABLE OF lt_data,
            wa_data TYPE lt_data,
            lv_pathcheck type c,
            lv_file1 type string.
      wa_data-field1 = ''.
      APPEND wa_data TO li_data.
      REFRESH gi_header.
      wa_header-name = 'Company Code'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Main Asset Number'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Asset Sub Number'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Document Date'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Posting Date'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Asset Value Date'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Item Text'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Reference'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Allocation'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Amount Posted'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Percentage Rate'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Quantity'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Prior-Yr Quantity'.
      APPEND wa_header TO gi_header.
      wa_header-name = 'Curr-Yr Quantity'.
      APPEND wa_header TO gi_header.
      lv_file = gv_file.
      lv_file1 = gv_file.
      CALL METHOD cl_gui_frontend_services=>directory_exist
        EXPORTING
          directory            = lv_file1
        RECEIVING
          result               = lv_pathcheck
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          wrong_parameter      = 3
          not_supported_by_gui = 4
          OTHERS               = 5.
       FIND '.xls' IN lv_file IGNORING CASE.
      IF sy-subrc = 0.
        REPLACE '.XLS' IN lv_file WITH ' ' IGNORING CASE.
      ENDIF.
      FIND '.TXT' IN lv_file IGNORING CASE.
      IF sy-subrc = 0.
        REPLACE '.TXT' IN lv_file WITH ' ' IGNORING CASE.
      ENDIF.
      CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
        EXPORTING
          file_name                 = lv_file
          data_sheet_name           = 'DATA'
        TABLES
          data_tab                  = li_data
          fieldnames                = gi_header
        EXCEPTIONS
          file_not_exist            = 1
          filename_expected         = 2
          communication_error       = 3
          ole_object_method_error   = 4
          ole_object_property_error = 5
          invalid_pivot_fields      = 6
          download_problem          = 7
          OTHERS                    = 8.
      IF sy-subrc <> 0.
        MESSAGE ID gv_msgid TYPE 'E' NUMBER 002.
      ENDIF.
    ENDFORM.                    " DOWNLOAD_EXCEL_TEMPLATE
    regards,
    Prashant

  • Issue with Data download to excel from ALV

    Hi,
    I am trying to download data to excel from ALV.
    The number of records are 26000.
    When I am trying to download I am getting an error displaying a pop up saying that
    problems came up in the following areas during the load
    TABLE
    The log displayed is not clear.
    I need to know the limitations while downloading to excel... I tried in SDN but of no use. I am using office 2007.
    What is the max downloading limit(MB)
    What must be the Length of line that can be downloaded.
    Regards

    Hi ,
    First check whether your ALV grid OUTPUT   is Consistent or Not   .
    if there are any inconsistency  then you need to rectify that  .
    for Checking COnsistency / Inconsistency  .do following steps
    1) execute ALV report 
    2) Press Shift+Mouse Right Button (Twice)  in blank area of report 
    3) you will get result   whether ALV is good or not .
    regards
    Deepak.

  • Download to Excel - I need to put button to get data from iView to excel

    Can anyone help me by telling an easy way to download the contents of iViews to Excel. As the fields are in different Nodes and components I am not able to get all the fields in standard application. Is there any easy approach to download the data from iview itself? Please help me on this.

    Hi Simon,
    Thanks a lot for the solution.
    But the problem I have is : I have put a button on Excel to download, on click of button the RFC is triggered and data will be pulled for download. But I need the data from iview with out database intraction as it has been already fetched to display in iView so the data must be stored some in portal. As far as I have analysed I found that fields are from different Components so when I go for all fields it is almost like complete customization which is not recommended, I need a data pool where the data is available so that I can download all at a strech. Is it possible to download the iview as such.

  • Download to excel from portal

    Hi all,
    I am calling an ABAP program in an iView in the portal. The program has an function to download to Excel using function module XXL_SIMPLE_API. In the portal this results in a 'CNTL_ERROR' exception in program CL_GUI_FRONTEND_SERVICES. I have tried several function modules (SAP_CONVERT_TO_XLS_FORMAT, WS_EXCEL) but none of these can be used from the portal.
    Is there any function module or class that I can use to download data to excel from the portal??
    Thanks!
    Patrick

    I'm not specialist in that area but not surprised that it doesn't work, as these functions use OLE, and this is forbidden via internet navigator (security reasons I guess).
    Either download a simple CSV file (download any internal table using CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD method),
    or if you really want to make special things, look at ActiveX and ACF sap notes, and also demo web dynpro ios_test_helloworld_ms (office integration), but I don't have more info.

  • "Stop download"-option removed from Flash Player

    Hello,
    i reinstalled my OS just recently and all system components including browser and Flash Player (11.8.800.94) as well, of course.
    Just briefly after the installation i noticed there was no longer an option to "Stop downloading video" as used to be before. At first i was annoyed and i thought it concerned only me, but on the search for solutions i stumbled over this thread: http://productforums.google.com/forum/#!topic/youtube/7AMubhSadeY[1-25-false].
    Moreover i experience loading problems with YouTube content which i solely blame on the removal of this feature. While of course i am in no position to demand anything i would appreciate if you'd consider reenabling it in a future release. In the meantime.. could you please make a previous version available for download?
    Pleeease?
    Kind Regards
    Sniperturtle

    I think it was Youtube that removed the 'Stop download' feature.
    Any earlier Flash Player version can be downloaded from http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#Flash%20Player% 20archives

  • Mail App stopped downloading new messages from Gmail

    I'm using MBP with OS X Lion.
    I've been using Mail App for my two Gmail accounts. I also use two different types of mail downloading systems (POP and IMAP) for them. For some reason, the speed of downloading new messages started slowing down a few weeks ago; however, I could still use it until today. Today, it seems like it is completely out.
    It just stopped downloading new messages completely.
    For the POP account, it says:
    There may be a problem with the mail server or network. Verify the settings for account “POP” or try again.
    The server returned the error: The connection to the server “pop.gmail.com” on port 995 timed out.
    For the IMAP account, it says:
    There may be a problem with the mail server or network. Verify the settings for account “IMAP” or try again.
    The server returned the error: The connection to the server “pop.gmail.com” on port 993 timed out.
    The weird part is that I can still send an email out of those accounts fine.
    I checked the settings for Gmail, and everything seemed just fine.
    I tried to re-do everything so deleted the IMAP account. Now it shows the message below:
    The Google IMAP server “imap.gmail.com” is not responding. Try checking the network connection, and that the server name is correct. Otherwise, the server might be temporarily unavailable. If you continue, you might not be able to receive messages.
    I tried Connection Doctor and it shows as below:
    I followed the suggestion by changing unchecking those boxes for SSL, but it didn't help either.
    I tried "Rebuild" under mail box menu bar but it also didn't do anything.
    Can anyone help me with this issue?
    Thank you in advance.

    By the way, my Mail App is version 5.3

  • Download to excel from ALV via portal

    HI,
    Could anyone out there help me resolve one issue which I am facing.
    We have developed a ALV report and the same is working fine in GUI screen and also the various ALV features such as Download to Local File, Print Preview and others are working very well.
    But if I deploy the same report on EP. The report is executing just fine but all the ALV features such as download to excel file and all other features are not working as desired.
    I have done some reasearch on this issue and everytime people talk about having the updated Java version and to run this features on IE 7 or below. We have tried all these but still no luck.
    Request you to provide your valuable inputs which can help me resolve this issue.
    Thanks much!
    Regards,
    Sumanth

    Hi,
    I guess this is due to the gui statements like call screen for popup to download which will not work in browser, instead of using FM for ALV or CL_GUI_ALV_GRID class, try using CL_SALV CLasses or create ALV in Web dynpro and integrate it in portal which will work well.
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

Maybe you are looking for

  • Can't view or edit Application Insights webtests in the new Azure Portal

    I'm in the process of setting up Application Insights for an Azure Cloud Services Web Role.  Things have been looking good so far - I've enabled App Insights telemetry to the VS2013 solution, configured correctly and am getting usage/monitoring data

  • *Can't delete a blank page.*

    Hello, I'm currently on page 30 of a script I'm writing using Adobe Story, but somewhat mysteriously, there appeared an extra blank page between the title page and the first page of the script.  So now I have a blank "page 1" and the script starts on

  • Load Balancing Of Agent

    Hi All, We have configurd load balancing of Agents in Topology. Parent Agent is X Child Agent is X1,X2,X3 When we are submitting the scenarion to agent X, it is passing the execution to child agents. Now what is happing when any error is comming, sam

  • IDoc segment issue

    Hi, I have file to Idoc scenario, where my input file structure like below and need to create Idoc segments in SAP. Input Structure: Record (1--Unbounded) Header (1-1) Item_Details (1- Unbounded) Child_ItemsInfo (1 -Unbounded) Item_1 (1--1) abc def I

  • ITunes 7 will not launch - have tried fixes mentioned below

    Since installing ITunes 7 there have been problems launching it - I got the process running for 2 secs or so then dying. Sometimes it would work though, usually when an ipod was plugged in. After updating to 7.02 the problem worsened - i tried comple