ABAP OLE Objects

Hi ,
  I have used OLE Objects to move data from  5 internal tables to 5 sheets in a single XL file , but i am not able to get 4th and 5th sheet newly created , instead they are getting over writed in the third sheet itself.
so how to resolve this.
help reg this.

Hi,
  I think  you have given the third  sheet name  for fourth and fifth.
call method of application 'Worksheets' = sheet
      exporting
      #1 = 1.
      set property of sheet 'Name' = sheet_name.
      call method of sheet 'Activate'.
OR
you might have missed to add sheet.
CALL METHOD OF application 'Sheets' = sheets.
   CALL METHOD OF sheets 'Add'.
Run my program:
REPORT ZP_EXCEL .
*& Report ZP_EXCEL *
include ole2incl.
data: application type ole2_object,
workbook type ole2_object,
sheet type ole2_object,
cells type ole2_object,
sheets TYPE ole2_object.
constants: row_max type i value 256.
data index type i.
data : det type ref to CL_ABAP_structDESCR,
       wa like line of det->components.
data: begin of i_finaltab occurs 0,
       Col1 type i,
       col2 type i,
       col3 type i,
       col4 type i,
      end of i_finaltab.
data : count type i,
        v_excel_count(3), " type i value 1,
        sheet_name(15)  .
*START-OF-SELECTION
start-of-selection.
do 100 times.
  count =  count + 1.
  i_finaltab-col2 = 5 * count.
  i_finaltab-col3 = 10 * count.
  i_finaltab-col4 = 20 * count.
  move : count to i_finaltab-col1.
  append  i_finaltab.
  clear i_finaltab.
enddo.
clear count.
create object application 'excel.application'.
set property of application 'visible' = 1.
call method of application 'Workbooks' = workbook.
call method of workbook 'Add'.
Create first Excel Sheet
call method of application 'Worksheets' = sheet
exporting
#1 = 1.
  call method of sheet 'Activate'.
  set property of sheet 'Name' = 'EXCEL0'.
     count = 1.
     index = row_max * ( count - 1 ) + 1.
     perform header_details.
DATA FNAME(60) VALUE '/data/sapdata/mk112.xls'.
OPEN DATASET FNAME FOR OUTPUT.
loop at i_finaltab.
   count = count + 1.
  if count LE 6.
    index = row_max * ( count - 1 ) + 1. " 1 - column name
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col1.
     index =  index + 1.
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col2.
    index =  index + 1.
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col3.
    index =  index + 1.
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col4.
  else.
    v_excel_count =  v_excel_count + 1.
   CALL METHOD OF application 'Sheets' = sheets.
   CALL METHOD OF sheets 'Add'.
   concatenate 'EXCEL' v_excel_count into sheet_name.
     clear count.
     count =  count + 1.
     call method of application 'Worksheets' = sheet
      exporting
      #1 = 1.
      set property of sheet 'Name' = sheet_name.
      call method of sheet 'Activate'.
      index = row_max * ( count - 1 ) + 1.
      perform header_details.
      count =  count + 1.
      index = row_max * ( count - 1 ) + 1. " 1 - column name
      call method of sheet 'Cells' = cells
      exporting
       #1 = index.
     set property of cells 'Value' = i_finaltab-col1.
      index =  index + 1.
      call method of sheet 'Cells' = cells
      exporting
       #1 = index.
      set property of cells 'Value' = i_finaltab-col2.
    index =  index + 1.
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col3.
    index =  index + 1.
    call method of sheet 'Cells' = cells
    exporting
     #1 = index.
    set property of cells 'Value' = i_finaltab-col4.
   endif.
endloop.
*&      Form  header_details
      text
-->  p1        text
<--  p2        text
form header_details.
det ?= cl_abap_typedescr=>describe_by_DATA( i_finaltab ).
loop at det->components into wa.
  call method of sheet 'Cells' = cells
  exporting
  #1 = index.
  set property of cells 'Value' = wa-name.
  index = index + 1.
endloop.
endform.                    " header_details

