Fatal Error when exporting Report to Excel

Hi Everyone, I've been trying to export my report to excel.  But I have exhausted all possible reasons and I just couldn't figure it out.  Can someone please help me.  Thanks in advance.
PROGRAM NAME :   ZADC_PAYSUMNEW
REPORT ZADC_PAYSUMNEW
NO STANDARD PAGE HEADING
                  LINE-SIZE 450
                  LINE-COUNT 65 MESSAGE-ID zmes.
TABLE DECLARATION                                                   *
TABLES: cskt,
        csks,
        pa0009,
        pcl1,
        pcl2,
        pernr,
        t512t,
        t549a,
        t527x,
        zhrprtype.
   INFOTYPES DECLARATION
INFOTYPES: 0001, 0002.
   INCLUDE DECLARATION
INCLUDE: rpc2rx00.
INCLUDE: rpc2rxx0.
INCLUDE: rpppxd00.
   INTERNAL TABLE DECLARATION
DATA: BEGIN OF itab OCCURS 0,
        khinr LIKE csks-khinr,
        kostl LIKE p0001-kostl,
        ltext(40),
        p_date LIKE pc261-inper,
        basic(7) TYPE p DECIMALS 2,
        pera(7) TYPE p DECIMALS 2,
        longp(7) TYPE p DECIMALS 2,
        trall(6) type p decimals 2,
        srvaw(6) TYPE p DECIMALS 2,
        chall(7) TYPE p DECIMALS 2,
        leave(7) TYPE p DECIMALS 2,
        meal(7) TYPE p DECIMALS 2,
        saldf(7) TYPE p DECIMALS 2,
        sipps(7) TYPE p DECIMALS 2,
        sipgs(7) TYPE p DECIMALS 2,
        subs(7) TYPE p DECIMALS 2,
        hzard(7) TYPE p DECIMALS 2,
        lallw(7) TYPE p DECIMALS 2,
        medps(7) TYPE p DECIMALS 2,
        medgs(7) TYPE p DECIMALS 2,
        pcontps(7) TYPE p DECIMALS 2,
        pcontgs(7) TYPE p DECIMALS 2,
        pagibps(6) TYPE p DECIMALS 2,
        pagibgs(6) TYPE p DECIMALS 2,
        lwop(7) TYPE p DECIMALS 2,
        npay(7) TYPE p DECIMALS 2,
        otime(7) TYPE p DECIMALS 2,
        ec(7) TYPE p DECIMALS 2,
        fr_date like sy-datum,
        to_date like sy-datum,
      END OF itab.
DATA: BEGIN OF jtab OCCURS 0,
        khinr LIKE csks-khinr,
        kostl LIKE p0001-kostl,
        ltext(40),
        basic(7) TYPE p DECIMALS 2,
        pera(7) TYPE p DECIMALS 2,
        longp(7) TYPE p DECIMALS 2,
        trall(6) type p decimals 2,
        srvaw(6) TYPE p DECIMALS 2,
        chall(7) TYPE p DECIMALS 2,
        leave(7) TYPE p DECIMALS 2,
        meal(7) TYPE p DECIMALS 2,
        saldf(7) TYPE p DECIMALS 2,
        sipps(7) TYPE p DECIMALS 2,
        sipgs(7) TYPE p DECIMALS 2,
        subs(7) TYPE p DECIMALS 2,
        hzard(7) TYPE p DECIMALS 2,
        lallw(7) TYPE p DECIMALS 2,
        medps(7) TYPE p DECIMALS 2,
        medgs(7) TYPE p DECIMALS 2,
        pcontps(7) TYPE p DECIMALS 2,
        pcontgs(7) TYPE p DECIMALS 2,
        pagibps(6) TYPE p DECIMALS 2,
        pagibgs(6) TYPE p DECIMALS 2,
        lwop(7) TYPE p DECIMALS 2,
        npay(7) TYPE p DECIMALS 2,
        otime(7) TYPE p DECIMALS 2,
        ec(7) TYPE p DECIMALS 2,
      END OF jtab.
DATA: it_list TYPE STANDARD TABLE OF itab   WITH HEADER LINE.
   CONSTANTS DECLARATION
CONSTANTS: basic  TYPE pc207-lgart VALUE '0401',
           basic2 TYPE pc207-lgart VALUE '0402',
           basic3 TYPE pc207-lgart VALUE '0403',
           PERA   TYPE pc207-lgart VALUE '3104',
           PERA2 TYPE pc207-lgart VALUE '3110',
           longp  TYPE pc207-lgart VALUE '1601',
           longp2 TYPE pc207-lgart VALUE '1603',
           trall  TYPE pc207-lgart VALUE '3109',
           srvaw TYPE pc207-lgart VALUE '2117',
           leave TYPE pc207-lgart VALUE '2118',
           chall  TYPE pc207-lgart VALUE '3105',
           chall2 TYPE pc207-lgart VALUE '3111',
           chall3 TYPE pc207-lgart VALUE '3112',
           meal   TYPE pc207-lgart VALUE '3102',
           saldf  TYPE pc207-lgart VALUE '4103',
           sipps  TYPE pc207-lgart VALUE '/090',
           sipps2 TYPE pc207-lgart VALUE '1121',
           subs   TYPE pc207-lgart VALUE '3101',
           hzard  TYPE pc207-lgart VALUE '1602',
           lallw  TYPE pc207-lgart VALUE '3103',
           medps  TYPE pc207-lgart VALUE '/313',
           medgs  TYPE pc207-lgart VALUE '/314',
           pcontps  TYPE pc207-lgart VALUE '/093',
           pcontps2 TYPE pc207-lgart VALUE '1327',
           pcontps3 TYPE pc207-lgart VALUE '1120',
           pagibps  TYPE pc207-lgart VALUE '/326',
           pagibps2 TYPE pc207-lgart VALUE '1326',
           lwop   TYPE pc207-lgart VALUE '1102',
           otime  TYPE pc207-lgart VALUE '0101',
           otime2 TYPE pc207-lgart VALUE '0102',
           otime3 TYPE pc207-lgart VALUE '0103',
           otime4 TYPE pc207-lgart VALUE '0104',
           npay   TYPE pc207-lgart VALUE '/559'.
   DATA DECLARATION
