Dates in Excel output

I'm having problems with dates in excel. I create a query wizard report with a date field. I then change the output format to Excel. My date formatting is ignored, but that's a known issue. But the SYLK (.SHOW) file tells excel to treat the date as a string, not a date.
Does anyone have a workaround for this.
Thx

That works for formatting the date. But my problem is on the import. When you chose Excel as an output format the dates are not imported as dates, but as strings. The ASCII import works OK, but it's an extra step to save the ASCII file.

Similar Messages

  • Missing column data in Excel output

    I have a report where one object is not displaying when output to excel. When refreshing the report in Webi or Deski, the results show, but when it is exported to excel, that particular column is missing data...the column header still shows though. I have tried adding the formula =Trim([Object]) which worked once but is not working in this instance. Any ideas on what may be causing this and potential fixes?

    Hi,
    There are no merged columns. I made sure the table is flush to the top of the report. Also the column header is visible. See below. I highlighted the Summary column in webi to show the formula that had worked previously to alleviate this issue, but as you can see in the excel output, it is not working. Also, I made sure the formatting of that column is the same as the other columns.

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • Problem in exporting data from alv output to excel

    Hi,
    I had developed  a report which has ALV report output.It is working fine and i am facing problem that when i am exporting it to the data to excel,it is not displaying the whole data in it. I am using reuse_alv_grid_display function module.
    Waiting for a positive response.
    Thanks & Regards,
    Rickky
    Moderator Message: FAQ. Please search for available information before posting.
    Edited by: kishan P on Nov 8, 2010 12:34 PM

    It is highly likely that the way you have built your field catalog is causing some data to drop on the export to excel. I have had this problem before. Check the fields in your fieldcat that are not working vs the ones that are working.

  • Addiing additional data in header of excel output  of alv excel dowload.

    Hi Experts,
    I want to set(print) some additional data in header(with table header) of excel output of alv standard functionality(Export to Microsoft Excel) in webdynpro abap.
    any suggesions...
    Reg,
    Rajesh.

    OLE is the solution but not very performance oriented. Search for details in SDN

  • Output report data to excel file format or csv format

    Is there any way to save softcopy of report output to excel file format or csv format.

    Hi,
    Regarding csv file format, i have no issues. The file is generating without any issues in using oracle reports without using any PL/SQL code.
    My requirement is to design oracle reports to generate excel (.xls) file with multiple worksheets. Each sheets are having many data and graphs(chart).
    Using oracle reports alone, how to achieve this.
    In oracle reports 10g 1.2.0 version, I tried by creating .rdf file but, it is generating single worksheet only.
    In oracle reports 10g 1.2.0 ver, I tried by creating .jsp file. For this first i am creating excel template about how my ouput column headings all that going to be with one sample hard coded data and save the excel file as web page.
    Eg employee.html.
    Next open the html file in oracle reports builder and double click the websource now, you will see the jsp tags, html and xml tags. Now include the contentType="application/vnd.ms-excel " and charset also.
    Next, include the <rw:foreach id="G_EMPNO_1" src="G_EMPNO">
    here insert the fieldl for each column by removing the hard coded values.
    close the tag
    </rw:foreach>
    Save the file as .jsp and deploy it in oc4 enabled folder (say, devsuite_home/reports/j2ee/reports_ids/web
    Start the oc4J server
    Run it in the browser http://server:port/reports/emp.jsp?useride=uid/pwd@db
    It is invoking the Microsoft excel with 3 sheets default and my emp table output in the first page.
    We can save this output file as .xls file by clicking file -> save as.
    1) The question is, it is working fine with Microsoft excel 97-2003 version. But for excel 2007, i am not able to create single html file like how 2003 save web page option.
    2) I found this in oracle getting started demo
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/index.html
    Which is more useful. This is what i am looking for.
    I done that in excel 2003 as per demo. But excel 2007 with reports 10g issues.
    Is there any demo for 10g with excel 2007
    3) For most of excel issues working fine with excel 2003 and 10g. But excel 2007 with 10g reports are issues.
    I want the excel output from oracle reports with multiple worksheet similar to the above demo.
    Thank you.

  • Issue with Saving the Query output data in Excel format

    Hi,
    Recnetly we had upgraded from 4.6c to ECC 6.0.
    In ECc 6.0 environment, when user try to export the query output , we are getting only XML option to save the data.
    But user want to save the data in EXcel format, he was able to do that in 4.6C.
    pleas eprovide some inputs, on this issue.
    Thanks,
    Sanketh.

    I cannot for the life of me imagine, why a link to a post in the 'Business One Forum' where one uses ODBC to transfer query-data to MicroSoft Excel is of relevance to the OPs question, even if the same is not a security issue.
    Never mind. [note 40155|https://service.sap.com/sap/support/notes/402155] deals with various symptoms in the ALV-Excel combination as as of release 4.6C. There are various others, mostly in components BC-SRV-ALV and BC-ABA-LI - also: I remember that when we upgraded from 4.5B to 4.7C there was an issue with Excel-templates -> the solution was in the release notes somewhere. So, in addition to SMP you might want to check the release notes and/or upgrade guide for solutions.
    And yes, moderators ... this is not a security issue, this should go to ECC-Applications/Upgrade.

  • Date format and Alignment Change in the Excel Output.

    Hi Forum,
    Greetings to You!!!
    I was created one RTF format file. In this i have to display date format as (dd-mon-yyyy) in the excel output and also some data in the column have varchar2 and numbers. When i generate the output in html, pdf format using the xml file its coming fine.
    When i generate the output in excel format then date format is changing to dd-mon-yy and who have data in number format is automatically going to rtight alignment.
    But client need all the date output in the left alignment (dd-mon-yyyy) ..Please advice me ..
    Thanks & Regards,
    Nag.CH

    Hi Helios,
    Thanks for giving reply. We are using 11.5.10.2 Application . We are not using any ADI..I just run the xml file in my local system itself in excel format..Date format is coming dd-mon-yy.Not in Apps environment.
    Thanks,
    Nag

  • Unable to download data in ALV output with local file option

    Hi,
    I am displaying ouput in ALV grid display.Its showing output fine.When i am trying to down load the data into Excel file from ALV ouput .when i am downloaded the data by using Local file option,its down loading the data but its not downloading all the fields.
    Could you plz provide me solution.Thanks!

    Just Check that one of your parameters is defined in lower case letters.
    Earlier it used to give dump on execution but now if you download then it will give ABAP dump.
    I have seen this problem many times.
    Regards,
    Gaurav Sood

  • Upload data from Excel to Internal table

    Hi,
    I am facing a peculiar problem in uploading the data in excel sheet to internal table.
    The excel file contains material number and product hierarchy number. The product hierarchy number for some material is downloaded as 5.73101E17 for the value 573100910115782000. Though I expand the sheet the display is the same 5.73101E17. When i upload the sheet using the f'n module "ALSM_EXCEL_TO_INTERNAL_TABLE" the value is taken as it is (5.73101E+17) into the internal table which is wrong. I tried to change the data type to type n. Then the value is uploaded as 5731011700000000.
    Please propose a solution to this without having to change the format of the column from general to "number without decimals"
    Regards,
    Sam

    HI
    see this example code which EXCEL TO INTERNAL TABLE AND THEN TO APPLICATION
    *& Report  ZSD_EXCEL_INT_APP
    REPORT  ZSD_EXCEL_INT_APP.
    parameter: file_nm type localfile.
    types : begin of it_tab1,
            f1(20),
            f2(40),
            f3(20),
           end of it_tab1.
    data : it_tab type table of ALSMEX_TABLINE with header line,
           file type rlgrap-filename.
    data : it_tab2 type it_tab1 occurs 1,
           wa_tab2 type it_tab1,
           w_message(100)  TYPE c.
    at selection-screen on value-request for file_nm.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
      PROGRAM_NAME        = SYST-REPID
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       STATIC              = 'X'
      MASK                = ' '
      CHANGING
       file_name           = file_nm
    EXCEPTIONS
       MASK_TOO_LONG       = 1
       OTHERS              = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    refresh it_tab2[].clear wa_tab2.
    file = file_nm.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename                      = file
        i_begin_col                   = '1'
        i_begin_row                   =  '1'
        i_end_col                     = '10'
        i_end_row                     = '35'
      tables
        intern                        = it_tab
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at it_tab.
      case it_tab-col.
       when '002'.
        wa_tab2-f1 = it_tab-value.
       when '004'.
        wa_tab2-f2 = it_tab-value.
      when '008'.
        wa_tab2-f3 = it_tab-value.
    endcase.
    at end of row.
      append wa_tab2 to it_tab2.
    clear wa_tab2.
      endat.
    endloop.
    data : p_file TYPE  rlgrap-filename value 'TEST3.txt'.
    OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *--- Display error messages if any.
      IF sy-subrc NE 0.
        MESSAGE e001(zsd_mes).
        EXIT.
      ELSE.
    *---Data is downloaded to the application server file path
        LOOP AT it_tab2 INTO wa_tab2.
          TRANSFER wa_tab2 TO p_file.
        ENDLOOP.
      ENDIF.
    *--Close the Application server file (Mandatory).
      CLOSE DATASET p_file.
    loop at it_tab2 into wa_tab2.
      write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
    endloop.

  • Excel output (with graphics)

    Hello,
    I am using Oracle reports 10g 1.2.0 version.
    We need to generate oracle reports in Excel format ("real" Excel, not delimited text) with tabular data and
    also graphics.
    I used desformat=spreasheet. But is is giving only one worksheet.
    I've found the "Output to Excel with Oracle9i Reports"
    demo but the Excel template in the demo is very simple and doesn't have graphics.
    Then I've found the following:
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/excel_output/result/excel.jpg
    a) The above site has excel output with multiple worksheets.
    which is similar to what we need but I wasn't able to find related source (excel_emp.jsp).
    b) Using jsp if we can ahieve multiple worksheets with grapahics, please provide us examples.
    c) http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/excel/index.html --This site is not working to find the demo.
    Could you please help me in this?
    Thank you for any help.

    carla,
    the example you mentioned uses the JSP web source that is only available in oracle9i reports.
    in theory you can create any excel output. it is just a matter of creating the template and then adding the reports tags to populate it with data.
    you could then use reports' URL engine to produce files from this output.
    there are certainly ways to do it, but they are only available in oracle9i reports (9.0.2 and higher)
    regards,
    philipp

  • How to remove the white space the in Excel  output

    Hi All,
    I was working with Oracle Apps r12.
    We have developed a custom report using xml and the report output type is Excel. when ran the report it completed with normal and the excel output is generated,We have a column called Amount and its having a white space before the amount.
    So that we cannot able to do any aggregate function with that data.
    For example the column called Amount
    28523.20
    32569.00
    25369.25
    in excel the output is coming like this, So when we select this three column and try to do any aggregate function it not giving any value.
    I have tried Trim but its dos'nt works, because the values are already trimed.
    Can any one could help on this.
    Thanks & regards
    Srikkanth

    Hi All,
    solved.
    Using this link i have removed the white space in my rtf and the white space in excel has removed
    http://office.microsoft.com/en-in/word-help/show-or-hide-formatting-marks-HP005189641.aspx
    Regards
    Srikkanth

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • Problem with images in XML with excel output

    Hello:
    I made an XML concurrent program, with excel output, but i am having a problem:
    The rtf template has a logo (bmp image), but it is not showing in the excel (if i execute the concurrent in the oracle applications). However, if i create the xml in Oracle Reports in my computer, and then load that xml in the rdf template in word, i can see the logo in the excel preview. I don't know why is it not showing when i execute the program in applications.
    If someone can help me with this, i will be very grateful.
    Greetings
    Message was edited by:
    user632438

    xml cP, will not give you a image in excel output,..
    In RDF there is a placeholder for image, and the image is located in certain location, at runtime it picks and render the output with logo.
    but xml CP, will get the data in xml type and merge with rtf to get the output you wanted..
    if you have the rtf with logo embedded in it, if output is of pdf or rtf output , then it will display the logo ,.
    in excel currently it is not possible to show the logo,..
    excel you see could be xml-excel or csv-excel not the true binary excel.
    to get the logo embedded ,for that you have to wait on tim for the excel template, which will be release in near future i guess..