Similar Messages

  • Invoking Openoffice calc through ABAP OLE Object

    I want to show the output of my ABAP process  through openoffice calc worksheet.
    I tried to invoke calc using ABAP OLE object.
    But even a blank calc sheet is not getting opened with the following statements.
    Type-pools: OLE2.
    TYPES:
    service_manager type OLE2_OBJECT,
    DESKTOP type OLE2_OBJECT,
    DOCUMENT type OLE2_OBJECT.
    CREATE OBJECT service_manager 'com.sun.star.ServiceManager'.
    CALL METHOD OF SERVICE_MANAGER 'createInstance' = DESKTOP
    EXPORTING #1 = 'com.sun.star.frame.Desktop'.
    CALL METHOD OF DESKTOP 'loadComponentFromURL' = DOCUMENT
    EXPORTING #1 = 'private:factory/scalc'
              #2 = '_blank'
              #3 = 0
              #4 = '' .
    What is wrong with this code?. Is there any other setting required at the system/OS/ABAP/BASIS
    level to invoke openoffice applications?.
    I have registered the classid for openservice manager in the transaction SOLE. Still it is not working.
    Iam able to invoke openoffice applications with Visual Basic/Power builder lanaguages.
    Please respond.
    Thanks in advance
    Liju

    I don't think it's possible.
    4th parameter of loadComponentFromURL method is an array ( http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html )
    Arrays are not supported as parameters in ABAP OLE Automation. (see note [633105|https://service.sap.com/sap/support/notes/633105] - OLE automation: ABAP type for OLE array parameters )

  • ABAP OLE Word - Delete last page

    Dear all,
    I have a SAP program which prints some documents in Microsoft Word by using ABAP OLE Objects.
    I use a template to take the main context, and after that I send some variables in order to populate the word document.
    The problem is when I create the new word document, I paste the template text in a new document, but at the end I have always an empty page. I don't know how to delete this final page, I don't find the corresponding OLE method to do it.
    I have found a method to cut a line, but the problem is that line is also empty, and I cannot cut it.
    Could anyone help me?
    Many thanks in advance and best regards.

    Hi,
    post some code lines. Format as code, use preview.
    Regards,
    Clemens

  • OLE object -Properties/Parameters of a method

    HI,
      Sample code,
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = '1'.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    GET PROPERTY OF cells 'Font' = gs_font .
    SET PROPERTY OF gs_font  'Bold' = 1.
    SET PROPERTY OF gs_font 'ColorIndex' = 5.
    SET PROPERTY OF cells 'Value' = 'Server name'.
    In this sample code , properties Visible, Bold, Colorindex, Value are set to some values.
    How to find these properties ?
    In which DB Table they are stored ?
    How to get all the properties/parameters of a method ?
    All are concerned with ABAP OLE Objects .
    Pls help regarding this .

    Hi
    Try make in Excel a macro, which do what you need  and analyse than the code of the macro.
    It is very helpfull to find the properites.
    JS

  • OLE objects and OO methods - Error using OLE automation

    Hi,
    I'm developing an class to read/write excel sheets and i'm getting an error on the OLE method that is:
    on this instruction
    call method of l_obj_excel 'WORKBOOKS' = l_workb_col.
    i got a dump that give me the following error UC_OBJECTS_NOT_CONVERTIBLE
    The strange is that i've got the same code running on reports and it works fine only when passing it to a oo method i get that dump.
    Thzs in advanced to all
    Best regards
    Jaime

    hi check this..
    Report ZMULTICOLOR_TEST no standard page heading.
    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_c type ole2_object.            " color
    DATA: FILENAME LIKE RLGRAP-FILENAME.
    tables: spfli.
    data  h type i.
    table of flights
    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.
    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_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.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_cell using 1 1 1 200 'Carrier id'(001).
      perform fill_cell using 1 2 1 200 'Connection id'(002).
      perform fill_cell using 1 3 1 200 'City from'(003).
      perform fill_cell using 1 4 1 200 'City to'(004).
      perform fill_cell using 1 5 1 200 'Dep. Time'(005).
      loop at it_spfli.
    copy flights to active EXCEL sheet
        h = sy-tabix + 1.
        if it_spfli-carrid cs 'AA'.
          perform fill_cell using h 1 0 000255000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'AZ'.
          perform fill_cell using h 1 0 168000000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'JL'.
          perform fill_cell using h 1 0 168168000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'LH'.
          perform fill_cell using h 1 0 111111111 it_spfli-carrid.
        elseif it_spfli-carrid cs 'SQ'.
          perform fill_cell using h 1 0 100100100 it_spfli-carrid.
        else.
          perform fill_cell using h 1 0 000145000 it_spfli-carrid.
        endif.
        if it_spfli-connid lt 400.
          perform fill_cell using h 2 0 255000255 it_spfli-connid.
        elseif it_spfli-connid lt 800.
          perform fill_cell using h 2 0 077099088 it_spfli-connid.
        else.
          perform fill_cell using h 2 0 246156138 it_spfli-connid.
        endif.
        if it_spfli-cityfrom cp 'S*'.
          perform fill_cell using h 3 0 155155155 it_spfli-cityfrom.
        elseif it_spfli-cityfrom cp 'N*'.
          perform fill_cell using h 3 0 189111222 it_spfli-cityfrom.
        else.
          perform fill_cell using h 3 0 111230222 it_spfli-cityfrom.
        endif.
        if it_spfli-cityto cp 'S*'.
          perform fill_cell using h 4 0 200200200 it_spfli-cityto.
        elseif it_spfli-cityto cp 'N*'.
          perform fill_cell using h 4 0 000111222 it_spfli-cityto.
        else.
          perform fill_cell using h 4 0 130230230 it_spfli-cityto.
        endif.
        if it_spfli-deptime lt '020000'.
          perform fill_cell using h 5 0 145145145 it_spfli-deptime.
        elseif it_spfli-deptime lt '120000' .
          perform fill_cell using h 5 0 015215205 it_spfli-deptime.
        elseif it_spfli-deptime lt '180000' .
          perform fill_cell using h 5 0 000215205 it_spfli-deptime.
        else.
          perform fill_cell using h 5 0 115115105 it_spfli-deptime.
        endif.
      endloop.
    EXCEL FILENAME
      CONCATENATE SY-REPID '_' SY-DATUM6(2) '_' SY-DATUM4(2) '_'
                  SY-DATUM(4) '_' SY-UZEIT '.XLS' INTO FILENAME.
      CALL METHOD OF H_MAP 'SAVEAS' EXPORTING #1 = FILENAME.
      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 col val.
      call method of h_excel 'Cells' = h_zl
        exporting
          #1 = i
          #2 = j.
      perform err_hdl.
      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.
      set property of h_f 'Color' = col.
      perform err_hdl.
    endform.                    "FILL_CELL
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    form err_hdl.
      if sy-subrc <> 0.
        write: / 'OLE-Automation Error:'(010), sy-subrc.
        stop.
      endif.
    endform.                    " ERR_HDL
    regards,
    venkat

  • ABAP & OLE Automation Controller

    Hi everybody,
    When I use ABAP & OLE Automation Controller to build a Excel file, I don't find a documentation about the values of the properties parameters.
    For example:
    (DATA gs_cell TYPE ole2_object.)
    SET PROPERTY OF gs_cell  'HorizontalAlignment' = -4108 .
    I found in Visual Basic Editor all properties of the OLE objects. But the number -4108 remains a mystery for me.
    Where can we find this value ?
    I tried to read the official Microsoft and ABAP documentation without success.
    Can you help me ?
    I thank you in advance.
    Patrocle

    Hi,
    I use http://msdn.microsoft.com/en-us/library/ms262200.aspx site
    In the documentation for Range.HorizontalAlignment You can find it uses XlHAlign:
    http://msdn.microsoft.com/en-us/library/bb241313(v=office.12).aspx
    Name                    Value     Description
    xlHAlignCenter               -4108     Center.
    xlHAlignCenterAcrossSelection         7     Center across selection.
    xlHAlignDistributed          -4117     Distribute.
    xlHAlignFill                   5     Fill.
    xlHAlignGeneral                   1     Align according to data type.
    xlHAlignJustify               -4130     Justify.
    xlHAlignLeft               -4131     Left.
    xlHAlignRight               -4152     Right.
    Regards,
    Przemysław

  • Can't print OLE objects when 9i report developed in 6i

    Hi,
    I am migrating my reports from 6i to 9i. I just open report in 9i which is already developed in 6i and run the report it don't print OLE objects. It shows when I run report in Designer Preview, but in printing it shows blank
    --Vijay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    The answer is in the Migration FAQ :
    When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
    Regards

  • Error while activating ABAP proxy object

    Hello,
    I can see all the interfaces of PI7.0 in my ECC6.0 system.
    I am able to create abap proxy object of a interface.
    But when I try to activate that I am getting error as
    "RFC system error for destination GTADIR_SERVER".
    Pl can you suggest. appreciate quick help in this.
    thanks in advance,
    Sharada

    Hi,
    For more details take a look at note:  [1063482 - Creating Dictionary objects - RFC error GTADIR_SERVER|https://service.sap.com/sap/support/notes/1063482]
    It is written that: Message SGSUB 104 is not an error message, but is merely irrelevant information for customers. You can continue to create objects nevertheless.
    To get rid of this annoying error you have to implement the corresponding  support package.
    Regards,
    Jakub

  • Header and footer in excel sheet (ole object)

    How can we generate footer and header in an excel sheet with ole object ?
    Thanks

    hi brian,
    Excel Upload Alternative - KCD_EXCEL_OLE_TO_INT_CONVERT
    *Title : Excel Uploading
    TYPES:   BEGIN OF t_datatab,
             col1(25)  TYPE c,
             col2(30)  TYPE c,
             col3(30)  TYPE c,
             col4(30)  TYPE c,
             col5(30)  TYPE c,
             col6(30)  TYPE c,
             col7(30) TYPE c,
             col8(30)  TYPE c,
             col9(30)  TYPE c,
             col10(30)  TYPE c,
             col11(30)    TYPE c,
           END OF t_datatab.
    DATA: it_datatab TYPE STANDARD TABLE OF t_datatab INITIAL SIZE 0,
          wa_datatab TYPE t_datatab.
    Data : p_table type t_datatab occurs 0 with header line.
    DATA : gd_scol   TYPE i VALUE '1',
           gd_srow   TYPE i VALUE '1',
           gd_ecol   TYPE i VALUE '256',
           gd_erow   TYPE i VALUE '65536'.
    DATA: it_tab TYPE filetable,
          gd_subrc TYPE i.
    field-symbols : <fs>.
    *Selection screen definition
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  p_file LIKE rlgrap-filename
                   DEFAULT 'c:\test.xls' OBLIGATORY.   " File Name
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      REFRESH: it_tab.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title     = 'Select File'
          default_filename = '*.xls'
          multiselection   = ' '
        CHANGING
          file_table       = it_tab
          rc               = gd_subrc.
      LOOP AT it_tab INTO p_file.
       so_fpath-sign = 'I'.
       so_fpath-option = 'EQ'.
       append so_fpath.
      ENDLOOP.
    START-OF-SELECTION.
      PERFORM upload_excel_file TABLES   it_datatab
                                 USING   p_file
                                         gd_scol
                                         gd_srow
                                         gd_ecol
                                         gd_erow.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3,
                wa_datatab-col4,
                wa_datatab-col5,
                wa_datatab-col6,
                wa_datatab-col7,
                wa_datatab-col8,
                wa_datatab-col9,
                wa_datatab-col10,
                wa_datatab-col11.
      ENDLOOP.
    *&      Form  UPLOAD_EXCEL_FILE
          upload excel spreadsheet into internal table
         -->P_TABLE    Table to return excel data into
         -->P_FILE     file name and path
         -->P_SCOL     start column
         -->P_SROW     start row
         -->P_ECOL     end column
         -->P_EROW     end row
    FORM upload_excel_file TABLES   p_table
                           USING    p_file
                                    p_scol
                                    p_srow
                                    p_ecol
                                    p_erow.
      DATA : lt_intern TYPE  kcde_cells OCCURS 0 WITH HEADER LINE.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
      DATA : ld_index TYPE i.
    Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                = p_file
          i_begin_col             = p_scol
          i_begin_row             = p_srow
          i_end_col               = p_ecol
          i_end_row               = p_erow
        TABLES
          intern                  = LT_INTERN
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'Error Uploading file'.
        EXIT.
      ENDIF.
      IF lt_intern[] IS INITIAL.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'No Data Uploaded'.
        EXIT.
      ELSE.
        SORT lt_intern BY row col.
        LOOP AT lt_intern.
         MOVE lt_intern-col TO ld_index.
         assign component ld_index of structure
         p_table to <fs>.
    move : lt_intern-value to <fs>.
        MOVE lt_intern-value TO p_table.
          AT END OF row.
            APPEND p_table.
            CLEAR p_table.
          ENDAT.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "UPLOAD_EXCEL_FILE
    thanks
    abdul

  • Report with OLE Object Problem (Crystal Report 11)

    Post Author: ibertola
    CA Forum: General
    Hi all,I'm a new user, and I've got a problem with OLE object. I would like to have a report that show me ONLY one of many OLE (word document) in Crystal structure.I've created 3 section detail, and in each one I've insert OLE object (creating from a file, and LINK).So, if I change one document stored locally, and then refresh the report, the content doesn't change like the linked file! Actually I've got all locally  Please help me.

    CR XI r2 is not supported on WIN 2008. See the [supported platforms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7081b21c-911e-2b10-678e-fe062159b453]
    documentation  and [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki.
    Ludek

  • Ole object missing on pdf file

    i have long raw field in database. i am saving excel workbook in it through ole container. it displays well on report but when i generate pdf from report it miss ole field and show that portion of report blank. It exports ole object in postscript format (.eps) but i dont now any software which can open this file and show result on screen.
    i am using developer 6i with oracle 9i database in client-server environment.
    thanks

    Hello,
    Take a look to the thread :
    Re: Image in Reports
    eps files are "Encapsulated PostScript", for more details :
    http://www.tailrecursive.org/postscript/eps.html
    for example
    Regards

  • Problem with ole objects

    Hello to all,
    I'm having a problem concerning the use of ole objects.
    I'm using Oracle Forms 6.0.8.16.0 with Oracle Reports 6.0.8.1.7.1 on Windows 2000 with Oracle Database Server 9.2.0.4.0.
    I have several forms with base tables including blob columns which are used to store ole objects. These could be MS-Word-documents or Bitmaps of signatures. When inserting these objects via "create new" and choose the object type, Word or Paintbrush opens and i can create my objects. After committing these changes to the database, these objects are printed in a report correctly. When inserting these objects via "create from file" or using a push button which is executing "initialize_container" with a file and committing to the database, i get an error while executing the report "REP-0082: Error executing SCA utility".
    I want to use a push button to store my ole objects because the "create" dialogue is confusing our users because there is a huge list of all possible ole objects on the client.
    Can anybody help with this ?
    And to the Oracle Team, please don't suggest simply to upgrade to a higher patch level without looking at the problem. First, I tested all patch levels up to 16, with no change. Second, it's not easy to upgrade for an 24x7 application with hundreds of users in different countries with different ways of deployment.
    Regards
    Kai

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Attention!!-don't use OLE object in Reports

    If you are planning to use or is currently using OLE objects in Reports-please don't use it as the object maynot reload in future and your report may not even open in Report Builder.I got this message when opening the report containing OLE object:
    REP-4004: Error occurred while restoring OLE object
    and it refused to open up crashing my days of work.
    The pity is I can't open my report even to remove the OLE object.

    I know that is weird.I placed the object in the same directory-but in vain.Afterall, what's the logic of putting it in the same directory after embedding it?

  • The Picture of OLE object  in the report  can't be printed, and how to sovle dynamic OLE object based on path

    <p>Hi, everybody,</p><p>  I have a problem which the picture in the report can&#39;t be printed.</p><p>I want to display some pictures  in the reports and print them.So I insert the picture as OLE object, select the graph format and set graph location fomular with the path of the picture which is stored in the local machine. I run the system and generate the report,  the picture is displayed correctly in the report, but when i print the report using ie&#39;s tool, the picture is gone and replaced with a little red mark. </p><p>I want to use the new feature of dynamic graph location about  the  crystal report xi version, but I don&#39;t know where I should put the picture into on the web server and what the path is . Because my web server is installed in the another machine.</p><p>I check the view source of html report and  find that the system searches the picture under  the crystalreportviewer11 folder on the web server.</p>

    Need to give the web server access to the folder

  • OLE objects linked to MS Word/MS Excel do not update in InfoView

    I am facing the following problem:
    - Embedded a Word document as linked OLE object into a crystal report and stored it to Enterprise repository.
    - When opening the report with CR Developer from my workstation, links are updated and changes made in the .doc file are reflected, the report is updated
    - However when displaying and refreshing the report in InfoView changes aren't reflected.
    The OLE link (type document) is set to update automatically. I tried to store the report to the enterprise repository with and without data. Yet no difference - no update in either case. Neither scheduling nor opening and refreshing the report in InfoView helps.
    I further inserted an OLE object linked to a bmp image, and for the image refreshing works, even in InfoView
    So am I doing something wrong?
    Some threads in this forum indicate that only OLE linked pictures (bmp, jpg) can be refreshed dynamically, e.g.
    [Dynamically change path to OLE file]
    Others indicate that it is also possible to dynamically refresh OLE objects linked to .doc, e.g.
    [Re: Link to Word document doesn't refresh when running from Infoview]
    - Is it at all possible to dynamically display the contents of .doc or .xls files in a CR when viewing and refreshing the report in InfoView (without the need to reopen and resave the report with CR Developer first) ?
    - We are using BOE XI3.1 SP3 and Crystal Reports 2008 SP3.  On the BOE server Crystal Reports Developer is not installed. Can this be a prerequisite for the OLE links to update in InfoView?
    - Any other suggestions?
    Thanks
    Konrad

    Hi Don,
    Thank you for the quick reply.
    - You say that this works in CR Designer. That's right. As described above, even I can open the report with CR Designer and the links are getting updated.
    - However if I do not reopen and resave the report with Designer ... if I just open and refresh the report in InfoView to get the updated information from the files ... changes are not shown. I face this problem ONLY with ole links to .doc and .exe. OLE links to image formats such as .bmp do work. WHY?
    My files are already stored locally to the BO server and the (changed) image files are read and updated from exactly this directory. But not the linked Excel and Word files...
    Thanks
    Konrad
    Edited by: Konrad Hartl on Jan 25, 2011 8:04 PM

Maybe you are looking for