DATA: BEGIN OF COMMON PART buffer.
INCLUDE: rpppxd10.
DATA: END OF COMMON PART buffer.
*Table data containing directory to PCL2 payroll results file DATA:
DATA: BEGIN OF rgdir OCCURS 100.
        INCLUDE STRUCTURE pc261.
DATA: END OF rgdir.
DATA: BEGIN OF evpdir OCCURS 100.
        INCLUDE STRUCTURE pc261.
DATA: END OF evpdir.
DATA: country LIKE t001p-molga,
      lname LIKE t527x-orgtx,
      filename2(128),
      p_date LIKE pc261-inper,
      w_basic  LIKE pc207-lgart,
      w_basic2 LIKE pc207-lgart,
      w_basic3 LIKE pc207-lgart,
      w_pera LIKE pc207-lgart,
      w_pera2 LIKE pc207-lgart,
      w_longp LIKE pc207-lgart,
      w_longp2 LIKE pc207-lgart,
      w_trall LIKE pc207-lgart,
      w_srvaw LIKE pc207-lgart,
      w_leave LIKE pc207-lgart,
      w_chall LIKE pc207-lgart,
      w_chall2 LIKE pc207-lgart,
      w_chall3 LIKE pc207-lgart,
      w_meal LIKE pc207-lgart,
      w_saldf LIKE pc207-lgart,
      w_sipps LIKE pc207-lgart,
      w_sipps2 LIKE pc207-lgart,
      w_subs LIKE pc207-lgart,
      w_hzard LIKE pc207-lgart,
      w_lallw LIKE pc207-lgart,
      w_medps LIKE pc207-lgart,
      w_medgs LIKE pc207-lgart,
      w_pcontps LIKE pc207-lgart,
      w_pcontps2 LIKE pc207-lgart,
      w_pcontps3 LIKE pc207-lgart,
      w_pagibps LIKE pc207-lgart,
      w_pagibps2 LIKE pc207-lgart,
      w_lwop LIKE pc207-lgart,
      w_otime LIKE pc207-lgart,
      w_otime2 LIKE pc207-lgart,
      w_otime3 LIKE pc207-lgart,
      w_otime4 LIKE pc207-lgart,
      w_npay LIKE pc207-lgart,
      tempgs(7) TYPE p DECIMALS 2,
      ctr-basic(7) TYPE p DECIMALS 2,
      ctr-pera(7) TYPE p DECIMALS 2,
      ctr-longp(7) TYPE p DECIMALS 2,
      ctr-trall(6) TYPE p DECIMALS 2,
      ctr-srvaw(6) TYPE p DECIMALS 2,
      ctr-leave(7) TYPE p DECIMALS 2,
      ctr-chall(7) TYPE p DECIMALS 2,
      ctr-meal(7) TYPE p DECIMALS 2,
      ctr-saldf(7) TYPE p DECIMALS 2,
      ctr-sipps(7) TYPE p DECIMALS 2,
      ctr-sipgs(7) TYPE p DECIMALS 2,
      ctr-subs(7) TYPE p DECIMALS 2,
      ctr-hzard(7) TYPE p DECIMALS 2,
      ctr-lallw(7) TYPE p DECIMALS 2,
      ctr-medps(7) TYPE p DECIMALS 2,
      ctr-medgs(7) TYPE p DECIMALS 2,
      ctr-pcontps(7) TYPE p DECIMALS 2,
      ctr-pcontgs(7) TYPE p DECIMALS 2,
      ctr-pagibps(6) TYPE p DECIMALS 2,
      ctr-pagibgs(6) TYPE p DECIMALS 2,
      ctr-lwop(7) TYPE p DECIMALS 2,
      ctr-otime(7) TYPE p DECIMALS 2,
      ctr-npay(7) TYPE p DECIMALS 2,
      ctr-ec(7) TYPE p DECIMALS 2.
DATA: BEGIN OF  ph-version.
        INCLUDE STRUCTURE pc201_pay.   "XTWPH9K008656
DATA: END OF  ph-version.
DATA: fr_date LIKE sy-datum,
      to_date LIKE sy-datum.
   SELECT-OPTIONS and PARAMETERS
SELECT-OPTIONS: p_status FOR rgdir-srtza DEFAULT 'A'.
DATA: DATE1(15),
      mon(9).
   DEFINITION
DEFINE rp-imp-c2-rx2.
  clear:
    orx-version,                       "OBJECTS_FOR_CLEAR
    rt, rt[].
  import
    ph-version to orx-version          "OBJECTS_FOR_IMPORT
    rt
  from database pcl2(ph) id rx-key using pcl2_exp_imp.
  rp-imp-rx-subrc = sy-subrc.
  if sy-subrc eq 0 and orx-version-number ne ph-version-number.
    rp-imp-rx-subrc = 8.
  endif.
END-OF-DEFINITION.
TYPE-POOLS: slis.
DATA: g_repid LIKE sy-repid,
      gt_fieldcat TYPE slis_t_fieldcat_alv,
      gt_events TYPE slis_t_event,
      gt_top TYPE slis_t_listheader,
      gt_eol TYPE slis_t_listheader,
      gt_list_top_of_page TYPE slis_t_listheader,
      gt_list_end_of_list TYPE slis_t_listheader,
      gs_layout TYPE slis_layout_alv,
      d_f2code LIKE sy-ucomm              VALUE  '&ETA'.
CONSTANTS: fn_top TYPE slis_formname VALUE 'TOP_OF_PAGE',
           fn_eol TYPE slis_formname VALUE 'END_OF_LIST'.
DATA: it_alv_out TYPE STANDARD TABLE OF itab WITH HEADER LINE.
INITIALIZATION.
g_repid = sy-repid.
PERFORM f_fieldcat_init USING gt_fieldcat[].
PERFORM eventtab_build USING gt_events[].
   START-OF-SELECTION.
START-OF-SELECTION.
fr_date = to_date = pn-endda.
fr_date+6(2) = '01'.
  SELECT SINGLE * FROM t549a
     WHERE abkrs = pnpxabkr.
  GET PERNR.
    CLEAR: itab, lname.
    PERFORM get_rt_tab.
END-OF-SELECTION.
  PERFORM display_grid.
  INCLUDE rpppxm00.
USING DATM
      FORM get_rt_tab                                               *
