P.O auto mail generation pdf to word

Hi  everyone,
this is regarding the automatic mail generation in smartforms. Its like when you process the smartforms the mails are automatically shooted to the address maintained for eg usually to the vendors. So what I need is incase I proces my smartforms the mail shouldnt be in the pdf format but in normal text format.
I dont want to take that pdf convert to word/text by external sofware and attch it to the mail. I want it to be automatic.
Plz suggest the possible ways of doing it. Thanks to all in advance.
Rgds,
Anuc.

*& Report  ZCS_IRN
report  zpo_spool no standard page heading line-size 260.
Table Declaration *******************************
tables : zptreg,zpoinb,dd07t,nase.
Data Declaration ********************************
type-pools: slis.
data :   report_id  like sy-repid.
data :   ws_title   type lvc_title value 'Reprint PT Inbound Register'.
data :   i_layout   type slis_layout_alv.
data :   i_fieldcat type slis_t_fieldcat_alv.
data :   lf_fm_name            type rs38l_fnam.
data :   ls_control_param      type ssfctrlop.
data :   ls_composer_param     type ssfcompop.
data :   ls_recipient type swotobjid.
data :   ls_sender    type swotobjid.
data : control_parameters type ssfctrlop.
data :   output_options type ssfcompop.
Internal Table Declaration *******************************
data: begin of itab occurs 0,
        chk,
        indno type zptreg-indno,
        dtype type zptreg-dtype,
        ernam type zptreg-ernam,
        erzet type zptreg-erzet,
        aedat type zptreg-aedat,
        traid type zptreg-traid,
        traty type zptreg-traty,
        vehnum type zptreg-vehnum,
        bolnr type zptreg-bolnr,
        lrdat type zptreg-lrdat,
        lrdelv type zptreg-lrdelv,
        lrtime type zptreg-lrtime,
        datia type zptreg-datia,
        uhria type zptreg-uhria,
        lifnr type zptreg-lifnr,
        werks type zptreg-werks,
        anzpk type zptreg-anzpk,
        btgew type zptreg-btgew,
        gewei type zptreg-gewei,
        ntgew type zptreg-ntgew,
        idtxt type zptreg-idtxt,
        waybl type zptreg-waybl,
        dpack type zptreg-dpack,
        ebeln type zpoinb-ebeln,
        vbeln type zpoinb-vbeln,
         menge type eket-menge,
        wemng type eket-wemng,
        wemng1 type eket-wemng,
        chaln type zptreg-chaln,
        paymt type zptreg-paymt,
        zchquan type zptreg-zchquan,
        rdesc(60) type c,
        trdesc(60) type c,
        tydesc(60) type c,
        pdesc(60) type c,
        name1 type lfa1-name1,
     end of itab.
data : itab1 like itab occurs 0 with header line.
data : itab2 like itab occurs 0 with header line.
data: begin of ieket occurs 0,
        ebeln type eket-ebeln,
        ebelp type eket-ebelp,
        menge type eket-menge,
        wemng type eket-wemng,
      end of ieket.
data : ieket1 like ieket occurs 0 with header line.
data : ieket2 like ieket occurs 0 with header line.
data : flag type c.
Selection Screen *******************************
selection-screen : begin of block b1 with frame title text-001.
select-options : x_indno for zptreg-indno matchcode object zindnohelp2.
select-options : x_aedat for zptreg-aedat.
select-options : x_werks for zptreg-werks .
select-options : x_lrdat for zptreg-lrdat.
select-options : x_lifnr for zptreg-lifnr no intervals no-extension.
select-options : x_ebeln for zpoinb-ebeln no intervals no-extension.
select-options : x_bolnr for zptreg-bolnr no intervals no-extension.
select-options : x_traid for zptreg-traid no intervals no-extension.
selection-screen : end of block b1.
Start of Selection  *****************************
start-of-selection.
  set pf-status 'STATUS'.
  perform get_data.
  perform display_data.
