Attach Class

I'm making a flash game and there are three frames. One is
the intro, two is the actual game, and three is an ending screen.
Currently, I only have the single game frame and I've attached a
document class to the entire movie. How do I attach a class to a
frame instead of the entire document?

hi deepak
kindly check whether you have created the characteristic and assigned to the equipment class
regards
thyagarajan

Similar Messages

  • Could not find "Attachment" class (DeliveryManager)

    Hello,
    I was trying to send email using Delivery Manager (java program) but getting error compiling the source code when adding sample line "Attachment m = new Attachment();". Below is an excerpt of the source code. I could not add "Attachment" function.
    // create delivery manager instance
    DeliveryManager delMgr = new DeliveryManager();
    // create a delivery request
    DeliveryRequest delReq = delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
    // set email subject
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "test");
    // set SMTP server host
    delReq.addProperty(
    DeliveryPropertyDefinitions.SMTP_HOST, "xxxx.mail.com");
    // set the sender email address
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM, "[email protected]");
    // set the destination TO email address (required)
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS, getReportNotify(repID,"TO") );
    // set the destination CC email address (optional)
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CC_RECIPIENTS, getReportNotify(repID,"CC") );
    // set the content type of the email body
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE, "text/plain");
    // set the document file name appeared in the email
    //delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME, getReportTitle(repID)+rRequestID+".pdf");
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME, repID+".txt");
    // set the document to deliver
    //delReq.setDocument(OutFileName);
    delReq.setDocument(msgDir+repID+".txt");
    //create Attachment instance
    Attachment m = new Attachment();
    // pdf
    m.addAttachment(OutFileName,getReportTitle(repID)+rRequestID+".pdf","application/pdf");
    // attaching step
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_ATTACHMENT, m);
    // submit the request
    delReq.submit();
    // close the request
    delReq.close();
    Here's the compilation error:
    EBSEmailDelivery.java:33: cannot resolve symbol
    symbol : class Attachment
    location: class oracle.apps.xdo.ebsdelivery.EBSEmailDelivery
    Attachment m = new Attachment();
    ^
    Thanks in advance.

    Also, here's the list of classes imported in my java code:
    import oracle.apps.xdo.delivery.DeliveryManager;
    import oracle.apps.xdo.delivery.DeliveryRequest;
    import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
    import oracle.apps.fnd.common.AppsContext;
    Not sure where to refer the "Attachment" class. Thanks.

  • How to attached class or function module in FD03

    Hi Guys
    I want to attached CL_ATTACHMENT_LIST for retriving attachment list from fd03 please help to attached the function module in my program?
    regards
    Piroz
    report zfir_aged_debtors no standard page heading
                             line-size 255.
    Type group
    type-pools:
      slis.                        " ALV types
    Tables
    tables:
      adrc,               " Addresses
      bsad,               " Accounting: Customer secondary index (Cleared)
      bsid,               " Accounting: Customer secondary index (Open)
      kna1,               " Customer master: General data
      knkk,               " Customer master: Credit management
      knvk.               " Customer master: Contact persons
    Types
    types:
      begin of ty_bsadbsid,
        bukrs like bsad-bukrs,              " Company code
        kunnr like bsad-kunnr,              " Customer
        gjahr like bsad-gjahr,              " Fiscal year
        belnr like bsad-belnr,              " Accounting document number
        buzei like bsad-buzei,              " Line item
        budat like bsad-budat,              " Posting date
        bldat like bsad-bldat,              " Document date
        waers like bsad-waers,              " Currency
        xblnr like bsad-xblnr,              " Reference
        shkzg like bsad-shkzg,              " Debit/credit indicator
        dmbtr like bsad-dmbtr,              " Amount
        zfbdt like bsad-zfbdt,              " Baseline date for due date
                                            " calculation
        zbd1t like bsad-zbd1t,              " Cash discount days 1
        zbd2t like bsad-zbd2t,              " Cash discount days 2
        zbd3t like bsad-zbd3t,              " Net payment terms period
        rebzg like bsad-rebzg,              " Number of the invoice
        rebzt like bsad-rebzt,              " Follow on document type
      end of ty_bsadbsid,
      ty_it_bsadbsid type ty_bsadbsid occurs 0,
      begin of ty_merged,
        kunnr      like kna1-kunnr,         " Customer number
        name1      like adrc-name1,         " Name
        city1      like adrc-city1,         " City
        post_code1 like adrc-post_code1,    " Post code
        street     like adrc-street,        " Street
        house_num1 like adrc-house_num1,    " House number
        tel_number like adrc-tel_number,    " Telephone number
        fax_number like adrc-fax_number,    " Fax number
        namev      like knvk-namev,         " First name
        namew      like knvk-name1,         " Last name
        telf1      like knvk-telf1,         " Telephone number
        klimk      like knkk-klimk,         " Credit limit
        skfor      like knkk-skfor,         " Total receivables
        total      like bsad-dmbtr,         " Total amount
        rast1      like bsad-dmbtr,         " Amount period 1
        rast2      like bsad-dmbtr,         " Amount period 2
        rast3      like bsad-dmbtr,         " Amount period 3
        rast4      like bsad-dmbtr,         " Amount period 4
        rast5      like bsad-dmbtr,         " Amount period 5
        rast6      like bsad-dmbtr,         " Amount period 6
      end of ty_merged,
      ty_it_merged type ty_merged occurs 0.
    Internal tables
    data:
    Internal table to store customer line items from BSAD and BSID
      it_bsadbsid type ty_it_bsadbsid,
    Internal table to store field catalog for ALV function call
      it_fieldcat type slis_t_fieldcat_alv,
    Internal table to store summarised data for report output
      it_merged   type ty_it_merged.
    Structures
    data:
    Display variant structures
      st_tvariant  like disvariant,
      st_variant   like disvariant.
    Constants
    constants:
      co_delim_dash    type c
                       value '-',
      co_false         type c                      " False
                       value space,
      co_koart_d       like faede-koart            " Customer account type
                       value 'D',
      co_save_u        type c                      " User display variant
                       value 'U',                  " saving allowed.
      co_shkzg_h       like bsid-shkzg             " Debit/Credit indicator
                       value 'H',                  " for credit
      co_shkzg_s       like bsid-shkzg             " Debit/Credit indicator
                       value 'S',                  " for debit
      co_selected      type c                      " Value of selected radio
                       value 'X',                  " button or checkbox
      co_true          type c                      " True
                       value co_selected.
    Variables
    data:
      va_exit          type c.
    Selection screen definition
    selection-screen: begin of block b1 with frame title text-001.
    select-options:
      s_kunnr for bsad-kunnr.                     " Customer number
    parameters:
      p_kkber like knkk-kkber,                    " Credit control area
      p_pafkt like knvk-pafkt,                    " Contact function
      p_datum like sy-datum.                      " Report date
    selection-screen: begin of line,
                      comment 01(30) text-006,
                      position pos_low.
    parameters:
      rastbis1 like rfpdo1-allgrogr               " Due date sorted 1
               default '000',
      rastbis2 like rfpdo1-allgrogr               " Due date sorted 2
               default '000',
      rastbis3 like rfpdo1-allgrogr               " Due date sorted 3
               default '000',
      rastbis4 like rfpdo1-allgrogr               " Due date sorted 4
               default '000',
      rastbis5 like rfpdo1-allgrogr               " Due date sorted 5
               default '000'.
    selection-screen: end of line.
    selection-screen: end of block b1,
                      begin of block b2 with frame title text-002.
    parameters:
      p_varint like disvariant-variant.           " Display variant.
    selection-screen: end of block b2.
    Initialisation
    initialization.
    Provide default periods for due date sorted list.
      rastbis1 = 0.
      rastbis2 = 30.
      rastbis3 = 60.
      rastbis4 = 90.
      rastbis5 = 120.
    Default report date to current.
      p_datum = sy-datlo.
    Default credit control area to BP01.
      p_kkber = 'BP01'.
    At selection screen on value request for
    at selection-screen on value-request for p_varint.
    Provide display variant list for this program.
      call function 'REUSE_ALV_VARIANT_F4'
        exporting
          is_variant = st_variant
          i_save     = co_save_u
        importing
          e_exit     = va_exit
          es_variant = st_tvariant
        exceptions
          not_found  = 2.
      if sy-subrc eq 2.
        message id sy-msgid type 'S'
                number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.
        if va_exit eq space.
          st_variant = st_tvariant.
          p_varint = st_tvariant-variant.
        endif.
      endif.
    At selection screen
    at selection-screen.
    Load display variant.
      if not p_varint is initial.
        move st_variant to st_tvariant.
        move p_varint to st_tvariant-variant.
        call function 'REUSE_ALV_VARIANT_EXISTENCE'
          exporting
            i_save     = co_save_u
          changing
            cs_variant = st_tvariant.
        st_variant = st_tvariant.
      else.
        clear st_variant.
        st_variant-report = sy-repid.
      endif.
      if p_kkber is initial.
      Ensure credit control area is specified.
        message e000(zgen) with 'Credit control area must be specified'.
      endif.
      if p_pafkt is initial.
      Ensure contact person function is specified.
        message e000(zgen) with 'Contact person function must be specified'.
      endif.
    Start of selection
    start-of-selection.
    Extract open customer items from BSID
      select bukrs kunnr gjahr belnr buzei budat bldat waers xblnr shkzg
             dmbtr zfbdt zbd1t zbd2t zbd3t rebzg rebzt
             from  bsid
             into  table it_bsadbsid
             where kunnr in s_kunnr
             and   budat le p_datum.
    Extracct cleared customer items from BSAD
      select bukrs kunnr gjahr belnr buzei budat bldat waers xblnr shkzg
             dmbtr zfbdt zbd1t zbd2t zbd3t rebzg rebzt
             from  bsad
             appending table it_bsadbsid
             where kunnr in s_kunnr
             and   budat le p_datum
             and   augdt ge p_datum.
    Ensure that items were not selected twice while getting data from the
    open and cleared items tables (Only if transaction occured during
    report run).
      sort it_bsadbsid by bukrs belnr gjahr buzei.
      delete adjacent duplicates from it_bsadbsid
             comparing bukrs belnr gjahr buzei.
      if it_bsadbsid[] is initial.
      No data found for selection
        message s001(zgen).
        exit.
      endif.
    Merge data for report output
      perform merge_data tables it_bsadbsid
                                it_merged.
    Build field catalog
      perform build_field_catalog tables it_fieldcat.
    Output report via ALV
      perform output_report_via_alv tables it_fieldcat
                                           it_merged.
    *&      Form  merge_data
          text
    form merge_data  tables   pa_it_bsadbsid type ty_it_bsadbsid
                              pa_it_merged   type ty_it_merged.
    Local work areas
    data:
      lwa_bsadbsid type ty_bsadbsid,
      lwa_merged   type ty_merged.
    Local structures
    data:
      lst_faede    like faede.
    Local variables
    data:
      lva_daysover type i,
      lva_merged_tabix like sy-tabix.
      loop at pa_it_bsadbsid into lwa_bsadbsid.
      Lookup merged entry for customer
        clear lwa_merged.
        read table pa_it_merged into lwa_merged
                                with key kunnr = lwa_bsadbsid-kunnr
                                binary search.
        lva_merged_tabix = sy-tabix.
        if sy-subrc ne 0.
        Create new merged record for customer
          lwa_merged-kunnr = lwa_bsadbsid-kunnr.
        Get customer details from KNA1
          clear kna1.
          select single *
                 from   kna1
                 where  kunnr eq lwa_bsadbsid-kunnr.
        Get customer address details from ADRC
          clear adrc.
          select single *
                 from   adrc
                 where  addrnumber eq kna1-adrnr
                 and    date_from  le p_datum.
          lwa_merged-name1      = adrc-name1.
          lwa_merged-city1      = adrc-city1.
          lwa_merged-post_code1 = adrc-post_code1.
          lwa_merged-street     = adrc-street.
          lwa_merged-house_num1 = adrc-house_num1.
          lwa_merged-tel_number = adrc-tel_number.
          lwa_merged-fax_number = adrc-fax_number.
        Get credit limit details from KNKK
          clear knkk.
          select single *
                 from   knkk
                 where  kunnr eq lwa_bsadbsid-kunnr
                 and    kkber eq p_kkber.
          lwa_merged-klimk = knkk-klimk.
          lwa_merged-skfor = knkk-skfor.
        Get customer contact person details from KNVK
          clear knvk.
          select single *
                 from   knvk
                 where  kunnr eq lwa_bsadbsid-kunnr
                 and    pafkt eq p_pafkt.
          lwa_merged-namev = knvk-namev.
          lwa_merged-namew = knvk-name1.
          lwa_merged-telf1 = knvk-telf1.
          insert lwa_merged into pa_it_merged index lva_merged_tabix.
        endif.
      Interpret debit/credit indicator
        case lwa_bsadbsid-shkzg.
          when co_shkzg_h.
          Credit
            lwa_bsadbsid-dmbtr = 0 - lwa_bsadbsid-dmbtr.
          when co_shkzg_s.
          Debit
        endcase.
      Perform ageing
        clear lst_faede.
        move-corresponding lwa_bsadbsid to lst_faede.
        lst_faede-koart = co_koart_d.
        call function 'DETERMINE_DUE_DATE'
          exporting
            i_faede = lst_faede
          importing
            e_faede = lst_faede
          exceptions
            others  = 1.
        lva_daysover = p_datum - lst_faede-netdt.
      Accumulate total.
        add lwa_bsadbsid-dmbtr to lwa_merged-total.
        if lva_daysover le rastbis1.
          add lwa_bsadbsid-dmbtr to lwa_merged-rast1.
        else.
          if lva_daysover le rastbis2 or
             rastbis3 is initial.
            add lwa_bsadbsid-dmbtr to lwa_merged-rast2.
          else.
            if lva_daysover le rastbis3 or
               rastbis4 is initial.
              add lwa_bsadbsid-dmbtr to lwa_merged-rast3.
            else.
              if lva_daysover le rastbis4 or
                 rastbis5 is initial.
                add lwa_bsadbsid-dmbtr to lwa_merged-rast4.
              else.
                if lva_daysover le rastbis5.
                  add lwa_bsadbsid-dmbtr to lwa_merged-rast5.
                else.
                  add lwa_bsadbsid-dmbtr to lwa_merged-rast6.
                endif.
              endif.
            endif.
          endif.
        endif.
      Update the merged record
        modify pa_it_merged from lwa_merged index lva_merged_tabix.
      endloop.
    endform.                    " merge_data
    *&      Form  build_field_catalog
          text
    form build_field_catalog tables pa_it_fieldcat type slis_t_fieldcat_alv.
    Local work areas
      data:
        lwa_fieldcat   type slis_fieldcat_alv.
    --WG1K903216: Start Insert-
      data: v_datum type datum,
            v_mdmth type datum,
            v_datxt type string,
            v_noday type i.
    --WG1K903216: End Insert---
      refresh pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'KUNNR'.
      lwa_fieldcat-ref_tabname   = 'KNA1'.
      lwa_fieldcat-ref_fieldname = 'KUNNR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '1'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'NAME1'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'NAME1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '2'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'CITY1'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'CITY1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '3'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'POST_CODE1'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'POST_CODE1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '4'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'STREET'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'STREET'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '5'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'HOUSE_NUM1'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'HOUSE_NUM1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '6'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'TEL_NUMBER'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'TEL_NUMBER'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '7'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'FAX_NUMBER'.
      lwa_fieldcat-ref_tabname   = 'ADRC'.
      lwa_fieldcat-ref_fieldname = 'FAX_NUMBER'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '8'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'NAMEV'.
      lwa_fieldcat-ref_tabname   = 'KNVK'.
      lwa_fieldcat-ref_fieldname = 'NAMEV'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '9'.
      lwa_fieldcat-seltext_l     = 'Contact first name'.
      lwa_fieldcat-seltext_m     = 'Contact Fname'.
      lwa_fieldcat-seltext_s     = 'Ctct Fname'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'NAMEW'.
      lwa_fieldcat-ref_tabname   = 'KNVK'.
      lwa_fieldcat-ref_fieldname = 'NAME1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '10'.
      lwa_fieldcat-seltext_l     = 'Contact last name'.
      lwa_fieldcat-seltext_m     = 'Contact Lname'.
      lwa_fieldcat-seltext_s     = 'Ctxt Lname'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'TELF1'.
      lwa_fieldcat-ref_tabname   = 'KNVK'.
      lwa_fieldcat-ref_fieldname = 'TELF1'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '11'.
      lwa_fieldcat-seltext_l     = 'Contact phone no.'.
      lwa_fieldcat-seltext_m     = 'Contact phone'.
      lwa_fieldcat-seltext_s     = 'Ctct Phne'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'KLIMK'.
      lwa_fieldcat-ref_tabname   = 'KNKK'.
      lwa_fieldcat-ref_fieldname = 'KLIMK'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '12'.
      lwa_fieldcat-seltext_l     = 'Credit limit'.
      lwa_fieldcat-seltext_m     = 'Credit limit'.
      lwa_fieldcat-seltext_s     = 'Crdt limit'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'SKFOR'.
      lwa_fieldcat-ref_tabname   = 'KNKK'.
      lwa_fieldcat-ref_fieldname = 'SKFOR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '13'.
      lwa_fieldcat-seltext_l     = 'Credit used'.
      lwa_fieldcat-seltext_m     = 'Credit used'.
      lwa_fieldcat-seltext_s     = 'Crdt used'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'TOTAL'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '14'.
      lwa_fieldcat-seltext_l     = 'Total'.
      lwa_fieldcat-seltext_m     = 'Total'.
      lwa_fieldcat-seltext_s     = 'Total'.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST1'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '15'.
    --WG1K903216: Start Delete-
    concatenate '<'
                 rastbis2
                 into lwa_fieldcat-seltext_l
                 separated by space.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis2.
    Always use the middle of the report month as a heading reference date.
      concatenate p_datum+0(6) '15' into v_mdmth.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '+'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST2'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '16'.
    --WG1K903216: Start Delete-
    concatenate rastbis1
                 rastbis2
                 into lwa_fieldcat-seltext_l
                 separated by co_delim_dash.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis1.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '+'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST3'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '17'.
    --WG1K903216: Start Delete-
    concatenate rastbis2
                 rastbis3
                 into lwa_fieldcat-seltext_l
                 separated by co_delim_dash.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis2.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '-'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST4'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '18'.
    --WG1K903216: Start Delete-
    concatenate rastbis3
                 rastbis4
                 into lwa_fieldcat-seltext_l
                 separated by co_delim_dash.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis3.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '-'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST5'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '19'.
    --WG1K903216: Start Delete-
    concatenate rastbis4
                 rastbis5
                 into lwa_fieldcat-seltext_l
                 separated by co_delim_dash.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis4.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '-'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
      clear lwa_fieldcat.
      lwa_fieldcat-tabname       = 'PA_IT_MERGED'.
      lwa_fieldcat-fieldname     = 'RAST6'.
      lwa_fieldcat-ref_tabname   = 'BSAD'.
      lwa_fieldcat-ref_fieldname = 'DMBTR'.
      lwa_fieldcat-row_pos       = '1'.
      lwa_fieldcat-col_pos       = '20'.
    --WG1K903216: Start Delete-
    concatenate '>'
                 rastbis5
                 into lwa_fieldcat-seltext_l
                 separated by space.
    --WG1K903216: End Delete---
    --WG1K903216: Start Insert-
      clear: v_datum,
             v_datxt.
      v_noday = rastbis5.
      call function 'ZWAG_DATE_CALCULATOR'
        exporting  i_datum         = v_mdmth
                   i_noday         = v_noday
                   i_oprnd         = '-'
        importing  e_datum         = v_datum
        exceptions invalid_operand = 1.
      call function 'ZWAG_END_MONTH'
        exporting  i_datum         = v_datum
        importing  e_datum         = v_datum
                   e_datxt         = v_datxt
        exceptions invalid_date    = 1.
      concatenate 'Due By' v_datxt into lwa_fieldcat-seltext_l
        separated by space.
    --WG1K903216: End Insert---
      lwa_fieldcat-seltext_m     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-seltext_s     = lwa_fieldcat-seltext_l.
      lwa_fieldcat-ddictxt       = 'L'.
      append lwa_fieldcat to pa_it_fieldcat.
    endform.                    " build_field_catalog
    *&      Form  output_report_via_alv
          text
    form output_report_via_alv
                        tables pa_it_fieldcat type slis_t_fieldcat_alv
                               pa_it_merged   type ty_it_merged.
    Local variables
      data:
        lva_repid    like sy-repid,
        lva_formname type slis_formname.
      lva_repid = sy-repid.
      lva_formname = 'USER_COMMAND'.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = lva_repid
          i_callback_user_command = lva_formname
          i_save                  = 'A'
          is_variant              = st_variant
          it_fieldcat             = pa_it_fieldcat[]
        tables
          t_outtab                = pa_it_merged
        exceptions
          program_error           = 1
          others                  = 2.
    endform.                    " output_report_via_alv

    Hi shiva
    Thanks for your help,
    Can you check this coding and revert me back ASAP Please.
    REPORT BDS_GOS_CONNECTION.
    DATA : logical_system LIKE BAPIBDS01-log_system.
           CLASSNAME LIKE BAPIBDS01-CLASSNAME
           OBJKEY LIKE SWOTOBJID-objkey.
    PARAMETERS: pa_lo_sys BAPIBDS01-log_system,
                pa_class like BPIBDS01-CLASSNAME,
                pa_objkey like swotobjidobjkey.
    AT SELECTION-SCREEN.
    CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
             EXPORTING
                  bor_id             = bor_id
             IMPORTING
                  logical_sytem      = pa_lo_sys.
                  classname          = pa_class.
                  objkey            = pa_objkey.
             EXCEPTIONS
                  no_objects_found     = 1
                  internal_error       = 2
                  internal_gos_error   = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    clear v_attno1.
    i_object1-typeid = 'BUS2012'.
    i_object1-catid  = 'BO'.
    i_object1-instid = i_yItem-docno.
    call method cl_gos_attachment_query=>count_for_object
       exporting
        is_object = i_object1
        ip_arl    = space
       receiving
        rt_stat   = i_stat1.
    read table i_stat1 into wa_stat1 index 1.
    if sy-subrc eq c_0.
        move wa_stat1-counter to v_attno1.
    endif.             
    CALL METHOD cl_gos_attachment_query=>count_for_object
    EXPORTING
    is_object = object
    ip_arl =    space
    RECEIVING
    rt_stat = lt_stat.
    READ TABLE lt_stat INDEX 1 into ls_stat.
    count = ls_stat-counter.
    *The object has to be a concatenation of your document, like this:
    CONCATENATE object-instid tab-gjahr INTO object-instid.
    ELSE.
    CONCATENATE tab-bukrs tab-belnr tab-gjahr INTO
    object-instid.
    ENDIF.

  • Convert internal table to pdf and send the attachment trough bcs method

    Hi everyone , I try to send an pdf attachment trough bcs method but I failed. I use scms_text_to_xstring then use method cl_document_bcs=>xstring_to_solix and then add attachment with the bcs method.
    Thanks in advance.
    Create the attachment
          CLASS cl_abap_char_utilities DEFINITION LOAD.
          CONCATENATE 'PO' 'PO Line'
                      INTO lw_attachment SEPARATED BY
                      cl_abap_char_utilities=>horizontal_tab.
          APPEND lw_attachment TO lt_attachment.
          CLEAR lw_attachment.
          LOOP AT lt_po_data_cons INTO lw_po_data_cons.
            CONCATENATE lw_po_data_cons-bukrs lw_po_data_cons-ename lw_po_data_cons-usrid_long
                        INTO lw_attachment.
                        SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
            CONCATENATE cl_abap_char_utilities=>newline lw_attachment
                        INTO lw_attachment.
            APPEND lw_attachment TO lt_attachment.
          ENDLOOP.
          CALL FUNCTION 'SCMS_TEXT_TO_XSTRING'
             EXPORTING
              MIMETYPE         = 'text/bin'
            IMPORTING
              buffer           = buf2
            TABLES
              text_tab         = lt_attachment.
          l_i_attachment = cl_document_bcs=>xstring_to_solix( ip_xstring = buf2 ).
          l_o_document->add_attachment(
          i_attachment_type = 'PDF' " add PDF attachment
          i_attachment_subject = 'PDF attachment'
          i_att_content_hex = l_i_attachment
          l_o_send_request->set_document( l_o_document ).
          l_v_ret = l_o_send_request->send( ).

    Hi,
    You can send the PDF using OOPS abap classes and methods
    for sending it in mail .
    Regards
    Mansi

  • Attaching all PDFs in one mail? Having only one Body

    Dear All,
    I managed to develop a code which enable me to send a mail for each selected line in my table. The problem is it send to me for each line  a separate E-mail "each line has a PDF ". I just want to send only one mail for all PDFs attachments.
    Code:
    foreach (vw_CustLedgerEntryItem1 item in _ItemsList.SelectedItems)
    //you would normally process each row
    //but here we're just concatenating the properties as
    //proof that we are processing the selected rows
    //vw_CustLedgerEntryItem1 entryItem = this.vw_CustLedgerEntry.SelectedItem;
    InvSendbyMailRequestBody reqBody = new InvSendbyMailRequestBody(
    item.Document_No_
    , item.Report_Type
    , "DynNavHRS"
    , this.Application.User.Name.Replace(@"HRS\", "") + "@hrs.com" // HRS001
    , "Document"
    , false
    , false
    , this.vw_CustomerItem.ISO_Code // Change 7.8.2014 Bug in Email body text sprache
    , this.vw_CustomerItem.Salesperson_E_mail // Change 7.8.2014 Bug in Send E-mail
    , item.Customer_No_.ToString()
    , false
    , "XYZ"
    , false);
    InvSendbyMailRequest req = new InvSendbyMailRequest(reqBody);
    HRSReportServiceSoapClient wsHRS = new HRSReportServiceSoapClient();
    wsHRS.InvSendbyMailAsync(req);
    this.ShowMessageBox("Your email was successfully sent");
    any idea how can I send the attachment only in one mail ? My guess is that I have to take out this part out of my loop ? but its not working :(
    InvSendbyMailRequest req = new InvSendbyMailRequest(reqBody);
    HRSReportServiceSoapClient wsHRS = new HRSReportServiceSoapClient();
    wsHRS.InvSendbyMailAsync(req);
    Thanks a lot,
    Zayed

    HI Zayed,
    If you want to send an email with attachments in Lightswitch, you could consider using System.Net.Mail with
    Attachment Class. For example:
    attachment1 = pathToFirstAttachmentFile;
    attachment2 = pathToSecondAttachmentFile;
    // create and add first attachment to collection
    Attachment data = new Attachment(attachment1, MediaTypeNames.Application.Octet);
    m_MailMessage.Attachments.Add(data);
    // create and add second attachment to collection
    Attachment data2 = new Attachment(attachment2, MediaTypeNames.Application.Octet);
    m_MailMessage.Attachments.Add(data
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • VSTO development outlook plugin how to get the full storage path attachment send mail attachments added

    Such as the title, but I have a filepath verified discoveries are empty, there is a member of the method will be invoked after GetTemporaryFilePath COM error, but also can not get in VSTO attach the member variable. Accessories are found himself in a temporary
    directory exists, the registry seems to have a place to record the address of this directory, but this is his findings do not know can not be used as a method to obtain

    Hello,
    First of all, the forum is for Office Apps. That's why I'd recommend asking VSTO specific questions on the
    Visual Studio Tools for Office (VSTO)  forum instead. For Outlook dev questions see the Outlook for Developers  forum .
    > there is a member of the method will be invoked after GetTemporaryFilePath COM error, but also can not get in VSTO attach the member variable.
    What exception do you get in the code? Could you please be more specific?
    The GetTemporaryFilePath method is only valid for those attachments whose Type property
    is OlAttachmentType.olByValue. That means that the attachment is a copy and that the copy can be accessed even if the original file is removed. For other attachment types, the GetTemporaryFilePath method
    returns an error.
    GetTemporaryFilePath also returns an error when accessing an Attachment object
    in an Attachments collection
    or in the AttachmentSelection object.
    UseGetTemporaryFilePath only in attachment event callbacks listed below for various Microsoft Outlook items:
    AttachmentAdd
    AttachmentRead
    AttachmentRemove
    BeforeAttachmentAdd
    BeforeAttachmentPreview
    BeforeAttachmentRead
    BeforeAttachmentSave
    BeforeAttachmentWriteToTempFile
    Where do you use the
    GetTemporaryFilePath method of the Attachment class? What code do you use?

  • SharePoint mail handler could not extract attachment from a certain type of eml emails

    I found out why SharePoint mail handler could not extract attachment from a certain type of eml emails. The eml emails not working me were constructed with this structure, using one attachment as example:
    If I removed the highlighted red part, it just worked.
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a
    Content-Type: multipart/alternative;
    boundary=--boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: base64
    {body
    text/plain in base64 string}
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: base64
    {body
    text/html in base64 string}
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad--
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a
    Content-Type: multipart/mixed; boundary=--boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    ----boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    Content-Type: application/octet-stream;
    name=attachment.pdf
    Content-Transfer-Encoding: base64
    {attachment
    in base64 string here}
    ----boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a--
    I know little about eml file structure. Either the structure is wrong or the sharepoint has a bug!

    Also, here's the list of classes imported in my java code:
    import oracle.apps.xdo.delivery.DeliveryManager;
    import oracle.apps.xdo.delivery.DeliveryRequest;
    import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
    import oracle.apps.fnd.common.AppsContext;
    Not sure where to refer the "Attachment" class. Thanks.

  • Replacement for multiple inheritance in MovieClip class

    Hello
    I need your opinion about a problem.
    Commonly, when you need to replace multiple inheritance, you do it by making an aggregation with one of the class involved.
    But in case of MovieClip attached class, there is one more class involved in the process : the MovieClip class, and this class can't be the one aggregated because every class attached to a MovieClip need to inherits from it.
    The problem is if the other class can't be also aggregated because it has some abstract class behaviour, for instance, call of a virtual function.
    A solution could be making the abstract class inherit from the MovieClip class, but what if you want to reuse its behaviour in a class which have nothing to do with MovieClip ?

    This is Not Supported in WebLogic that the Remote Interface extends other Interfaces. Because Annotation Processor just looks up inside the implemented interface methods. The actual interface which is Implemented by the Bean Class. So the Methods declared inside the Interface B and Interface C will be ignored and will not be available as part of the generated Stubs. Thats why u are getting NoSuchMethodError.
    You can even contact Oracle Support on this...there are 3-4 Cases on it. And the Solution is Work As Designed.
    Workaround is : edit your interface A as following
    Declare all the Business Methods only in the Remote Interface and not inside it's Super Interfaces.
    Example:
    @Stateless(name="A")
    @Remote({A.class})
    @TransactionAttribute(TransactionAttributeType.REQUIRED)
    public class AImpl implements A {
    @Override
    public void writeA() {
    System.out.println("A");
    @Override
    public void writeB() {
    System.out.println("B");
    @Override
    public void writeC() {
    System.out.println("C");
    @Remote
    @JNDIName(A.JNDI_NAME)
    public interface A extends B, C {
    public static String JNDI_NAME = "A_JNDI_NAME";
    void writeA();
    void writeB();
    void writeC();
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Silently Attaching to a JVM

    I want to use the Attach API to silently attach to a running JVM - that is through the agentmain() method. By silently, I mean I don't want the target JVM to detect my act of attaching to it. But the problem is, assuming my class name is widely known (say I distribute it as a product to users), the attach api will try to append my class into the system class path. In that case, all the target JVM classes need to do to detect my intruding class is to search for the existence of my classname in the classpath e.g.
    try {
    Class s=Class.forName("IntrudingClassName");
    if (s!=null)
    return "intruder detected";
    } catch (ClassNotFoundException e) {
    return "intruder not found";
    Is there any way to prevent my class being visible in the attached JVM's classpath? I tried to rename my attaching class to say, java.awt.Canvas (same as the core system library classes); however, this just make the attach api fails to find the agentmain() method as it probably looked into the core system library's version of the class. I am not sure if renaming my attaching class to one of the target JVM's running class instead of the core system library classes would work or not. But is there any better method, say replacing the ClassLoader returned by the ClassLoader.getSystemClassLoader to my own version.( according to the specification, it is the SystemClassLoader the append the jar to the system class path)

    Why on earth do you want to do this?

  • Configuration Issue in C#

    Hi,
    When I try to connect to Tangosol via C# windows application(exe), its working fine.
    But when I try to connect to Tangosol via C# Class Library(dll), I am not able to connect to Tangosol it is giving the following error message
    Message:
    Failed to load configuration file: coherence-cache-config.xml
    StackTrace:
    at Tangosol.Net.DefaultConfigurableCacheFactory.LoadConfig(String path) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\DefaultConfigurableCacheFactory.cs:line 1096
    at Tangosol.Net.DefaultConfigurableCacheFactory..ctor(XmlNode xmlConfig) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\DefaultConfigurableCacheFactory.cs:line 183
    at Tangosol.Net.DefaultConfigurableCacheFactory..ctor() in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\DefaultConfigurableCacheFactory.cs:line 154
    at Tangosol.Net.CacheFactory.get_ConfigurableCacheFactory() in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\CacheFactory.cs:line 152
    at Tangosol.Net.CacheFactory.GetCache(String name) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\CacheFactory.cs:line 428
    at ClassLibrary1.Class1.testTangosol() in C:\Satish\Satish\1.1\ClassLibrary1\Class1.cs:line 13
    InnerException Message:
    Could not find file 'C:\Satish\Satish\1.1\WindowsApplication1\bin\Debug\coherence-cache-config.xml'.
    InnerException StackTrace:
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at Tangosol.IO.Resources.FileResource.get_InputStream() in c:\dev\release.net\coherence-net-v3.3\src\Coherence\IO\Resources\FileResource.cs:line 108
    at Tangosol.Util.XmlUtils.LoadXml(String path) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Util\XmlUtils.cs:line 799
    at Tangosol.Net.DefaultConfigurableCacheFactory.LoadConfig(String path) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\DefaultConfigurableCacheFactory.cs:line 1092
    and also find the attached config files and attached class files which implements IPortable object for your reference.
    I am using .Net framework 2.0 and VS 2005
    Message was edited by: badisat<br><br> <b> Attachment: </b><br>App.config <br> (*To use this attachment you will need to rename 608.bin to App.config after the download is complete.)<br><br> <b> Attachment: </b><br>cache-config.xml <br> (*To use this attachment you will need to rename 609.bin to cache-config.xml after the download is complete.)<br><br> <b> Attachment: </b><br>coherence.xml <br> (*To use this attachment you will need to rename 610.bin to coherence.xml after the download is complete.)<br><br> <b> Attachment: </b><br>pof-config.xml <br> (*To use this attachment you will need to rename 611.bin to pof-config.xml after the download is complete.)<br><br> <b> Attachment: </b><br>MaxVersionFilter.zip <br> (*To use this attachment you will need to rename 613.bin to MaxVersionFilter.zip after the download is complete.)

    Hi,
    I have modified my test function with appdomain, and I am calling the function inside the the new appdomain. In the new appdomain i have specified the ConfigurationFile path, eventhough it is looking into the different path, I dont understand why. I am getting the error message as
    Exception Message:
    "Failed to load configuration file: Config\\coherence.xml"
    StackTrace
    " at Tangosol.Net.CacheFactory.LoadConfiguration() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 262\r\n at Tangosol.Net.CacheFactory.get_Config() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 80\r\n at Tangosol.Net.CacheFactory.get_ConfigurableCacheFactoryConfig() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 187\r\n at Tangosol.Net.CacheFactory.get_ConfigurableCacheFactory() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 128\r\n at Tangosol.Net.CacheFactory.GetCache(String name) in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 428\r\n at FrontOffice3DGDLL.TestClass.Initilise() in C:\\Satish\\Projects\\CVSCode\\FO3DG_Addin\\TestClass.cs:line 21"
    InnerException:
    "file [H:\\DATA\\Config\\coherence.xml] cannot be resolved to local file path - resource does not use 'file:' protocol."
    InnerException StackTrace:
    " at Tangosol.IO.Resources.FileResource.get_InputStream() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\IO\\Resources\\FileResource.cs:line 115\r\n at Tangosol.Util.XmlUtils.LoadXml(String path) in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Util\\XmlUtils.cs:line 799\r\n at Tangosol.Net.CacheFactory.LoadConfiguration() in c:\\dev\\release.net\\coherence-net-v3.3\\src\\Coherence\\Net\\CacheFactory.cs:line 258"
    Please find the below code for your referecne:
    public object testTangosol()
    try
    AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(delegate(object sender, ResolveEventArgs args)
    string requestedName = args.Name;
    foreach (Assembly loadedAssembly in AppDomain.CurrentDomain.GetAssemblies())
    string foundName = loadedAssembly.FullName;
    if (requestedName.Equals(foundName))
    return loadedAssembly;
    return null;
    string dllLoaction = GetType().Assembly.Location;
    string dllFolder = dllLoaction.Substring(0, dllLoaction.LastIndexOf(@"\"));
    AppDomainSetup domainInfo = new AppDomainSetup();
    domainInfo.ApplicationBase = dllFolder;
    domainInfo.ConfigurationFile = "FrontOffice3DGDLL.dll.config";
    AppDomain newDomain = AppDomain.CreateDomain("FrontOffice3DGDLL", null, domainInfo);
    object objTemp = newDomain.InitializeLifetimeService();
    TestClass tangosol = (TestClass)newDomain.CreateInstanceAndUnwrap(Path.GetFileNameWithoutExtension(GetType().Assembly.Location), typeof(TestClass).FullName);
    tangosol.Initilise();
    return 0;
    catch (Exception ex)
    return "Error: " + ex.Message;
    and the TestClass is
    class TestClass : MarshalByRefObject
    public void Initilise()
    try
    Tangosol.Net.INamedCache cache = Tangosol.Net.CacheFactory.GetCache("TRADECAPTURE");
    System.Windows.Forms.MessageBox.Show(cache.Count.ToString());
    catch (Exception ex)
    System.Windows.Forms.MessageBox.Show(ex.Message.ToString());
    }

  • Error in running refresh (META DATA)

    I am evaluating the product and I am trying to map my objects to an
    existing schema. However, I getting an exception i can't seem to figure
    out....
    Is this a bug or is it my own doing?
    Here is the table:
    TUSER
    USER_ID | LASTNM | USERNM | FIRSTNM | .........
    | | | | .........
    USER_ID is PK!!!
    Here is the system.jdo file:
    <?xml version="1.0"?>
    <jdo>
    <package name="com.gulfnet.groupcast.data">
    <class name="User" identity-type="datastore">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="pk-column" value="USER_ID"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_username" persistence-modifier="none"
    primary-key="true" null-value="none">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="USER_ID"/>
    </field>
    <field name="_firstName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="USERNM"/>
    </field>
    <field name="_lastName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="LASTNM"/>
    </field>
    <field name="_contactInfo">
    <map key-type="PhoneNumber"/>
    <extension vendor-name="kodo" key="inverse"
    value="_username"/>
              <extension vendor-name="kodo" key="data-column" value="TEL"/>
    </field>
    <field name="_birthDate">
    <extension vendor-name="kodo" key="data-column"
    value="REG_DATE"/>
    </field>
    </class>
    <class name="EmailAccount">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_username">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="MailUserID"/>
    </field>
    <field name="_password">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="EPASSWD"/>
    </field>
    <field name="_emailAddress">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="RETEMAIL"/>
    </field>
    <field name="_serverName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="MSG_SERVER"/>
    </field>
    </class>
    <class name="PhoneNumber">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_countryCode">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="TEL"/>
    </field>
    <field name="_areaCode">
    <extension vendor-name="kodo" key="column-length"
    value="50"/>
    <extension vendor-name="kodo" key="data-column"
    value="FAX"/>
    </field>
    </class>
         <class name="Address">
         <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_streetAddress">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="ADDRESS1"/>
    </field>
    <field name="_city">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="ADDRESS2"/>
    </field>
    </class>
    <class name="Attachment"/>
    <class name="InstantMessengerAddress"/>
    <class name="UserStatus"/>
    <class name="MessagePriority"/>
    <class name="MessageStatus"/>
    <class name="Organisation">
    <field name="_subsidiaries">
    <collection element-type="Organisation"/>
    </field>
    <field name="_employees">
    <collection element-type="User"/>
    </field>
    <field name="_orgUnits">
    <collection element-type="OrgUnit"/>
    </field>
    </class>
    <class name="OrgUnit">
    <field name="_employees">
    <collection element-type="User"/>
    </field>
    <field name="_subUnits">
    <collection element-type="OrgUnit"/>
    </field>
    </class>
    <class name="Route">
    <field name="_recipients">
    <collection element-type="EmailAccount"/>
    </field>
    </class>
    <class name="GcMessage">
    <field name="_route">
    <collection element-type="Route"/>
    </field>
    <field name="_attachments">
    <collection element-type="Attachment"/>
    </field>
    </class>
    </package>
    </jdo>
    After running my enhancer and then running the refresh. I get an unusual
    exception.
    Here is my enhance:
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build\WEB-INF\classes
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build\WEB-INF\classes
    [java] Enhancing "class com.gulfnet.groupcast.data.User"...
    [java] Enhancing "class com.gulfnet.groupcast.data.EmailAccount"...
    [java] Enhancing "class com.gulfnet.groupcast.data.PhoneNumber"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Address"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Attachment"...
    [java] Enhancing "class
    com.gulfnet.groupcast.data.InstantMessengerAddress"...
    [java] Enhancing "class com.gulfnet.groupcast.data.UserStatus"...
    [java] Enhancing "class com.gulfnet.groupcast.data.MessagePriority"...
    [java] Enhancing "class com.gulfnet.groupcast.data.MessageStatus"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Organisation"...
    [java] Enhancing "class com.gulfnet.groupcast.data.OrgUnit"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Route"...
    [java] Enhancing "class com.gulfnet.groupcast.data.GcMessage"...
    refreshDataStore:
    [echo] refreshing data stores
    [java] javax.jdo.JDOFatalDataStoreException: An error occurred while
    connecting to the data store.
    [java] NestedThrowables:
    [java] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
    JDBC][SQLServer]There is already an object named 'JDO_SCHEMA_METADATAX' in
    the datab
    ase.
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:99)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1114)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1083)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1073)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1064)
    [java] Exception in thread "main"
    BUILD FAILED
    C:\GC50\GroupCast\dev\andrew.xml:151: Java returned: 1
    I have deleted this table and it seems to be throwing this error while it
    creates the table. That is the only table JDO ends up creating before the
    refresh crashes.
    Andrew.

    Andrew,
    It sounds like the username that you are using to connect to the data store
    might not have access to read the JDO_SCHEMA_METADATAX table from the JDBC
    database metadata. Since you are mapping to an existing schema, you should
    not have to run schematool at all -- try just listing all your persistent
    types in preferences/properties as described in our documentation instead of
    registering the persistent types in the JDO_SCHEMA_METADATAX table.
    Additionally, there are a couple of problems with your XML metadata. When
    using datastore identity, you cannot use the 'primary-key=true' setting for
    a field -- Kodo is responsible for managing the primary key, and you do not
    have direct access to it.
    If you need direct access to the id fields, then you should use application
    identity. Alternately, you can extract the long value from our underlying
    datastore identity type, but that requires using Kodo-specific code.
    -Patrick
    On 6/26/02 7:13 AM, "Andrew" <[email protected]> wrote:
    I am evaluating the product and I am trying to map my objects to an
    existing schema. However, I getting an exception i can't seem to figure
    out....
    Is this a bug or is it my own doing?
    Here is the table:
    TUSER
    USER_ID | LASTNM | USERNM | FIRSTNM | .........
    | | | | .........
    USER_ID is PK!!!
    Here is the system.jdo file:
    <?xml version="1.0"?>
    <jdo>
    <package name="com.gulfnet.groupcast.data">
    <class name="User" identity-type="datastore">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="pk-column" value="USER_ID"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_username" persistence-modifier="none"
    primary-key="true" null-value="none">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="USER_ID"/>
    </field>
    <field name="_firstName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="USERNM"/>
    </field>
    <field name="_lastName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="LASTNM"/>
    </field>
    <field name="_contactInfo">
    <map key-type="PhoneNumber"/>
    <extension vendor-name="kodo" key="inverse"
    value="_username"/>
    <extension vendor-name="kodo" key="data-column" value="TEL"/>
    </field>
    <field name="_birthDate">
    <extension vendor-name="kodo" key="data-column"
    value="REG_DATE"/>
    </field>
    </class>
    <class name="EmailAccount">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_username">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="MailUserID"/>
    </field>
    <field name="_password">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="EPASSWD"/>
    </field>
    <field name="_emailAddress">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="RETEMAIL"/>
    </field>
    <field name="_serverName">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="MSG_SERVER"/>
    </field>
    </class>
    <class name="PhoneNumber">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_countryCode">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="TEL"/>
    </field>
    <field name="_areaCode">
    <extension vendor-name="kodo" key="column-length"
    value="50"/>
    <extension vendor-name="kodo" key="data-column"
    value="FAX"/>
    </field>
    </class>
    <class name="Address">
    <extension vendor-name="kodo" key="table" value="TUSER"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="_streetAddress">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="ADDRESS1"/>
    </field>
    <field name="_city">
    <extension vendor-name="kodo" key="column-length"
    value="255"/>
    <extension vendor-name="kodo" key="data-column"
    value="ADDRESS2"/>
    </field>
    </class>
    <class name="Attachment"/>
    <class name="InstantMessengerAddress"/>
    <class name="UserStatus"/>
    <class name="MessagePriority"/>
    <class name="MessageStatus"/>
    <class name="Organisation">
    <field name="_subsidiaries">
    <collection element-type="Organisation"/>
    </field>
    <field name="_employees">
    <collection element-type="User"/>
    </field>
    <field name="_orgUnits">
    <collection element-type="OrgUnit"/>
    </field>
    </class>
    <class name="OrgUnit">
    <field name="_employees">
    <collection element-type="User"/>
    </field>
    <field name="_subUnits">
    <collection element-type="OrgUnit"/>
    </field>
    </class>
    <class name="Route">
    <field name="_recipients">
    <collection element-type="EmailAccount"/>
    </field>
    </class>
    <class name="GcMessage">
    <field name="_route">
    <collection element-type="Route"/>
    </field>
    <field name="_attachments">
    <collection element-type="Attachment"/>
    </field>
    </class>
    </package>
    </jdo>
    After running my enhancer and then running the refresh. I get an unusual
    exception.
    Here is my enhance:
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build\WEB-INF\classes
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build
    [copy] Copying 1 file to C:\GC50\GroupCast\dev\build\WEB-INF\classes
    [java] Enhancing "class com.gulfnet.groupcast.data.User"...
    [java] Enhancing "class com.gulfnet.groupcast.data.EmailAccount"...
    [java] Enhancing "class com.gulfnet.groupcast.data.PhoneNumber"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Address"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Attachment"...
    [java] Enhancing "class
    com.gulfnet.groupcast.data.InstantMessengerAddress"...
    [java] Enhancing "class com.gulfnet.groupcast.data.UserStatus"...
    [java] Enhancing "class com.gulfnet.groupcast.data.MessagePriority"...
    [java] Enhancing "class com.gulfnet.groupcast.data.MessageStatus"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Organisation"...
    [java] Enhancing "class com.gulfnet.groupcast.data.OrgUnit"...
    [java] Enhancing "class com.gulfnet.groupcast.data.Route"...
    [java] Enhancing "class com.gulfnet.groupcast.data.GcMessage"...
    refreshDataStore:
    [echo] refreshing data stores
    [java] javax.jdo.JDOFatalDataStoreException: An error occurred while
    connecting to the data store.
    [java] NestedThrowables:
    [java] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
    JDBC][SQLServer]There is already an object named 'JDO_SCHEMA_METADATAX' in
    the datab
    ase.
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:99)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1114)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1083)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1073)
    [java] at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1064)
    [java] Exception in thread "main"
    BUILD FAILED
    C:\GC50\GroupCast\dev\andrew.xml:151: Java returned: 1
    I have deleted this table and it seems to be throwing this error while it
    creates the table. That is the only table JDO ends up creating before the
    refresh crashes.
    Andrew.
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Accordion on SharePoint's td element

    I'm trying to use Accordion on my SharePoint project and I have this CEWP using JavaScript that creates a header placed under <td> element (see attached) class name "sectionHeader" the problem is its not working. Do we have some work around
    so I can use it on a table tag?

    Hi Here is my code
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <script> $(function() { $( ".selectionHeader" ).accordion({ collapsible: true }); }); </script>

  • Type for measurements

    For Science and Engineering a number is usually naked without its measurement unit.
    Can I somehow make a type for values like 59.333mn or 657.99ft?
    I could use "59.333mn" and "657.99ft" but that seems cumbersome.
    Does java have such a type or another good way?
    C has struct. class seems a bit much too. There would be so many classes around.

    Thank you EJP for the information and encouragement.
    I got a start tonight by writing the attached class.
    I think I will use it and modify some appropriate conversion routines I have elsewhere and add.
    I have used some subroutines not included here.
      public static class M1 {
        double value=Double.NaN; String unit=""; int nNegSigns=0; int nPoints=0; int digCnt=0; int untWid=-1; int totWid=-1;
        M1(String measInStg) { //constructor using string
          int lgt=measInStg.length();
          for(int i=0;i<lgt;i++) {
            if(isDigit(measInStg.charAt(i))) { digCnt++; continue; } else if(measInStg.charAt(i)=='-') { nNegSigns++; continue; } else
            if(measInStg.charAt(i)=='.') { nPoints++; continue; } else if(measInStg.charAt(i)=='+')continue; else
            if(isAlphaChar(measInStg.charAt(i))) {
              unit=measInStg.substring(i); value=Double.parseDouble(measInStg.substring(0,i)); untWid=lgt-i;
              if(nPoints>1) { System.out.println("Found more than one decimal point in measurement "+measInStg); System.exit(0); }
              if(nNegSigns>1) { System.out.println("Found more than one negative sign in measurement "+measInStg); System.exit(0); }
              totWid=nNegSigns+nPoints+digCnt+untWid; break; //pause("totWid="+totWid+" nNegSigns="+nNegSigns+" nPoints="+nPoints+" digCnt="+digCnt+" untWid="+untWid); break;
            } System.out.println("Unknown character "+measInStg.charAt(i)+" in measurement "+measInStg+" at position "+i); System.exit(0); //leave remainder concerns for elsewhere 
        M1(double val,String unt) { //constructor using number and unit
          value=val; unit=unt; untWid=unt.length();
        String measOuStg(int outWid) {
          String ouStg=OuWid.sR(value,outWid-untWid)+unit; return(ouStg);
        M1 tim0=new M1(59.99,"sc"); System.out.println(tim0.measOuStg(8)); System.exit(0);
        M1 tim1=new M1("59.99sc"); System.out.println(tim1.measOuStg(6)); System.exit(0);

  • Email Attachments

    Which JavaMail class allows sending attachments such as a text file?

    This site has some good insight into the mail attachment facility
    http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html#JavaMailIntro
    try the javax.mail.internet.* and javax.mail.activation.* class and they deal with the attachments in java mail
    also if you do want I can send you a java mail attachment class that yu can modify to your usage
    luck
    loadingdockjavaguy
    "there is no new way to code - all you can do is use the short cut "

  • To Activate Characteristic in gATP Time sereis

    Hi All,
    We want to consider charactersistic values during gATP Availability check.
    I have created the Class with 400 and 230 along with characteristics.
    Assigned this calss to Product master.
    I have configured the ATP Charatceristic view and activated the ATP characteristic view for the Product.
    But when I have checked Time series (/SAPAPO/AC05), for the characteristic Icon, this Icon is in grey mode and saying characteristics donot exist.
    Could anyone please help me out how to activate the characteristics in the timeseries to get green.
    Thanks in Advance.
    Thanks and Regards,
    T.Muthyalappa.

    Hi Senthil,
    Thanks for your information.
    Still I am facing the following problem as stated below.
    We want to check the stock at the characteristic value level and we want to substitute these values by using Rulebased Availability check.
    For this I am doing the following.
    Created the class and characteristics in SAP ECC with 023 class type.
    Transferred Class and characteristics by using CIF
    Created material and attached Class type 023.
    Ciffed the material and also the ATP check for the material.
    Activated the ATP Characteristic view ( used for time series and Rules).
    Maintained the Batches and Stock in ECC.
    CIffed batch and stock and ciffed successfully.
    when I went to check the stock in product view it is not showing any stock, but in the same product view it is showing the batch and its characteristics values in the version tab of the product view in the green status.
    If I dont activate the ATP characteristic view and if I ciffed the stock and batch they are updating directly in to the Product view but when we see in the time series (/SAPAPO/AC05) characteristics symbol is not active and if we click on this it shows no characteristics exists.
    My question is why stock is not updating in the product view if we activate the characteristic view, do we have to select a differnt option other than storage location stock while ciffing.
    Hopes it will give the clear picture and good understanding, if you have any question please let me know.
    Need your help.

Maybe you are looking for

  • How to cancel syncronous I/O DLL-call?

    We have an application with timeout set to 300seconds. If the application is terminated whilst a Send of Receive is in progress, the application is killed, but the NI driver remains active until the timeout is reached (and therefore blocks any furthe

  • Why can't two people in our house use Microsoft Office at the same time?

    When my daughter tries to use Microsoft Office on her MacBook while my husband is using it on his MacBook Pro, she gets the following message: Microsoft Office 2008 cannot start because it is already in use. An Office program is being used by [my hus

  • Help with passing parameters from a servlet to an applet

    dear all i m working on a application which will check weather a file is present in a server (webserver) if it is present then it will take the file name and put it into a drop down list and there is a button on click of which i m taking the call to

  • Refreshment problem when place image.

    Hi Experts, When I insert image using script then there is a refreshment problem. In place of second image there place first image. while if I debug this it place in correct order. But in Run case script not place image in order. There is a refreshme

  • Why not leave the protective seal that comes with the nano.

    Why not leave that screen protector type thing on like I did and cut the little tab off with a exacto knife, works great, I ordered a Icondom and Im going to put one on the back of my ipod.