FORM get_rt_tab.
  rp_provide_from_last p0001 space pn-begda pn-endda.
  rp_provide_from_last p0002 space pn-begda pn-endda.
  CALL FUNCTION 'CU_READ_RGDIR'
       EXPORTING
            persnr          = p0001-pernr
       IMPORTING
            molga           = country
       TABLES
            in_rgdir        = rgdir
       EXCEPTIONS
            no_record_found = 1
            OTHERS          = 2.
  IF sy-subrc = 0.
  SELECT single ltext FROM cskt
    INTO itab-ltext
    WHERE kostl = p0001-kostl
      AND datbi = '99991231'.
  SELECT SINGLE * FROM csks
    WHERE kostl = p0001-kostl
      AND kokrs = 'GSIS'
      AND datbi = '99991231'.
  IF sy-subrc = 0.
    MOVE: csks-kostl TO itab-kostl,
          csks-khinr TO itab-khinr.
  ENDIF.
    p_date = pn-paper.
  regular payroll run.
    CALL FUNCTION 'CD_EVALUATION_PERIODS'
         EXPORTING
              bonus_date      = '00000000'
              inper_modif     = t549a-permo
              inper           = p_date
              pay_type        = ' '
              pay_ident       = ' '
         TABLES
              rgdir           = rgdir
              evpdir          = evpdir
         EXCEPTIONS
              no_record_found = 1
              OTHERS          = 2.
    IF sy-subrc = 0.
      LOOP AT evpdir WHERE srtza IN p_status and FPPER eq pn-begda+(6).
        rx-key-pernr = p0001-pernr.
        rx-key-seqno = evpdir-seqnr.
        rp-imp-c2-rx2.
        IF rp-imp-rx-subrc = 0.
          PERFORM rt_to_itab.
        ENDIF.
      ENDLOOP.
    ENDIF.
  ENDIF.
ENDFORM.
      FORM PRINT_RX                                                 *
FORM print_rx.
  LOOP AT rt.
    PERFORM re512t USING country rt-lgart.
  ENDLOOP.
ENDFORM.
      FORM RE512T                                                   *
-->  VALUE(COUNTRY_GROUPING)                                       *
-->  VALUE(WTYPE)                                                  *
FORM re512t USING value(country_grouping)
                  value(wtype).
  CHECK t512t-sprsl NE sy-langu
     OR t512t-molga NE country_grouping
     OR t512t-lgart NE wtype.
  SELECT SINGLE * FROM t512t
       WHERE sprsl EQ sy-langu
       AND molga EQ country_grouping
       AND lgart EQ wtype.
  IF sy-subrc NE 0.
    CLEAR t512t.
  ENDIF.
ENDFORM.
      FORM rt_to_itab                                               *
FORM rt_to_itab.
  MOVE: basic TO w_basic,
        basic2 TO w_basic2,
        basic3 TO w_basic3,
        pera  TO w_pera,
        pera2 TO w_pera2,
        longp TO w_longp,
        longp2 TO w_longp2,
        srvaw TO w_srvaw,
        leave TO w_leave,
        trall TO w_trall,
        chall TO w_chall,
        chall2 TO w_chall2,
        chall3 TO w_chall3,
        meal  TO w_meal,
        saldf TO w_saldf,
        sipps TO w_sipps,
        sipps2 TO w_sipps2,
        subs  TO w_subs,
        hzard TO w_hzard,
        lallw TO w_lallw,
        medps TO w_medps,
        medgs TO w_medgs,
        pcontps TO w_pcontps,
        pcontps2 TO w_pcontps2,
        pcontps3 TO w_pcontps3,
        pagibps TO w_pagibps,
        pagibps2 TO w_pagibps2,
        LWOP  TO w_lwop,
        otime TO w_otime,
        otime2 TO w_otime2,
        otime3 TO w_otime3,
        otime4 TO w_otime4,
        npay  TO w_npay.
  LOOP AT rt WHERE lgart = w_basic or lgart = w_basic2
                                    or lgart = w_basic3.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-basic.
    itab-ec = rt-betrg / 100.
    if itab-ec > 100.
        itab-ec = 100.
    ENDIF.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_pera.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-pera.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_pera2.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-pera.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_longp or lgart = w_longp2.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-longp.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_trall.
    if rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    endif.
    ADD: rt-betrg TO itab-trall.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_srvaw.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-srvaw.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_leave.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-leave.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_chall or
                   lgart = w_chall2 or
                   lgart = w_chall3.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-chall.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_meal.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-meal.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_saldf.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-saldf.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_sipps or
                   lgart = w_sipps2.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-sipps.
    itab-sipgs = itab-sipps / 9 * 12.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_subs.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-subs.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_hzard.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-hzard.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_lallw.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-lallw.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_medps.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-medps.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_medgs.
      IF rt-betrg < 0.
        rt-betrg = abs( rt-betrg ).
      ENDIF.
      MOVE: rt-betrg TO tempgs.
      itab-medgs = itab-medps.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_pcontps OR
                   lgart = w_pcontps2 OR
                   lgart = w_pcontps3.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-pcontps.
  ENDLOOP.
  itab-pcontgs = itab-pcontps * 9.
  LOOP AT rt WHERE lgart = w_pagibps OR
                   lgart = w_pagibps2.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-pagibps.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_pagibps.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-pagibgs.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_lwop.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-lwop.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_otime or
                   lgart = w_otime2 or
                   lgart = w_otime3 or
                   lgart = w_otime4.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-otime.
  ENDLOOP.
  LOOP AT rt WHERE lgart = w_npay.
    IF rt-betrg < 0.
      rt-betrg = abs( rt-betrg ).
    ENDIF.
    ADD: rt-betrg TO itab-npay.
  ENDLOOP.
  COLLECT itab.
  CLEAR: itab.
  REFRESH rt.
ENDFORM.                               " rt_to_itab
*&      Form  f_fieldcat_init
      text
     -->P_GT_FIELDCAT[]  text