*&      Form  get_data
form get_data .
  select * from zptreg into corresponding fields of table itab1
                          where indno in x_indno
                            and aedat in x_aedat
                            and werks in x_werks
                            and lrdat in x_lrdat
                            and lifnr in x_lifnr
                            and bolnr in x_bolnr
                            and traid in x_traid.
  if sy-subrc ne 0.
    message i001(zmsg).
    stop.
  endif.
  select * from zpoinb into corresponding fields of table itab
                       for all entries in itab1
                         where indno = itab1-indno
                         and ebeln in x_ebeln.
  if sy-subrc ne 0.
    message i001(zmsg).
    stop.
  endif.
  loop at itab.
    at new indno.
      flag = 1.
    endat.
    if flag = 1.
      read table itab1 with key indno = itab-indno.
      move itab1-traid to itab-traid.
      move itab1-lifnr to itab-lifnr.
      move itab1-traty to itab-traty.
      move itab1-bolnr to itab-bolnr.
      move itab1-traid to itab-traid.
      move itab1-werks to itab-werks.
      move itab1-vehnum to itab-vehnum.
      move itab1-lifnr to itab-lifnr.
      move itab1-btgew to itab-btgew.
      move itab1-gewei to itab-gewei.
      move itab1-ntgew to itab-ntgew.
      move itab1-idtxt to itab-idtxt.
      move itab1-waybl to itab-waybl.
      move itab1-anzpk to itab-anzpk.
      move itab1-aedat to itab-aedat.
      move itab1-dpack to itab-dpack.
      move itab1-erzet to itab-erzet.
      move itab1-ernam to itab-ernam.
      move itab1-zchquan to itab-zchquan.
      move itab1-paymt to itab-paymt.
      move itab1-chaln to itab-chaln.
      move itab1-lrdat to itab-lrdat.
      move itab1-lrdelv to itab-lrdelv.
      move itab1-lrtime to itab-lrtime.
      move itab1-datia to itab-datia.
      move itab1-uhria to itab-uhria.
      clear flag.
    endif.
    modify itab.
  endloop.
  delete itab where indno not in x_indno.
  select * from eket into corresponding fields of table ieket for all entries in itab
    where ebeln = itab-ebeln.
  loop at ieket.
    move ieket-ebeln to ieket1-ebeln.
    move ieket-menge to ieket1-menge.
    collect ieket1.
  endloop.
  loop at ieket.
    move ieket-ebeln to ieket2-ebeln.
    move ieket-wemng to ieket2-wemng.
    collect ieket2.
  endloop.
  loop at itab.
    read table ieket1 with key ebeln = itab-ebeln.
    move ieket1-menge to itab-menge.
    read table ieket2 with key ebeln = itab-ebeln.
    move ieket2-wemng to itab-wemng.
    itab-wemng1 = itab-menge - itab-wemng.
    select ddtext from dd07t into itab-rdesc where domvalue_l = itab-idtxt and domname = 'ZIDTXT'.
    endselect.
    select ddtext from dd07t into itab-trdesc where domvalue_l = itab-traid and domname = 'ZTRAID'.
    endselect.
    select ddtext from dd07t into itab-tydesc where domvalue_l = itab-traty and domname = 'ZTRATY'.
    endselect.
    select ddtext from dd07t into itab-pdesc where domvalue_l = itab-paymt and domname = 'ZPAYMT'.
    endselect.
    select name1 from lfa1 into itab-name1 where lifnr = itab-lifnr.
    endselect.
    modify itab.
    clear itab.
  endloop.
  if itab[] is initial.
    message i001(zmsg).
    stop.
  endif.
endform.                    " get_data
*&      Form  display_data
form display_data .
  report_id = sy-repid.
  perform f1000_layout_init changing i_layout.
  perform f2000_fieldcat_init changing i_fieldcat.
  call function 'REUSE_ALV_LIST_DISPLAY'
   exporting
    I_INTERFACE_CHECK              = ' '
    I_BYPASSING_BUFFER             =
    I_BUFFER_ACTIVE                = ' '
     i_callback_program              = report_id
     i_callback_pf_status_set       = 'STATUS'
     i_callback_user_command        = 'USER_COMMAND'
    I_STRUCTURE_NAME               =
     is_layout                       = i_layout
     it_fieldcat                     = i_fieldcat
    IT_EXCLUDING                   =
    IT_SPECIAL_GROUPS              =
    IT_SORT                        =
    IT_FILTER                      =
    IS_SEL_HIDE                    =
     i_default                      = 'X'
     i_save                         = 'A'
    IS_VARIANT                     =
    IT_EVENTS                      =
    IT_EVENT_EXIT                  =
    IS_PRINT                       =
    IS_REPREP_ID                   =
    I_SCREEN_START_COLUMN          = 0
    I_SCREEN_START_LINE            = 0
    I_SCREEN_END_COLUMN            = 0
    I_SCREEN_END_LINE              = 0
    IR_SALV_LIST_ADAPTER           =
    IT_EXCEPT_QINFO                =
    I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER        =
    ES_EXIT_CAUSED_BY_USER         =
    tables
      t_outtab                       = itab
  EXCEPTIONS
    PROGRAM_ERROR                  = 1
    OTHERS                         = 2
  if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
endform.                    " display_data
*&      Form  f1000_layout_init
form f1000_layout_init using i_layout type slis_layout_alv.
  clear i_layout.
  i_layout-colwidth_optimize = 'X'.
  i_layout-edit = ''.
  i_layout-box_fieldname = 'CHK'.
endform.                    " F1000_Layout_Init
*&      Form  f2000_fieldcat_init
form f2000_fieldcat_init changing i_fieldcat type slis_t_fieldcat_alv.
  data: line_fieldcat type slis_fieldcat_alv.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'CHK'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_l = 'Checkbox'.
  line_fieldcat-checkbox  = 'X'.      " Display this field as a checkbox
  line_fieldcat-outputlen = '8'.
  line_fieldcat-edit      =  'X'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'INDNO'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' PT Register No '.
  line_fieldcat-outputlen = '15'.
line_fieldcat-hotspot       = 'X' .
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'AEDAT'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Creation Date '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'TRDESC'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Transporter Name    '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'TYDESC'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Transport Type  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'VEHNUM'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Vehicle Number   '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'BOLNR'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' L .R Number  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'NAME1'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Vendor / Supplier'.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'WERKS'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Site   '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'EBELN'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Purchasing Document '.
  line_fieldcat-outputlen = '15'.
  line_fieldcat-hotspot       = 'X' .
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'WEMNG1'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Still To Be Delivered '.
  line_fieldcat-outputlen = '20'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'VBELN'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Sales Document  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'ANZPK'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'No.of Packages  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'DPACK'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Damaged Packages  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'BTGEW'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Total Weight   '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'GEWEI'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Weight Unit   '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'NTGEW'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = ' Net Weight   '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'RDESC'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Remarks   '.
  line_fieldcat-outputlen = '60'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'WAYBL'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Weigh Bill Number  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'ERNAM'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Created By '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'ERZET'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Created At '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'LRDAT'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'L.R Date  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'LRDELV'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'L.R Delivery Date  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'LRTIME'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'L.R Time  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'DATIA'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_l = 'Appointments: From date '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'UHRIA'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_l = 'Appointments: Time from  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'CHALN'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Challan No  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'PDESC'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Payment method  '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
  clear line_fieldcat.
  line_fieldcat-fieldname = 'ZCHQUAN'.
  line_fieldcat-tabname   = 'ITAB'.
  line_fieldcat-seltext_m = 'Challan Quantity '.
  line_fieldcat-outputlen = '15'.
  append line_fieldcat to i_fieldcat.
