Facing Problem in saving to Excel Sheet

Hi,
This is Anupam from Kolkata of India.
I am writing a jsp in which I am facing some problem .I am trying to save the content of a table to a excel shhet.The code is follows
<%@ page contentType="application/vnd.ms-excel" %>
<html>
<%-- Set the content disposition header --%>
<%
response.setHeader("Content-Disposition", "inline; filename=\"mult-table1.xls\"");
%>
<body>
<table>
<% for(int i = 1; i <= 12; i++){ %>
<tr>
<% for(int j = 1; j <= 12; j++){ %>
<td>
<%= i * j %>
</td>
<% } %>
</tr>
<% } %>
</table>
</body>
</html>
The jsp is saving the the table to the Excel Sheet but in the browser I am getting the Error Message
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable
This may be because I have changed the changed the content type from text/html.
Another problem I am facing that I am creating a portlet in the weblogic Portal but it is displaying error message box informing that the jsp can not be downloaded.
Can any body help me out
Thanks in advance
Anupam Sarkar

Your code works, when I try to access your JSP page, it correctly downloads the table data into an excel spreadsheet.
Regarding the weblogic portlet you can check with Weblogic forum or provide more details so we can diagnose the problem.

Similar Messages

  • Problems in uploading from excel sheet to internal table

    hi experts,
    i got one problem regarding uploading data from excel sheet to int.table. I used FM ALSM_EXCEL_TO_INTERNAL_TABLE but in that the value is char of 50. but i need a case where i have to send value more than 50 characters. please suggest me any other FM to overcome this problem.
    advanced thanks
    vijay

    Hi,
    >
    Vijay Krishna Arvapalli wrote:
    > hi tarun,
    >
    > thank you for your reply
    >
    > but when i tried to use FM TEXT_CONVERT_XLS_TO_SAP it is giving error actually that 'Error generating the test frame'.
    >
    > so can you suggest me with some other option where i can upload the field with more than 50 character length.
    >
    > thank you
    > regards
    > vijay
    Yes, when you execute the FM from SE37, then it displays a message.
    Just copy the below code and paste it in a report (SE38) and execute.
    Create a file in C:/ with name test.xls and execute it will display the records even with more than 50 characters of length.
    I have tested and its working.
    I have taken three fields in the excel file empid, name and doj.
    TYPE-POOLS : truxs.
    PARAMETERS : p_file TYPE rlgrap-filename DEFAULT 'C:\TEST.XLS'.
    DATA : BEGIN OF itab OCCURS 0,
             empid(150) TYPE c,
             name(150) TYPE c,
             doj(150) TYPE c,
           END OF itab.
    DATA: it_raw TYPE truxs_t_text_data.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM f4_file_process USING p_file.
    AT SELECTION-SCREEN.
      PERFORM validate_file_path USING p_file.
    START-OF-SELECTION.
      PERFORM upload_data.
    END-OF-SELECTION.
      PERFORM display_data.
    *&      Form  F4_FILE_PROCESS
    *       text
    *      -->P_FILE_PATH  text
    FORM f4_file_process USING p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = 'P_FILE'
        IMPORTING
          file_name     = p_file.
      IF sy-subrc NE 0.
        MESSAGE e000(zsd).
      ENDIF.
    ENDFORM.                    " F4_FILE_PROCESS
    *&      Form  VALIDATE_FILE_PATH
    *       text
    *      -->P_FILE  text
    FORM validate_file_path USING p_file.
      DATA : lv_dir TYPE string,
             lv_file TYPE string,
             lv_result(1) TYPE c.
      DATA : lv_filename TYPE string.
      lv_filename = p_file.
      CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH'
        EXPORTING
          full_name     = p_file
        IMPORTING
          stripped_name = lv_file
          file_path     = lv_dir
        EXCEPTIONS
          x_error       = 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.
      CALL METHOD cl_gui_frontend_services=>directory_exist
        EXPORTING
          directory            = lv_dir
        RECEIVING
          result               = lv_result
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          wrong_parameter      = 3
          not_supported_by_gui = 4
          OTHERS               = 5.
      IF lv_result IS INITIAL.
        MESSAGE 'Invalid Directory' TYPE 'E'.
      ENDIF.
      CLEAR lv_result.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file                 = lv_filename
        RECEIVING
          result               = lv_result
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          wrong_parameter      = 3
          not_supported_by_gui = 4
          OTHERS               = 5.
      IF lv_result IS INITIAL.
        MESSAGE 'Invalid File' TYPE 'E'.
      ENDIF.
    ENDFORM.                    " VALIDATE_FILE_PATH
    *&      Form  UPLOAD_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM upload_data .
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_field_seperator    = 'X'
          i_line_header        = 'X'
          i_tab_raw_data       = it_raw
          i_filename           = p_file
        TABLES
          i_tab_converted_data = itab[]
        EXCEPTIONS
          conversion_failed    = 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.
    ENDFORM.                    " UPLOAD_DATA
    *&      Form  DISPLAY_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM display_data .
      LOOP AT itab.
        WRITE : / itab-empid, itab-name, itab-doj.
      ENDLOOP.
    ENDFORM.                    " DISPLAY_DATA
    Hope this helps you.
    Regards,
    Tarun

  • Problem in downloading to excel sheet

    hi,
    i have a file in the application server which needs to be downloaded into excel sheet and send it via attachment to outlook id's..
    file is getting downloaded into excel sheet ( Via custom function module) and the attachment is being sent to the mail box, but the problem is everything appears in the first column..how to set the delimiters in excel sheet, i mean each field should appear in a separate coloumn...
    format of the file in the application server
    data: begin of dt_string occurs 0,
          data(150) type c,
          end of dt_string.
    ex: dt_string+0(4) = 'name'.
        dt_string+4(5) =  'place'. .....
        append dt_string
         clear dt_string. 
    same way, each record is inserted into the dt_string and the table was transferred to the app server.
    thanks

    Hi Mahesh,
    Assuming that you are using 'GUI_DOWNLOAD'.
    Add the thing in bold <b>WRITE_FIELD_SEPARATOR</b>.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        filename                        =
    *   FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
    <b>   WRITE_FIELD_SEPARATOR           = '#'    "Tab Delimiter between fields</b>
    Regards,
    AS

  • Encountering problems with exporting complex excel sheets to SWF

    Please help me with this problem:
    I have a complex Excel sheet, with functions like VERT.LOOKUP, INDEX etc. This should work in Xcelsius, but I have problems when having a preview in SWF. In the Xcelsius Present 2008 drawing window, all buttons work perfectly, but when I preview it, all outcomes are gone (buttons do work).
    When removing VERT.LOOKUP and table shortnames (see example) it sometimes does work. So my guess is that SWF does not support VERT.LOOKUP and/or table shortnames. Does anyone know anything about this problem and maybe can help me? I use the 30-day trial version of Xcelsius Present.
    Table example:
    _______PROD1____PROD2____PROD3
    YEAR1___10________20________30
    YEAR2___20________15________50
    YEAR3___30________10________100
    In Excel, when you give names to this table (Insert/Name/Make --> columns & rows), you can get info out of this table with the simple function =YEAR1 PROD2. --> 20.
    Thank you very much!

    Yeah, I know. But VERT.LOOKUP is supported. The strange thing about this is dat Xcelsius is displaying is well when not in the preview mode.

  • Regarding saving of excel sheet to presentation server...

    Hi,
    am using OLE inorder to create the EXCEL sheet, but the problem is am not able to save it to presentation server using the following program.. We have to do it Manually..
    Please go through it and help me and how will i save it using programm...
    this report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE ole2incl.
    handles for OLE objects
    DATA: h_excel TYPE ole2_object,        " Excel object
          h_mapl TYPE ole2_object,         " list of workbooks
          h_map TYPE ole2_object,          " workbook
          h_zl TYPE ole2_object,           " cell
          h_f TYPE ole2_object,            " font
          h_cell TYPE ole2_object,
          p_filename TYPE rlgrap-filename.
    TABLES: spfli.
    DATA  h TYPE i.
    table of flights
    DATA: vert TYPE numc2 VALUE '90'.
    DATA: h_format TYPE ole2_object,
          l_cols TYPE ole2_object,
          l_entcol TYPE ole2_object,
          color TYPE char1 VALUE '4'.
    DATA: it_spfli LIKE spfli OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM spfli INTO TABLE it_spfli UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     sy-vline NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, sy-vline NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, sy-vline NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, sy-vline NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, sy-vline NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, sy-vline NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT it_spfli.
        WRITE: / sy-vline NO-GAP,
                 it_spfli-carrid COLOR COL_KEY NO-GAP, sy-vline NO-GAP,
                 it_spfli-connid COLOR COL_NORMAL NO-GAP, sy-vline NO-GAP,
                 it_spfli-cityfrom COLOR COL_NORMAL NO-GAP, sy-vline NO-GAP,
                 it_spfli-cityto COLOR COL_NORMAL NO-GAP, sy-vline NO-GAP,
                 it_spfli-deptime COLOR COL_NORMAL NO-GAP, sy-vline NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               text       = text-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF h_excel  'Visible' = 1.
      CALL METHOD OF h_mapl 'SaveAs' EXPORTING #1 = 'C:\Documents and Settings\jrozar\Desktop\SKV.XLS'.
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               text       = text-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF h_excel 'Workbooks' = h_mapl.
      PERFORM err_hdl.
    add a new workbook
      CALL METHOD OF h_mapl 'Add' = h_map.
      PERFORM err_hdl.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               text       = text-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM fill_cell1 USING 90 1 1 1 'Flug'(001).
      PERFORM fill_cell1 USING 90 1 2 0 'Nr'(002).
      PERFORM fill_cell1 USING 90 1 3 1 'Von'(003).
      PERFORM fill_cell1 USING 90 1 4 1 'Nach'(004).
      PERFORM fill_cell1 USING 90 1 5 1 'Zeit'(005).
      LOOP AT it_spfli.
    copy flights to active EXCEL sheet
        h = sy-tabix + 1.
        PERFORM fill_cell USING h 1 0 it_spfli-carrid.
        PERFORM fill_cell USING h 2 0 it_spfli-connid.
        PERFORM fill_cell USING h 3 0 it_spfli-cityfrom.
        PERFORM fill_cell USING h 4 0 it_spfli-cityto.
        PERFORM fill_cell USING h 5 0 it_spfli-deptime.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
    CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
    PERFORM ERR_HDL.
    add a new workbook
    CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
    PERFORM ERR_HDL.
    tell user what is going on
    SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
              PERCENTAGE = 0
              TEXT       = TEXT-009
          EXCEPTIONS
               OTHERS     = 1.
    output column headings to active Excel sheet
    PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
    PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
    PERFORM FILL_CELL USING 1 3 1 'Von'(003).
    PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
    PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
    LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
       H = SY-TABIX + 1.
       PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
       PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
       PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
       PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
       PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
    ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
    CALL METHOD OF H_MAPL 'Saveas' EXPORTING  #1 = 'C:\tst.xls'.
      p_filename = 'C:\tst.xls'.
      CALL METHOD OF h_mapl 'Saveas'
        EXPORTING
        #1 = p_filename.
      CALL METHOD OF h_excel 'Close'.
    FREE OBJECT H_EXCEL.
      PERFORM err_hdl.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM fill_cell USING i j bold val.
      CALL METHOD OF h_excel 'Cells' = h_zl EXPORTING #1 = i #2 = j.
      PERFORM err_hdl.
      CALL METHOD OF h_zl 'Interior' = h_format.
          IF J EQ  2.
          color = 2.
    SET PROPERTY OF h_format 'ColorIndex' = color.
        ELSE.
          color = 4.
        ENDIF.
      SET PROPERTY OF h_format 'ColorIndex' = color.
      CALL METHOD OF h_zl 'Columns' = l_cols
        EXPORTING
        #1 = 2.
      CALL METHOD OF l_cols 'EntireColumn' = l_entcol.
      CALL METHOD OF l_entcol 'Autofit'.
      SET PROPERTY OF h_zl 'Value' = val .
      PERFORM err_hdl.
      GET PROPERTY OF h_zl 'Font' = h_f.
      PERFORM err_hdl.
      SET PROPERTY OF h_f 'Bold' = bold .
      PERFORM err_hdl.
    ENDFORM.                    "FILL_CELL
    *&      Form  FILL_CELL1
          text
         -->VERT       text
         -->I          text
         -->J          text
         -->BOLD       text
         -->VAL        text
    FORM fill_cell1 USING vert i j bold val.
      CALL METHOD OF h_excel 'Cells' = h_zl EXPORTING #1 = i #2 = j.
      PERFORM err_hdl.
      SET PROPERTY OF h_zl 'Orientation' = vert.
      CALL METHOD OF h_zl 'Interior' = h_format.
        IF J EQ  2.
          color = 2.
    SET PROPERTY OF h_format 'ColorIndex' = color.
        ELSE.
          color = 4.
        ENDIF.
      SET PROPERTY OF h_format 'ColorIndex' = color.
      CALL METHOD OF h_zl 'Columns' = l_cols
        EXPORTING
        #1 = i.
      SET PROPERTY OF h_zl 'Value' = val .
      PERFORM err_hdl.
      GET PROPERTY OF h_zl 'Font' = h_f.
      PERFORM err_hdl.
      SET PROPERTY OF h_f 'Bold' = bold .
      PERFORM err_hdl.
    ENDFORM.                                                    "FILL_CELL1
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM err_hdl.
      IF sy-subrc <> 0.
        WRITE: / 'Fehler bei OLE-Automation:'(010), sy-subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " ERR_HDL

    Hello Subhash,
    Try this
    data: sheet TYPE ole2_object.
    data: lv_file(512) default 'C:tst.xls'.
    * Save excel speadsheet to particular filename
      GET PROPERTY OF h_excel 'ActiveSheet' = sheet.
      CALL METHOD OF sheet 'SaveAs'
        EXPORTING
          #1 = lv_file     "filename
          #2 = 1.                      "fileFormat

  • Problem with GUI_UPLOAD using excel sheet

    Hi,
      I am trying to upload excel sheet thru GUI_UPLOAD ... this excel sheet has a header line and 3 line of data. Even if I remove the header line then also the internal while debugging is showing 28 lines of entries with "#" "squares" in some columns ... while in others where data should be there shows all Zeros....
    The excel sheet has the following info
    Rate Type Valid From Date     From Currency     To Currency      Indirect Quote     Direct Quote
    M       29.09.2006             SGD             USD             1.6932     
    M       29.09.2006             USD             SGD                          1.6932
    M       29.09.2006             SGD             MYR                          2.19653
    KURST GDATU    FCURR TCURR INUKURS     DUKURS
    ###&#2161; |########|#####|### #|   0.00000 |0.00000 |
    ##29 |00000000|     |     |   0.00000 |0.00000 |
    o#d# |00000000|     |     |   0.00000 |0.00000 |
    The code that I am writing is as follows:-
    *& INTERNAL TABLES
    DATA : BEGIN OF T_INPUT occurs 0,
             KURST   LIKE TCURV-KURST,  " Exchange rate type
             GDATU   LIKE SY-DATUM,     " Date from which rate is effective
             FCURR   LIKE TCURC-WAERS,  " From currency
             TCURR   LIKE TCURC-WAERS,  " To currency
             INUKURS LIKE TCURR-UKURS,  " Indirect Quote
             DUKURS  LIKE TCURR-UKURS,  " Direct Quote
           END OF T_INPUT.
                S T A R T - O F - S E L E C T I O N                      *
    START-OF-SELECTION.
    Perform to upload the excel file.
      PERFORM UPLOAD_EXCEL_FILE.
    FORM UPLOAD_EXCEL_FILE .
      DATA: L_FILENM TYPE STRING.
      L_FILENM = P_FILENM.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = L_FILENM
          FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          DATA_TAB                      = T_INPUT
       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
         OTHERS                        = 17 .
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    Hi SB,
    pls change the data type declared for 'valid from date'
    from
    DATA : BEGIN OF T_INPUT occurs 0,
    KURST LIKE TCURV-KURST, " Exchange rate type
    <b>GDATU LIKE SY-DATUM,</b> " Date from which rate is effective
    FCURR LIKE TCURC-WAERS, " From currency
    TCURR LIKE TCURC-WAERS, " To currency
    INUKURS LIKE TCURR-UKURS, " Indirect Quote
    DUKURS LIKE TCURR-UKURS, " Direct Quote
    END OF T_INPUT.
    to
    DATA : BEGIN OF T_INPUT occurs 0,
    KURST LIKE TCURV-KURST, " Exchange rate type
    GDATU(10) type c, " Date from which rate is effective
    FCURR LIKE TCURC-WAERS, " From currency
    TCURR LIKE TCURC-WAERS, " To currency
    INUKURS LIKE TCURR-UKURS, " Indirect Quote
    DUKURS LIKE TCURR-UKURS, " Direct Quote
    END OF T_INPUT.
    Cheers,
    Vikram
    Please reward for helpful replies!!

  • Facing problem in saving data without overlapping in for loop

    Hi,
    I am facing problem in writting data withou overlapping if i run outer loop for 2 or more times and in inner for loop i am getting array in a way I want but when i try to build that array with logging temperature i am not able to do it. Please guide me through ths.
    Thank You
    Hnagpal
    Solved!
    Go to Solution.
    Attachments:
    data storage.vi ‏31 KB
    what i am getting.xlsx ‏10 KB
    what i want.xlsx ‏10 KB

    Thanks odessy27, Matthew Kelton, for replying.
    Matthew Kelton: Thanks for the solution i am adding outer loop so that i can increase the number of row. I am using it for some application which require me to save data several time and i used random number here but originally instead of random number there will be power meter reading and i want to save it every hour and plot it. I am also attaching a file what i made I don't know is this a good way or not. Actually i will also beneeded to plot a graph. But again how to increase a row and without replacing previous data i can write another row.
    Yes i want to make one row for each iteration.
    I attached both files in 2009 version.
    Thank You
    Himanshu Nagpal 
    Attachments:
    desired result.xlsx ‏10 KB
    data storage (1).vi ‏26 KB
    data storage.vi ‏37 KB

  • Problem appending data in excel sheet

    Hi ,
    I have a excel sheet "abc.xls" which contains empid ...i have to write a php which takes the ename from database using empid from excel sheet .Then ,those enames should be added in the column next to respective empid in "abc.xls".Kindly help me with this
    Preethi M.R

    If you browse your favorite PHP source code sharing site (or search for "PHP Excel") there are code examples to follow.
    -- cj

  • Problem in the output Excel sheet.

    I have a requirement of adding two bands to the existing report.The output sheet is Excel which is off 4 sheets formatted with colors and headings as ouput which is done by calling the XML Classes.
    I am not able to find my two fields which are added in the output excel.
    Please let me know your suggestions.

    check the structures, if you made changes is the correct structure or not...
    make sure data is beeing pulled into you tables before passing to excel FM..

  • Weird problem when downloading the output to an excel sheet

    Hi to all,
          when i download the list, output by an alv grid, i observe a weird problem..in the excel sheet the last digit (10th digit) of the first col. which is delivery no., is getting truncated...0001802563 is getting downloaded as 000180256..couldn't understand why...when i use conversion_exit fm, the values are not getting truncated and downloading correctly...curious to know what's gone wrong in this funcationality? thanks all
    cheers,
    Shankar. M.

    actually the problem is in the field catalog.if u can send me the code, i shall bug fix it for u.

  • Exporting to excel sheet

    Hi,
    I have problem exporting data to excel sheet In the java servlet.
    I am getting a date field as 03/15/2004 in servlet but after exporting to excel sheet it displayed as 3/15/2004 in excel.
    Is there a way I can show the way its comming in java servlet.
    Thanks,
    Zakir Hussain

    Excel will format stuff in its own way - depending upon the settings for date/time format on your computer.
    ie It will read the string from the servlet "03/15/2004" but then format the date according to its default rules.
    This may end up being "15 March 2004"
    Solution: change the default date format on your computer.
    In other words, you can't easily tell excel what to do from Java.

  • ALV - problem in downloading to excel - HIGH

    In our ALV report , we are facing problem with downloading to excel. It is intact downloading but in an irregular manner.
    LIST-> EXPORT-> Local File(excel)
    How to overcome this..

    try to load like this
    spreadsheet>press enter>pivot table-->microsoft excel

  • Problem in saving ztable from va01 screen through exit

    Hi all,
    I am facing problem while saving ztable through additional data b tab screen of va01.
    Actually I have add table control in tab and on the basis of vbeln i am saving table control data in ztable.
    but all data saved except vbeln.. why it's happening? I have applied conversion also and it's showing in debug mode.
    but in table vbeln field is not appended. vbeln is primary key in my ztable.

    Hi,
       follow these steps:
    1. Create your table and add it through Append Structure in VBAK table.
    2. Create screen in Additional Data B.
    3. Field should be dic object
    4. Save and activate both Table as well as your Screen.
    Save data automatically inserted into your custome table. I did it and it is working fine.

  • Problem in saving project frm labview 8.5 to 8.2

    i m facing problem while saving the project frm 8.5 to 8.2
    while doing this i recieve message of following Vis missing
    1 Teststand-ExecuteMenu Command.vi
    2.Teststand-Insert Command in Menu(Execution View Manager.Vi
    3.Teststand-Insertcommand in Menu (SequencefileView Manager .vi
    4.Teststand-Insertcommandin Menu.vi
    5.Teststand-Remove Command from Menu.vi
    plz solve this problem

    Hello Eler,
    I'm the AE from the french support who tested your class.
    I tested your big class with different version of LabVIEW and with all the versions, I had the error.
    I tested with LV8.5.1 french, LV 8.2.1 french and english, LV8.2 french and english,LV7.1 fench.
    For me with LV 8.2.0 english version your class doesn't work.
    I attached screen shots for all tests.
    Regards  
    VéroniqueD
    NI France
    Attachments:
    error assembly.zip ‏382 KB

  • Problem in saving mkpf through migo additional tab screen

    Hi all,
    I am facing problem while saving mkpf table through some zfields added in extra tab at header level. i have append structue in mkpf. and implement screen through mb_migo_badi. i have searched a lot on sdn. but nothing is available regarding updation of mkpf. all says that we have saved data in ztable. cann't we save in mkpf table . if yes then what i have to do for it..

    Hi,
    You can find data in these tables when quality checking is done, these needs to be set by functional consultants.
    Chekc your process if any Inspection lots size is defined for each each goods movement at all, if not these tables will not be populated at all.
    Regds,
    Mano Sri

Maybe you are looking for

  • Displaying a link to an external page as a "catalog"

    Hi, I was trying to display a link to an external web page as a catalog in SRM, e.g. http://www.google.com. This should be possible somehow, an SRM will even provide a link to go back, "return to SRM application". I created a web service to do this.

  • Report painter,cross company code transactions

    Hi Masters, 1,  Please send material of  REPORT PAINTER ? 2,  Please  Send material of CROSS COMPANY CODE TRANSACTIONS 3.  Please send material of  FUNCTIONAL SPECTS my  mail id [email protected]   Thank you friends

  • SC in Awaiting Approval but no work item found for SC

    Hi We are in SRM 5.5 Extended Classic Scenario will item-based approval workflow for SC. A requestor has created a SC which requires several steps of approval. The shopping cart has status 'awaiting approval' but when we check via BBP_PD system gives

  • NPE from AutoRegisterActionServlet

    Not sure if this is a Workshop or Server-related question, but here goes. In the log file below, it appears that perhaps a module in our enterprise app has undeployed itself. Does this cause, or is it caused by, the deserialization error reported nex

  • Version of jdk compatible with iPlanet 5.0

    Hi, I want to know the version of jdk compatible with iPlanet 5.0 thanks