Error in ECC6.0

Hi Guys,
This is my error x type x is converted to character type.
EOF" and "IT_DOWN2-LINE(1)" are not comparable in a Unicode program.
   DATA: BEGIN OF eof,                  "<EOF> = Ascii-Wert 26
       x TYPE x VALUE '1A',
    END OF eof.

Check this
report zaRs
       no standard page heading
       line-size 255.
begin of struct1,
  x1(1) type x,
end of struct1.
begin of struct2,
c1(10) type c,
end of struct2.
data: xcontent  type xstring,
      content   type string,
      conv      type ref to cl_abap_conv_in_ce,
      len       type i.
struct1-x1 = '1A'.
xcontent = struct1-x1.                      
conv = cl_abap_conv_in_ce=>create( input = xcontent ).
conv->read( importing data = content len = len ).
struct2-c1 = content.

Similar Messages

  • Error in ECC6 During installation

    Dear all
    Error in ECC6 During installation , the following contents is get from sapnst_dev.log
    148556:  if ( componentToBeCalled == 'NW_Usage_Types_Configuration_BI_ind_ind_ind_ind') 
    148557: 
    148560:  if ( componentToBeCalled == 'NW_Call_Offline_CTC_ind_ind_ind_ind') 
    148561: 
    148564: }
    ERROR      2008-06-27 07:43:37 [iaxxejsbas.cpp:178]
               EJS_ErrorReporter
    FJS-00003  TypeError: spStringRE.exec(labelString) has no properties (in script NW_Onehost|ind|ind|ind|ind, line 63483: ???)
    ERROR      2008-06-27 07:43:37
    FCO-00011  The step validateContent with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|4|0|SAP_Software_Features_GetContent|ind|ind|ind|ind|0|0|validateContent was executed with status ERROR .
    TRACE     
    <html><head></head><body><p>An error occurred while processing service <b>SAP ERP 2005 Support Release 2 > SAP Systems > Oracle > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS</b>.</p></body></html>
    TRACE      [iaxxgenimp.cpp:1155]
               showDialog()
    waiting for an answer from gui
    INFO       2008-06-27 07:45:05 [iaxxgenimp.cpp:782]
               showDialog()
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|4|0|SAP_Software_Features_GetContent|ind|ind|ind|ind|0|0|validateContent".

    Up !?

  • PDS Attachment Opening Error in ECC6

    Hello,
               We are having problem with below report sending PDF Email Attachment.I'm able to send emails, but the PDF file wont open. I'm getting a message "Adobe reader could not attachement the file has been damaged".This report works in our old version 4.6c but we just upgrade to ecc6.  Please Please  help.
    Thanks,
    Jose
    REPORT zrfi_customer_statement_new
                      NO STANDARD PAGE HEADING
                      MESSAGE-ID zm_load
                      LINE-SIZE  325
                      LINE-COUNT 65(3).
    Tables                                                               *
    TABLES:
      bsid,  bsad, knb1,    kna1,  knkk,  t001,  t014,   t179t,
      t052,   fplt,   vbap,   veda,  vbrk,     vbpa,  vbkd,   knvk,
      cepct, tvzbt, vbak,   bsik,   tsp01,   usr21,adr6, tsp03l.
    Internal tables                                                      *
    DATA: i_bsid LIKE bsid OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF i_bukrs OCCURS 0,
          bukrs LIKE bsid-bukrs,
          waers LIKE bsid-waers,
          END OF i_bukrs.
    DATA:
      BEGIN OF i_temp_data OCCURS 0,
        bukrs LIKE bsid-bukrs,      " Company code
        kunnr LIKE bsid-kunnr,      " Customer
        belnr LIKE bsid-belnr,      " Invoice
        gjahr LIKE bsid-gjahr,      " Fiscal year
        waers LIKE bsid-waers,      " Currency
        rebzg LIKE bsid-rebzg,
        bldat LIKE bsid-bldat,      " Posting date
        shkzg LIKE bsid-shkzg,      " Debit/Credit
        zfbdt LIKE bsid-zfbdt,      " Baseline date
        zterm LIKE bsid-zterm,      " Terms of payment key
        dmbtr LIKE bsid-dmbtr,      " company currency
        dmbe2 LIKE bsid-dmbe2,      " Amount in Group    Currency
        days  LIKE rfposxext-verzn, " No of Arrear Days
        kidno LIKE bsid-kidno,      " Payment reference number
        kunnr_c  LIKE  vbak-kunnr,  " Partner Number
        name_c(50),                 " Partner Last name
        matnr      LIKE  vbap-matnr,  " Material no
       arktx      LIKE  vbap-arktx,  " material description
        vbeln      LIKE  vbap-vbeln,  " Contract/Order no
        inv_date   LIKE  vbrk-fkdat,
        xblnr      LIKE  bsid-xblnr,
       xblnr      LIKE  bsid-zuonr,
        vtext      LIKE  vbap-arktx,  "material description
        sgtxt      LIKE  bsid-sgtxt,
        plant      LIKE t001w-name1,
        zzihrez_e  LIKE vbap-zzihrez_e,
        vvtext     LIKE tvzbt-vtext,
        blart      LIKE  bsid-blart,
        zuonr      LIKE bsid-zuonr,
        END OF i_temp_data.
    DATA:
      BEGIN OF itab  OCCURS 0,
        kunnr      LIKE  bsid-kunnr,  " Customer
        bukrs      LIKE  bsid-bukrs,  " Company code
        kunnr_c    LIKE  vbak-kunnr,  " Partner Number
        name_c(50),                   " Partner Last name
        matnr      LIKE  vbap-matnr,  " Material no
        kidno      LIKE  bseg-kidno,  " Payment reference
        name1      LIKE  kna1-name1,  " Customer name
        belnr      LIKE  bsid-belnr,  " Invoice
        waers      LIKE  bsid-waers,  " Currency ( Document )
        gjahr      LIKE  bsid-gjahr,  " Fiscal year
        zfbdt      LIKE  bsid-zfbdt,  " Baseline date
        zterm      LIKE  bsid-zterm,  " Terms of payment key
        amt00_30   TYPE netwr_ak,  " 000 - 030 Days
        amt31_60   TYPE netwr_ak,  " 031 - 060 Days
        amt61_90   TYPE netwr_ak,  " 061 - 090 Days
        amt91_120  TYPE netwr_ak,  " 090 - 120 Days
        amt120pls  TYPE netwr_ak,  " 120+      Days
        total      TYPE netwr_ak,  " Row Total
        inv_date   LIKE  vbrk-fkdat,
        rebzg      LIKE  bsid-rebzg,
        xblnr      LIKE  bsid-xblnr,
       xblnr      LIKE  bsid-zuonr,
        sgtxt      LIKE  bsid-sgtxt,
        days(5)  , " No of Arrear Days
        inv_chk    LIKE bsid-xblnr,   " invoice/check/wire transfer no
        vtext      LIKE  t179t-vtext,
        zzihrez_e  LIKE vbap-zzihrez_e,
        plant      LIKE t001w-name1,
        vvtext     LIKE tvzbt-vtext,
        bldat      LIKE bsid-bldat,
        blart      LIKE bsid-blart,
        zuonr      LIKE bsid-zuonr,
    END OF  itab.
    DATA: BEGIN OF i_final OCCURS 0,
        inv_chk    LIKE bsid-xblnr,   " invoice/check/wire transfer no
        bldat      LIKE bsid-bldat,
        xblnr      LIKE bsid-xblnr,
        inv_date   LIKE   vbrk-fkdat,
        name_c(50),                   " Partner Last name
        vtext      LIKE  t179t-vtext,
        zzihrez_e  LIKE vbap-zzihrez_e,
        plant      LIKE t001w-name1,
        vvtext     LIKE tvzbt-vtext,
        total      TYPE netwr_ak,  " Row Total
        days(5)  , " No of Arrear Days
        waers      LIKE  bsid-waers,
        blart      LIKE bsid-blart,
        zuonr      LIKE bsid-zuonr,
    END OF i_final.
    DATA: BEGIN OF i_last OCCURS 0,
        kunnr      LIKE vbak-kunnr,
        inv_chk    LIKE bsid-xblnr,   " invoice/check/wire transfer no
        bldat      LIKE bsid-bldat,
        xblnr      LIKE bsid-xblnr,
        inv_date   LIKE   vbrk-fkdat,
        name_c(50),                   " Partner Last name
        vtext      LIKE  t179t-vtext,
        zzihrez_e  LIKE vbap-zzihrez_e,
        plant      LIKE t001w-name1,
        vvtext     LIKE tvzbt-vtext,
        total      TYPE netwr_ak,  " Row Total
        days(5)  , " No of Arrear Days
        waers      LIKE  bsid-waers,
        blart      LIKE  bsid-blart,
        zuonr      LIKE bsid-zuonr,
        END OF i_last.
    DATA: i_bsik LIKE bsik OCCURS 0 WITH HEADER LINE.
    DATA: itab_temp LIKE itab OCCURS 100 WITH HEADER LINE.
    DATA:
    BEGIN OF itab_details  OCCURS 0,
      bukrs      LIKE  bsid-bukrs,  " Company code
      xblnr      LIKE  bsid-xblnr,
      gjahr      LIKE  bsid-gjahr,
      belnr      LIKE  bsid-belnr,
      kunnr      LIKE  bsid-kunnr,
    END OF  itab_details.
    DATA: BEGIN OF x_kna1 OCCURS 0,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            name2 LIKE kna1-name2,
            ptext LIKE tpfkt-vtext,
            street LIKE adrc-street,
            ort01 LIKE kna1-ort01,
            regio LIKE kna1-regio,
            pstlz LIKE kna1-pstlz,
            landx LIKE t005t-landx,
            agdate LIKE sy-datum,    " aging date
          END OF x_kna1.
    DATA: BEGIN OF i_total OCCURS 0,
           waers LIKE bsid-waers,
           00_30     TYPE netwr_ak,
           31_60     TYPE netwr_ak,
           61_90     TYPE netwr_ak,
           91_120    TYPE netwr_ak,
           120pls    TYPE netwr_ak,
           total     TYPE netwr_ak,
        END OF i_total.
    DATA: i_ssfcrescl TYPE ssfcrescl.
    DATA: i_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE.
    DATA: i_ssfctrlop LIKE ssfctrlop OCCURS 0 WITH HEADER LINE.
    DATA: v_itcpo LIKE  itcpo.
    DATA: BEGIN OF itab_vender  OCCURS 0,
          vender LIKE kna1-kunnr,
          END OF itab_vender.
    DATA: BEGIN OF ioutput OCCURS 0,
    kunnr LIKE vbrk-kunrg,
    kname(50),
    email(50),
    error(1),
    END OF ioutput.
    DATA: vv_text(90).
    Structures                                                           *
    DATA: x_item  LIKE  rfposxext.
    DATA: x_t001 LIKE t001.
    DATA: x_bsegp LIKE bsegp.
    Variables                                                            *
    DATA: v_count TYPE i.
    DATA: v_dialog TYPE c VALUE 'X'.
    DATA: v_name1 LIKE kna1-name1,
          v_name2 LIKE kna1-name2,
          v_print LIKE tsp03l-padest,
          v_formname(20),
          v_flag.
    DATA: f_recap_report(1) TYPE c. " Flag for recap report
    DATA:
      BEGIN OF x_amt,
        amt00_ls  LIKE  bsid-wrbtr,
        00_30     LIKE  bsid-wrbtr,
        31_60     LIKE  bsid-wrbtr,
        61_90     LIKE  bsid-wrbtr,
        91_120    LIKE  bsid-wrbtr,
        120pls    LIKE  bsid-wrbtr,
      END OF x_amt.
    DATA: BEGIN OF itab_bill OCCURS 0,
           vbeln LIKE vbfa-vbeln,
           fplnr LIKE vbfa-fplnr,
           fpltr LIKE vbfa-fpltr,
           END OF itab_bill.
    DATA:  v_sdate LIKE vbrk-fkdat,
           v_edate LIKE vbrk-fkdat,
           v_order(10) TYPE n.
    DATA: v_eddate(10), v_stdate(10).
    DATA: v_num TYPE i,
          v_stat,
         v_bill_prd(24),
          v_counter TYPE c.
    DATA: v_matnr LIKE vbrp-matnr,
          v_arktx LIKE vbrp-arktx,
          v_vbeln LIKE vbrp-vbeln,
          v_vvtext LIKE t176t-vtext,
          v_posnr LIKE vbap-posnr,
          v_kunnr_c LIKE vbak-kunnr,
          v_name_c(50),
          v_inv_date LIKE vbrk-fkdat,
          v_vdatu LIKE vbak-vdatu,
          v_auart LIKE vbak-auart,
          v_prctr LIKE vbap-prctr,
          v_zzihrez LIKE vbap-zzihrez_e,
          v_plant LIKE t001w-name1,
          p_form   TYPE tdsfname,
          fm_name TYPE rs38l_fnam.
    DATA: i_ssfcompop TYPE ssfcompop OCCURS 0." WITH HEADER LINE.
    DATA: addr_no LIKE kna1-adrnr,
          last_name LIKE kna1-name1,
          first_name LIKE kna1-name1,
          pafkt LIKE knvk-pafkt,
          lang LIKE knvk-parla,
          v_land LIKE adrc-country,
          v_lines TYPE i.
    DATA: v_tabix LIKE sy-tabix, v_gjahr LIKE bsid-gjahr,
          v_kunnr LIKE vbak-kunnr, v_prodh LIKE vbap-prodh,
          v_vtext LIKE t179t-vtext.
    DATA:  spno LIKE tsp01-rqident,
           mi_bytecount TYPE i,
             mstr_print_parms LIKE pri_params,
             downfile(128) VALUE 'c:\customer.pdf',
             mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: packing_list  TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
          contents_txt  TYPE TABLE OF solisti1   WITH HEADER LINE,
          v_email LIKE adr6-smtp_addr,
          v_returncode,
          contents_hex  TYPE TABLE OF solix,"  WITH HEADER LINE,
          w_contents_hex TYPE solix  ,
          receivers     TYPE TABLE OF somlreci1  WITH HEADER LINE.
    DATA: att_pos TYPE i.
    DATA: document_data LIKE sodocchgi1.
    DATA: esubject      LIKE sood1-objdes.            "subject line
    DATA: emsgs     TYPE TABLE OF solisti1 WITH HEADER LINE.
    DATA: pdf       TYPE TABLE OF tline    WITH HEADER LINE.
    DATA: BEGIN OF itext OCCURS 200,
            text(132),
          END OF itext.
    DATA: i_fields LIKE sval OCCURS 0 WITH HEADER LINE.
    DATA: v_ccemail LIKE adr6-smtp_addr,
          v_check,
          v_kname(50).
    DATA: otf_data1 LIKE itcoo OCCURS 0 WITH HEADER LINE,
          i_itcpp LIKE itcpp.
    *FIELD-GROUPS: HEADER, ...
    FIELD-GROUPS: header,
                  details.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK a10 WITH FRAME TITLE text-sa1.
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-sa1.
    PARAMETERS     : p_ex_ic AS CHECKBOX DEFAULT 'X'.           "R3DK906903
    SELECTION-SCREEN END OF BLOCK a1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
    SELECT-OPTIONS : s_kunnr  FOR  bsid-kunnr,
                     s_bukrs  FOR  t001-bukrs  OBLIGATORY.
    PARAMETERS     : p_bdate  LIKE sy-datum    OBLIGATORY.
    PARAMETERS: p_vender AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-s11.
    PARAMETERS : r_group  RADIOBUTTON GROUP r1,
                 r_comp   RADIOBUTTON GROUP r1.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-s13.
    PARAMETERS: p_print LIKE tsp03l-lname   MATCHCODE OBJECT  prin
    OBLIGATORY DEFAULT 'locl'.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s14.
    PARAMETERS: v_immed AS CHECKBOX DEFAULT 'X',
                v_dele  AS CHECKBOX DEFAULT 'X',
                ch_email AS CHECKBOX.
    *PARAMETERS:ch_down AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK b4.
    SELECTION-SCREEN END OF BLOCK a10.
    AT SELECTION-SCREEN.
    Selection Screen Validation.
      PERFORM validate_selection_screen.
    INITIALIZATION.
    INITIALIZATION.
      IF sy-sysid NE 'R3P'.
        v_email = .
      ENDIF.
    START-OF-SELECTION.
    START-OF-SELECTION.
      IF p_vender = 'X'.
    Fetch data from BSIK .
        PERFORM fetch_data_vender.
    Get Arrear Days
        PERFORM get_arrear_days_vender.
      ENDIF.
    Fetch data from BSID and BSAD.
      PERFORM fetch_data_from_bsid.
    Get Arrear Days
      PERFORM get_arrear_days.
    Format Data as per selection.
      PERFORM format_final_data.
    Print sapscript
      SORT i_last BY kunnr days DESCENDING.
      LOOP AT i_last.
        AT NEW kunnr.
          CLEAR: i_final, x_kna1.
          REFRESH: i_final, x_kna1.
          PERFORM get_address.
          PERFORM get_total.
        ENDAT.
        MOVE-CORRESPONDING i_last TO i_final.
        i_final-xblnr = i_final-zuonr.
        APPEND i_final.
        CLEAR i_final.
        AT END OF kunnr.
          SORT i_final BY days DESCENDING  inv_chk total DESCENDING.
          PERFORM smart_from.
        ENDAT.
      ENDLOOP.
    END-OF-SELECTION.
    END-OF-SELECTION.
    *&      Form  FETCH_DATA_FROM_BSID
          text
    FORM fetch_data_from_bsid.
    fetch data from BSID into Internal table I_BSID.
      SELECT *
        FROM bsid
        INTO TABLE i_bsid
        WHERE bukrs IN s_bukrs AND
              kunnr IN s_kunnr  AND
              budat LE p_bdate ."AND
            BELNR in ('0090000231','1400000131').
    Fetch data from BSAD into Internal table I_BSID.
      SELECT *
        FROM bsad               
        APPENDING TABLE i_bsid
        WHERE bukrs IN s_bukrs AND
              kunnr IN s_kunnr  AND
              budat LE p_bdate  AND
              augdt GT p_bdate." AND
      DELETE i_bsid WHERE ( bukrs = '1500'  OR bukrs = '3000' OR
                            bukrs = '1400' ) AND
                         ( umsks = 'E' OR umskz = 'E' ).
    *Exclude intercompany customers
      IF p_ex_ic = 'X'.
        DELETE i_bsid WHERE kunnr+0(2) EQ 'IC'.
      ENDIF.
      CLEAR sy-tfill.
      DESCRIBE TABLE i_bsid LINES sy-tfill.
      IF sy-tfill = 0.
        MESSAGE i999 WITH ' No data selected for the selection Condition'.
        STOP.
      ENDIF.
    ENDFORM.                    " FETCH_DATA_FROM_BSID
    *&      Form  Get_Arrear_Days
          text
    FORM get_arrear_days.
      SORT i_bsid BY  bukrs belnr.
      LOOP AT i_bsid.
    for company code 1500 and 3000
        IF i_bsid-bukrs EQ '1500' OR i_bsid-bukrs EQ  '3000'.
          MOVE i_bsid-xblnr TO i_bsid-belnr.
        ENDIF.
        MOVE i_bsid-bukrs TO itab_details-bukrs.
        MOVE i_bsid-xblnr TO itab_details-xblnr.
        MOVE i_bsid-belnr TO itab_details-belnr.
        MOVE i_bsid-gjahr TO itab_details-gjahr.
        MOVE i_bsid-kunnr TO itab_details-kunnr.
        APPEND itab_details.
        CLEAR itab_details.
        CLEAR x_item.
        AT NEW bukrs.
          READ TABLE i_bsid INDEX sy-tabix.
          CLEAR x_t001.
          SELECT SINGLE * FROM t001
          INTO x_t001
          WHERE bukrs = i_bsid-bukrs.
        ENDAT.
    for company code 1500 and 3000  .
        IF i_bsid-bukrs EQ '1500' OR i_bsid-bukrs EQ  '3000'.
          MOVE i_bsid-xblnr TO i_bsid-belnr.
        ENDIF.
        MOVE-CORRESPONDING i_bsid TO x_item.
        x_item-koart = 'D'.          " Debitor - Customer Indicator
        x_item-konto = bsid-kunnr.   " Debitor - Customer Number
        x_item-dmshb = bsid-dmbtr.
        x_item-wrshb = bsid-wrbtr.
    Function module to get ARREAR  days.
        CALL FUNCTION 'ITEM_DERIVE_FIELDS'
          EXPORTING
            s_t001    = x_t001
            s_bsegp   = x_bsegp
            key_date  = p_bdate
          CHANGING
            s_item    = x_item
          EXCEPTIONS
            bad_input = 1
            OTHERS    = 2.
        IF sy-subrc =  0.
    Populate I_TEMP_DATA for further processing.
          i_temp_data-bukrs   =  i_bsid-bukrs.
          i_temp_data-kunnr   =  i_bsid-kunnr.
          i_temp_data-belnr   =  i_bsid-belnr.
          i_temp_data-bldat   =  i_bsid-bldat.
          i_temp_data-shkzg   =  i_bsid-shkzg.
          i_temp_data-zfbdt   =  i_bsid-zfbdt.
          i_temp_data-zterm   =  i_bsid-zterm.
          i_temp_data-vbeln   =  i_bsid-vbeln.
          i_temp_data-waers   =  i_bsid-waers.
          IF x_item-verzn < 0.
            x_item-verzn = 0.
          ENDIF.
          i_temp_data-zuonr   = i_bsid-zuonr.
          i_temp_data-days    =  x_item-verzn.
          i_temp_data-gjahr   =  i_bsid-gjahr.
          i_temp_data-kidno   =  i_bsid-kidno.
          i_temp_data-rebzg   =  i_bsid-rebzg.
          i_temp_data-xblnr   =  i_bsid-xblnr.
          i_temp_data-sgtxt   =  i_bsid-sgtxt.
    Changing the Sign
          IF i_bsid-shkzg = 'H'.
            i_temp_data-dmbe2   = i_temp_data-dmbe2 + ( -1 * i_bsid-dmbe2 ).
            i_temp_data-dmbtr   = i_temp_data-dmbtr + ( -1 * i_bsid-dmbtr ).
          ELSE.
            i_temp_data-dmbe2   =  i_temp_data-dmbe2 +  i_bsid-dmbe2.
            i_temp_data-dmbtr   =  i_temp_data-dmbtr + i_bsid-dmbtr.
          ENDIF.
          i_temp_data-blart = i_bsid-blart.
    *for doc type DR
          IF  i_bsid-blart = 'DR' AND i_bsid-bschl = '01'.
            IF i_bsid-sgtxt IS INITIAL.
    *Changed our phone number to
              MOVE 'Contact Flightsafety' TO i_temp_data-vtext.
            ELSE.
              MOVE i_bsid-sgtxt TO i_temp_data-vtext.
              MOVE 'Financial Invoice' TO i_temp_data-vvtext.
            ENDIF.
          ENDIF.
    *for doc type AB
          IF  i_bsid-blart = 'AB' AND
          ( i_bsid-bschl GE '01' AND i_bsid-bschl LE '19' ).
            i_temp_data-bldat = i_bsid-zfbdt.
            i_temp_data-xblnr = i_bsid-vbeln.
            IF NOT i_bsid-sgtxt IS INITIAL.
    *Changed our phone nuber to
             MOVE 'Contact Flightsafety' TO i_temp_data-vtext.
              MOVE i_bsid-sgtxt TO i_temp_data-vtext.
              MOVE 'Financial Doc' TO i_temp_data-vvtext.
            ELSE.
             MOVE i_bsid-sgtxt TO i_temp_data-vtext.
              MOVE 'Financial Doc' TO i_temp_data-vvtext.
            ENDIF.
          ENDIF.
    *for doc type DG
          IF  i_bsid-blart = 'DG' AND
          ( i_bsid-bschl GE '01' AND i_bsid-bschl LE '19' ).
            i_temp_data-bldat = i_bsid-zfbdt.
            i_temp_data-xblnr = i_bsid-vbeln.
            IF i_bsid-sgtxt IS INITIAL.
    *Changed our phone nuber to
              MOVE 'Contact Flightsafety' TO i_temp_data-vtext.
            ELSE.
              MOVE i_bsid-sgtxt TO i_temp_data-vtext.
             MOVE 'Financial Doc' TO i_temp_data-vvtext.
            ENDIF.
          ENDIF.
    *To display Debit memo and credit memo.
          IF  i_bsid-blart = 'DG'.
            IF ( i_bsid-bschl GE '11' AND i_bsid-bschl LE '19' ).
              MOVE 'Credit Memo' TO i_temp_data-vvtext.
            ELSEIF ( i_bsid-bschl GE '01' AND i_bsid-bschl LE '09' ).
              MOVE 'Debit Memo' TO i_temp_data-vvtext.
            ENDIF.
          ENDIF.
    *for doc type DZ
          IF  i_bsid-blart = 'DZ' AND
          ( i_bsid-bschl GE '01' AND i_bsid-bschl LE '19' ).
            IF i_bsid-sgtxt IS INITIAL.
    *changed our phone number to
              MOVE 'Contact Flightsafety' TO i_temp_data-vtext.
            ELSE.
              MOVE i_bsid-sgtxt TO i_temp_data-vtext.
              MOVE 'Cust Pmt' TO i_temp_data-vvtext.
            ENDIF.
          ENDIF.
    *Document type DZ and posting key 15
          IF  i_bsid-blart = 'DZ' AND
                i_bsid-bschl EQ '15'.
            MOVE 'Cust Pmt' TO i_temp_data-vvtext.
          ENDIF.
    *Document type DZ and posting key 06.
          IF  i_bsid-blart = 'DZ' AND
                 i_bsid-bschl EQ '06'.
            MOVE 'Debit' TO i_temp_data-vvtext.
          ENDIF.
    *Document type DA and posting key 04, 14.
          IF  i_bsid-blart = 'DA' AND
                i_bsid-bschl EQ '04' OR
                i_bsid-bschl EQ '14'.
            MOVE 'Cust Pmt' TO i_temp_data-vvtext.
            MOVE i_bsid-sgtxt TO i_temp_data-vtext.
            IF i_bsid-sgtxt IS INITIAL.
              MOVE 'Contact Flightsafety' TO i_temp_data-vtext.
            ENDIF.
          ENDIF.
        ENDIF.
    *billing period
        IF i_bsid-blart = 'RV' AND i_bsid-bschl = '01'.
          PERFORM billing_period USING i_temp_data-belnr
                                       i_temp_data-vbeln.
        ENDIF.
        AT END OF belnr.
       at end of zuonr.
          APPEND i_temp_data.
          CLEAR  i_temp_data.
        ENDAT.
      ENDLOOP.
      PERFORM material_details.
    ENDFORM.                    " Get_Arrear_Days
    *&      Form  FORMAT_FINAL_DATA
          text
    FORM format_final_data.
      PERFORM pop_format_grp_curr_detail.
      CLEAR:   itab_temp, i_total.
      REFRESH: itab_temp, i_total.
      itab_temp[] = itab[].
      CLEAR   itab.
      REFRESH itab.
      LOOP AT itab_temp.
        CLEAR itab.
        itab = itab_temp.
        CLEAR: itab-matnr.
        IF itab-belnr+0(2) = '14'.
    *Adding two 00 for the left alignment.
          CONCATENATE '00' itab-xblnr
                      INTO itab-inv_chk.
          CONDENSE itab-inv_chk NO-GAPS.
         itab-inv_chk = itab-xblnr.
          itab-xblnr   = itab-belnr.
        ELSE.
          itab-inv_chk = itab-belnr.
        ENDIF.
        COLLECT itab.
      ENDLOOP.
      CLEAR v_stat.
      SORT itab BY days inv_chk total DESCENDING.
      LOOP AT itab.
    *To display Aging totals in usd (if v_stat ne f) for
    *company code 1100,1300,2000.
        IF itab-bukrs NE '1100' AND
           itab-bukrs NE '1300' AND
           itab-bukrs NE '2000'.
          v_stat = 'F'.
        ENDIF.
        CLEAR: i_last-vvtext, tvzbt.
        MOVE-CORRESPONDING itab TO i_last.
        APPEND i_last.
        CLEAR i_last.
      ENDLOOP.
    ENDFORM.                    " FORMAT_FINAL_DATA
    *&      Form  POP_FORMAT_grp_CURR_DETAIL
          text
    FORM pop_format_grp_curr_detail.
    Populating the Final Internal table for report by Group Currency.
      CLEAR x_amt.
      SORT  i_temp_data.
      LOOP AT i_temp_data.
        CLEAR: v_count.
        IF  i_temp_data-sgtxt+0(10) = 'Spcfy in p'.
             i_temp_data-sgtxt =  i_temp_data-sgtxt+32(18).
          MOVE i_temp_data-sgtxt TO i_temp_data-vtext.
          MODIFY i_temp_data.
        ENDIF.
    IF r_comp = 'X'.
          IF         i_temp_data-days  LT 0.
            x_amt-amt00_ls = x_amt-amt00_ls + i_temp_data-dmbtr.
    If between 1 and 30 Days.
          ELSEIF     i_temp_data-days GE 0  AND i_temp_data-days LE 30.
            x_amt-00_30  =  x_amt-00_30 + i_temp_data-dmbtr.
    If between 31 and 60 Days.
          ELSEIF i_temp_data-days GE 31 AND i_temp_data-days LE 60.
            x_amt-31_60  =  x_amt-31_60 + i_temp_data-dmbtr.
    if between 61 and  90
          ELSEIF i_temp_data-days GE 61 AND i_temp_data-days LE 90.
            x_amt-61_90  =  x_amt-61_90 + i_temp_data-dmbtr.
    if between 91 and  120
          ELSEIF i_temp_data-days GE 91 AND i_temp_data-days LE 120.
            x_amt-91_120  =  x_amt-91_120 + i_temp_data-dmbtr.
    if >  120
          ELSEIF                       i_temp_data-days GT 120.
            x_amt-120pls  =  x_amt-120pls + i_temp_data-dmbtr.
          ENDIF.
        ELSE.
    if the group currency is selected
          IF         i_temp_data-days  LT 0.
            x_amt-amt00_ls = x_amt-amt00_ls + i_temp_data-dmbe2.
    If between 1 and 30 Days.
          ELSEIF     i_temp_data-days GE 0  AND i_temp_data-days LE 30.
            x_amt-00_30  =  x_amt-00_30 + i_temp_data-dmbe2.
    If between 31 and 60 Days.
          ELSEIF i_temp_data-days GE 31 AND i_temp_data-days LE 60.
            x_amt-31_60  =  x_amt-31_60 + i_temp_data-dmbe2.
    if between 61 and  90
          ELSEIF i_temp_data-days GE 61 AND i_temp_data-days LE 90.
            x_amt-61_90  =  x_amt-61_90 + i_temp_data-dmbe2.
    if between 91 and  120
          ELSEIF i_temp_data-days GE 91 AND i_temp_data-days LE 120.
            x_amt-91_120  =  x_amt-91_120 + i_temp_data-dmbe2.
    if >  120
          ELSEIF                       i_temp_data-days GT 120.
            x_amt-120pls  =  x_amt-120pls + i_temp_data-dmbe2.
          ENDIF.
        ENDIF.
    Get Customer Name.
        SELECT SINGLE name1
          INTO itab-name1
          FROM  kna1
        WHERE  kunnr  =  i_temp_data-kunnr.
    Invoice and year
        AT END OF rebzg.
          READ TABLE i_temp_data INDEX sy-tabix.
          itab-zuonr        = i_temp_data-zuonr.
          itab-bukrs        =   i_temp_data-bukrs.
          itab-kunnr        =   i_temp_data-kunnr.
          itab-belnr        =   i_temp_data-belnr.
          itab-gjahr        =   i_temp_data-gjahr.
          IF r_comp EQ 'X'.
            itab-waers        =   i_temp_data-waers.
          ELSE.
            itab-waers        =   'USD'.
          ENDIF.
          itab-zfbdt        =   i_temp_data-zfbdt.
          itab-zterm        =   i_temp_data-zterm.
          itab-amt00_30     =   x_amt-amt00_ls + x_amt-00_30.
          itab-amt31_60     =   x_amt-31_60.
          itab-amt61_90     =   x_amt-61_90.
          itab-amt91_120    =   x_amt-91_120.
          itab-amt120pls    =   x_amt-120pls.
          itab-total        =   x_amt-amt00_ls  +  x_amt-00_30  +
                                x_amt-31_60     +  x_amt-61_90  +
                                x_amt-91_120    +  x_amt-120pls.
          itab-kunnr_c      =   i_temp_data-kunnr_c.
          itab-name_c       =   i_temp_data-name_c.
          itab-kidno        =   i_temp_data-kidno.
          itab-matnr        =   i_temp_data-matnr.
          itab-inv_date     =   i_temp_data-inv_date.
          itab-rebzg        =   i_temp_data-rebzg.
          itab-xblnr        =   i_temp_data-xblnr.
          itab-vtext        =   i_temp_data-vtext.
          itab-sgtxt        =   i_temp_data-sgtxt.
          itab-days         =   i_temp_data-days.
          itab-bldat        =   i_temp_data-bldat.
          itab-vvtext       =   i_temp_data-vvtext.
          itab-zzihrez_e    =   i_temp_data-zzihrez_e.
          itab-blart        =   i_temp_data-blart.
          itab-plant        =   i_temp_data-plant.
    Populating table.
          APPEND: itab.
          CLEAR : itab,
                  x_amt.
          v_count = 1.
        ENDAT.
        IF v_count NE 1.
          itab-zuonr        = i_temp_data-zuonr.
          itab-bukrs        =   i_temp_data-bukrs.
          itab-kunnr        =   i_temp_data-kunnr.
          itab-belnr        =   i_temp_data-belnr.
          itab-gjahr        =   i_temp_data-gjahr.
          itab-bldat        =   i_temp_data-bldat.
          IF r_comp EQ 'X'.
            itab-waers        =   i_temp_data-waers.
          ELSE.
            itab-waers        =   'USD'.
          ENDIF.
          itab-zfbdt        =   i_temp_data-zfbdt.
          itab-zterm        =   i_temp_data-zterm.
          itab-kunnr_c      =   i_temp_data-kunnr_c.
          itab-name_c       =   i_temp_data-name_c.
          itab-kidno        =   i_temp_data-kidno.
          itab-matnr        =   i_temp_data-matnr.
          itab-inv_date     =   i_temp_data-inv_date.
          itab-rebzg        =   i_temp_data-rebzg.
          itab-xblnr        =   i_temp_data-xblnr.
          itab-vtext        =   i_temp_data-vtext.
          itab-sgtxt        =   i_temp_data-sgtxt.
          itab-days         =   i_temp_data-days.
          itab-zzihrez_e    =   i_temp_data-zzihrez_e.
          itab-plant        =   i_temp_data-plant.
          itab-vvtext       =   i_temp_data-vvtext.
          itab-blart        =   i_temp_data-blart.
          IF itab-matnr NE space.
            APPEND itab.
            CLEAR itab-plant.
          ELSE.
            ON CHANGE OF i_temp_data-kidno.
              READ TABLE i_temp_data INDEX sy-tabix.
              itab-zuonr        = i_temp_data-zuonr.
              itab-bukrs        =   i_temp_data-bukrs.
              itab-kunnr        =   i_temp_data-kunnr.
              itab-belnr        =   i_temp_data-belnr.
              itab-gjahr        =   i_temp_data-gjahr.
              itab-bldat        =   i_temp_data-bldat.
              IF r_comp EQ 'X'.
                itab-waers        =   i_temp_data-waers.
              ELSE.
                itab-waers        =   'USD'.
              ENDIF.
              itab-zfbdt        =   i_temp_data-zfbdt.
              itab-zterm        =   i_temp_data-zterm.
              itab-amt00_30     =   x_amt-amt00_ls + x_amt-00_30.
              itab-amt31_60     =   x_amt-31_60.
              itab-amt61_90     =   x_amt-61_90.
              itab-amt91_120    =   x_amt-91_120.
              itab-amt120pls    =   x_amt-120pls.
              itab-total        =   x_amt-amt00_ls  +  x_amt-00_30  +
                                    x_amt-31_60     +  x_amt-61_90  +
                                    x_amt-91_120    +  x_amt-120pls.
              itab-kunnr_c      =   i_temp_data-kunnr_c.
              itab-name_c       =   i_temp_data-name_c.
              itab-kidno        =   i_temp_data-kidno.
              itab-matnr        =   i_temp_data-matnr.
              itab-inv_date     =   i_temp_data-inv_date.
              itab-rebzg        =   i_temp_data-rebzg.
              itab-xblnr        =   i_temp_data-xblnr.
              itab-vtext        =   i_temp_data-vtext.
              itab-sgtxt        =   i_temp_data-sgtxt.
              itab-days         =   i_temp_data-days.
              itab-zzihrez_e    =   i_temp_data-zzihrez_e.
              itab-vvtext       =   i_temp_data-vvtext.
              itab-plant        =   i_temp_data-plant.
              APPEND itab.
              CLEAR: x_amt-amt00_ls, x_amt-00_30, x_amt-31_60,
                     x_amt-61_90,  x_amt-91_120 , x_amt-120pls.
            ENDON.
          ENDIF.
          CLEAR: itab.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " POP_FORMAT_grp_CURR_DETAIL
    *&      Form  material_details
          text
    -->  p1        text
    <--  p2        text
    FORM material_details.
      SORT itab_details.
      DELETE ADJACENT DUPLICATES FROM itab_details.
      LOOP AT itab_details.
        CLEAR: v_counter, v_gjahr, v_kunnr, v_prodh, v_vbeln,
        v_vvtext, v_vtext.
        v_gjahr = itab_details-gjahr.
        v_kunnr = itab_details-kunnr.
    *Invoice Date/Billing date
        SELECT SINGLE fkdat FROM vbrk INTO v_inv_date
         WHERE vbeln = itab_details-xblnr.
    *material number, description and product hierarchy
        SELECT matnr arktx prodh FROM vbrp
         INTO (v_matnr, v_arktx, v_prodh)
         WHERE vbeln = itab_details-xblnr AND
               uepos = '00000'.
          CLEAR: v_vdatu, v_posnr, v_auart, v_prctr, v_zzihrez,
                 v_kunnr_c, v_name1, v_name2, v_vtext, v_vvtext.
    *Find the contract/order no
          SELECT SINGLE vbelv posnv FROM vbfa INTO (v_vbeln, v_posnr)
               WHERE vbeln = itab_details-xblnr
               AND vbtyp_v IN ('C','G').
    *delivery date, document type, plant and reservation no
          SELECT  SINGLE vbakvdatu vbakauart vbapprctr vbapzzihrez_e
              INTO (v_vdatu, v_auart, v_prctr, v_zzihrez)
              FROM vbak INNER JOIN vbap ON vbakvbeln = vbapvbeln
           WHERE vbap~vbeln = v_vbeln AND
                 vbap~posnr = v_posnr AND
                 vbap~abgru = space.
    *billing type
          SELECT SINGLE * FROM vbkd WHERE vbeln = v_vbeln.
          IF vbkd-bsark NE 'ZG01' OR  vbkd-bsark NE 'ZO02'.
            SELECT SINGLE vtext FROM t176t INTO v_vvtext
                   WHERE bsark = vbkd-bsark
                   AND spras EQ sy-langu.
          ELSE.
            MOVE 'One Time' TO v_vvtext.
          ENDIF.
    *getting only the reservation number (no text)
          IF vbkd-ihrez_e+0(11) CO
             '0123456789'.
          ELSE.
            v_zzihrez = space.
          ENDIF.
    *location
          CONCATENATE '000000' v_zzihrez+0(4) INTO v_prctr.
    *plant name
          CLEAR v_plant.
          SELECT SINGLE ktext FROM cepct INTO v_plant WHERE
          prctr = v_prctr AND
          spras = sy-langu.
    *client no and name
          SELECT SINGLE vbpakunnr kna1name1 kna1~name2
               INTO (v_kunnr_c, v_name1, v_name2)
               FROM vbpa INNER JOIN kna1 ON
               vbpakunnr = kna1kunnr
            WHERE vbpa~vbeln = v_vbeln AND
                  vbpa~parvw = 'Z3'.
          CONCATENATE v_name1 v_name2 INTO v_name_c
                   SEPARATED BY space.
          READ TABLE i_temp_data WITH KEY bukrs = itab_details-bukrs
                                          belnr = itab_details-belnr
                                          gjahr = itab_details-gjahr.
          IF sy-subrc = 0.
            CLEAR: v_tabix.
            v_tabix = sy-tabix.
            IF  v_counter IS INITIAL.
              MOVE v_plant TO i_temp_data-plant.
              MOVE v_zzihrez TO i_temp_data-zzihrez_e.
              MOVE v_kunnr_c TO i_temp_data-kunnr_c.
              MOVE v_name_c TO  i_temp_data-name_c.
              MOVE v_gjahr TO i_temp_data-gjahr.
              MOVE v_kunnr TO i_temp_data-kunnr.
              IF v_auart EQ 'ZOTO' AND i_temp_data-inv_date IS INITIAL.
                MOVE v_inv_date TO i_temp_data-inv_date.
              ELSEIF i_temp_data-inv_date IS INITIAL.
                MOVE v_vdatu TO i_temp_data-inv_date.
              ENDIF.
              IF i_temp_data-vtext IS INITIAL.
                MOVE v_arktx TO i_temp_data-vtext.
              ENDIF.
              IF i_temp_data-vvtext IS INITIAL.
                MOVE v_vvtext TO i_temp_data-vvtext.
              ENDIF.
              MODIFY i_temp_data INDEX v_tabix.
              CLEAR i_temp_data.
              v_counter = 'T'.
              CLEAR: v_matnr,v_arktx,v_vbeln,v_name_c,v_vtext, v_prodh,
                     v_kunnr_c, v_name1,v_name2, v_vdatu, v_vvtext.
            ELSE.
             CLEAR:i_temp_data-dmbe2, i_temp_data-dmbtr. " i_temp_data-wrbtr
              MOVE v_matnr TO i_temp_data-matnr.
              MOVE v_plant TO i_temp_data-plant.
              MOVE v_zzihrez TO i_temp_data-zzihrez_e.
              MOVE v_kunnr_c TO i_temp_data-kunnr_c.
              MOVE v_name_c TO  i_temp_data-name_c.
              MOVE v_gjahr TO i_temp_data-gjahr.
              MOVE v_kunnr TO i_temp_data-kunnr.
              IF v_auart EQ 'ZOTO' AND i_temp_data-inv_date IS INITIAL.
                MOVE v_inv_date TO i_temp_data-inv_date.
              ELSEIF i_temp_data-inv_date IS INITIAL.
                MOVE v_vdatu TO i_temp_data-inv_date.
              ENDIF.
              MOVE v_arktx TO i_temp_data-vtext.
              APPEND i_temp_data.
              CLEAR i_temp_data.
            ENDIF.
          ENDIF.
        ENDSELECT.
        CLEAR:
        i_temp_data-kunnr_c,
        i_temp_data-name_c,i_temp_data-inv_date,
        i_temp_data-vtext.
        CLEAR: v_matnr,v_arktx,v_vbeln,v_name_c,
               v_kunnr_c, v_name1,v_name2,v_inv_date, v_vdatu,
               v_vtext, v_prodh.
      ENDLOOP.
    ENDFORM.                    " material_details
    *&      Form  get_address
          text
    FORM get_address.
    Get Address
      CLEAR: kna1, x_kna1, first_name, last_name,pafkt, lang, v_land.
      SELECT SINGLE * FROM kna1 INTO kna1 WHERE kunnr = i_last-kunnr.
      SELECT SINGLE name1 namev  pafkt parla FROM knvk
      INTO (last_name, first_name, pafkt, lang)
              WHERE kunnr = i_last-kunnr
              AND abtnr = '0003'. "financial department
      IF sy-subrc NE 0.
        SELECT SINGLE name1 namev  pafkt parla FROM knvk
        INTO (last_name, first_name, pafkt, lang)
                WHERE kunnr = i_last-kunnr.
      ENDIF.
      IF lang =  ' '.
        lang = 'E'.
      ENDIF.
      SELECT SINGLE vtext FROM tpfkt INTO x_kna1-ptext
             WHERE pafkt = pafkt
             AND spras = lang.
      SELECT SINGLE name1 name2  street  country FROM
         adrc   INTO (x_kna1-name1, x_kna1-name2,
         x_kna1-street, v_land)
      WHERE addrnumber = kna1-adrnr.
      SELECT SINGLE landx FROM t005t INTO x_kna1-landx WHERE land1 = v_land
                                                      AND spras = lang.
      TRANSLATE x_kna1-landx  TO UPPER CASE.  "#EC SYNTCHAR added by sony
      MOVE kna1-kunnr TO x_kna1-kunnr.
      MOVE kna1-ort01 TO x_kna1-ort01.
      MOVE kna1-regio TO x_kna1-regio.
      MOVE kna1-pstlz TO x_kna1-pstlz.
      MOVE p_bdate TO x_kna1-agdate.
      APPEND x_kna1.
      CLEAR: x_kna1.
    ENDFORM.                    " get_addres
    *&      Form  fetch_data_vender
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_data_vender.
      SELECT lifnr FROM kna1 INTO TABLE itab_vender
        WHERE kunnr IN s_kunnr.
      LOOP AT itab_vender.
    Fetch data from BSIK into Internal table I_BSIK.
        SELECT *
          FROM bsik
          APPENDING TABLE i_bsik
          WHERE bukrs IN s_bukrs  AND
                lifnr EQ itab_vender-vender  AND
                budat LE p_bdate AND
                blart IN ('KA', 'KG', 'KR', 'KZ', 'KF').
    Fetch data from BSAK into Internal table I_BSAK.
        SELECT *
          FROM bsak      "#EC ENHOK "added by sony 06/05/08
          APPENDING TABLE i_bsik
          WHERE bukrs IN s_bukrs  AND
                lifnr EQ itab_vender-vender  AND
                budat LE p_bdate  AND
                augdt GT p_bdate AND
                blart IN ('KA', 'KG', 'KR', 'KZ', 'KF').
      ENDLOOP.
      DELETE i_bsik WHERE ( bukrs = '1500' OR bukrs = '3000' ) AND
                          ( umsks = 'E' OR umskz = 'E' ).
    ENDFORM.                    " fetch_data_vender
    *&      Form  GET_ARREAR_DAYS_vender
          text
    -->  p1        text
    <--  p2        text
    FORM get_arrear_days_vender.
      SORT i_bsik BY mandt bukrs belnr.
      CLEAR: v_tabix.
      LOOP AT i_bsik.
        v_tabix = sy-tabix.
        SELECT SINGLE * FROM kna1 WHERE lifnr = i_bsik-lifnr.
        MOVE i_bsik-bukrs TO itab_details-bukrs.
        MOVE i_bsik-xblnr TO itab_details-xblnr.
        MOVE i_bsik-belnr TO itab_details-belnr.
        MOVE i_bsik-gjahr TO itab_details-gjahr.
        MOVE kna1-kunnr   TO itab_details-kunnr.
        APPEND itab_details.
        CLEAR itab_details.
        CLEAR x_item.
        AT NEW bukrs.
    *company code details
          READ TABLE i_bsik INDEX sy-tabix.
          CLEAR x_t001.
          SELECT SINGLE * FROM t001
          INTO x_t001
          WHERE bukrs = i_bsik-bukrs.
        ENDAT.
        MOVE-CORRESPONDING i_bsik TO x_item.
        x_item-koart = 'D'.          " Debitor - Customer Indicator
        x_item-konto = kna1-kunnr.   " Debitor - Customer Number
        x_item-dmshb = bsik-dmbtr.
        x_item-wrshb = bsik-wrbtr.
    Function module to get ARREAR  days.
        CALL FUNCTION 'ITEM_DERIVE_FIELDS'
          EXPORTING
            s_t001    = x_t001
            s_bsegp   = x_bsegp
            key_date  = p_bdate
          CHANGING
            s_item    = x_item
          EXCEPTIONS
            bad_input = 1
            OTHERS    = 2.
        IF sy-subrc =  0.
    Populate I_TEMP_DATA for further processing.
          i_temp_data-bukrs   =  i_bsik-bukrs.
          i_temp_data-kunnr   =  kna1-kunnr.
          i_temp_data-belnr   =  i_bsik-belnr.
          i_temp_data-bldat   =  i_bsik-bldat.  "Document date in document
          i_temp_data-shkzg   =  i_bsik-shkzg.
          i_temp_data-zfbdt   =  i_bsik-zfbdt.  " Base line date
          i_temp_data-zterm   =  i_bsik-zterm.  "Terms of payment key
          i_temp_data-waers   =  i_bsik-waers.
          i_temp_data-days    =  x_item-verzn.  " days in arrs
          i_temp_data-gjahr   =  i_bsik-gjahr.  " year
          i_temp_data-kidno   =  i_bsik-kidno.  " Payment Reference
          i_temp_data-rebzg   =  i_bsik-rebzg.  " Number of the Invoice the
          "Transaction Belongs to
          i_temp_data-xblnr   =  i_bsik-xblnr.
          i_temp_data-sgtxt   =  i_bsik-sgtxt.  " Item Text
    Changing the Sign
          IF i_bsik-shkzg = 'H'.
            i_temp_data-dmbe2   = -1 * i_bsik-dmbe2.
            i_temp_data-dmbtr   = -1 * i_bsik-dmbtr.
          ELSE.
            i_temp_data-dmbe2   =  i_bsik-dmbe2.
            i_temp_data-dmbtr   =  i_bsik-dmbtr.
          ENDIF.
        ENDIF.
        APPEND i_temp_data.
        CLEAR  i_temp_data.
      ENDLOOP.

    Hi
    Looks like BASIS issue.
    Pls check the OSS Note - Note 787418 - Sent documents are not readable after upgrade
    Pls contact your BASIS person
    Regards
    MD

  • Runtime Error in ECC6 - for t-code PPOCE

    HI Gurus!
    at my client site , we have upgraded 4.7 to ECC6. Now functional consultants are testing the system.When HR consultant working on PPOCE t-code ,the patch no of SAP HR - 0007. its giving runtime error.
    Runtime Errors  CREATE_DATA_UNKNOWN_TYPE                              
    Except.     CX_SY_CREATE_DATA_ERROR          Date and Time                    19.08.2008     14:42:44          
    Short text                    
    CREATE DATA: The specified type "HRP1680" is no valid data type.                                        
    What happened?                    
    Error in the ABAP Application Program          
    The current ABAP program "SAPLRHDB" had to be terminated because it has come across a statement that unfortunately cannot be executed.                                        
    Error analysis :An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CREATE_DATA_ERROR', was not  caught in
    procedure "FILL_I777D" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
    The reason for the exception is:
    The dynamically specified type "HRP1680" at CREATE DATA is no valid data type.
    The type is either unknown or an object type.
    Missing RAISING Clause in Interface          
    Program     SAPLRHDB
    Include     LRHDBF00
    Row     177
    Module type  (FORM)
    Module Name FILL_I777D
    Trigger Location of Exception               
    Program     SAPLRHDB
    Include     LRHDBF00
    Row     308
    Module type(FORM)
    Module Name     FILL_I777D
    Source Code Extract          
    Line          SourceCde
    278          **                HEADER   = FI_HEADER                    "ANDBCEK008264
    279          **           TABLES                                       "ANDBCEK008264
    280          **                FIELDTAB = FI_TAB                       "ANDBCEK008264
    281          **           EXCEPTIONS                                   "ANDBCEK008264
    282          **                OTHERS   = 4.                           "ANDBCEK008264
    283          *                                                         "ANDBCEK008264
    284          *      CALL FUNCTION 'DDIF_FIELDINFO_GET'                 "ANDBCEK008264
    285          *           EXPORTING                                     "ANDBCEK008264
    286          *                tabname        = fi_tabname              "ANDBCEK008264
    287          **               FIELDNAME      = ' '                     "ANDBCEK008264
    288          **               LANGU          = SY-LANGU                "ANDBCEK008264
    289          **               LFIELDNAME     = ' '                     "ANDBCEK008264
    290          **               ALL_TYPES      = ' '                     "ANDBCEK008264
    291          *           IMPORTING                                     "ANDBCEK008264
    292          *                x030l_wa       = fi_header               "ANDBCEK008264
    293          **               DDOBJTYPE      =                         "ANDBCEK008264
    294          **               DFIES_WA       =                         "ANDBCEK008264
    295          **          TABLES                                        "ANDBCEK008264
    296          **               DFIES_TAB      =                         "ANDBCEK008264
    297          *          EXCEPTIONS                                     "ANDBCEK008264
    298          *               not_found      = 1                        "ANDBCEK008264
    299          *               internal_error = 2                        "ANDBCEK008264
    300          *               OTHERS         = 3.                       "ANDBCEK008264
    301          *
    302          *      IF sy-subrc EQ 0.
    303          *        i777d-tbtab_tabof = fi_header-tablen - tabnr_intlen.
    304          *        i777d-pnnnn_tabof = i777d-tbtab_tabof - 8.
    305          *      ENDIF.
    306          
    307          *      ASSIGN char TO <any_field> CASTING TYPE (fi_tabname).  "ANDDDIF
    >>>>>                create data anyfield type (fi_tabname).                "ANDUNI
    309                assign anyfield->* to <any_field>.                     "ANDUNI
    310          
    311          *     we need a character view of <any_field> !!!            "ANDUNI
    312                assign <any_field> to <char_field> casting type c.     "ANDUNI
    313          
    314          *      DESCRIBE FIELD <any_field> LENGTH tablength            "ANDDDIF
    315          *                                 IN BYTE MODE.               "ANDDDIF
    316          
    317                DESCRIBE FIELD <char_field> LENGTH tablength           "ANDUNI
    318                                            IN CHARACTER MODE.         "ANDUNI
    319          
    320                <i777d>-tbtab_tabof = tablength - tabnr_intlen.        "ANDDDIF
    321                <i777d>-pnnnn_tabof = <i777d>-tbtab_tabof - 8.         "ANDDDIF
    322          
    323             ENDIF.
    324              IF <i777d>-ext_infty NE space.                             "VWMEXT
    325                READ TABLE i77id
    326                     WITH KEY infty = <i777d>-infty
    327                     BINARY SEARCH.

    Hi Ramesh,
    i have check the table HRP1680 in SAP4.7c but in ECC 6 it is not there. So i have create that table. Is it Info-type? or i have apply OSS notes.
    regards
    Rahul

  • Error in ECC6.0(Windows GUI 640 Exception 0xC0000005 with ID=0x590A1113/0x)

    Hi ,
    In our environment , SAP is ECC6.0 installed in HP-Unix.Some time user face problem "Windows GUI 640 Exception 0xC0000005 with ID=0x590A1113/0x590A1113 occurred (PL=27)" and it spread to all computer . I have updated latest patched for GUI also , but it the problems seems occur.
    Please let me know how to correct this problem and why its occuring again and again
    Thanks and Regards
    Brijesh Prasad

    If this error is reproducible and you´re on the latest patchlevel I suggest you create an OSS call and attach the tracefile generated.
    Markus

  • Error installing ECC6 on AIX 6.1

    i am installing ECC6 on AIX 6.1, when i run sapint it gives me error:
    iauxsysex.c:318: child /tmp/sapinst_exe.209324.1256978362/sapinst (pid 266368) has crashed. Executable directory is /tmp/sapinst_exe.209324.1256978362. Contact Support.
    iaextract.c:895: child has signaled an exec error. Keeping directory /tmp/sapinst_exe.209324.1256978362
    I am executing it by user root

    Hi,
    Please verify that you are using the latest sapinst patch as per note 929929.
    Also check that your userlimits are set to unlimited, expecially for DATA ,STACK ,CORE and MEMORY
    Best regards,
    Warren

  • Installtion error on Ecc6 , init .sap file missing, BRCONNECT terminated

    Hi all,
    While installing Ecc6 with oracle 10g on W2k3, I am getting this error while creating database stage.
    BR0252E Function fopen() failed for 'D:\oracle\product\10.2.0\db_1\database\initDB1.sap' at location BrInitSapRead-1
    BR0253E errno 2: No such file or directory
    BR0159E Error reading BR*Tools profile D:\oracle\product\10.2.0\db_1\database\initDB1.sap
    BR0806I End of BRCONNECT processing: ceuzkiay.log 2017-01-19 23.10.17
    BR0280I BRCONNECT time stamp: 2017-01-19 23.10.17
    BR0804I BRCONNECT terminated with errors

    Hi,
    Can you make sure there are no permissions issue on that drive and directory and that the file initDB1.sap exists.
    Thanks
    Adil

  • ASSIC ERROR IN ECC6 version

    hi~all
        i write some code for conver ASSIC to char in ecc6,but there is some error about it,following is my code ,please give me some cue to solve it ,thank you very much !
    data : i type i value 65.
    data : x type x.
    data:c type c.
    field-symbols : <fc> type c.
    move i to x.
    assign x to <fc> casting type c.
    move <fc> to c.
    write c.

    Hi,
    Check this, it is working for me.
    Report ZTEST.
    *From A to 65
    data : char value 'A'.
    field-symbols : <fs> type x.
    data : int type i.
    assign char to <fs> casting.
    move <fs> to int.
    write int.
    *From 66 to B
    data : int1 type i value 66.
    data : x type x.
    field-symbols : <fs1> type c.
    move int1 to x.
    assign x to <fs1> casting type c.
    move <fs1> to char.
    write char.
    Regards,
    Satish

  • Import ABAP error in ECC6 system copy targert

    Hi Experts,
                      I am istalling SAP Ecc 6 in System copy targrt, ABAP import fail in 2/87. I got the error Loading of 'SAPDFACT' import package: ERRORImport Monitor jobs.
    My OS  Windows 2003 64 bit and Oracle 10.2. Please find the log files belo. Please help me to solve this issue
      :\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325173244
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -ctf I H:\MVGK IDESBackup-march2010\ABAP\DATA\SAPDFACT.STR C:\Program Files\sapinst_instdir\ERP\LM\COPY\ORA\SYSTEM\CENTRAL\AS\DDLORA.TPL SAPDFACT.TSK ORA -l SAPDFACT.log
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job completed
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325173244
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325173244
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "AT220100325020343                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "KENKI                                                           "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "KENKI"
    (GSI) INFO: release  = "5.2"
    (GSI) INFO: version  = "3790 Service Pack 2"
    (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 15 Step 7)"
    (DB) INFO: /BI0/E0RSTT_C01 created #20100325173245
    (IMP) INFO: import of /BI0/E0RSTT_C01 completed (0 rows) #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~0 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~01 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~02 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~04 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~05 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~06 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~07 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~08 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~09 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~10 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~11 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~12 created #20100325173245
    (DB) INFO: /BI0/E0RSTT_C01~13 created #20100325173245
    DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BI0/E0RSTT_C01~P" ON "/BI0/E0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A"  ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325173245
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325174158
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "AT220100325020343                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "KENKI                                                           "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "KENKI"
    (GSI) INFO: release  = "5.2"
    (GSI) INFO: version  = "3790 Service Pack 2"
    (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 15 Step 7)"
    (DB) ERROR: DDL statement failed
    (DROP INDEX "/BI0/E0RSTT_C01~P")
    DbSlExecute: rc = 103
      (SQL error 1418)
      error message returned by DbSl:
    ORA-01418: specified index does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BI0/E0RSTT_C01~P" ON "/BI0/E0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A"  ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325174158
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325180802
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: DbSlErrorMsg rc = 99
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325180808
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325182246
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: DbSlErrorMsg rc = 99
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325182251
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325183259
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: DbSlErrorMsg rc = 99
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325183304
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100326100904
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jul 17 2007 00:40:17
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: DbSlErrorMsg rc = 99
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100326100910
    Thanks in Advance
    Jose H

    Hi,
    You can check the defined enviornment variable using command prompt and System properties.
    Open Command Prompt and give "set" command. It will show you active environment variable.
    You can also set missing environment variables in system properties.
    Start -->Control Panel --> System
    On Advanced Tab --> Environment Variables.
    After logging to the database if it shows message "Connected to idle instance", that means your database is not started.
    Please start the database using below SQL command.
    Open Command Prompt
    C:\Sqlplus / as sysdba
    SQL>startup
    Once it says "Database opened", retry SAP installation.
    You can also check the database status in SQL prompt using below command:
    SQL> select instance_name,status from v$instance;
    It must show output like:
    INSTANCE_NAME    STATUS
    <SID>              OPEN
    Regards.
    Rajesh Narkhede

  • Error during ecc6.0 installation ..plz help asap

    Hi all
    i am installing ecc 6.0 on windows 2003 standard 64 bit
    with database ibm db2 version 9
    i am getting the following error during the installation phase
    error during abap import phase
    i am attaching error log files
    import.monitor.log
    ===============================================================
    INFO: 2007-05-03 22:17:51
    Import Monitor is started.
    CONFIG: 2007-05-03 22:17:51
    Application options:
    dbCodepage=1100
    dbType=DB6
    extFiles=no
    importDirs=E:\idesins\51032413\1of6\EXP1;E:\idesins\51032413\2of6\EXP2;E:\idesins\51032413\3of6\EXP3;E:\idesins\51032413\4of6\EXP4;E:\idesins\51032413\5of6\EXP5;E:\idesins\51032413\6of6\EXP6;E:\idesins\51032413\6of6\EXP7;E:\idesins\51032413\6of6\EXP8;E:\idesins\51032413\6of6\EXP9;E:\idesins\51032413\6of6\EXP10;E:\idesins\51032413\6of6\EXP11
    installDir=C:\Program Files\sapinst_instdir\ERP\SYSTEM\DB6\CENTRAL\AS
    jobNum=3
    loadArgs= -stop_on_error -loadprocedure fast
    monitorTimeout=30
    orderBy=
    r3loadExe=E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe
    sapinst=
    trace=all
    tskFiles=yes
    CONFIG: 2007-05-03 22:17:51
    List of packages with table structure: 'SAP0000'.
    CONFIG: 2007-05-03 22:17:51
    List of packages with views: 'SAPVIEW'.
    TRACE: 2007-05-03 22:17:51 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\ERP\SYSTEM\DB6\CENTRAL\AS\DDLDB6.TPL' template file is started.
    INFO: 2007-05-03 22:17:51 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\ERP\SYSTEM\DB6\CENTRAL\AS\DDLDB6.TPL' template file is successfully completed.
    Primary key creation: after load.
    Index creation: after load.
    INFO: 2007-05-03 22:17:51
    Data codepage 4103 is determined using TOC file 'E:\idesins\51032413\1of6\EXP1\DATA\SAPAPPL0.TOC' for package 'SAPAPPL0'.
    INFO: 2007-05-03 22:17:53
    Version table 'SVERS' is found in STR file 'E:\idesins\51032413\4of6\EXP4\DATA\SAPSDIC.STR' from package 'SAPSDIC'.
    INFO: 2007-05-03 22:17:53
    Data conversion tables 'DDNTF,DDNTF_CONV_UC,DDNTT,DDNTT_CONV_UC' are found in STR file 'E:\idesins\51032413\4of6\EXP4\DATA\SAPSDIC.STR' from package 'SAPSDIC'.
    TRACE: 2007-05-03 22:17:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSDIC' import package is started.
    TRACE: 2007-05-03 22:17:53 com.sap.inst.migmon.LoadTask processPackage
    Task file generation for 'SAPSDIC' import package:
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe -ctf I E:\idesins\51032413\4of6\EXP4\DATA\SAPSDIC.STR "C:\Program Files\sapinst_instdir\ERP\SYSTEM\DB6\CENTRAL\AS\DDLDB6.TPL" SAPSDIC.TSK DB6 -l SAPSDIC.log
    TRACE: 2007-05-03 22:17:53 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPSDIC' import package into database:
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe -i SAPSDIC.cmd -dbcodepage 1100 -l SAPSDIC.log -stop_on_error -loadprocedure fast
    ERROR: 2007-05-03 22:17:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSDIC' import package is interrupted with R3load error.
    Process 'E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe -i SAPSDIC.cmd -dbcodepage 1100 -l SAPSDIC.log -stop_on_error -loadprocedure fast' exited with return code 2.
    For mode details see 'SAPSDIC.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2007-05-03 22:18:21
    Cannot continue import because not all import packages with data conversion tables are loaded successfully.
    WARNING: 2007-05-03 22:18:21
    1 error(s) during processing of packages.
    INFO: 2007-05-03 22:18:21
    Import Monitor is stopped.
    =============================================================
    import.monitor.java.log
    ======
    java version "1.4.2_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_14-b05, mixed mode)
    Import Monitor jobs: running 1, waiting 18, completed 0, failed 0, total 19.
    Loading of 'SAPSDIC' import package: ERROR
    Import Monitor jobs: running 0, waiting 18, completed 0, failed 1, total 19.
    =========================
    sapsdic.log
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#8 $ SAP
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Aug 31 2006 22:40:33
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe -i SAPSDIC.cmd -dbcodepage 1100 -l SAPSDIC.log -stop_on_error -loadprocedure fast
    (DB) INFO: connected to DB
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "/SDF/PAT03" ( "PATCH" SAPDB6VARCHAR(20) DEFAULT ' ' NOT NULL , "SHORT_TEXT" SAPDB6VARCHAR(60) DEFAULT ' ' NOT NULL , "STATUS" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "DELIV_DATE" SAPDB6VARCHAR(8) DEFAULT '00000000' NOT NULL , "DELIV_TIME" SAPDB6VARCHAR(6) DEFAULT '000000' NOT NULL , "RESPONSIBL" SAPDB6VARCHAR(12) DEFAULT ' ' NOT NULL , "IMPLE_DATE" SAPDB6VARCHAR(8) DEFAULT '00000000' NOT NULL , "IMPLE_TIME" SAPDB6VARCHAR(6) DEFAULT '000000' NOT NULL , "L_IMPL_REL" SAPDB6VARCHAR(4) DEFAULT ' ' NOT NULL , "CONFLICTS" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "CONFIRMED" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "BACKUP" SAPDB6VARCHAR(20) DEFAULT ' ' NOT NULL , "FROM_REL" SAPDB6VARCHAR(4) DEFAULT ' ' NOT NULL , "TO_REL" SAPDB6VARCHAR(4) DEFAULT ' ' NOT NULL , "OS" SAPDB6VARCHAR(10) DEFAULT ' ' NOT NULL , "DB" SAPDB6VARCHAR(10) DEFAULT ' ' NOT NULL , "PATCH_TYPE" SAPDB6VARCHAR(3) DEFAULT ' ' NOT NULL , "ANCESTOR" SAPDB6VARCHAR(20) DEFAULT ' ' NOT NULL , "STRICT_SEQ" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "NO_GEN" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "SPAMFIX" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "ADDON_ID" SAPDB6VARCHAR(10) DEFAULT ' ' NOT NULL , "ADDON_REL" SAPDB6VARCHAR(12) DEFAULT ' ' NOT NULL , "IGN_CONFLI" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "AP_ANCEST" SAPDB6VARCHAR(20) DEFAULT ' ' NOT NULL , "EPSFILSIZ" SAPDB6VARCHAR(4) DEFAULT ' ' NOT NULL , "HI_ANCEST" SAPDB6VARCHAR(2) DEFAULT ' ' NOT NULL , "COMP_REL" SAPDB6VARCHAR(10) DEFAULT ' ' NOT NULL , "COMPONENT" SAPDB6VARCHAR(30) DEFAULT ' ' NOT NULL  ) IN IDE#DDICD INDEX IN IDE#DDICI LONG IN IDE#DDICD)
    DbSlExecute: rc = 102
      (SQL error -601)
      error message returned by DbSl:
    SQL0601N  The name of the object to be created is identical to the existing name "SAPIDE./SDF/PAT03" of type "TABLE".  SQLSTATE=42710
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\nuc\NTAMD64\R3load.exe: END OF LOG: 20070503221753
    =============================================
    any help will be much appreciated.
    thanks.
    Message was edited by:
            Abdul Wahid Khan

    Hi,
            Restart the installation from the begining
    Regards
    Umesh K

  • Error installing ECC6.0 and CRM 7.0 AS Java on windows server 2008

    Hi gurus,
    I have started an installation for AS java of NW 2004s on windows server 2008.
    I an facing the following error
    An error occurred while processing option SAP CRM 7.0 Support Release 1 > SAP Application Server Java > Oracle > Central System > Central System( Last error reported by the step :Cannot load library C:\Users\ADMINI~1\AppData\Local\Temp\5\sapinst_exe.2692.1245373317/iamodsdm.dll: Last error = 126.).
    I am facing a similar issue for my AS Java installations for CRM7.0
    Seems to be a windows related issue but not sure.
    Can some please help me out. i'm in middle of an implementation and all stuck.
    Pasted below is my sapinst.log from my ecc server.
    INFO 2009-06-18 19:17:58.655
    Creating file C:\Users\Administrator\AppData\Local\Temp\2\sapinst_exe.976.1245377870\dev_sap_kernel_test_18_Jun_2009_19_17_58.
    INFO 2009-06-18 19:17:58.655
    Removed file C:\Users\Administrator\AppData\Local\Temp\2\sapinst_exe.976.1245377870\dev_sap_kernel_test_18_Jun_2009_19_17_58.
    INFO 2009-06-18 19:17:58.780
    Creating file C:\Users\Administrator\AppData\Local\Temp\2\sapinst_exe.976.1245377870\dev_sap_kernel_test_18_Jun_2009_19_17_58.
    INFO 2009-06-18 19:17:58.780
    Removed file C:\Users\Administrator\AppData\Local\Temp\2\sapinst_exe.976.1245377870\dev_sap_kernel_test_18_Jun_2009_19_17_58.
    INFO 2009-06-18 19:18:00.30
    Creating file C:\Program Files\sapinst_instdir\x.
    INFO 2009-06-18 19:18:00.30
    Removed file C:\Program Files\sapinst_instdir\x.
    INFO 2009-06-18 19:18:25.499
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\x.
    INFO 2009-06-18 19:18:25.499
    Removed file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\x.
    INFO 2009-06-18 19:18:27.734
    Creating file C:\Program Files\sapinst_instdir\x.
    INFO 2009-06-18 19:18:27.734
    Removed file C:\Program Files\sapinst_instdir\x.
    INFO 2009-06-18 19:18:27.734
    Removed file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\dev_sap_kernel.
    INFO 2009-06-18 19:18:29.921
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.6.xml'.
    INFO 2009-06-18 19:18:31.796
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.7.xml'.
    WARNING 2009-06-18 19:18:46.171
    Unable to get information about path
    LABEL.ASC\ using GetVolumeInformation. Operating system error message: The specified path is invalid.
    INFO 2009-06-18 19:18:48.812
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.3.xml'.
    INFO 2009-06-18 19:18:49.202
    Execute step
    Component  W2K_ServicePack_Check|ind|ind|ind|ind
    Preprocess  of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|1|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0
    INFO 2009-06-18 19:19:12.499
    Working directory changed to C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2009-06-18 19:19:12.827
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.3.xml'.
    INFO 2009-06-18 19:19:13.77
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/statistic.8.xml'.
    INFO 2009-06-18 19:19:13.249
    Execute step setSubstVars of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0
    INFO 2009-06-18 19:19:13.968
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.8.log'.
    INFO 2009-06-18 19:19:13.999
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\java.exe.log.
    ERROR 2009-06-18 19:19:14.31
    FSL-00009  System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    ERROR 2009-06-18 19:19:14.109
    MUT-03025  Caught ESyException in Modulecall: At line 569 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    ERROR 2009-06-18 19:19:14.124
    FCO-00011  The step setSubstVars with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars was executed with status ERROR ( Last error reported by the step :Caught ESyException in Modulecall: At line 569 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    WARNING 2009-06-18 19:19:14.171
    Could not get property IDs of the JavaScript object.
    ERROR 2009-06-18 19:19:14.171
    FJS-00010  Could not get value for property .
    INFO 2009-06-18 19:20:21.781
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars".
    INFO 2009-06-18 19:20:21.796
    Working directory changed to C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2009-06-18 19:20:23.718
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.9.log'.
    INFO 2009-06-18 19:20:23.827
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\java.exe.log.
    ERROR 2009-06-18 19:20:23.827
    FSL-00009  System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    ERROR 2009-06-18 19:20:23.827
    MUT-03025  Caught ESyException in Modulecall: At line 569 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()

    ERROR 2009-06-18 19:20:23.952
    FCO-00011  The step setSubstVars with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars was executed with status ERROR ( Last error reported by the step :Caught ESyException in Modulecall: At line 569 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 3 (The system cannot find the path specified.
    ) in execution of system call 'CreateProcess' with parameter (NULL, <command line for executable C:\j2sdk1.4.2_17-x64\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS, &StartupInfo, &ProcessInfo), line (569) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    WARNING 2009-06-18 19:20:24.46
    Could not get property IDs of the JavaScript object.
    ERROR 2009-06-18 19:20:24.46
    FJS-00010  Could not get value for property .
    INFO 2009-06-18 19:27:00.640
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars".
    INFO 2009-06-18 19:27:00.656
    Working directory changed to C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2009-06-18 19:27:02.593
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.10.log'.
    INFO 2009-06-18 19:27:02.640
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\java.exe.log.
    INFO 2009-06-18 19:27:02.640
    Output of C:\j2sdk1.4.2_17-x64\bin\java.exe -Xmx256M -Djava.ext.dirs=D:\usr\sap\ED1\JC00\SDM/program/lib;C:/j2sdk1.4.2_17-x64/jre/lib/ext -jar D:\usr\sap\ED1\JC00\SDM/program/bin/SDM.jar version logtoconsole=true sdmhome=D:\usr\sap\ED1\JC00\SDM/program "logfile=C:\Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log" is written to the logfile java.exe.log.
    INFO 2009-06-18 19:27:03.921
    Execution of the command "C:\j2sdk1.4.2_17-x64\bin\java.exe -Xmx256M -Djava.ext.dirs=D:\usr\sap\ED1\JC00\SDM/program/lib;C:/j2sdk1.4.2_17-x64/jre/lib/ext -jar D:\usr\sap\ED1\JC00\SDM/program/bin/SDM.jar version logtoconsole=true sdmhome=D:\usr\sap\ED1\JC00\SDM/program "logfile=C:\Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log"" finished with return code 0. Output:
    Info:
    Info: =============================================
    Info: =   Starting to execute command 'version'   =
    Info: =============================================
    Info: MyPath is D:\usr\sap\ED1\JC00\SDM\program\bin\SDM.jar
    MyPath is D:\usr\sap\ED1\JC00\SDM\program\bin\SDM.jar
    Info:                          Name: tc/SL/SDM/SDM
                             Name: tc/SL/SDM/SDM
    Info:                        Vendor: sap.com
                           Vendor: sap.com
    Info:                      Location: SAP AG
                         Location: SAP AG
    Info:                       Counter: 7.0014.20071029094708.0000
                          Counter: 7.0014.20071029094708.0000
    Info:                   API Version: 13
                      API Version: 13
    Info:                   GUI Version: 1.70
                      GUI Version: 1.70
    Info:            Repository Version: 34
               Repository Version: 34
    Info:            Web Server Version: 1.0
               Web Server Version: 1.0
    Info:           Command API Version: 1.0
              Command API Version: 1.0
    Successfully executed. Return code: 0
    Info: Successfully executed. Return code: 0
    INFO 2009-06-18 19:27:03.984
    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.11.log'.
    INFO 2009-06-18 19:27:04.31
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\java.exe.log.
    INFO 2009-06-18 19:27:04.031
    Output of C:\j2sdk1.4.2_17-x64\bin\java.exe -Xmx256M -jar D:\usr\sap\ED1\JC00\SDM/program/bin/SDM.jar getsubstvars substvarfile=PARAM_CONFIG_630.XML sdmhome=D:\usr\sap\ED1\JC00\SDM/program "logfile=C:\Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log" logtoconsole=true is written to the logfile java.exe.log.
    INFO 2009-06-18 19:27:06.515
    Execution of the command "C:\j2sdk1.4.2_17-x64\bin\java.exe -Xmx256M -jar D:\usr\sap\ED1\JC00\SDM/program/bin/SDM.jar getsubstvars substvarfile=PARAM_CONFIG_630.XML sdmhome=D:\usr\sap\ED1\JC00\SDM/program "logfile=C:\Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/callSdmViaSapinst.log" logtoconsole=true" finished with return code 0. Output:
    Info:
    Info: ==================================================
    Info: =   Starting to execute command 'getsubstvars'   =
    Info: ==================================================
    Info: Starting SDM - Software Deployment Manager...
    Starting SDM - Software Deployment Manager...
    Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0014.20071029094708.0000
    tc/SL/SDM/SDM/sap.com/SAP AG/7.0014.20071029094708.0000
    Info: SDM operation mode successfully set to: Standalone
    Initializing Network Manager (50017)
    Info: Initializing Network Manager (50017)
    Checking if another SDM is running on port 50018
    Info: Checking if another SDM is running on port 50018
    Info: Start to retrieve definitions of SubstVars.
    Info: Writing substvarfile "PARAM_CONFIG_630.XML".
    Info: SDM Repository contains 10 definitions of SubstVars.
    Info: Definitions of SubstVars could be retrieved successfully.
    Successfully executed. Return code: 0
    Info: Successfully executed. Return code: 0
    ERROR 2009-06-18 19:27:06.515
    FRY-00001  Cannot load library C:\Users\ADMINI~1\AppData\Local\Temp\2\sapinst_exe.976.1245377870/iamodsdm.dll: Last error = 126.
    ERROR 2009-06-18 19:27:06.515
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2009-06-18 19:27:06.640
    FCO-00011  The step setSubstVars with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.).
    WARNING 2009-06-18 19:27:06.687
    Could not get property IDs of the JavaScript object.
    ERROR 2009-06-18 19:27:06.687
    FJS-00010  Could not get value for property .
    INFO 2009-06-18 19:43:25.859
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|setSubstVars".
    INFO 2009-06-18 19:43:29.437
    Working directory changed to C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2009-06-18 19:43:29.468
    Creating file C:\Program Files\sapinst_instdir\.lastInstallationLocation.
    INFO 2009-06-18 19:43:29.937
    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\__instana_tmp.xml.

  • Reg syntax error in ECC6.0

    hi,
    Iam getting syantax error for this small code in ECC 6.0.
    plz help in solving this.
    here is the full code.
    DATA: WS-01(1) TYPE C VALUE '1',
    WS-02(1) TYPE C VALUE '2',
    WS-03(1) TYPE C VALUE '3',
    WS-04(1) TYPE C VALUE '4',
    WS-05(1) TYPE C VALUE '5',
    WS-06(1) TYPE C VALUE '6',
    WS-07(1) TYPE C VALUE '7',
    WS-08(1) TYPE C VALUE '8',
    WS-09(1) TYPE C VALUE '9',
    WS-10(1) TYPE C VALUE 'A', "Omit letter 'A'
    WS-10(1) TYPE C VALUE 'B',
    WS-11(1) TYPE C VALUE 'C',
    WS-12(1) TYPE C VALUE 'D',
    WS-14(1) TYPE C VALUE 'E', "Omit letter 'E'
    WS-13(1) TYPE C VALUE 'F',
    WS-14(1) TYPE C VALUE 'G',
    WS-15(1) TYPE C VALUE 'H',
    WS-18(1) TYPE C VALUE 'I', "Omit letter 'I'
    WS-16(1) TYPE C VALUE 'J',
    WS-17(1) TYPE C VALUE 'K',
    WS-18(1) TYPE C VALUE 'L',
    WS-19(1) TYPE C VALUE 'M',
    WS-20(1) TYPE C VALUE 'N',
    O TYPE N VALUE '24', "Omit letter 'O'
    WS-21(1) TYPE C VALUE 'P',
    WS-22(1) TYPE C VALUE 'Q',
    WS-23(1) TYPE C VALUE 'R',
    WS-24(1) TYPE C VALUE 'S',
    WS-25(1) TYPE C VALUE 'T',
    WS-29(1) TYPE C VALUE 'U', "Omit letter 'U'
    WS-26(1) TYPE C VALUE 'V',
    WS-27(1) TYPE C VALUE 'W',
    WS-28(1) TYPE C VALUE 'X',
    WS-29(1) TYPE C VALUE 'Y',
    WS-30(1) TYPE C VALUE 'Z',
    WS-31(1) TYPE C VALUE '0',
    NUM_LENGTH TYPE N VALUE '8'. " Length of stored no.
    DATA : MAX_VAL(2) TYPE N VALUE '31'.
    DATA: BEGIN OF NUM_TAB OCCURS 35,
    CHAR(1) TYPE C,
    VAL LIKE SY-INDEX,
    END OF NUM_TAB.
    initializes internal table with character values from data
    DO MAX_VAL TIMES VARYING CHAR FROM WS-01 NEXT WS-02 .
    MOVE: CHAR TO NUM_TAB-CHAR,
    SY-INDEX TO NUM_TAB-VAL.
    APPEND NUM_TAB.
    ENDDO.
    regards
    vaja

    Hi,
    In unicode field names were not allowed with - symbol
    wa-20 is not allowed
    wa_20 is allowed
    if you use wa-20 you will get syntax errors.
    Regards,
    sivachalasani.

  • Syntax error in ECC6.0

    Hi experts , a syntax error is coming wile running the zprogram in ECC 6.0.
    here i am giving teh piece of code where exactly error is coming. could any one help me in this.
    error is " the literal '1' is not type compatable with formal parameter".
          AT NEW WERKS.
            PERFORM NEXT_ROW USING 0 1.(error is showing at this line)
            PERFORM SET_FORMAT USING 2 SPACE SPACE.
            WRITE: 2 BLANK(71).
            WRITE: 2(4) KONSI-WERKS.
          ENDAT.
    ****the below form is in some standard include*****
    FORM NEXT_ROW USING LOCCOLOR type i
                        LOCINTEN type c.
      SCOL = LOCCOLOR.
      SINT = LOCINTEN.
      PERFORM SET_COLOR.
      WRITE:/ SY-VLINE NO-GAP, <SLIN> NO-GAP, SY-VLINE.
      POSITION 1.
    ENDFORM.
    could any on ehelp me in this,  to how can i resolve this problem

    Did you try using quotes for 1 and 0 ?
    AT NEW WERKS.
    PERFORM NEXT_ROW USING '0' '1'.(error is showing at this line)
    PERFORM SET_FORMAT USING '2' SPACE SPACE.
    WRITE: 2 BLANK(71).
    WRITE: 2(4) KONSI-WERKS.
    ENDAT.
    ****the below form is in some standard include*****
    FORM NEXT_ROW USING LOCCOLOR type i
    LOCINTEN type c.
    SCOL = LOCCOLOR.
    SINT = LOCINTEN.
    PERFORM SET_COLOR.
    WRITE:/ SY-VLINE NO-GAP, <SLIN> NO-GAP, SY-VLINE.
    POSITION 1.
    ENDFORM.

  • Error in ECC6.0 - Dunning Proposal - FPVA

    Hi SAP Expert
    I had executed Dunning Proposal - FPVA. I was hit the error message from system said "There are no internal numbers which have not been assigned".
    I go into SNUM but I couldn't find the number range object for Dunning Proposal. May I know where I can define for internal numbers in order to execute the Dunning Proposal - FPVA? Which object I should refer to ?
    Million thanks.
    Regards
    Jacky

    Jacky,
    Go through the SAP note 732878.
    You need to maintain number ranges in SNUM for object id EMMA_RUNID.
    The above config is for all mass programs in FICA i.e FPVA, FPVB, FPY1, FPMA etc
    Hope this helps
    Rgds
    Rajendra

  • Installation Error for ECC6.0 IDES

    I'v got the error logs as follow at the configure the CAF step:
    INFO 2009-11-02 00:25:12
    Execution of the command "C:\j2sdk1.4.2_18\bin\java.exe -classpath C:/usr/sap/NW4/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX IDES:50000 J2EE_ADMIN XXXXXX" finished with return code 0. Output:
    TYPE=A<BR>STATE=<BR>INFO_SHORT=IO EXCEPTION: Unexpected end of file from server::<BR>CONFIGURATION=
    ERROR 2009-11-02 00:25:12
    CJS-30059  Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile java.log: 'IO EXCEPTION: Unexpected end of file from server::'.
    ERROR 2009-11-02 00:25:12
    FCO-00011  The step configCAF with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|configCAF was executed with status ERROR .
    I though it was the temporary documents error. How could I fix this problem?  Thanks a lot!

    Thanks for your help. I'v been spend several days installing this IDES system but still get error message.  The log in the java.exe.log is very simple:
    TYPE=A<BR>STATE=<BR>INFO_SHORT=IO EXCEPTION: Unexpected end of file from server::<BR>CONFIGURATION=
    Thanks!
    BTW, sapinst.log are in the below:
    INFO 2009-11-02 00:56:19
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\DB6\CENTRAL\AS\java.exe.log.
    INFO 2009-11-02 00:56:19
    Output of C:\j2sdk1.4.2_18\bin\java.exe -classpath C:/usr/sap/NW4/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX IDES:50000 J2EE_ADMIN XXXXXX is written to the logfile java.exe.log.
    INFO 2009-11-02 01:02:21
    Execution of the command "C:\j2sdk1.4.2_18\bin\java.exe -classpath C:/usr/sap/NW4/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX IDES:50000 J2EE_ADMIN XXXXXX" finished with return code 0. Output:
    TYPE=A<BR>STATE=<BR>INFO_SHORT=IO EXCEPTION: Unexpected end of file from server::<BR>CONFIGURATION=
    ERROR 2009-11-02 01:02:21
    CJS-30059  Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile java.log: 'IO EXCEPTION: Unexpected end of file from server::'.
    ERROR 2009-11-02 01:02:21
    FCO-00011  The step configCAF with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|configCAF was executed with status ERROR .
    INFO 2009-11-02 01:14:50
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|configCAF".
    Edited by: sunfree on Nov 2, 2009 1:39 AM

Maybe you are looking for

  • Earpieace / Sound Issues with Droid Razr M

    Having issues with my phone, bought new in September 2012, since yesterday morning.  When I make a call using the earpiece, I cannot hear it ringing (like dialing out to them) and after they answer, I cannot hear the person on the other end when they

  • Automatic payment program spool not created

    HI Exeperts i am assing same role both users both user while doing f110 posting one use is succesed and another user was some time was sucesse ful and sometime getting error spool not created i tested in testing client same role here sucess.i checked

  • Problem working with Group Shots

    some clips are attached to groups through red lines, some through blue lines. what does this mean? is there a way to auto-arrange clips? shots browser is looing pretty messy here...

  • Problems installing apps on ipad via ICU

    Hi Everyone I am an IT admin and have been using the iphone Configuration Utility to setup iPhones and iPads. I have the latest ICU version 3.61.296 and the latest Itunes version version 10.7.0.21 on WIN 7 SP1 64BIT and I am having problems installin

  • What is an alternative to adobe flash player?  Need to run a program

    I can't utilize weight watchers on-line. It needs adobe flash player installed & it says apple doesn't allow it(????)