Mail and email attachement : .pdf - .pdfpdf or .doc - .docc

Hello,
I have been using Mail since I bought my Mac but I have a recurrent problem.
When I send a Mail with email attachement, it duplicates the extension. For instance : .doc become .docc, or .pdf become .pdfpdf.
I tried some manipulations such as : Check or not : "Mask File Extension" in "File Information", and :"Send email attachement Windows compatible" in Mail : the results are the same.
The last straw ? When I try with Gmail or Orange in Safari, the attachements work well and my contacts can read them.
I don't understand.
I will appreciate any answer.
Thanks
(Sorry for my English )

Are you sure it is Mail sending them wrong and not their email client mangling them when they arrive?
It is apparently Mail's fault. It has to do with sending attachments with accented characters. While this a poor workaround for you, don't use accented characters in attachment names until Apple fixes it. Or add a message to your email to save the attachment and fix the extension. If they do that, it will open just fine.
Message was edited by: Barney-15E

Similar Messages

  • Error while attaching PDF to FI doc via SAP services

    Hi,
    I am calling SCMS_DOC_CREATE_FILES funtion module to attach PDF to FI doc via SAP services and SAP internally calling standard function 'HTTP_POST_FILESu2019 with RFC_DESTINATION u2018SAPHTTPAu2019 and returned error due to connection fail.
    RFC DESTINATION SAPHTTPA checked and   its working fine.
    call function 'HTTP_POST_FILES' destination rfc_destination
        EXPORTING
          uri                   = absolute_uri
          path                  = component_path
          proxy                 = proxy
          trace                 = http_trace
          prefix                = component_prefix
          user                  = user
          pwd                   = password
        IMPORTING
          status                = status_code
          stext                 = stext
          error                 = cerror
          etext                 = comp_err
        TABLES
          resp                  = response_entity_body
          resphead             = response_headers
          reqhead               = request_headers
          comp                  = components
          compx_255             = componentsx
        EXCEPTIONS
          system_failure        = 1  message msg
          communication_failure = 2  message msg.
         output:   Sy-subrc is 0 and status_code is '403'
    response_entity_body internal table return the below error information:-
    -     HTTP/1.1 403 Forbidden
    -     Server: Apache-Coyote/1.1
    -     X-ErrorDescription: Genuine channels operation exception: Can not connect to the remote host "gtcp://127.0.0.1:49008". System error message: No connection could be made because the target machine actively refused it 127.0.0.1:49008.
    -     Content-Type: text/html;charset=utf-8                           Date: Tue, 08 Nov 2011 21:36:02 GMT
    -     Connection: close
    Please help i am not to able find the reason why i am getting status_code is '403' and RFC failed.
    Thanks
    Sireesha
    Edited by: Sireesha_SAP on Nov 10, 2011 8:53 PM
    Edited by: Sireesha_SAP on Nov 10, 2011 10:16 PM

    Hi,
    I would like to know what font type, you are using in the forms.
    Ideally it should be HELVETICA .
    If you are using any other font in your style/form,try changing it to HELVETICA & Test.
    Also Check the OTF data at the call of gen. FM,before converting it to PDF.
    Regds,
    AS
    Edited by: abheesawant on Oct 12, 2011 7:48 AM

  • How to send automatic mail and put attache file on batch file ?

    how to send automatic mail and put attache file on batch file ?
    START MAILTO:[email protected]?SUBJECT=PHONE%CALL^&BODY=Testing

    Hi,
    Do you want to use a batch file to create new email message (including recipients, subject and email body) with attachments? If so, I'd recommend you post your question in the Scripting Guys forum for further assistance:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Please feel free to let me know if I've misunderstood something.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is there a function to open the outlook mail and to attach certain..

    Hello,
    Is there a function to open the outlook mail and to attach certain selected files?

    here is a code snippet from one of our programs
      data: out type ole2_object,
            outmail type ole2_object,
            att type ole2_object,
            atts type ole2_object.
          create object out 'Outlook.Application'.
          call method of out 'CREATEITEM' = outmail
            exporting
              #1 = 0.
          set property of outmail 'SUBJECT' = 'Smartform Output from SAP'.
          call method of outmail 'ATTACHMENTS' = atts.
          call method of atts 'ADD'
            exporting
              #1 = p_file.
          call method of outmail 'DISPLAY'.
    in our case, we save the data to a local file with the path p_file.
    so, we create the attachment on a local drive, at path p_file
    we open outlook
    we create a mail item
    we set the subject
    we add the attachment
    and we call disply, to pop the email up for any changes the user wants to make.
    in other programs we also use
      set property of outmail 'TO' = alvline-prc_email.
    to set the TO address of the email
    hope this helps

  • Opening an external e-mail and cannot attach anything to it. How do I attach a PDF to an external e-mail?, Opening an external e-mail and cannot attach anything to it. How do I attach a PDF to an external e-mail?

    How do I attach a PDF to an external e-mail?

    Use the app that you view PDFs in. I use iBooks to store and view my PDFs. I can select a PDF in iBooks, ten tap the share icon and share via email.

  • Email attachment PDF format

    Gurus,
    Can any body logic for the below requirement for my Report. Report is also pasted. Thanks!
    Create a table as given in the requirement
    Table:
    Cleint   Jobname Email ID  Active  Subject Text  Body Text
                                                       SO10           SO10
    ·         The email part should contain the entire log and spool if available.
    ·         Once you have the job list, loop on the list and check if the job is defined in your custom table
    o   If you find an entry then
    §  Read the Job Log and convert it to HTML
    §  Read the spool if available and convert it to pdf
    §  Create an email with
    ·         To: Mail id from your custom table
    ·         Subject [ below: ]
    o   Then write the entire job log.
    o   Give one blank line
    o   If spool list is available the write else write
    o   Give one blank line
    o   Write
    ·         Attachment should contain the PDF attachment of the spool.
    o   If the email fails then Write (donu2019t give message) the Job name and message that email failed.
    o   If you donu2019t find a mail ID for the job Write (donu2019t give message) the Job name and message that email not found.
    ·         Continue to the next Job in your list.
    REPORT ZJOB_MONITORING.
    T A B L E S
    TABLES: tbtco.
    T Y P E - S P O O L S
    TYPE-POOLS: slis.
    T Y P E  D E C L A R A T I O N S
    *TYPES: BEGIN OF type_tbtco,
           include TYPE tbtco,
          END OF type_tbtco.
    TYPES: BEGIN OF type_output,
           STRTTIME TYPE tbtco-STRTTIME,
           strtdate TYPE tbtco-strtdate,
           jobname  TYPE tbtco-jobname,
           line     TYPE string,
           END OF type_output.
    S T R U C T U R E S
    DATA: s_tbtco  TYPE tbtco,
          s_joblog TYPE zsbb_uc4_joblog,
          s_output TYPE type_output.
    I N T E R N A L  T A B L E S
    DATA: i_tbtco  TYPE STANDARD TABLE OF tbtco,
          i_joblog TYPE STANDARD TABLE OF zsbb_uc4_joblog,
          i_output TYPE STANDARD TABLE OF type_output.
    DATA: Begin of itab_jobname OCCURS 0,
          jobname type tbtco-jobname,
          end of itab_jobname.
    DATA: Begin of itab_user OCCURS 0,
          jobname type tbtco-sdluname,
          end of itab_user.
    DATA: Begin of itab_stat OCCURS 0,
          jobname type tbtco-status,
          end of itab_stat.
    DATA: Begin of itab_uzeit occurs 0,
          uzeit type sy-uzeit,
          end of itab_uzeit.
    Heading of the report.
    DATA: t_heading TYPE slis_t_listheader.
    DATA : t_fieldcat TYPE slis_t_fieldcat_alv.
    S E L E C T I O N  S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_strtda FOR sy-datum,
                    s_lstrun FOR sy-uzeit OBLIGATORY,
                    s_jobnam FOR tbtco-jobname,
                    s_user   FOR tbtco-sdluname,
                    s_status FOR tbtco-status.
    PARAMETERS: p_email AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK bl1.
    "                         AT SELECTION-SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-LOW.
      PERFORM f4_JOBNAM-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-HIGH.
      PERFORM f4_JOBNAM-HIGH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-low.
      PERFORM f4_USER-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-high.
      PERFORM f4_USER-HIGH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-low.
      PERFORM f4_STATUS-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-high.
      PERFORM f4_STATUS-HIGH.
    S T A R T  O F  S E L E C T I O N
    START-OF-SELECTION.
      PERFORM select_data.
    If email is checked.
    Send the output table as an email attachment to the distribution list.
    Get the email list from the config table. " ask from where to get it
      IF p_email = 'X'.
    Call FM 'SO_OBJECT_SEND'.
    Fill the fields which are not commented accordingly.
    CALL FUNCTION 'SO_OBJECT_SEND'
       EXPORTING
         OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
         OBJECT_TYPE      = 'RAW'
         OWNER            = SY-UNAME
       TABLES
         OBJCONT          = TEXT
         OBJPARA          = OBJPARA
         RECEIVERS        = RECEIVERS
       EXCEPTIONS
         OTHERS           = 01.
    IF SY-SUBRC NE 0.
       RAISE ERROR.
    ENDIF.
    ENDIF.
    Prepare the ALV Report.
    PERFORM alv_grid_display.
    *&      Form  alv_grid_display
          text
    FORM alv_grid_display .
    alv required data objects.
      DATA: w_repid    TYPE syrepid,
            x_layout   TYPE slis_layout_alv,
            t_event    TYPE slis_t_event,
           t_fieldcat TYPE slis_t_fieldcat_alv,
            w_title    TYPE lvc_title,
            w_print    TYPE slis_print_alv,
            w_comm    TYPE slis_formname,
            flag       TYPE c VALUE 'N'.
      REFRESH t_fieldcat.
      REFRESH t_event.
      CLEAR   x_layout.
      CLEAR   w_title.
    Field Catalog
    PERFORM set_fieldcat2 USING:
       1 'strttime'   'BTCXTIME'   space           t_fieldcat ,
       2 'jobname'    'BTCJOB'     space           t_fieldcat ,
       3 'line'        space       'Job Log'       t_fieldcat .
    *PERFORM set_fieldcat2 USING:
       1 'strttime'   'BTCXTIME'   space     'I_OUTPUT'      t_fieldcat ,
       2 'jobname'    'BTCJOB'     space     'I_OUTPUT'      t_fieldcat ,
       3 'line'        space       'Job Log' 'I_OUTPUT'      t_fieldcat .
      PERFORM set_fieldcat.
    Layout
      x_layout-zebra = 'X'.
      x_layout-colwidth_optimize = 'X'.
    GUI Status
      w_repid = sy-repid .
    Top of page heading
    PERFORM set_top_page_heading USING t_heading t_event flag.
    call the FM 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = w_repid
         is_layout                         = x_layout
         it_fieldcat                       = t_fieldcat
        IT_SORT                           =
         i_save                            = 'X'
         it_events                         = t_event
       TABLES
          t_outtab                         = i_output
       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.                    " alv_grid_display
    *&      Form  set_top_page_heading
          text
    FORM set_top_page_heading  USING
                               t_heading TYPE slis_t_listheader
                               t_events  TYPE slis_t_event
                               flag      TYPE c.
      DATA: x_heading TYPE slis_listheader,
            x_event   TYPE LINE OF slis_t_event.
    Report title
      CLEAR t_heading[].
      CLEAR x_heading.
      x_heading-typ = 'H'.
      x_heading-info = 'Job Details'(002).
      APPEND x_heading TO t_heading.
    Name of the report program
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Report ID:'.
      x_heading-info = sy-repid.
      APPEND x_heading TO t_heading.
    User who is running the report
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'User: '.
      x_heading-info = sy-uname.
      APPEND x_heading TO t_heading.
    Date of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Date: '.
      WRITE sy-datum TO x_heading-info.
      APPEND x_heading TO t_heading.
    Time of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Time: '.
      WRITE sy-uzeit TO x_heading-info.
      APPEND x_heading TO t_heading.
    Top of page event
      x_event-name = slis_ev_top_of_page.
      x_event-form = 'TOP_OF_PAGE'.
      APPEND x_event TO t_events.
    ENDFORM.                    " set_top_page_heading
    *&      Form  set_fieldcat2
          text
    FORM set_fieldcat2  USING
                        p_colpos p_fieldname p_ref_fieldname
                        p_seltext_m
                        p_tabname
                        t_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      CLEAR wa_fieldcat.
    General settings
      wa_fieldcat-fieldname = p_fieldname.
      wa_fieldcat-col_pos = p_colpos.
    the ref_fieldname given is a data element.
      IF NOT p_ref_fieldname IS INITIAL.
        wa_fieldcat-rollname =   p_ref_fieldname.
      ENDIF.
    Set text headers.
      IF NOT p_seltext_m IS INITIAL.
        wa_fieldcat-seltext_m = p_seltext_m.
      ENDIF.
      wa_fieldcat-tabname = 'I_OUTPUT'.
      APPEND wa_fieldcat TO t_fieldcat.
    ENDFORM.                    " set_fieldcat2
    *&      Form  F4_JOBNAM-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_JOBNAM-LOW .
      SELECT jobname FROM tbtco
                  INTO TABLE itab_jobname.
      DELETE ADJACENT DUPLICATES FROM itab_jobname.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield             = 'jobname'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_jobnam-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG               = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_jobname
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_JOBNAM-LOW
    *&      Form  F4_JOBNAM-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_JOBNAM-HIGH .
      SELECT jobname FROM tbtco
                    INTO TABLE itab_jobname.
      DELETE ADJACENT DUPLICATES FROM itab_jobname.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield             = 'jobname'
      PVALKEY                = ' '
         DYNPPROG              = 'sy-repid'
         DYNPNR                = '1000'
         DYNPROFIELD           = 's_jobnam-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG               = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_jobname
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_JOBNAM-HIGH
    *&      Form  F4_USER-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_USER-LOW .
      SELECT sdluname  FROM tbtco
                    INTO TABLE itab_user.
      DELETE ADJACENT DUPLICATES FROM itab_user.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'user'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_user-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_user
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_USER-LOW
    *&      Form  F4_USER-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_USER-HIGH .
      SELECT sdluname  FROM tbtco
                    INTO TABLE itab_user.
      DELETE ADJACENT DUPLICATES FROM itab_user.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'user'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_user-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_user
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_USER-HIGH
    *&      Form  F4_STATUS-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_STATUS-LOW .
      SELECT status  FROM tbtco
                    INTO TABLE itab_stat.
      DELETE ADJACENT DUPLICATES FROM itab_stat.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'status'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_status-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_stat
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_STATUS-LOW
    *&      Form  F4_STATUS-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_STATUS-HIGH .
      SELECT status  FROM tbtco
                    INTO TABLE itab_stat.
      DELETE ADJACENT DUPLICATES FROM itab_stat.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'status'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_status-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
      VALUE_ORG              = 'C'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab              = itab_stat
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 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.
    ENDFORM.                    " F4_STATUS-HIGH
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM SELECT_DATA .
    select the entries from the table TBTCO
    as per the selection screen
      SELECT * FROM tbtco
               INTO TABLE i_tbtco
               WHERE STRTTIME IN s_lstrun AND
                     strtdate IN s_strtda AND
                     jobname  IN s_jobnam AND
                     sdluname IN s_user   AND
                     status   IN s_status.
    Get the job details for the above jobs.
      LOOP AT i_tbtco INTO s_tbtco.
        CALL FUNCTION 'ZSBB_UC4_JOB_READ_LOG'
          EXPORTING
            client                = sy-mandt
            jobcount              = s_tbtco-jobcount
            joblog                = s_tbtco-joblog
            jobname               = s_tbtco-jobname
          TABLES
            joblog_tab            = i_joblog
          EXCEPTIONS
            cant_read_joblog      = 1
            jobcount_missing      = 2
            joblog_does_not_exist = 3
            joblog_is_empty       = 4
            joblog_name_missing   = 5
            jobname_missing       = 6
            job_does_not_exist    = 7
            OTHERS                = 8.
    Write the Error handling as needed.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ELSE.
    Append entries to main table.
          s_output-STRTTIME = s_tbtco-STRTTIME.
          s_output-jobname  = s_tbtco-jobname.
          LOOP AT  i_joblog INTO s_joblog.
            s_output-line = s_joblog-text.
            APPEND s_output TO i_output.
            CLEAR s_output.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " SELECT_DATA
    *&      Form  SET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    form SET_FIELDCAT .
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'STRTTIME'.
      wa_fieldcat-seltext_m = 'Start Time'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
    wa_fieldcat-reptext = p_reptext.
      APPEND wa_fieldcat to t_fieldcat.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'JOBNAME'.
      wa_fieldcat-seltext_m = 'Job Name'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
    wa_fieldcat-reptext = p_reptext.
      APPEND wa_fieldcat to t_fieldcat.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LINE'.
      wa_fieldcat-seltext_m = 'Job Log'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
      APPEND wa_fieldcat to t_fieldcat.
    endform.                    " SET_FIELDCAT
    Edited by: venkata on Aug 12, 2008 4:13 PM

    solved

  • Send Report output as Email attachment (PDF)

    Hi Experts,
      i am trying to send the contents of an internal table from my report as email using PDF attachment. I have coded the logic and i get the attachment in the email. When i try to open the attachement, i cannot open it.
    The message i get is "_Adobe reader could not open the attachment "attach.pdf" because it is either not a supported file type or the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded )._
    Not sure where i went wrong.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
    CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
      ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = 'X'
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = t_packing_list
          contents_bin               = t_attachment
          contents_txt               = it_message
          receivers                  = t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    "send_file_as_email_attachment

    Hello RnB,
    You can check the mentioned link for the same:
    [Simple Program to generate PDF from ABAP List Output.|http://www.abapmadeeasy.com/2011/02/sap-abap-simple-program-to-generate-pdf.html]
    Regards,
    Uttam Agrawal

  • Editable, Savable and Email-able PDFs from Reader!

    Hello all,
    so today I got an PDF from a web design firm. It contains a questionnaire with combo boxes and input forms. I was really surprised to find that, within Adobe Reader I can edit and save this PDF locally.
    Further, another nice feature is that you can email an XML document of the form data (not the PDF itself). When you click the email button, the following is pasted into the body of the email:
    The attached file contains data that was entered into a
    form. It is not the form itself.
    The recipient of this data file should save it locally
    with a unique name. Adobe Acrobat Professional 7 or later can process this data
    by importing it back into the blank form or creating a spreadsheet from several
    data files. See Help in Adobe Acrobat Professional 7 or later for more details.
    Maybe its old news here but I never knew that was possible through Reader! How can you make a document so its ready for editing, saving and emailing like this? Does someone has a tutorial on this please? Can the 'source' be read from the PDF?
    Any advice / suggestions?
    Thanks!
    Marv

    Not much of a tutorial needed. You create your form then you specially enable it in Acorbat Pro or better. The option is found under the "advanced" menu.
    It's sort of old news. It's only been around the last two versions.
    If you decide to use forms that are enabled like this, keep in mind that there are strict limitations on how many times they can be used. You can find those limitations in section 15 of the license agreement (There's a subsection in there. I think it's 15.12 but am not positive.)

  • Apple mail and email accounts do not open in Yosemite

    I have recently found the problem that I open the Apple Mail app and nothing is functional. When I try to edit account settings it doesn't let me access those. I want to reinstall mail app or at least update its settings. I read in some blog that yosemite "guesses" and changes your prefered account settings so I wonder if that is the cause after I backed up my emails recently I had loads of messages asking for my passwords, which never happened in Mavericks.
    Does anyone have a clue what I can do? Solve it through time machine? Would I delete the app and reinstall it?
    Thank you for any help out there.

    start your mac in safe mode and try to open mail and check your accounts
    Starting up in “safe mode” may help you diagnose problems you’re having with your Mac.
    Note: To print these instructions, open Help Viewer’s Action pop-up menu (looks like a gear), then choose Print. 
    Shut down your Mac and wait 10 seconds.
    Press the power button.
    Immediately after you hear the startup tone, hold down the Shift key.You should press the Shift key as soon as possible after you hear the startup tone, but not before.
    Release the Shift key when you see the gray Apple logo and progress indicator (spinning gear).
    To leave safe mode, restart your Mac normally without holding down any keys during startup.

  • I have a spreadsheet file in apple's numbers that I use as a grade sheet.  I can generate an individual student's report and email a pdf version of this report to the student.  Is there anyway to automate this process to the entire spreadsheet?

    ?

    Hi Matt,
    Similar answer, as well. My first thought on reading the question was 'mail merge', as it was with Ed's question.
    But since you're already generating the individual reports using Numbers, 'printing' those to a PDF file and attaching the file to an email message would seem a better route to go.
    That should be doable using either Automator or AppleScript, but my expertise with either of those is about the same level as is was when I responded to Ed's question. I'll wish you luck, and leave this to the Automator or AppleScript experts.
    Regards,
    Barry
    PS: I'd suggest you prepare a copy of the document with the names (and perhaps the marks/grades) replaced with anonymous ones. I suspect a look at the actual file will be necessary to get a handle on its structure.
    B.
    Message was edited by: Barry (Added PS)

  • Mail freezes when attaching PDF from Acrobate

    I have a new issue with mail, when I am in Acrobat and attempt to Attach to email, Mail sometimes gives me an error (don't have it exactly, sorry) and then I get the spinning wheel and have to force quit. Does this mean corrupt preferences?

    Mail sometimes gives me an error (don't have it exactly, sorry)
    The exact text of the error message could very well be the key to unraveling this mystery.
    Does this mean corrupt preferences?
    No, we can't assume anything at this point without more information. How big are these PDF files; what version of Mail are you running? Have you checked Software Update to see if you need the Mail Update released yesterday? If not, do that first.
    You should also replicate this problem and write down the exact text of the error message and include it in your reply along with the other information. In addition, see if you can replicate this problem in a new user account; if you can, then the issue is system-wide.
    Mulder

  • Create Report on List , group by data and email as PDF

    Hi ,
    I have a survey List , that contain 7 Question and each question have 5 possible answers (Radio Button , between Strongly agree to strongly Disagree).
    How can I create a report on the list , and send the email to instructors that are also stored in List .
    How can we create a report with group by clause and send as a PDF in attachment?
    Thanks

    You have to programmatically convert all content to PDF and then email it.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9e38ed97-5156-448d-af71-cf5e949535d6/how-can-i-export-sharepoint-list-item-form-view-to-word-or-pdf?forum=sharepointcustomizationprevious
    Try below 3rd party
    http://blog.muhimbi.com/2010/08/converting-sharepoint-lists-to-pdf.html

  • Email attachment PDF close problem

    When I open a PDF attachment to Mail, I cannot close it. No way to have the "Done" button appear. Consequently Mail stays blocked on the PDF opened page and cannot be used anymore. Hints appreciated.

    When that happens to me I have to do a hard reset (depress both Power/Sleep and Home buttons at the same time until the Apple logo appears. When screen activity stops depress these some two buttons again until the Apple logo appears. The restores the normal iPad function till it happens again.

  • Ical, mail, and email notifications to events -- how to turn off

    I do not use iCloud and do not want to have iCal send email when I accept into my calendar an event invitation or modify one.
    Every time I accept an event, iCal tries to launch Mail, which I do NOT use for email (Thunderbird instead). I have already replied to who i want to reply to about whether I will participate in invitations and do NOT want iCal to respond.
    I could tolerate iCal asking me whether it wants to respond or not, but can find no preferences or other modifications to control what iCal is doing.
    This is very frustrating. Absent a fix, I believe I will have to abandon Apple software for calendaring and other applications.
    Any suggestions???

    Update - I finally discovered that you can unflag a message in the Flagged category, so that issue is resolved. I would still like to remove the VIP category in Mail completely, right now it is still at the bottom of my email addresses and that's the best that I can come up with. Anyone else come up with anything?

  • Mail and File attachement

    Hello,
    I'm new in developping in Java Server and I need to write a class who can send a mail with one file attachement. I don't now how to do this thing ?
    Thank you for your help.

    Try the tutorial
    http://developer.java.sun.com/developer/onlineTraining/JavaMail/

Maybe you are looking for

  • Using finder icon to navigate continuously from folder to folder

    A consultant set our old G5 (OS 10.4.11) so you could click and hold on the finder icon to open the HD and navigate continuously from folder thru subfolder, thru subfolder, thru subfolder, etc (like dragging and dropping a file – except without the f

  • Air Instruments Technology plugins causes FATAL Error

    I am using Mainstage 3. I installed the Air Instruments plugin Hybrid, Loom and Vacumm Pro. It used to work fine until this week when I started getting a fatal error on Mainstage. Since then, I have uninstalled the plugins, reinstalled Mainstage, and

  • No Fat32 option in Disk Utility

    I'm running OS 10.4.11 and I have an external HD that I need to transfer files from my Mac to be used on a PC. I am trying to format the HD so it can be used on both, but I do not have FAT32 as an option. How do I format this external HD to be used o

  • My iPod keeps shutting off and not responding

    My iPod started restarting itself and opening back up every three days. It is completely charged when it shuts off but when it opens back up it needs to be charged. This started happening recently and I don't know why. Help? My home button is broken

  • I have just done the new itunes update and now it wont let me sync my phone ?

    Hi Guys, I have just done the new Itunes update and now when i plug my phone into the computer it dose not recongnise my phone through itunes and will not let me snyc, backup or update it. What did i do ? sorry what should i do ?