FORM f_fieldcat_init USING rt_fieldcat TYPE slis_t_fieldcat_alv.
  DATA: ls_fieldcat TYPE slis_fieldcat_alv.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   1.
  ls_fieldcat-reptext_ddic    =  ' FXNAL Group'.
  ls_fieldcat-fieldname       =  'KHINR'.
  ls_fieldcat-ref_tabname     =  'ITAB'.
  ls_fieldcat-outputlen       =  12.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   2.
  ls_fieldcat-reptext_ddic    =  ' OFFICE'.
  ls_fieldcat-fieldname       =  'LTEXT'.
  ls_fieldcat-ref_tabname     =  'ITAB'.
  ls_fieldcat-outputlen       =  40.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   3.
  ls_fieldcat-reptext_ddic    =  ' RC #'.
  ls_fieldcat-fieldname       =  'KOSTL'.
  ls_fieldcat-ref_tabname     =  'ITAB'.
  ls_fieldcat-outputlen       =  5.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos           =   4.
  ls_fieldcat-reptext_ddic      =  'Basic Salary'.
  ls_fieldcat-tabname           =  'ITAB'.
  ls_fieldcat-fieldname         =  'BASIC'.
  ls_fieldcat-datatype          = 'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   5.
  ls_fieldcat-reptext_ddic      =  'PERA Allow'.
  ls_fieldcat-tabname           =  'ITAB'.
  ls_fieldcat-fieldname         =  'PERA'.
  ls_fieldcat-datatype          =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   6.
  ls_fieldcat-reptext_ddic    =  'Longevity Pay'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'LONGP'.
  ls_fieldcat-datatype        = 'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   7.
  ls_fieldcat-reptext_ddic    =  'Service Award'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'SRVAW'.
  ls_fieldcat-datatype        = 'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   8.
  ls_fieldcat-reptext_ddic    =  'Child Allowance'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'CHALL'.
  ls_fieldcat-datatype        = 'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   9.
  ls_fieldcat-reptext_ddic    =  'Leave Mone'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'LEAVE'.
  ls_fieldcat-datatype        = 'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   10.
  ls_fieldcat-reptext_ddic    =  'Over-time'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'OTIME'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   11.
  ls_fieldcat-reptext_ddic    =  'Meal Subsidy'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'MEAL'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   12.
  ls_fieldcat-reptext_ddic    =  'Salary Diff.'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'SALDF'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   13.
  ls_fieldcat-reptext_ddic    =  'Subsistence'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'SUBS'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   14.
  ls_fieldcat-reptext_ddic    =  'Hazard Pay'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'HZARD'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-col_pos         =   15.
  ls_fieldcat-reptext_ddic    =  'Laundry Allow'.
  ls_fieldcat-tabname         =  'ITAB'.
  ls_fieldcat-fieldname       =  'LALLW'.
  ls_fieldcat-datatype        =  'CURR'.
  ls_fieldcat-outputlen       =  15.
  APPEND ls_fieldcat TO rt_fieldcat.
ENDFORM.                    " f_fieldcat_init
*&      Form  display_grid
      text
-->  p1        text
<--  p2        text
FORM display_grid.
  SORT itab BY kostl khinr.
  LOOP AT itab.
    AT NEW khinr.
      MOVE-CORRESPONDING itab TO jtab.
      APPEND jtab.
    ENDAT.
  ENDLOOP.
  PERFORM my_top USING gt_top[].
  PERFORM build_layout USING gs_layout.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program = g_repid
      is_layout          = gs_layout
      it_fieldcat        = gt_fieldcat[]
      it_events          = gt_events[]
    TABLES
      t_outtab           = itab.
ENDFORM.                    " display_grid
*&      Form  eventtab_build
      text
     -->P_GT_EVENTS[]  text
FORM EVENTTAB_BUILD USING my_events TYPE SLIS_T_EVENT.
  DATA: ls_event TYPE slis_alv_event.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
            i_list_type = 1
       IMPORTING
            et_events   = my_events.
*TOP OF PAGE
  READ TABLE my_events
       WITH KEY NAME = slis_ev_top_of_page
       INTO LS_EVENT.
  IF SY-SUBRC = 0.
    MOVE fn_top TO ls_event-form.
    APPEND ls_event TO my_events.
  ENDIF.
  CLEAR ls_event.
*END OF LIST
  READ TABLE my_events
        WITH KEY name = slis_ev_end_of_list
        INTO ls_event.
  IF sy-subrc = 0.
    MOVE   fn_eol TO ls_event-form.
    APPEND ls_event TO my_events.
  ENDIF. " SY-SUBRC for READ TABLE
ENDFORM.                    " eventtab_build
*&      Form  top_comment
      text
     -->P_MYTOP[]  text
FORM top_comment USING my_top_of_page TYPE slis_t_listheader.
  DATA: it_t247 LIKE t247 OCCURS 0 WITH HEADER LINE.
  DATA: ls_line     TYPE slis_listheader,
        li_recs     TYPE i,
        lc_name(60) TYPE c,
        lc_from(30) TYPE c,
        lc_to(30) TYPE c.
  CALL FUNCTION 'MONTH_NAMES_GET'
       TABLES
            month_names = it_t247.
Company Name
  CLEAR ls_line.
  ls_line-typ  = 'H'.
  ls_line-info = TEXT-001.
  APPEND ls_line TO my_top_of_page.
  CLEAR ls_line.
  ls_line-typ  = 'S'.
  ls_line-info  = TEXT-002.
  APPEND ls_line TO my_top_of_page.
Date
  CLEAR lc_name.
  CONCATENATE sy-datum+6(2) ',' INTO lc_name.
  READ TABLE it_t247 WITH KEY mnr = sy-datum+4(2).
  CONCATENATE text-003 it_t247-ltx lc_name sy-datum(4)
         INTO lc_name SEPARATED BY space.
  CLEAR ls_line.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO my_top_of_page.
ENDFORM.                    " top_comment
*&      Form  build_layout
      text
     -->P_GS_LAYOUT  text
FORM build_layout USING my_layout TYPE slis_layout_alv.
  my_layout-f2code              = d_f2code.
  my_layout-reprep              = 'X'.
  my_layout-confirmation_prompt = 'X'.
  my_layout-flexible_key        = 'X'.
ENDFORM.                    " build_layout
*&      Form  TOP_OF_PAGE
      Writes comments on top of page
FORM top_of_page.
  DATA: ls_line     TYPE slis_listheader,
        lc_name(60) TYPE c.
  IF sy-ucomm = '&RNT_PREV'.
    READ TABLE gt_top INTO ls_line INDEX 2.
    lc_name = ls_line-info.
    WRITE 'Page:' TO lc_name+45(5).
    WRITE sy-pagno TO lc_name+52(5).
    ls_line-typ  = 'H'.
    ls_line-info = lc_name.
    MODIFY  gt_top FROM ls_line INDEX 2.
  ENDIF.
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
            it_list_commentary = gt_top.
ENDFORM. " TOP_OF_PAGE
*&      Form  my_top
      text
     -->P_GT_TOP[]  text
