KM Docs iView for Excel sheet

Hi All,
I have created a KM Document iView for excel sheet and gave the path of excel sheet from KM.
When I launch the iView, it is opening in a new excel sheet. Is it possible to open the Excel sheet in a browser (html/iView) itself.
Thanks
Chinna.

Chinna,
Check [this|http://www.mrexcel.com/archive/Hyperlinks/16530.html] out and see if it serves your purpose.
Cheers!
Sandeep Tudumu

Similar Messages

  • FM for excel sheet download

    Is there any function module which can help me download data from an internal table into mutiple sheets on an excel workbook ?
    My internal table contains more than 65536 records.

    Check it out !!
    *& Report  Y_EXCEL_MULTIPLE                                            *
    REPORT  Y_EXCEL_MULTIPLE.
    parameters: p_fname like RLGRAP-FILENAME
                 default 'C:\temp\testNN.xls'.
    data: fname like p_fname,
          kn like sy-repid.
    data: cnt type i value 0.
    data: sheetname(10) value 'TEST ',c_row type i,
          scnt type i,
          val(20), wb(2).
    parameters: p_exvis as checkbox default 'X',
                p_workbk(2) type p default '01',
                p_wsheet(2) type p default '01'.
    CONSTANTS: OK TYPE I VALUE 0.
    INCLUDE OLE2INCL.
    DATA: EXCEL     TYPE OLE2_OBJECT,
          WORKBOOK  TYPE OLE2_OBJECT,
          SHEET     TYPE OLE2_OBJECT,
          CELL      TYPE OLE2_OBJECT,
          CELL1     TYPE OLE2_OBJECT,
          COLUMN    TYPE OLE2_OBJECT,
          RANGE     TYPE OLE2_OBJECT,
          BORDERS   TYPE OLE2_OBJECT,
          button    TYPE OLE2_OBJECT,
          int      TYPE OLE2_OBJECT,
          FONT      TYPE OLE2_OBJECT,
          ROW       TYPE OLE2_OBJECT.
    data: application type ole2_object,
          book        type ole2_object,
          books       type ole2_object.
    data: ole_book    TYPE ole2_object.
    do p_workbk times.
      move p_fname to fname.
      unpack sy-index to wb.
      replace 'NN' with wb into fname.
      perform create_EXCEL.
    create sheets and save
      perform sheet.
      perform save_book.
    enddo.
    write: ' Done'.
          FORM create_excel                                             *
    form create_excel.
      CREATE OBJECT EXCEL 'EXCEL.APPLICATION'.
      if sy-subrc ne 0.
         write: / 'No EXCEL creation possible'.
         stop.
      endif.
      set property of EXCEL 'DisplayAlerts' = 0.
      CALL METHOD  OF EXCEL 'WORKBOOKS' = WORKBOOK .
    Put Excel in background
      if p_exvis eq 'X'.
        SET PROPERTY OF EXCEL 'VISIBLE' = 1.
      else.
        SET PROPERTY OF EXCEL 'VISIBLE' = 0.
      endif.
    Create worksheet
      set property of excel 'SheetsInNewWorkbook' = 1.
      call method of workbook   'ADD'.
    endform.
          FORM save_book                                                *
    form save_book.
      get property of excel 'ActiveSheet' = sheet.
      free object sheet.
      free object workbook.
      GET PROPERTY OF EXCEL 'ActiveWorkbook' = WORKBOOK.
      call method of workbook 'SAVEAS' exporting #1 = p_fname #2 = 1.
      call method of workbook 'CLOSE'.
      call method of excel 'QUIT'.
      free object sheet.
      free object workbook.
      free object excel.
    endform.
          FORM sheet                                                    *
    form sheet.
      do p_wsheet times.
        unpack sy-index to sheetname+5(2).
        if sy-index gt 1.
          CALL METHOD  OF EXCEL 'WORKSHEETS' = sheet.
          call method of sheet  'ADD'.
          free object sheet.
        endif.
        scnt = sy-index.
        call method  of excel     'WORKSHEETS' = SHEET EXPORTING #1 = scnt.
        call method  of sheet     'ACTIVATE'.
        SET PROPERTY OF SHEET     'NAME'       = sheetname.
        free object sheet.   "OK
        perform fill_sheet.
        CALL METHOD OF EXCEL 'Columns' = COLUMN.
        CALL METHOD OF COLUMN 'Autofit'.
        free object COLUMN.
       call method of sheet 'BUTTON' = button.
       call method of button 'ADD'.
       set property of button 'fmButtonStyle' = 0.
         exporting #1 = '96.75' #2 = '372' #3 = '123.75' #4 = '12'.
       set property of button 'Characters' = 'ButtonTest'.
        free object button.
        free object font.
        free object int.
        free object cell.
        free object: cell1.
        free object range.
        free object borders.
        free object: column, row.
      enddo.
      free object font.
      free object int.
      free object cell.
      free object cell1.
      free object range.
      free object borders.
      free object column.
      free object row.
      free object sheet.
    endform.
          FORM border                                                   *
    -->  we                                                            *
    form border using we.
    *left
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '1'.
      set property of borders 'LineStyle' = '1'.
      set property of borders 'WEIGHT' = we.                    "4=max
      free object borders.
    right
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '2'.
      set property of borders 'LineStyle' = '2'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    top
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '3'.
      set property of borders 'LineStyle' = '3'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    bottom
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '4'.
      set property of borders 'LineStyle' = '4'.
      set property of borders 'WEIGHT' = we.
       set property of borders 'ColorIndex' = 'xlAutomatic'.
      free object borders.
    endform.
          FORM border2                                                  *
    -->  we                                                            *
    form border2 using we.
    *left
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '1'.
      set property of borders 'LineStyle' = '5'.
      set property of borders 'WEIGHT' = we.                    "4=max
      free object borders.
    right
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '2'.
      set property of borders 'LineStyle' = '6'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    top
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '3'.
      set property of borders 'LineStyle' = '7'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    bottom
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '4'.
      set property of borders 'LineStyle' = '8'.
      set property of borders 'WEIGHT' = we.
       set property of borders 'ColorIndex' = 'xlAutomatic'.
      free object borders.
    endform.
          FORM border3                                                  *
    -->  we                                                            *
    form border3 using we.
    *left
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '1'.
      set property of borders 'LineStyle' = '9'.
      set property of borders 'WEIGHT' = we.                    "4=max
      free object borders.
    right
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '2'.
      set property of borders 'LineStyle' = '10'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    top
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '3'.
      set property of borders 'LineStyle' = '11'.
      set property of borders 'WEIGHT' = we.
      free object borders.
    bottom
      call method of CELL 'BORDERS' = BORDERS exporting #1 = '4'.
      set property of borders 'LineStyle' = '12'.
      set property of borders 'WEIGHT' = we.
       set property of borders 'ColorIndex' = 'xlAutomatic'.
      free object borders.
    endform.
          FORM fill_cell                                                *
    -->  color                                                         *
    -->  pattern                                                       *
    form fill_cell using color pattern.
      call method of cell 'INTERIOR' = int.
      set property of int 'ColorIndex' = color.
      set property of int 'Pattern' = pattern.
      free object int.
    endform.
          FORM font                                                     *
    -->  bold                                                          *
    -->  size                                                          *
    form font using bold size.
      call method  of CELL 'FONT' = font.
      set property of font 'BOLD' = bold.
      set property of font 'SIZE' = size.
      free object font.
    endform.
          FORM fill_sheet                                               *
    form fill_sheet.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'A1'.
      perform font          using 1 '14'.
      SET PROPERTY OF CELL    'VALUE' = 'Counter'.
      perform fill_cell     using '15' '1'.
      perform border        using '2'.
      free object cell.
      val = 'Workbook-Count'.
      move wb to val+16.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'B1'.
      SET PROPERTY OF CELL    'VALUE' = val.
      perform fill_cell using '14' '1'.
      perform border using '4'.
      free object cell.
      val = 'Sheet-Count'.
      unpack sy-index to val+12.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'C1'.
      SET PROPERTY OF CELL    'VALUE' = val.
      perform fill_cell using '12' '1'.
      perform border using '4'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'E3'.
      perform border        using '1'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'E5'.
      perform border        using '2'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'E7'.
      perform border        using '3'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'E9'.
      perform border        using '4'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'F3'.
      perform border2       using '1'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'F5'.
      perform border2       using '2'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'F7'.
      perform border2       using '3'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'F9'.
      perform border2       using '4'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'G3'.
      perform border3       using '1'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'G5'.
      perform border3       using '2'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'G7'.
      perform border3       using '3'.
      free object cell.
      CALL METHOD  OF EXCEL   'RANGE' = CELL EXPORTING #1 = 'G9'.
      perform border3       using '4'.
      free object cell.
      val = 'ROW-Count'.
      do 19 times.
        c_row = sy-index + 1.
        unpack c_row to val+12(4).
        CALL METHOD  OF excel 'CELLS' = CELL1 EXPORTING #1 = c_row #2 = 2.
        SET PROPERTY OF CELL1    'VALUE' = val.
        free object cell1.
        CALL METHOD  OF excel 'CELLS' = CELL1 EXPORTING #1 = c_row #2 = 4.
        SET PROPERTY OF CELL1    'VALUE' = val.
        free object cell1.
      enddo.
    endform.
    You find SAP OLE programs under development Class 'SOLE'             *
    MSTAPPL  Table Maintenance APPL                                     *
    RSOLEDOC Document list                                              *
    RSOLEIN0 OLE Load Type Information                                  *
    RSOLEINT Type Info Loaded                                           *
    RSOLETI0 OLE Object Browser                                         *
    RSOLETI1 OLE Object Browser                                         *
    RSOLETI2 OLE Object Browser                                         *
    RSOLETI3 F4 Help For OLE Objects                                    *
    RSOLETT1 OLE 2.0 Automation Demo Program                            *
    Transactions:                                                        *
    SOLE                                                                 *
    SOLO  - List of OLE applcations with loaded type info                *
    You will find the decription of possible objects and methods in the  *
    windows help file for excel.                                         *
    Hope this’ll give you idea!!
    <b>P.S award the points.!!! !!!</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Heading for excel sheet

    Hi everyone,
                     I am downloading an internal table into an excel sheet using function module using GUI_DOWNLOAD . Now i need to have a heading line in the excel sheet. How should i do this? I kindly request you to help me in this issue. Thanks in advance.

    hiii
    yes you right..that is the only problem you are having..without using FIELDNAMES you can get header like following program..just check follwoing program it will solve your problem...as that parameter is not used in FM gui_download
    TABLES:
      mara.
    *                        T Y P E S                                     *
    TYPES:
      BEGIN OF type_a090,
        kschl TYPE a090-kschl,             " Condition type
        vbeln TYPE a090-vbeln,             " Sales document number
        posnr TYPE a090-posnr,             " Item number
        matnr TYPE a090-matnr,             " Material number
        datbi TYPE a090-datbi,             " Valid from
        datab TYPE a090-datab,             " Valid to
      END OF type_a090.
    TYPES:
      BEGIN OF type_mara,
        matkl TYPE mara-matkl,             " Material group
        matnr TYPE mara-matnr,             " Material number
      END OF type_mara.
    TYPES:
      BEGIN OF type_makt,
        maktx TYPE makt-maktx,             " Material description
        matnr TYPE makt-matnr,             " Material number
      END OF type_makt.
    TYPES:
      BEGIN OF type_output,
        kschl TYPE a090-kschl,             " Condition type
        vbeln TYPE a090-vbeln,             " Sales document number
        posnr TYPE a090-posnr,             " Item number
        matnr TYPE a090-matnr,             " Material number
        datbi(10) TYPE c,                  " Valid from
        datab(10) TYPE c,                  " Valid to
        matkl TYPE mara-matkl,             " Material group
        maktx TYPE makt-maktx,             " Material description
      END OF type_output.
    TYPES:
      BEGIN OF type_final,
        string TYPE string,
      END OF type_final.
    *                            D A T A                                   *
    DATA:wa_a090 TYPE type_a090,
         i_a090  TYPE STANDARD TABLE OF type_a090,
         wa_mara TYPE type_mara,
         i_mara  TYPE STANDARD TABLE OF type_mara,
         wa_makt TYPE type_makt,
         i_makt  TYPE STANDARD TABLE OF type_makt,
         wa_output TYPE type_output,
         i_output  TYPE TABLE OF type_output,
         wa_final TYPE type_final,
         i_final  TYPE STANDARD TABLE OF type_final.            "#EC NEEDED
    *                 S E L E C T I O N     S C R E E N                    *
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-se1.
    SELECT-OPTIONS:
      s_matnr          FOR mara-matnr,     " Material Number
      s_mtart          FOR mara-mtart.     " Material Type
    PARAMETERS p_kschl TYPE konp-kschl  DEFAULT text-000.
    " Condition Type
    SELECTION-SCREEN END   OF BLOCK sel1.
    SELECTION-SCREEN BEGIN OF BLOCK sel2 WITH FRAME TITLE text-se2.
    SELECTION-SCREEN BEGIN OF BLOCK sel3 WITH FRAME TITLE text-se3.
    PARAMETERS:
      p_app_a          RADIOBUTTON GROUP file,
      p_filea          type rlgrap-filename,
                                           " Local file for upload/download
      p_app_p          RADIOBUTTON GROUP file,
      p_filep          type rlgrap-filename.
    " Local file for upload/download
    SELECTION-SCREEN END   OF BLOCK sel3.
    SELECTION-SCREEN BEGIN OF BLOCK sel4 WITH FRAME TITLE text-se4.
    PARAMETERS:
      p_price          type rlgrap-filename OBLIGATORY
        DEFAULT text-001.
    SELECTION-SCREEN END   OF BLOCK sel4.
    SELECTION-SCREEN END   OF BLOCK sel2.
    * Selection screen processing
    AT SELECTION-SCREEN ON p_filea.
      IF NOT p_app_a IS INITIAL.
        IF p_filea IS INITIAL.
          MESSAGE e398
            WITH text-002 '' '' ''.
        ENDIF.                             " IF p_filea IS INITIAL
      ENDIF.                               " IF NOT p_app_a IS INITIAL
    AT SELECTION-SCREEN ON p_filep.
      IF NOT p_app_p IS INITIAL.
        IF p_filep IS INITIAL.
          MESSAGE e398
            WITH text-003 '' '' ''.
        ENDIF.                             " IF p_filep IS INITIAL
      ENDIF.                               " IF NOT p_app_p
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM output_data.
      PERFORM header.
    *&      Form  get_data                                                 *
    * Fetching data from the tables.
    *  There are no interface parameters to be passed.                     *
    FORM get_data .
      SELECT   kschl                       " Condition type
               vbeln                       " Sales document number
               posnr                       " Item number
               matnr                       " Material number
               datbi                       " Valid from
               datab                       " Valid to
               FROM a090
               INTO TABLE i_a090
               WHERE matnr IN  s_matnr AND
               kschl EQ p_kschl
               AND datab LE syst-datum
               AND datbi GE syst-datum.
      IF sy-subrc EQ 0.
        SELECT matkl                         " Material group
               matnr                         " Material number
               FROM mara
               INTO TABLE i_mara
               FOR ALL ENTRIES IN i_a090
               WHERE matnr = i_a090-matnr.
      ENDIF.
      IF sy-subrc EQ 0.
        SELECT maktx                         " Material description
               matnr                         " Material number
               FROM makt
               INTO TABLE i_makt
               FOR ALL ENTRIES IN i_mara
               WHERE matnr = i_mara-matnr
               AND spras = 'EN'.
      ENDIF.
    ENDFORM.                               " get_data
    *&      Form  output_data                                              *
    *  Populating the final output table.
    * There are no interface parameters to be passed.                      *
    FORM output_data .
      DATA:
        w_date2(10) TYPE c,                " For date formate
        w_date1(10) TYPE c.                " For date formate
      LOOP AT i_a090 INTO wa_a090.
        CONCATENATE wa_a090-datbi+6(2) wa_a090-datbi+4(2) wa_a090-datbi+0(4)
        INTO w_date1 SEPARATED BY '/'.
        CONCATENATE wa_a090-datab+6(2) wa_a090-datab+4(2) wa_a090-datab+0(4)
        INTO w_date2 SEPARATED BY '/'.
        wa_output-kschl = wa_a090-kschl.
        wa_output-vbeln = wa_a090-vbeln.
        wa_output-posnr = wa_a090-posnr.
        wa_output-matnr = wa_a090-matnr.
        wa_output-datbi = w_date1.
        wa_output-datab = w_date2.
        READ TABLE i_mara INTO wa_mara WITH KEY matnr = wa_a090-matnr.
        IF sy-subrc EQ 0.
          wa_output-matkl = wa_mara-matkl.
        ENDIF.
        READ TABLE i_makt INTO wa_makt WITH KEY matnr = wa_a090-matnr.
        IF sy-subrc EQ 0.
          wa_output-maktx = wa_makt-maktx.
        ENDIF.
        APPEND wa_output TO i_output.
        CLEAR wa_output.
      ENDLOOP.                             " LOOP AT i_a090
      DELETE ADJACENT DUPLICATES FROM i_output COMPARING ALL FIELDS.
      LOOP AT i_output INTO wa_output.
        CONCATENATE wa_output-kschl
                    wa_output-vbeln
                    wa_output-posnr
                    wa_output-matnr
                    wa_output-datbi
                    wa_output-datab
                    wa_output-matkl
                    wa_output-maktx
               INTO wa_final-string
               SEPARATED BY ','.
        APPEND wa_final TO i_final.
      ENDLOOP.                             " LOOP AT i_output...
    ENDFORM.                               " output_data
    *&      Form  header                                                   *
    *  Formating the header.                                               *
    *  There are no interface parameters to be passed.                     *
    FORM header .
      CONCATENATE text-004
                  text-005
                  text-006
                  text-007
                  text-008
                  text-009
                  text-010
                  text-011
             INTO wa_final-string
             SEPARATED BY ','.
      INSERT wa_final
      INTO i_final INDEX 1.
      PERFORM f901_output.
    ENDFORM.                               " header
    *&      Form  f901_output                                              *
    *  Downloading the final output table to the presentation server or    *
    *  application server.                                                 *
    *      -->P_I_OUTPUT  text                                             *
    *      -->P_P_PRICE  text                                              *
    FORM f901_output .
      IF p_app_p = 'X'.
        PERFORM f903_file_to_presentation
          USING p_price.
      ELSE.
        PERFORM f904_file_to_application
          USING p_price.
      ENDIF.                               " IF p_app_p
    ENDFORM.                               " f901_output
    *&      Form  f903_file_to_presentation                                *
    *  Dowload the file to the presentation server.                        *
    *      -->P_P_PRICE  text                                              *
    FORM f903_file_to_presentation  USING    p_p_price.
      DATA:
        lwa_file            TYPE string.  "#EC NEEDED     "rlgrap-filename.
      CONCATENATE p_filep p_p_price INTO lwa_file.
    *      Download the file
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *   BIN_FILESIZE                    = BIN_FILESIZE
          filename                        = lwa_file
          filetype                        = 'ASC'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      = FILELENGTH
        TABLES
          data_tab                        = i_final
    *   FIELDNAMES                      = FIELDNAMES
        EXCEPTIONS
          file_write_error                = 1
          no_batch                        = 2
          gui_refuse_filetransfer         = 3
          invalid_type                    = 4
          no_authority                    = 5
          unknown_error                   = 6
          header_not_allowed              = 7
          separator_not_allowed           = 8
          filesize_not_allowed            = 9
          header_too_long                 = 10
          dp_error_create                 = 11
          dp_error_send                   = 12
          dp_error_write                  = 13
          unknown_dp_error                = 14
          access_denied                   = 15
          dp_out_of_memory                = 16
          disk_full                       = 17
          dp_timeout                      = 18
          file_not_found                  = 19
          dataprovider_exception          = 20
          control_flush_error             = 21
      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.                               " f903_file_to_presentation
    regards
    twinkal

  • Code for excel sheets

    Hi,
    This is Employee Survey Application.
    Environment:Java,Servlets,HTML,Windows2000,Oracle.
    Our problem is ,we could able generate Reports from database to EXCEL sheet format.
    We have prepared database to HTML reports.
    Our client requirement is to generate Excel format reports.
    I want java code for genrating Excel reports from database(oracle) and How to run this xsl reports.

    Hi,
    you can use the HSSF component of the jakarta POI API (http://jakarta.apache.org/poi/index.html)
    Hi,
    This is Employee Survey Application.
    Environment:Java,Servlets,HTML,Windows2000,Oracle.
    Our problem is ,we could able generate Reports from
    database to EXCEL sheet format.
    We have prepared database to HTML reports.
    Our client requirement is to generate Excel format
    reports.
    I want java code for genrating Excel reports from
    database(oracle) and How to run this xsl reports.

  • Data Writing Speed for Excel Sheet while taking data from PCI DAQ card

    Dear All,
              I am taking the data form the card EX-92026 pci card and writing those datas into the Excel sheet, now i want the data at the speed of max of 10 miliseconds but while writing the data into excel sheet, it shows the diff of 15 ms betn 2 readings, and the card specs says it takes the time of 500 microsecs to give the data, so is there any effect of timing, while writing data into excel sheet? is labview take more time, i am using the Open file, write file and close file method and write to spreadsheet file method, but none of them is giving me the effective timing that i wamt, so can u tell me how can i reduce it??????
    Thanks,
    Nishant

    Hi Nishant:
    I think I don't understand you very well. If you are using OpenFile, CloseFile and WriteToSpreadsheet VIs, you are not dealing with excel files, but text files.
    Writing to file is costly in time. You can:
    Open the file just once and
    during de process use just file writing VIs as 'write to spreadsheet'... or a more simple one 'write file'
    Close the file once at the end.
    If you need the process to be faster, you can save all the data at 10ms rate in an array and write to file at the end.
    Or write to file every second what you got the last second.
    Hope it helps
    Aitortxo.
    Aitortxo.

  • Insert a PDF ro Word doc into an Excel sheet

    I have to track parts.  I created a spreadsheet to do this.  We are trying to as paparless as possible is my office.  I need to insert a PDF copy or the actual Word doc into the spreadsheet so my techs can access it and indicate that the
    parts have arrived.  This spreadsheet is on a SharePoint site and so are the PDF or Word copies of the documents that the techs need.  Inserting a hyperlink will pull the PDF doc up in another web tab which is what I don't want. 
    I need to be able to pull the docs up and modify them and save them back to the SharePoint file. Help!  THANKS!!!! 

    Have you considered using a SharePoint list instead of an excel spreadsheet? You can then attach one or many documents to each row in the list.

  • SSRS/Powerview to compare SQL table and excel sheet

    I have a SQL table and an excel sheet with some data...
    I want to be able to compare the two and find out which Excel rows are missing in the SQL table...
    Would it be easier to do this report in SSRS or would it be better to do it in Excel PowerView?
    If so how do I go about it?
    Thanks in advance for your help...
    Dhananjay Rele

    Hi Dhananjay,
    According to your description, you want to compare the data of a SQL table and an excel sheet. To achieve this goal, we can create two tables in Reporting Services report, one for SQL table with SQL Server connection type, another for excel sheet with ODBC
    connection type.
    For more details about how to create the report, please see the following steps:
    Create a report server project with SQL Server Data Tools (SSDT) Business Intelligence Templates list.
    Create a new report definition file in Solution Explorer.
    Create a Data Source named DataSource1 with Microsoft SQL Server Type, then select the SQL table database from the corresponding server.
    Create a Data Source named DataSource2 with ODBC Type, then select the excel file.
    Create two datasets which returns the SQL data and Excel sheet data based on the two data source, one for DataSource1, another for DataSource2.
    Create two table next to each other based on the datasets on the design surface.
    References:
    Create a Basic Table Report (SSRS Tutorial)
    Create SSRS report using Excel Data Source Step by Step
    If there are any other questions, please feel free to ask.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Creation of KM Doc iView

    Hi
    can anyone help me in creating KM Doc iView for uploading image files
    useful answers will be rewarded
    Regards
    JM

    hi
    nope that is not correct
    Create a Folder  in KM content
    Create a Km Upload iview you can create it from par or templates
    Specify the <b>path property</b> in the iview created to the folder you have    created  in KM content
    Assign the iview to the page .
    so you can upload the images now.
    Km document iview is used to view documents  . similarly you have to do for KM document iview and specify the path to folder to which documents are created.
    Hope this helps you please do award full points.
    Km Navigation is to display all the files specific to particular folder in content process remain same
    With regards
    subrato

  • Transaction iview Report output download to excel sheet

    Hi All,
    I have integrated abap report in Portal using Transaction iview.after executing the report we want to download the output values into spreadsheet.When i did this in portal i am getting following
    <b>Please wait. You will be forwarded automatically.This page had to be included for technical reasons.</b>
    Can anyone have idea how to download the output to excel sheet using transaction iview in portal?

    Hi JH,
    We had the same issue.  EP is trying to download an applet for the local file selection dialog and your browser is blocking it.  Once you adjust your browser security you will see the pop-up to allow installation of the applet.
    Regards,
    Alan

  • Generating EXCEL sheet from an iView

    hiii......
    i've developed a iView which holds list of users in a dropdown list box....and a button...
    now i want this data to be filled in a excel sheet when i click this button.....
    can some one send me sample code for this task...
    i have some code which doesnt work.......
    i cudnt debug this.....
    plz go through.......
    import java.io.FileOutputStream;
    import org.apache.poi.hssf.usermodel.HSSFCell;
    import org.apache.poi.hssf.usermodel.HSSFCellStyle;
    import org.apache.poi.hssf.usermodel.HSSFDataFormat;
    import org.apache.poi.hssf.usermodel.HSSFFont;
    import org.apache.poi.hssf.usermodel.HSSFRow;
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    public class XLSGen {
    public void generate() throws Exception {
         HSSFWorkbook wb = new HSSFWorkbook();
         FileOutputStream fileOut = new FileOutputStream("workbook.xls");
         HSSFSheet sheet = wb.createSheet();
         HSSFRow row = sheet.createRow(3);
         HSSFCell cell = row.createCell((short)0);
         HSSFCellStyle cs1 = wb.createCellStyle();
         HSSFCellStyle cs2 = wb.createCellStyle();
         HSSFCellStyle cs3 = wb.createCellStyle();
         HSSFDataFormat df = wb.createDataFormat();
         HSSFFont f = wb.createFont();
         HSSFFont f2 = wb.createFont();
         f.setFontHeightInPoints((short) 12);
         f2.setFontHeightInPoints((short) 10);
         cs1.setFont(f);
         cs1.setDataFormat(df.getFormat("#,##0.0"));
         cs2.setFont(f2);
         cell.setCellValue(1);
         row.createCell((short)1).setCellValue(1.2);
         row.createCell((short)2).setCellValue("This is a string");
         row.createCell((short)3).setCellValue(true);
    //     HttpServletResponse res = request.getServletResponse(true);
    //     res.setContentType("application/vnd.ms-excel");
    //     wb.write(res.getOutputStream());
         wb.write(fileOut);
         fileOut.close();
    thanks and regards,
    Sudheer

    Hi ,
    Modified your code .
    public void generate(IPortalComponentRequest request) throws Exception {
    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet();
    HSSFRow row = sheet.createRow(3);
    HSSFCell cell = row.createCell((short)0);
    HSSFCellStyle cs1 = wb.createCellStyle();
    HSSFCellStyle cs2 = wb.createCellStyle();
    HSSFCellStyle cs3 = wb.createCellStyle();
    HSSFDataFormat df = wb.createDataFormat();
    HSSFFont f = wb.createFont();
    HSSFFont f2 = wb.createFont();
    f.setFontHeightInPoints((short) 12);
    f2.setFontHeightInPoints((short) 10);
    cs1.setFont(f);
    cs1.setDataFormat(df.getFormat("#,##0.0"));
    cs2.setFont(f2);
    cell.setCellValue(1);
    row.createCell((short)1).setCellValue(1.2);
    row.createCell((short)2).setCellValue("This is a string");
    row.createCell((short)3).setCellValue(true);
    HttpServletResponse res = request.getServletResponse(true);
    try {
    res.setContentType("application/vnd.ms-excel");
    wb.write(res.getOutputStream());
    }catch(Exception e) {}
    Check this blog for more
    Create an excel file from JAVA using HSSF api

  • VF05 report(Billing doc list) exporting to excel sheet

    Hi
    I would like to export the VF05 report( Billing doc list) into the predefined layout of Excel sheet. How can we do this.
    Can anyone of you explain me this. It is the business requirement and they do not want to go for SAP scripts or zprogram.
    IT IS URGENT. PLEASE HELP ON...

    List -> Save -> File -> Spreadsheet (from the output screen)
    Give the location where you want to save the file and the file name and press "Generate".
    BTW, Welcome to SDN.

  • Cannot edit excel sheet in doc to go

    I can read but not edit an excel sheet in doc to go. It's a loan calculation with a lot of formulas within.
    Any idea? Is there a better software to use to edit excel datas.

    Please post Excel related questions on Microsoft's own forums for their Mac software.  Apple Communities only provide support for Apple products:
    http://www.officeformac.com/productforums

  • Upload  in Excel Sheet for Mid Year Go Live

    Hi Friends,
    How to upload T558 B & C tables in Excel Sheet for  Mid Year Go Live.
    Awaiting for your reply
    Regards
    Praveen P

    Hi,
    t558c template here between postingdate and amount two blank tab is there
    client     pernr     period     country     wagetype     postingdate               amount
    t558b template here between period and posting date two blank tab is there
    client     pernr     period               postingdate     periodparameter     year     period     monthstartrdate     enddate month
    and the date format is YYYYMMDD
    Edited by: BALAPANI on Oct 13, 2009 12:19 PM

  • Excel sheet on sharepoint to be used as source for Xcelsius dashboard

    Hi Everyone,
    We have to build an Xcelsius dashboard based on an excel sheet's data. This excel sheet is placed on a sharepoint, which will be updated periodically.
    I would like to know what kind of dat a connection i can use to fetch this excel data and publish this dashboard.
    I couldnt find any suitable type of connection in the data manager...please suggest me a way to get this done.
    Thanks,
    Shesha.

    Hi Ryan,
    Yes our customer does have sharepoint, can you please let me know how the sharepoint can expose the Excel spread sheet as a web service. I think this solution will work out, if i can get the web service. Please share the steps for this.
    Does it involve any 3rd party tools? .
    Thanks,
    Shesha.

  • Power Pivot Configuration error while refreshing connection on excel sheet for SharePoint 2013 and Sql server 2014

    we are getting error while refreshing connection on excel sheet which containing data from data source in form of power pivot.
    error is "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:"
    I am confused about Configuring the Analysis Service in SharePoint Mode.
    What account should be used for Configuring the Analysis Service in SharePoint Mode?
    what are the steps and what permissions are required and where to add it?
    can you please explain in detail so i can make sure about my account permission properly in my environment?
    Do we need to install Analysis service on sharepoint server box or not? if yes, then what are steps to follow it?
    it is mentioned here to have two services are running under manages services under sharepoint central,
    https://msdn.microsoft.com/en-us/library/jj682085.aspx#bkmk_verify_powerpivot
    but we don't have SQL Server Analysis Services
    running under  Manage
    services on server.
    what need to be done here to fix this issue ?
    Thanks,
    Deepak Patel

    Hi Deepak,
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    Meanwhile, could you please check if there is any related ULS log for help troubleshoot the issue when error occurs.
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshoot-powerpivot-data-refresh.aspx
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/04/02/powerpivot-for-sharepoint-manual-data-refresh-failing.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • S_ALR_80712357 'update document,update run'

    Dear friends, We are testing the report S_ALR_87012357, Advanced VAT return report. Accidentally we realized if we select the option 'update document, update run' but forgot to select 'batchinput session required', the report will marke the tax items

  • N8 - Nokia Sleeping Screen / Situations

    I am interested in trying out Nokia Sleeping Screens available from the Beta Lab. However, I already use Nokia Situations and I am very impressed with it, especially it's ability to switch profiles at certain times (eg, switching to my Night Time pro

  • Problem with a maintenance dialog for a table

    Hi, I created a table (ztable) with transaction code SE11 and a transaction (ztransaction) with SE93 to manage this table (ztable). When I use the transaction "ztransaction", I have a message like this : "The maintenance dialog for ZTABLE is incomple

  • G/L Account Balances

    Hello Dear Friends, I need G/L account Balances list including below datas. can you help me? thank you very much in advance... Reporting Period: 2011 January-March G/L Accounts  "Balance Carryforward"       "Debit Reporting Period"     "CreditReporti

  • Why do we use WLST Scripting when things can be done manually??

    Hi experts , It may be a stupid question , why do we use WLST scripting for things like deleting Queue _ _ etc ,      which can be done manually (through console)Please help i am newbie in this technology