endform.                    "f2000_fieldcat_init
*&      Form  user_command
form user_command using r_ucomm like sy-ucomm
                      rs_selfield type slis_selfield.
  data: wa_job_output_info type ssfcrescl.
data wa_spoolids type  tsfspoolid.
data wa_spoolnum type rspoid.
data: objpack like sopcklsti1 occurs  2 with header line,
      objhead1 like solisti1   occurs  1 with header line,
      objbin  like solisti1   occurs 10 with header line,
      objtxt  like solisti1   occurs 10 with header line,
      reclist like somlreci1  occurs  5 with header line,
      doc_chng like sodocchgi1,
      tab_lines like sy-tabix.
  data : wa_itab like itab.
  data : line type c.
  case r_ucomm.
    when 'SAVE'.
      clear line.
      refresh itab2.
      read table itab index rs_selfield-tabindex.
      loop at itab where chk ne space.
        move-corresponding itab to itab2.
        collect itab2.
      endloop.
      describe table itab2 lines line.
      if line ge 2.
        message 'Please Select Only Document for Print Output ' type 'E'.
      endif.
      set parameter id : 'ZIN' field itab-indno.
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname = 'ZPTREG_NEW'
        importing
          fm_name  = lf_fm_name.
      if sy-subrc <> 0.
      endif.
      control_parameters-no_dialog = 'X'.
      control_parameters-preview   =  'X'.
      output_options-tddest = 'LOCL'.
      output_options-tdcopies = '2'.
      call function lf_fm_name
        exporting
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          mail_recipient     = ls_recipient
          mail_sender        = ls_sender
          user_settings      = 'X'
          p_indno            = itab-indno
          importing
  DOCUMENT_OUTPUT_INFO       =
   job_output_info            = wa_job_output_info
  JOB_OUTPUT_OPTIONS         =
        exceptions
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          others             = 5.
      if sy-subrc <> 0.
      endif.
move wa_job_output_info-spoolids[] to wa_spoolids[].
read table wa_spoolids into wa_spoolnum index 1.
if sy-subrc = 0.
data :id like tsp01-rqident.
move wa_spoolnum to id.
endif. .
*loop at wa_spoolids INTO wa_spoolnum .
write : id.
*endloop.
data i_soli like soli occurs 0 with header line.
call function 'RSPO_RETURN_SPOOLJOB'
exporting
rqident = id
desired_type = 'OTF'
tables
buffer = i_soli
exceptions
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
others = 8.
data content_bin type solix_tab.
data objhead type soli_tab.
data i_soli_tab type soli_tab.
data boolean type sx_boolean.
data length type so_obj_len.
loop at i_soli.
append i_soli to i_soli_tab[].
endloop.
call function 'SX_OBJECT_CONVERT_OTF_RAW'
exporting
format_src = 'OTF'
format_dst = 'RAW'
changing
transfer_bin = boolean
content_txt = i_soli_tab
content_bin = content_bin
objhead = objhead
len = length
exceptions
err_conv_failed = 1
others = 2.
  endcase.
*describe table objbin lines tab_lines.
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num = 1.
      objpack-body_start = 1.
      objpack-body_num =  '100'. "tab_lines.
* objpack-doc_type = c_asc.
      objpack-doc_type = 'DOC'.
      objpack-obj_name = 'ATTACHMENT'.
      objpack-obj_descr = 'ATTACH'. "p_attach.
"Name of Attachment
      objpack-doc_size = tab_lines  * 255.
      append objpack..
reclist-receiver = '[email protected]'.
        reclist-rec_type = 'U'.
        append reclist.
objbin[] = i_soli_tab[].
      call function 'SO_RAW_TO_RTF'
        tables
          objcont_old = objbin
          objcont_new = objbin
        exceptions
          others      = 0.
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        tables
          packing_list               = objpack
          object_header              = objhead1
          contents_bin               = objbin
          contents_txt               = objtxt
          receivers                  = reclist
        exceptions
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          others                     = 99.
endform.                    "user_command
Message was edited by:
        anu c