Maybe you are looking for

  • N8: How to restore music store widget after hard r...

    Hi I lost all  nokia N8 widgets including Music store after I hard reset my N8. I have really been searching but have been unable to find a work around for this. I am unable to play any OVI music on my phone as it searched for a license and ends up s

  • My Movies Are Outside The TV-Safe Area

    How can I get my movies that I add onto iDVD to stay within the TV safe area? I have widescreen televisions throughout the house, but my movies are getting cut off on all of them. If I add the movies as slideshows, the video stays within the tv-safe

  • Comparison between R/3-ECCS & SEM BCS

    <b>Hi all, We ve to compare thw two systems R/3 ECCS & SEM-BCS in detail as we are goin for consolidation i near future. Could you all suggest some thing regarding this. It will be very nice if you could suggest some parameters based on which these t

  • How do i print to acrobat distiller from illustrator

    i just installed acrobat so that i can print my illustrator, etc files to PDF instead of "Save as PDF" so that they will be small, email-able files. All installed fine, but when I go to the print menu in Illustrator there is no Acrobat Distiller opti

  • ZHANWIN device type does not print Korean characters

    Hi All, We are trying to print smart forms containing Chinese,Taiwanese and Korean characters from our ECC 6.0 As per SAP Note 1038413 - Unicode SAPWIN device type for CJK fon, we used the device type ZHANWIN to print smart forms for these characters