FORM my_top USING top TYPE slis_t_listheader.
  DATA: it_t247 LIKE t247 OCCURS 0 WITH HEADER LINE.
  DATA: ls_line     TYPE slis_listheader,
        li_recs     TYPE i,
        lc_name(60) TYPE c,
        lc_from(30) TYPE c,
        lc_to(30) TYPE c.
  CALL FUNCTION 'MONTH_NAMES_GET'
       TABLES
            month_names = it_t247.
Company Name
  CLEAR lc_name.
  WRITE text-001 TO lc_name.
  CLEAR ls_line.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO top.
**Report Name
  CLEAR lc_name.
  WRITE text-002 TO lc_name.
  CLEAR ls_line.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO top.
Range of date
  CLEAR lc_name.
  lc_name = p_date+4(2).
  READ TABLE it_t247 WITH KEY mnr = p_date+4(2).
  CONCATENATE: text-003 it_t247-ltx sy-datum(4)
               INTO lc_name SEPARATED BY SPACE.
  ls_line-typ = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO top.
ENDFORM.                    " my_top
*&      Form  END_OF_LIST
      Writes signature line at end of list
FORM end_of_list.
  IF sy-ucomm = '&RNT_PREV' OR sy-ucomm = 'AUSW'.
    REFRESH gt_eol.
    PERFORM my_eol USING gt_eol[].
  ELSE.
    REFRESH gt_eol.
  ENDIF.
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
            it_list_commentary = gt_eol
            i_end_of_list_grid = 'X'.
ENDFORM. " END_OF_LIST
*&      Form  my_eol
      text
     -->P_GT_EOL[]  text
FORM my_eol USING eol TYPE slis_t_listheader.
  DATA: ls_line     TYPE slis_listheader,
        lc_name(60) TYPE c.
Signature Line
  CLEAR lc_name.
  lc_name = '.'.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO eol.
  CLEAR lc_name.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO eol.
  CLEAR ls_line.
  ls_line-typ  = 'H'.
  WRITE 'Submitted By:' TO lc_name(28).
  WRITE 'Noted By:' TO lc_name+30(28).
  ls_line-info = lc_name.
  APPEND ls_line TO eol.
  CLEAR: lc_name, ls_line-key.
  lc_name = '.'.
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO eol.
  CLEAR lc_name.   CLEAR ls_line.
  WRITE sy-uline(28) TO lc_name(28).
  WRITE sy-uline(28) TO lc_name+30(28).
  ls_line-typ  = 'H'.
  ls_line-info = lc_name.
  APPEND ls_line TO eol.
ENDFORM.                    " my_eol

1.U are not getting the data into Excel when u client Excel Buttton from the ALV display ?
2.if yes then u will get one message stating that templet is Missing like this ?
Regards
prabhu