Similar Messages

  • P.O automatic mail genration pdf to word/text.

    Hi  everyone,
    this is regarding the automatic mail generation in smartforms. Its like when you process the smartforms the mails are automatically shooted to the address maintained for eg usually to the vendors. So what I need is incase I proces my smartforms the mail shouldnt be in the pdf format but in normal text format.
    I dont want to take that pdf convert to word/text by external sofware and attch it to the mail. I want it to be automatic.
    Plz suggest the possible ways of doing it. Thanks to all in advance.
    Rgds,
    Anuc.

    *& Report  ZCS_IRN
    report  zpo_spool no standard page heading line-size 260.
    Table Declaration *******************************
    tables : zptreg,zpoinb,dd07t,nase.
    Data Declaration ********************************
    type-pools: slis.
    data :   report_id  like sy-repid.
    data :   ws_title   type lvc_title value 'Reprint PT Inbound Register'.
    data :   i_layout   type slis_layout_alv.
    data :   i_fieldcat type slis_t_fieldcat_alv.
    data :   lf_fm_name            type rs38l_fnam.
    data :   ls_control_param      type ssfctrlop.
    data :   ls_composer_param     type ssfcompop.
    data :   ls_recipient type swotobjid.
    data :   ls_sender    type swotobjid.
    data : control_parameters type ssfctrlop.
    data :   output_options type ssfcompop.
    Internal Table Declaration *******************************
    data: begin of itab occurs 0,
            chk,
            indno type zptreg-indno,
            dtype type zptreg-dtype,
            ernam type zptreg-ernam,
            erzet type zptreg-erzet,
            aedat type zptreg-aedat,
            traid type zptreg-traid,
            traty type zptreg-traty,
            vehnum type zptreg-vehnum,
            bolnr type zptreg-bolnr,
            lrdat type zptreg-lrdat,
            lrdelv type zptreg-lrdelv,
            lrtime type zptreg-lrtime,
            datia type zptreg-datia,
            uhria type zptreg-uhria,
            lifnr type zptreg-lifnr,
            werks type zptreg-werks,
            anzpk type zptreg-anzpk,
            btgew type zptreg-btgew,
            gewei type zptreg-gewei,
            ntgew type zptreg-ntgew,
            idtxt type zptreg-idtxt,
            waybl type zptreg-waybl,
            dpack type zptreg-dpack,
            ebeln type zpoinb-ebeln,
            vbeln type zpoinb-vbeln,
             menge type eket-menge,
            wemng type eket-wemng,
            wemng1 type eket-wemng,
            chaln type zptreg-chaln,
            paymt type zptreg-paymt,
            zchquan type zptreg-zchquan,
            rdesc(60) type c,
            trdesc(60) type c,
            tydesc(60) type c,
            pdesc(60) type c,
            name1 type lfa1-name1,
         end of itab.
    data : itab1 like itab occurs 0 with header line.
    data : itab2 like itab occurs 0 with header line.
    data: begin of ieket occurs 0,
            ebeln type eket-ebeln,
            ebelp type eket-ebelp,
            menge type eket-menge,
            wemng type eket-wemng,
          end of ieket.
    data : ieket1 like ieket occurs 0 with header line.
    data : ieket2 like ieket occurs 0 with header line.
    data : flag type c.
    Selection Screen *******************************
    selection-screen : begin of block b1 with frame title text-001.
    select-options : x_indno for zptreg-indno matchcode object zindnohelp2.
    select-options : x_aedat for zptreg-aedat.
    select-options : x_werks for zptreg-werks .
    select-options : x_lrdat for zptreg-lrdat.
    select-options : x_lifnr for zptreg-lifnr no intervals no-extension.
    select-options : x_ebeln for zpoinb-ebeln no intervals no-extension.
    select-options : x_bolnr for zptreg-bolnr no intervals no-extension.
    select-options : x_traid for zptreg-traid no intervals no-extension.
    selection-screen : end of block b1.
    Start of Selection  *****************************
    start-of-selection.
      set pf-status 'STATUS'.
      perform get_data.
      perform display_data.
    *&      Form  get_data
    form get_data .
      select * from zptreg into corresponding fields of table itab1
                              where indno in x_indno
                                and aedat in x_aedat
                                and werks in x_werks
                                and lrdat in x_lrdat
                                and lifnr in x_lifnr
                                and bolnr in x_bolnr
                                and traid in x_traid.
      if sy-subrc ne 0.
        message i001(zmsg).
        stop.
      endif.
      select * from zpoinb into corresponding fields of table itab
                           for all entries in itab1
                             where indno = itab1-indno
                             and ebeln in x_ebeln.
      if sy-subrc ne 0.
        message i001(zmsg).
        stop.
      endif.
      loop at itab.
        at new indno.
          flag = 1.
        endat.
        if flag = 1.
          read table itab1 with key indno = itab-indno.
          move itab1-traid to itab-traid.
          move itab1-lifnr to itab-lifnr.
          move itab1-traty to itab-traty.
          move itab1-bolnr to itab-bolnr.
          move itab1-traid to itab-traid.
          move itab1-werks to itab-werks.
          move itab1-vehnum to itab-vehnum.
          move itab1-lifnr to itab-lifnr.
          move itab1-btgew to itab-btgew.
          move itab1-gewei to itab-gewei.
          move itab1-ntgew to itab-ntgew.
          move itab1-idtxt to itab-idtxt.
          move itab1-waybl to itab-waybl.
          move itab1-anzpk to itab-anzpk.
          move itab1-aedat to itab-aedat.
          move itab1-dpack to itab-dpack.
          move itab1-erzet to itab-erzet.
          move itab1-ernam to itab-ernam.
          move itab1-zchquan to itab-zchquan.
          move itab1-paymt to itab-paymt.
          move itab1-chaln to itab-chaln.
          move itab1-lrdat to itab-lrdat.
          move itab1-lrdelv to itab-lrdelv.
          move itab1-lrtime to itab-lrtime.
          move itab1-datia to itab-datia.
          move itab1-uhria to itab-uhria.
          clear flag.
        endif.
        modify itab.
      endloop.
      delete itab where indno not in x_indno.
      select * from eket into corresponding fields of table ieket for all entries in itab
        where ebeln = itab-ebeln.
      loop at ieket.
        move ieket-ebeln to ieket1-ebeln.
        move ieket-menge to ieket1-menge.
        collect ieket1.
      endloop.
      loop at ieket.
        move ieket-ebeln to ieket2-ebeln.
        move ieket-wemng to ieket2-wemng.
        collect ieket2.
      endloop.
      loop at itab.
        read table ieket1 with key ebeln = itab-ebeln.
        move ieket1-menge to itab-menge.
        read table ieket2 with key ebeln = itab-ebeln.
        move ieket2-wemng to itab-wemng.
        itab-wemng1 = itab-menge - itab-wemng.
        select ddtext from dd07t into itab-rdesc where domvalue_l = itab-idtxt and domname = 'ZIDTXT'.
        endselect.
        select ddtext from dd07t into itab-trdesc where domvalue_l = itab-traid and domname = 'ZTRAID'.
        endselect.
        select ddtext from dd07t into itab-tydesc where domvalue_l = itab-traty and domname = 'ZTRATY'.
        endselect.
        select ddtext from dd07t into itab-pdesc where domvalue_l = itab-paymt and domname = 'ZPAYMT'.
        endselect.
        select name1 from lfa1 into itab-name1 where lifnr = itab-lifnr.
        endselect.
        modify itab.
        clear itab.
      endloop.
      if itab[] is initial.
        message i001(zmsg).
        stop.
      endif.
    endform.                    " get_data
    *&      Form  display_data
    form display_data .
      report_id = sy-repid.
      perform f1000_layout_init changing i_layout.
      perform f2000_fieldcat_init changing i_fieldcat.
      call function 'REUSE_ALV_LIST_DISPLAY'
       exporting
        I_INTERFACE_CHECK              = ' '
        I_BYPASSING_BUFFER             =
        I_BUFFER_ACTIVE                = ' '
         i_callback_program              = report_id
         i_callback_pf_status_set       = 'STATUS'
         i_callback_user_command        = 'USER_COMMAND'
        I_STRUCTURE_NAME               =
         is_layout                       = i_layout
         it_fieldcat                     = i_fieldcat
        IT_EXCLUDING                   =
        IT_SPECIAL_GROUPS              =
        IT_SORT                        =
        IT_FILTER                      =
        IS_SEL_HIDE                    =
         i_default                      = 'X'
         i_save                         = 'A'
        IS_VARIANT                     =
        IT_EVENTS                      =
        IT_EVENT_EXIT                  =
        IS_PRINT                       =
        IS_REPREP_ID                   =
        I_SCREEN_START_COLUMN          = 0
        I_SCREEN_START_LINE            = 0
        I_SCREEN_END_COLUMN            = 0
        I_SCREEN_END_LINE              = 0
        IR_SALV_LIST_ADAPTER           =
        IT_EXCEPT_QINFO                =
        I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER        =
        ES_EXIT_CAUSED_BY_USER         =
        tables
          t_outtab                       = itab
      EXCEPTIONS
        PROGRAM_ERROR                  = 1
        OTHERS                         = 2
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " display_data
    *&      Form  f1000_layout_init
    form f1000_layout_init using i_layout type slis_layout_alv.
      clear i_layout.
      i_layout-colwidth_optimize = 'X'.
      i_layout-edit = ''.
      i_layout-box_fieldname = 'CHK'.
    endform.                    " F1000_Layout_Init
    *&      Form  f2000_fieldcat_init
    form f2000_fieldcat_init changing i_fieldcat type slis_t_fieldcat_alv.
      data: line_fieldcat type slis_fieldcat_alv.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'CHK'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_l = 'Checkbox'.
      line_fieldcat-checkbox  = 'X'.      " Display this field as a checkbox
      line_fieldcat-outputlen = '8'.
      line_fieldcat-edit      =  'X'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'INDNO'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' PT Register No '.
      line_fieldcat-outputlen = '15'.
    line_fieldcat-hotspot       = 'X' .
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'AEDAT'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Creation Date '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'TRDESC'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Transporter Name    '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'TYDESC'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Transport Type  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'VEHNUM'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Vehicle Number   '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'BOLNR'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' L .R Number  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'NAME1'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Vendor / Supplier'.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'WERKS'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Site   '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'EBELN'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Purchasing Document '.
      line_fieldcat-outputlen = '15'.
      line_fieldcat-hotspot       = 'X' .
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'WEMNG1'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Still To Be Delivered '.
      line_fieldcat-outputlen = '20'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'VBELN'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Sales Document  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'ANZPK'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'No.of Packages  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'DPACK'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Damaged Packages  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'BTGEW'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Total Weight   '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'GEWEI'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Weight Unit   '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'NTGEW'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = ' Net Weight   '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'RDESC'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Remarks   '.
      line_fieldcat-outputlen = '60'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'WAYBL'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Weigh Bill Number  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'ERNAM'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Created By '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'ERZET'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Created At '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'LRDAT'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'L.R Date  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'LRDELV'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'L.R Delivery Date  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'LRTIME'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'L.R Time  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'DATIA'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_l = 'Appointments: From date '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'UHRIA'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_l = 'Appointments: Time from  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'CHALN'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Challan No  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'PDESC'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Payment method  '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
      clear line_fieldcat.
      line_fieldcat-fieldname = 'ZCHQUAN'.
      line_fieldcat-tabname   = 'ITAB'.
      line_fieldcat-seltext_m = 'Challan Quantity '.
      line_fieldcat-outputlen = '15'.
      append line_fieldcat to i_fieldcat.
    endform.                    "f2000_fieldcat_init
    *&      Form  user_command
    form user_command using r_ucomm like sy-ucomm
                          rs_selfield type slis_selfield.
      data: wa_job_output_info type ssfcrescl.
    data wa_spoolids type  tsfspoolid.
    data wa_spoolnum type rspoid.
    data: objpack like sopcklsti1 occurs  2 with header line,
          objhead1 like solisti1   occurs  1 with header line,
          objbin  like solisti1   occurs 10 with header line,
          objtxt  like solisti1   occurs 10 with header line,
          reclist like somlreci1  occurs  5 with header line,
          doc_chng like sodocchgi1,
          tab_lines like sy-tabix.
      data : wa_itab like itab.
      data : line type c.
      case r_ucomm.
        when 'SAVE'.
          clear line.
          refresh itab2.
          read table itab index rs_selfield-tabindex.
          loop at itab where chk ne space.
            move-corresponding itab to itab2.
            collect itab2.
          endloop.
          describe table itab2 lines line.
          if line ge 2.
            message 'Please Select Only Document for Print Output ' type 'E'.
          endif.
          set parameter id : 'ZIN' field itab-indno.
          call function 'SSF_FUNCTION_MODULE_NAME'
            exporting
              formname = 'ZPTREG_NEW'
            importing
              fm_name  = lf_fm_name.
          if sy-subrc <> 0.
          endif.
          control_parameters-no_dialog = 'X'.
          control_parameters-preview   =  'X'.
          output_options-tddest = 'LOCL'.
          output_options-tdcopies = '2'.
          call function lf_fm_name
            exporting
              control_parameters = ls_control_param
              output_options     = ls_composer_param
              mail_recipient     = ls_recipient
              mail_sender        = ls_sender
              user_settings      = 'X'
              p_indno            = itab-indno
              importing
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = wa_job_output_info
      JOB_OUTPUT_OPTIONS         =
            exceptions
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              others             = 5.
          if sy-subrc <> 0.
          endif.
    move wa_job_output_info-spoolids[] to wa_spoolids[].
    read table wa_spoolids into wa_spoolnum index 1.
    if sy-subrc = 0.
    data :id like tsp01-rqident.
    move wa_spoolnum to id.
    endif. .
    *loop at wa_spoolids INTO wa_spoolnum .
    write : id.
    *endloop.
    data i_soli like soli occurs 0 with header line.
    call function 'RSPO_RETURN_SPOOLJOB'
    exporting
    rqident = id
    desired_type = 'OTF'
    tables
    buffer = i_soli
    exceptions
    no_such_job = 1
    job_contains_no_data = 2
    selection_empty = 3
    no_permission = 4
    can_not_access = 5
    read_error = 6
    type_no_match = 7
    others = 8.
    data content_bin type solix_tab.
    data objhead type soli_tab.
    data i_soli_tab type soli_tab.
    data boolean type sx_boolean.
    data length type so_obj_len.
    loop at i_soli.
    append i_soli to i_soli_tab[].
    endloop.
    call function 'SX_OBJECT_CONVERT_OTF_RAW'
    exporting
    format_src = 'OTF'
    format_dst = 'RAW'
    changing
    transfer_bin = boolean
    content_txt = i_soli_tab
    content_bin = content_bin
    objhead = objhead
    len = length
    exceptions
    err_conv_failed = 1
    others = 2.
      endcase.
    *describe table objbin lines tab_lines.
          objpack-transf_bin = 'X'.
          objpack-head_start = 1.
          objpack-head_num = 1.
          objpack-body_start = 1.
          objpack-body_num =  '100'. "tab_lines.
    * objpack-doc_type = c_asc.
          objpack-doc_type = 'DOC'.
          objpack-obj_name = 'ATTACHMENT'.
          objpack-obj_descr = 'ATTACH'. "p_attach.
    "Name of Attachment
          objpack-doc_size = tab_lines  * 255.
          append objpack..
    reclist-receiver = '[email protected]'.
            reclist-rec_type = 'U'.
            append reclist.
    objbin[] = i_soli_tab[].
          call function 'SO_RAW_TO_RTF'
            tables
              objcont_old = objbin
              objcont_new = objbin
            exceptions
              others      = 0.
          call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            exporting
              document_data              = doc_chng
              put_in_outbox              = 'X'
              commit_work                = 'X'
            tables
              packing_list               = objpack
              object_header              = objhead1
              contents_bin               = objbin
              contents_txt               = objtxt
              receivers                  = reclist
            exceptions
              too_many_receivers         = 1
              document_not_sent          = 2
              operation_no_authorization = 4
              others                     = 99.
    endform.                    "user_command
    Message was edited by:
            anu c

  • How do I convert a file located in my e-mail from PDF to Word.  I can't seem to save it in my word files.

    How do I convert a file located in my e-mail (that is secured) from PDF to Word.  I can't seem to save the PDF file anywhere.

    Hi williamf,
    For starters, please try triple-clicking in the Word document where you want to edit the text (sometimes, that's what it takes to select text in Word). If that doesn't work, I'd be interested in hearing more about the PDF file that you converted and the method that you used to convert it. For example, how was the PDF created (and by what app)? Did you convert via Adobe Reader (what version) or via the ExportPDF website?
    If you can tell us more about the file, we should be able to get to the bottom of things.
    Best,
    Sara

  • Reply Mail with Pdf or Word file

    Hi Guys,
    Iphone 5s (ios 7) does not seem to support attachments (pdf or ms office suites) while replying to mails.
    Can you please suggest a way about????
    Regards
    Sandeep

    Hi wongwilliamcw,
    What model of 6500 printer do you have (E709 or E710)?
    Check out the following document below.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02721964
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Infotype 41 auto mail

    Hi experts,
    I hv configured infotype 41 and in the date type i mentioned the type of activity performed. is there any customization or development that can be done for auto mail generation, when an employee completes his training/probation date that is defined in infotype 41.

    Hi,
    This can be done via an ABAP program.
    We've done this for 19 Infotype.
    The program runs every night (it is tied to a job) and lists all the IT 19 records that has current date. And then sends this list as mail to the related person.
    Best regards,
    Dilek

  • Auto mail to vendor after GRN and Invoicing

    I need to work for my client in MM who needs a automail to vendor after GRN and Invoicing , kindly help  to know the procedure for Auto mail generation to Vendor or a work flow so that i can work with ABAP team just needed a flow.

    For Mail to Vendor after MIRO transaction, Please proceed as follows
    Go to NACE t code,
    Select MR for Invoice verification
    Create New output type by copying Invoice print out put type and set transmission medium 5 for external send
    Assign Program, processing routines. Set partner function VN-Vendor
    Maintain new output type to Message schema MR0002- MM-LIV- Message Determination.
    With the hep of basis do setting in SCOT tcode
    Create condition record in NACE for this output type
    You can send e-mail by MR90 tcode
    For Mail to Vendor after MIGO transaction,
    i think you have to go for the custom development since SAP don't have functionality of GR message to external send
    You may use badi- MB_DOCUMENT_BADI

  • Alert Auto mail generate

    In oracle R12 auto mail generation possible actually I want to automatically mail send to desired address with the specific report on given time period

    Please refer:
    Concurrent Processing - How to Configure the Concurrent Request Output Option for Notifications by Email . [ID 456925.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Send+Email+Concurrent+Output&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    regards,

  • Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but worked only in Mail.  Lost formatting when just copied and pasted in email.

    Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but PDF worked only in Mail.  Word worked in nothing.  I also tried copying and pasting the document but lost all formatting when just copied and pasted in email.  Is there a way to do this?

    Are you sure PDF won't work? It should as what you're trying to do is pretty much what it is designed for (PDF - Portable Document Format). On a Mac anywone who receives the file should be able to see it in all its page layout glory by using the app Preview or Adobe Reader. Same on a PC, the file should be viewable as a PDF file using Adobe Reader and probably some other viewer (don't use PCs so not sure what other apps).
    What application are you creating the file in and are you sure you're exporting it correctly in PDF format, fonts and images embedded?

  • TS3899 After upgrading to IOS 7, the only options Gmail gives using Safari or mail to attach files are attaching a camera roll file or  draw a scribble. How can I attach a PDF or word doc? I was able to do so using IOS 6.

    After upgrading to IOS 7, the only options Gmail gives using Safari or Mail app to attach a file are attaching a camera roll file or drawing a scribble. How can I attach a document such as a PDF or word file? I used to be able to do so using IOS 6.

    skinb wrote:
    Did  you solve the problem? I am a new iphone user. Mac is less intuitive than wished.
    You posted in the iPad forum instead of the iPhone forum. To get answers to your question, post in the proper forum. See https://discussions.apple.com/welcome
    You tagged onto an older post. If you want an answer to your specific question, you need to create a new post. By creating a new post, you will receive emails when helpers post responses.
     Cheers, Tom

  • You have verified my e-mail address.  Why am I asked to subscribe when I try to convert a PDF to Word.

    You have verified my e-mail address.     Why am I asked to subscribe when I try to convert a PDF to Word?

    108hog108 which Adobe software or service is your inquiry related too?

  • Mac Mail, PDFs and Word all crash when printing

    Im running an Imac 10.6.8, in design studio, we are using a brand new (4 months old) Xerox WC7555 with up to date drivers and Command Workstation on machines. Yet when we try and print from word or Mac Mail, or PDFs often we find they freeze or crash on us.? can anyone help? It happens on my 2 year old 2.8ghz i5 imac and also on another brand new March 2013 top spec inch imac?
    thanks all

    Do these two first...
    Using Disk Utility in Mac OS X 10.4.3 or later to verify or repair disks...
    http://docs.info.apple.com/article.html?artnum=302672
    About Disk Utility's Repair Disk Permissions feature...
    http://docs.info.apple.com/article.html?artnum=25751

  • Exporting multiple e-mails as .pdf

    I'm responsible for coordinating a multi-author, book-writing project and I've been asked to store all e-mail correspondences in a fashion that allows all of the authors and project managers to access the e-mails. I have a shared folder set up on my Google drive that allows all the users to access shared files which is working fantastically, but I can't find a way to export large quantities of e-mails at the same time that also works for Google drive.
    After a quick Google search I found this site which provided instructions on how to install this set of scripts which allowed me to archive my selected e-mails as .rtf files with their attachments. It works great and allows me to customize the naming of the files to allow other authors to easily locate a specific e-mail. It names each file "From %f to %t - %s - %M %d, %Y.rtf" where %t is the recipient, %f is the sender, %s is the subject/thread topic and %M %d, %Y is Month day, year (eg To John Smith from Jane Doe - Book Project - December 12, 2012.rtf).
    Unfortunately, after uploading the folder containing all these .rtf files I found out that .rtf can't be viewed on Google and must be downloaded then opened on the user's computer. To fix this I tried having Google automatically convert the files to Google docs as it uploaded the files, but this didn't work and even if it did I fear the files would lose their attachments.
    I then tried searching for scripts that would allow me to change all of the .rtf files to .pdf. I found and tried a few, but they all had problems (the script would only operate on pre Mountain Lion, the requires Word for Mac, etc.)
    Then I tried finding a script that would work like the first successful one, but export the files as .pdf rather than .rtf. I couldn't find anything, but found an article that reminded me I could print to .pdf from mail ("Save as PDF..." in the system print window). I tried doing this, but after 'printing' the first of all the e-mails an error box pops up and no more e-mails 'print.' If I "Open PDF in Preview" I can successfully save all of the e-mails as .pdf, but their file names are all Preview of "<e-mail subject>".pdf which isn't helpful because nearly all correspondences in the group have a subject like "Book" or "Book Project" meaning it'd be impossible to determine which e-mail is which by the .pdf filename.
    I feel like their are a lot of different routes I can take to solve this problem, I just need help finding the components:
    1. Use the first successful script to export as .rtf, then use another script to convert them to .pdf. This would be the best because it will allow me to use a useful filenaming system. To do this I need a script that can convert .rtf to .pdf on my system.
    2. Find a script like the first, successful script I used that allows me to export the e-mails as a .pdf using the subject, to/from, etc. as the filename.
    3. Open PDF in Preview, save, then use a script to rename all the files by extracting the subject, to/from and date from the .pdfs. To do this I need a script that can find the subject, etc. in the .pdf and use that data to change the file name. (I highly doubt such a script exists and I don't have the script-writing skills to create one myself.)
    4. Any other solution that allows me to take a lot of e-mails from my Mail app and upload them to my Google drive while maintaining attachments and generating logical filenames.
    5. Any other solution that makes it possible for me to make correspondences available for all authors to access (keeping in mind that cross-platform compatibility is essential).
    Suggestions?

    I found your first suggestion while doing a Google search. That post was made in mid-2011, almost a year before Mountain Lion released. Apple changed the way scripts work in Mountain Lion and this script no longer works.
    As far as I can tell, the second solution only works for printing one e-mail to a .pdf at a time and doesn't support batch filenaming.

  • How do I upload my resume when it's saved in Pages but needs to be send as a PDF or word file?

    How do I upload a document that has been created using pages as a PDF or Word file? When I attempt to upload it, the only choices I get are choices from my camera!!

    Tap on the wrench/spanner in the upper right of the document & then "Share & Print." You can then e-mail the document but I'm not sure how to upload to a web site from an iPad.

  • How to send a mail with PDF attachment

    Hello
    Good Day!
    We have a requirement to send the mail with pdf attachment. Pdf file will be remain same for all mails and it will be placed at server. We are on R12.4 and below is the database information :
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Thanks a ton for your anticipated help!
    Thanks
    Gaurav

    The word URGENT is considered as rude in this forum.. Nobody here is getting paid for the ansers they are giving..
    Just have a look at These threads.Those will help you.

  • Acrobat only converts the page that is displayed.  How do I export/convert an entire PDF to word or exel?

    I have some huge reports that need to be converted.  This is not a one time thing.
    When I try to export PDF to word, excel, or any format offered, it:
    only saves the headers/footers.
    If I select all; it only saves the page(s) displayed on screen
    How can I convert an entire PDF to word or excel?
    Auto-scrolling is on and that made sadly no difference.
    There are too many pages to put it on 10% and view them all on one screen
    Please help

    Hi, sorry I should have put that in my original post.
    Version: Acrobat XI
    I tried multiple things which included:
    Tools --> Content Editing --> Export File To... [ This saves a blank file ]
    Select All --> Tools --> Content Editing --> Export File To... [ Saves only the page that is displayed on the monitor, the rest is all blank except header and footer ]
    Select All --> File --> Save As --> Excel or Word [ Saves only the page displayed on monitor ]
    File --> Save As --> Excel or Word [ Saves only the page displayed on monitor ]
    Select All --> File --> Save As Other --> Excel or Word [ Saves only the page displayed on monitor ]
    File --> Save As Other --> Excel or Word [ Saves only the page displayed on monitor ]
    Tools --> Edit Text & Images --> Cannot Select All --> Export File To... [ Saves only what is displayed on the monitor ]
    I'll edit and add to my original post if it lets me.

Maybe you are looking for

  • Macbook Pro and Samsung monitor

    I bought a Samsung 22inch monitor. It works for my old G4 with VGA analog, but if I hook my MBP to the monitor through DVI all I get is my screensaver on the monitor. I tried detect monitor and nothing happens. Any thoughts ?

  • Notes get deleted when mailed

    Hi, I am seeing a problem with the notes app wherein when I mail the note (by hitting the mail icon at the bottom) it gets deleted. The note was mailed succesfully, but for some reason it disappeared on my notes list. Is anybody else seeing this? Tha

  • IDOC(Inbound/Outbound)  - SAP(ABAP)

    Hi Everybody, i m new to iDOC programing .I know to create logical sytem,rfc destination,port, partner profile ,idoctype,messagetype integration idoctype into msgtyp but i don't know hw to develop program for both creation of outbound idoc and inboun

  • Tree inside the table

    Hi Experts, I reffered the Webdynpro Standard application "SALV_WD_DEMO_TABLE_TREE" for tree inside the table. But the application is mainly based on Component Usage. So I could not found where the actual Layout design was done. I want to see the Lay

  • NTFS and Guest account

    Using NTFS on Win2000 iFS1.1. If the user does not have an account, they get the default guest user. I see in Setup and Admin guide that SMB def has a parameter of AllowGuestIfNotUser. I see no such parameter in the NTFS sever def file. Is there anot