Similar Messages

  • Error when exporting reports using MAPI

    We created a .NET class that wraps CR 2010 .NET Crystal Reports functions and made it COM visible. This class is used to create a COM object in a js script which in turn used to export reports to a PDF file with the destination MAPI.
    It exports reports just fine without any errors however if prior to instantiation the exporting class we instantiate a class that has nothing to do with the Crystal Reports functions, our exporting object throws u201CExternal component has thrown an exception.u201D error when exporting. It appears that it has something to do with the SideBySide feature. I was wondering if somebody knows what causes this and if there is a way to fix this problem.
    Thanks for your help!
    <br>
    <br>
    Below are 2 procmon.exe outputs, the first when exporting works and the second when it doesnu2019t
    <br>
    <br>
    <br>
    1) Procmon.exe output when exporting works fine
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>7:16:30.7403615 AM     test.exe     4396     FASTIO_QUERY_INFORMATION     C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Image Base: 0x79260000, Image Size: 0x1073000
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryNameInformationFile, Name: \Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest     NAME NOT FOUND     Length: 20
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>
    <br>
    <br>//////////////////////////////////////////////////////////////////////
    <br>2) Procmon.exe output when exporting doesnu2019t work, notice that it tries to open MSO.dll at the same location as in the output above but fails, it tries then to open it at several other locations and fails
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\SysWOW64\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\SysWOW64\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\system\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\system\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

    I tried to run exporting code in a .net application and got the same error. I first created the COM object that causes the problem and then ran exporting CR functions. It works fine if I run the code without creating the COM object.
    Below is the code I used.
                Type objClassType = Type.GetTypeFromProgID("ebms.main");
                object objMain = Activator.CreateInstance(objClassType);
                try
                    object[] p = new object[4];
                    p[0] = "C:\\ebms\\co1";
                    p[1] = "C:\\ebms\\co1";
                    p[2] = "Administrator";
                    p[3] = "";
                    objClassType.InvokeMember("LoginToCompany", System.Reflection.BindingFlags.InvokeMethod, null, objMain, p);
                catch (Exception ex)
                this.RPTDoc = new ReportDocument();
                this.RPTDoc.Load(@"C:\\Users\\Paul\\Desktop\\AR Customer List.rpt");
                PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();
                MicrosoftMailDestinationOptions mailOpts = ExportOptions.CreateMicrosoftMailDestinationOptions();
                ExportOptions exportOpts = new ExportOptions();
                pdfOpts.UsePageRange = false;
                exportOpts.ExportFormatOptions = pdfOpts;
                mailOpts.MailMessage = "something";
                mailOpts.MailSubject = "something";
                mailOpts.MailToList = "emailaddress";
                exportOpts.ExportDestinationOptions = mailOpts;
                exportOpts.ExportDestinationType = ExportDestinationType.MicrosoftMail;
                exportOpts.ExportFormatType = ExportFormatType.PortableDocFormat;
                try
                    this.RPTDoc.Export(exportOpts);
                catch (Exception ex)
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

  • Exception_Access_Violation error while exporting report to excel

    Hello Experts,
    We have BO 6.5 report designer. We have few reports developed on BO 6.5. While exporting these reports to excel an error occurs with below error message:
    Unhandled exception
    Code: C0000005
    Description : Exception_Acess_Violation
    It seems this is a common error comes in various sitions but I could not find the exact solution to this issue.
    Please help me with this.
    Regards,
    Nirav Shah

    Hi Denis,
    The issue was not present earlier. We were successfully able to export reports in excel sheet.
    In case if compitability is the issue, Can you please tell me how can we fix it?
    Regards,
    Nirav Shah

  • Error when opening report in Excel

    Hi all,
    I'm trying to import an answer (which I made in OBI) to an Excel via sheet (Via the OBI office plugin).
    So what I do is:
    - I navigate to the report I want to open
    - I expand the report so I can see all the views
    - I double click the view I want to open
    After doing this, I get following error:
    Error while opening workbook. Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))
    Can any of you help me with this issue?
    Thank you very much

    Hi Srini,
    Thanks for your reply, but -for the benefit of other readers- after some research we found that this issue seems to be caused by a Microsoft Office BUG, which is listed on their support website as Article ID 320369 ( BUG: "Old format or invalid type library" error when automating Excel )
    The URL to access this article is: http://support.microsoft.com/kb/320369
    Cheers!!

  • Error when export report to PDF with a none standard Windows font

    Hi,
    I got this error when trying to export PDF under VS2008 with an special true type font in the code behind. The error says:
    ...temp_9550ab94-02fc-4362-b259-cc6de8d6c04b {32E546F5-C6A3-44FC-B8EF-D5E37A1118FA}.rpt:\nOperation not yet implemented.
    In the crystal reort under VS2008, I use a special font which is true type and it is already installed in the system, I can see the font in many other software like Word, Notepad, etc... without any problem.
    Is anyone know how to fix it? please help.
    Many thanks!!!
    Lan

    Hi Ludek,
    I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
    For now, i am going to give up and use image file instead.
    Thanks,
    Lan
    Do you know if it is well-known issue in CR?
    - No I do not.
    where i can get any SP of CR for VS2008?
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Runtimes for SP1:
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
    I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
    Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

  • Error in "Export to Microsoft Excel" from Portal

    Hi,
    I have a BW report on Portal 7.0 with columns with time in format like hh:mm:ss.
    When I exported it to Excel and open this file I get inside Excel window an information window "Problems while loading" and explanation "Value of cell". After I send OK sheet of data is opening. The hours fraction of time in all cells is changed to hh+1.
    In log of this action ...\Temporary Internrt Files\Content.MSO\EB0B32EE.log are lines like:
    HTML Error of Cell Value:06:10:00
        where 06 ought to be 05.
    The text below is from Excel:
    <td class=3Dx547531 x:num=3D"06:10:00" style=3D" mso-number-format:'hh\:mm\:ss'"><font class=3DFx547530>05:10:00</font></td>
    Thanks in advance
    Grzegorz Szot

    Hi,
    I had the same problems (html inside excel) it was caused by wrong excel / bex versions because they were not compatible.
    In my mind your error is caused by the same problem.
    Ceck the compatibility matrix:
    [BEx Compatibility|https://websmp201.sap-ag.de/~sapidb/011000358700000227152003E/compatibility_bex_office.htm.] of MS Operating Systems and Office Products
    Business Explorer Suite: Platform Questions
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1d43766a-0901-0010-0a9b-85eb1089fb17
    Bog:
    /people/community.user/blog/2007/06/27/using-the-bi-7x-add-on-for-sap-gui-710--requirements
    If this does not help and you found no solution you can check this notes on relevance:
    NW 7.0 BI Web Applications - Excel export of time cells
    SAP Note Number: [1152146|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313532313436%7d]
    NW04s BI Web Excel export: Data cells exported as text
    SAP Note Number: [982305|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393832333035%7d]
    Error during export to MS Excel with certain templates
    SAP Note Number: [1148493|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313438343933%7d]
    NW2004s BI Excel export date is generation time-dependent
    SAP Note Number: [1086420|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31303836343230%7d]
    Hope this helps. Don't forget to assign points if it was helpful.
    Regards
    Andreas

  • SSRS XML Errors when exporting to .xlsx from Dynamics NAV Database

    We use Dynamics NAV for our ERP and have many SSRS reports.  We get xml Errors when exporting to Excel .xlsx.  I've seen this happen since SQL 2008 R2 and have posted in many places trying to find an answer, but was hoping MS would solve the
    issue.  The numeric data types in the Dynamics NAV database are all decimal(38,20) and when the value is zero the Excel renderer throws the errors. 
    We now have over 400 reports and we export them to Excel 2003 format. I'm starting to feel like this is my new Y2K issue when Excel 2003 is set to sunset.  I'm fearing that I'll have to do conversions on all numeric data types for all reports. 
    Both of these are Microsoft products so I'm wondering is this even on their radar.
    We're running SQL Server 2012 SP2, and just rolled out CRM 2015 on SQL Server 2014.  I get the errors in SSRS 2008R2, 2012, and 2014.  Has anyone seen this before?   
    Timothy Kruse

    Hi Skywalker73,
    According to your description, when you export the report to Excel, the error “Excel was able to open the file by repairing or removing the unreadable content.” throws out when opening the Excel file.
    Based on my research, it has reported the same issue when exporting to Excel. The issue could cause by numeric columns has  a precision of 16 or higher. To fix the issue, we could change data type in the table to a support lower precision, or convert
    the numbers in the stored procedure that populates the report. For more information, please refer to this article:
    SSRS 2012 Bug – “Excel found unreadable content”. Besides, please refer to this
    article to check if non-printing characters exist in the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • Error while Exporting report

    hi,
      i get an error when exporting my report. below is the stacktrace of it. please help me to sort it out.
    This happens only when i export the report as editable word...
    JRCAgent21 detected an exception: java.lang.NullPointerException
         at com.crystaldecisions.reports.formatter.formatter.e.m.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.do(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.do(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ak.do(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)
         at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
         at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:92)
         at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:251)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:534)
    regards,
    prem

    To find out what version of Eclipse you have, open the .eclipseproduct file.
    To find out what version of the JRC you are on, you can look at the <eclipse home>\plugins\com.businessobjects.sdks.jrc.11.8.x to see what your latest version is.
    This stack trace on it's own doesn't indicate why you are having a problem.  It could be a problem with something in the report.... or it could be something wrong in the code.  To ensure your code is correct, you should verify it against the sample code in the Developer Library and the JRC sample downloads.
    Does the file get exported even though you have the error or is there no file or a zero byte file?

  • Historical Report - export report in excel format

    Hi,
    We are on UCCX 8.0 (SU2). We have an issue with Historical when we tried to export report in excel format, the report does not display in correct column. It's very confusing. We could manually correct (rearrange) the column label but it take lots of time as we have so many reports.
    Is there anyway to fix this issue? Does anyone experience the same issue with Historical Report?
    I attached the pictures for example.
    Thanks,

    This type of behavior is a bug. I took a look in the bug toolkit and there are several defects filed against the Agent Summary report in 8.0 but not one that matches this behavior. I would venture a guess that a DE was sloppy when fixing another bug and introduced this on us.
    You should open a TAC case on this. It is also possible that this defect already exists but is not public in the toolkit yet.

  • 'file could not be written due to an error' when exporting jpg

    I'm working with an Illustrator file in CS2 and after a certain point it has started saying 'the file could not be written due to an error' when exporting to a jpg.
    i've tried a couple things like deleting layers and although the file is much smaller, it still says the same error when exporting.
    at its highest it was 130mb as an illustrator file and jpgs were 2-5mb.
    i''ve tried copying some of the layers into a new file but the error report still comes when i'm exporting.
    i have vector and raster based data in the file and tried turning off/deleting either of the layers and there is no difference.
    i don't understand why it's started doing this because before it had no problem at all exporting before.
    ANY IDEAS ANYONE?  I'm trying not to have to reproduce days of work to remake the file.
    many thanks,
    P

    Mylenium,
    Sounds like you know a good deal about this product.  Is there any way to restore a color profile/setting to an earlier point?
    I don't recall changing it and to tell you the truth, wouldn't be able to say which it may have been set to before - if different.
    Thanks,
    Paul

  • How export report into excel sheet automatically using SSRS 2010?

    Hi,
    I have created many reports using SQL Server Data Tool 2010 and at my work, we are using active batch to ran reports every month.
    Now question is, my boss want me to set up reports such a way that when active batch is ran, reports should be exported into excel sheet automatically with the default values given for parameters at some specific folder location. How can I export report
    into excel sheet automatically when active batch is executed?
    Please help me on this. Thanks for the help in advance.
    Vicky

    Check this:
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:/test.xls'
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_output
    Regards.

  • Missing data when exporting webi to excel (not 65536 limit problem)

    Hi guys
    I just meet a problem about webi that it will miss data when exporting webi to excel.
    It's not about 65536 limitation, as my webi report do some aggregration and limitation and never beyond that limitation.
    Also there are 2 tabs in my reports, if I split the 2 tabs into 2 separate reports and export them separately, then problem disappeared.
    Any ideas on this?

    Hello Claes
    according to:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Tools => Import and Export => Specifying the Sequence of the External Data Structure => External File Structure: Specification
    Table EST07 should be part of export file. I am not sure if the packing requirement ist part of EST07.
    Furthermore wirh ECC 6.0 EnhPAck3 some changes happend generally in the area of DG classification.
    E.g. Dynamic dangerous goods classification. I am not sure if these changes are "included" in some sense in the EH&S data download.
    With best regards
    C.B.
    PS: please check this link on the top:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Refer to "Table Assignment: Specifications"
    I believe packaging requirement is part of table EST0B but this is part of the download file.
    Edited by: Christoph Bergemann on Aug 27, 2011 7:12 PM
    Edited by: Christoph Bergemann on Aug 27, 2011 7:13 PM

  • How to export report to excel and to text file in previewer

    How to export report to excel?
    And, it takes long time for generate report to rtf or pdf file in previewer.
    How to speed up the process? or, it's better generate report to text file directly by Run_product?
    Please help!

    You can generate report to tab delimite format that can be imported to excel.
    As for the performance question, because reports can't specify what format when you run against previewer, so I don't know what previewer you are talking about. Generate to file is always faster than to your application previewer (assume) because you have one more step after output generated in the file: read from file and render it. Depends on the render and size of the output, it may have significant performance difference.
    Thanks,
    -Shaun

  • Fatal error when trying to install AIR app on OSX

    A user of my application is getting a fatal error when trying to install on OSX. Most installs seem to go fine so I was surprised at this one.
    A portion of the OSX error report is below. Has anybody experienced anything similar? If so, were you able to identify the core problem?
    Thanks in advance for any thoughts!
    Daniel
    Date/Time:       2013-06-13 15:50:24.666 -0700
    OS Version:      Mac OS X 10.8.3 (12D78)
    Report Version:  10
    Interval Since Last Report:          1414734 sec
    Crashes Since Last Report:           30
    Per-App Crashes Since Last Report:   5
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000008
    VM Regions Near 0x8:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/SimpleDiagrams2.app/Contents/MacOS/SimpleDiagrams2
        __TEXT                 0000000000001000-0000000000007000 [   24K] r-x/rwx SM=COW  /Applications/SimpleDiagrams2.app/Contents/MacOS/SimpleDiagrams2
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.adobe.AIR                      0x02b43f72 0x2800000 + 3424114
    1   com.adobe.AIR                      0x02909628 0x2800000 + 1087016
    2   com.adobe.AIR                      0x02909853 0x2800000 + 1087571
    3   com.apple.AppKit                   0x95544970 -[NSApplication(NSAppleEventHandling) _handleAEReopen:] + 255
    4   com.apple.AppKit                   0x952ec824 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 378
    5   libobjc.A.dylib                    0x9a3c9628 -[NSObject performSelector:withObject:withObject:] + 77
    6   com.apple.Foundation               0x94e4473a __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_0 + 121
    7   com.apple.Foundation               0x94e44291 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 430
    8   com.apple.Foundation               0x94e4408e _NSAppleEventManagerGenericHandler + 173
    9   com.apple.AE                       0x97aeda35 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 331
    10  com.apple.AE                       0x97ac2fbe dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
    11  com.apple.AE                       0x97ac2e7d aeProcessAppleEvent + 318
    12  com.apple.HIToolbox                0x9222fc58 AEProcessAppleEvent + 100
    13  com.apple.AppKit                   0x952e8d4d _DPSNextEvent + 1655
    14  com.apple.AppKit                   0x952e81dc -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
    15  com.apple.AppKit                   0x952de63c -[NSApplication run] + 855
    16  com.adobe.AIR                      0x0280a772 0x2800000 + 42866
    17  com.adobe.AIR                      0x0280aab8 0x2800000 + 43704
    18  libobjc.A.dylib                    0x9a3c95d3 -[NSObject performSelector:withObject:] + 70
    19  com.simplediagrams2                0x00002f97 start + 2567
    20  com.simplediagrams2                0x000025c5 start + 53
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib             0x9263d9ae kevent + 10
    1   libdispatch.dylib                  0x97b75c71 _dispatch_mgr_invoke + 993
    2   libdispatch.dylib                  0x97b757a9 _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib             0x9263c8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                  0x996fb280 _pthread_cond_wait + 833
    2   libsystem_c.dylib                  0x99781095 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                      0x02d1b113 0x2800000 + 5353747
    4   com.adobe.AIR                      0x02b4d5dc 0x2800000 + 3462620
    5   com.adobe.AIR                      0x02d1b22d 0x2800000 + 5354029
    6   com.adobe.AIR                      0x02d1b2a7 0x2800000 + 5354151
    7   com.adobe.AIR                      0x02d1b342 0x2800000 + 5354306
    8   libsystem_c.dylib                  0x996f65b7 _pthread_start + 344
    9   libsystem_c.dylib                  0x996e0d4e thread_start + 34
    Thread 3:
    0   libsystem_kernel.dylib             0x9263c8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                  0x996fb280 _pthread_cond_wait + 833
    2   libsystem_c.dylib                  0x99781095 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                      0x02d1b113 0x2800000 + 5353747
    4   com.adobe.AIR                      0x02b4d5dc 0x2800000 + 3462620
    5   com.adobe.AIR                      0x02d1b22d 0x2800000 + 5354029
    6   com.adobe.AIR                      0x02d1b2a7 0x2800000 + 5354151
    7   com.adobe.AIR                      0x02d1b342 0x2800000 + 5354306
    8   libsystem_c.dylib                  0x996f65b7 _pthread_start + 344
    9   libsystem_c.dylib                  0x996e0d4e thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib             0x9263c8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                  0x996fb280 _pthread_cond_wait + 833
    2   libsystem_c.dylib                  0x99781095 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                      0x02d1b113 0x2800000 + 5353747
    4   com.adobe.AIR                      0x02b4d5dc 0x2800000 + 3462620
    5   com.adobe.AIR                      0x02d1b22d 0x2800000 + 5354029
    6   com.adobe.AIR                      0x02d1b2a7 0x2800000 + 5354151
    7   com.adobe.AIR                      0x02d1b342 0x2800000 + 5354306
    8   libsystem_c.dylib                  0x996f65b7 _pthread_start + 344
    9   libsystem_c.dylib                  0x996e0d4e thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib             0x9263c8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                  0x996fb280 _pthread_cond_wait + 833
    2   libsystem_c.dylib                  0x99781095 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                      0x02d1b113 0x2800000 + 5353747
    4   com.adobe.AIR                      0x02b4d5dc 0x2800000 + 3462620
    5   com.adobe.AIR                      0x02d1b22d 0x2800000 + 5354029
    6   com.adobe.AIR                      0x02d1b2a7 0x2800000 + 5354151
    7   com.adobe.AIR                      0x02d1b342 0x2800000 + 5354306
    8   libsystem_c.dylib                  0x996f65b7 _pthread_start + 344
    9   libsystem_c.dylib                  0x996e0d4e thread_start + 34
    Thread 6:
    0   libsystem_kernel.dylib             0x9263c8e2 __psynch_cvwait + 10
    1   libsystem_c.dylib                  0x996fb280 _pthread_cond_wait + 833
    2   libsystem_c.dylib                  0x997810e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.adobe.AIR                      0x02d1b13f 0x2800000 + 5353791
    4   com.adobe.AIR                      0x02d60c0e 0x2800000 + 5639182
    5   com.adobe.AIR                      0x02d1b22d 0x2800000 + 5354029
    6   com.adobe.AIR                      0x02d1b2a7 0x2800000 + 5354151
    7   com.adobe.AIR                      0x02d1b342 0x2800000 + 5354306
    8   libsystem_c.dylib                  0x996f65b7 _pthread_start + 344
    9   libsystem_c.dylib                  0x996e0d4e thread_start + 34
    Thread 7:
    0   libsystem_kernel.dylib             0x9263d0ee __workq_kernreturn + 10
    1   libsystem_c.dylib                  0x996f90ac _pthread_workq_return + 45
    2   libsystem_c.dylib                  0x996f8e79 _pthread_wqthread + 448
    3   libsystem_c.dylib                  0x996e0d2a start_wqthread + 30
    Thread 8:
    0   libsystem_kernel.dylib             0x9263d0ee __workq_kernreturn + 10
    1   libsystem_c.dylib                  0x996f90ac _pthread_workq_return + 45
    2   libsystem_c.dylib                  0x996f8e79 _pthread_wqthread + 448
    3   libsystem_c.dylib                  0x996e0d2a start_wqthread + 30
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x02b43f55  ecx: 0x95b40466  edx: 0x00000000
      edi: 0x00000000  esi: 0xbfffef18  ebp: 0xbfffee58  esp: 0xbfffeda0
       ss: 0x00000023  efl: 0x00210282  eip: 0x02b43f72   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
      cr2: 0x00000008
    Logical CPU: 1

    Hi Daniel,
    Could you post or send me ([email protected]) the entire crash log?  I'll at least need the binaries section so I can properly symbolicate the log.
    Thanks,
    Chris

Maybe you are looking for

  • Purchase order text that appear automatically in Goods Receipt Automotive

    Hello, I am looking for a possibility to add a text (header or position) to the purchase order which than later will be shown as a popup for example   before posting in Goods Receipt. E.g. The purchase order  could maintain a text like "when material

  • Email problems on Macbook.

    My IPhone 5 has 4 email accounts set up on it, all of the accounts are receiving and sending emails fine. However when i go on my macbook and try to "get mail" it finds mail but does not show them in the inbox, i have tried changing a few settings on

  • Cost Center Planning

    Hi All, The scenerio is like this: 1)Client is using the excel upload functionality for cost center planning throu tx-KP06 2) While defining the planning layout the currency defined is Total Cost for Object currency 3) There is a devieation from the

  • XML to Binary Performance Issues

    All - I'm in the process of trying to convince a client to move toward WLI for their workflow needs. One major function of their business is the transformation of binary files to XML. These binary files are typically pipe-delimited with 22 fields per

  • I can't able to access BW query(securtiy warning)

    Hi expert's, i installed business object and xcelsius in my bw server. when i am opening open query option in bex add on tool. it's giving error as follows security warning pop up window in that three tabs enable macros, diable macros.. when i select