To send a mail along with a csv attachment.

Hi All,
my requirement is to send a mail along with a csv file attached to it. Could someone provide me their valuable comments that will guide me. I am using the function module.
SO_NEW_DOCUMENT_ATT_SEND_API1.

https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=6015600
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=3640641
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=6879100
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=5281059

Similar Messages

  • I'm picking up all of the data script related to the sending / receipt of an e-mail along with the e-mail itself and can't find a way of not showing the text. Obviusly only a command but can't find it!

    I'm picking up all of the data script related to the sending / receipt of an e-mail along with the e-mail itself and can't find a way of not showing the text. Obviusly only a command but can't find it! Help!

    Shift-Command-H is the key-combo to switch 'Long Header'/'Standard Header' .
    Long way: Top Menu -> View -> E-Mail
    Stefan

  • How to include body of the mail along with attachment using the below FM

    Hi All,
    I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to generate an e-mail with excel file as attachment. Can you please  let me know how to include body of the e-mail along with this attachment.
    Thanks & Regards
    Gowthami

    hi,
    see this code
    TABLES: apqi.                         "Queue info definition
    TYPES DECLARATION
    *& Global Types
    TYPE-POOLS: slis,                     "Type for alv list
                sx.                       "SAP connect
    TYPE-POOLS: list.
    *& Types
    TYPES: BEGIN OF s_itab_apqi.
            INCLUDE STRUCTURE apqi.
    TYPES: END OF s_itab_apqi.
               INTERNAL TABLE / WORK AREA DECLARATION             *
    *&  For email  attachment
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE  0
                    WITH HEADER LINE.
    DATA:   it_packing_list  LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            it_contents      LIKE solisti1 OCCURS 0 WITH HEADER LINE  ,
            it_receivers     LIKE somlreci1 OCCURS 0 WITH HEADER LINE ,
            it_attachment    LIKE solisti1 OCCURS 0 WITH HEADER LINE  ,
            it_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE  .
    DATA:   v_cnt            TYPE i                                   ,
            v_sent_all(1)    TYPE c                                   ,
            v_doc_data       LIKE sodocchgi1                          ,
            gd_error         TYPE sy-subrc                            ,
            gd_reciever      TYPE sy-subrc                            .
    DATA: p_email   TYPE somlreci1-receiver
                                 VALUE 'mail id here of the reciever'.
    *&   Variable for attachment name
    DATA: v_attach(12).
    *&   Internal table to get data from apqi table
    table here
    DATA: ws_line TYPE slis_listheader.
    DATA: it_list_top_of_page TYPE slis_t_listheader.
    CONSTANTS : v_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
    VARIABLE DECLARATION
    DATA: v_colpos        TYPE i.
    DATA: v_transcnt(10)  TYPE c,
          v_transcnte(10) TYPE c,
          v_transcntf(10) TYPE c,
          v_msgcnt(10)    TYPE c,
          v_qid(20)       TYPE c.
    DATA  v_tot_rec(3)    TYPE n.
    DATA :v_date(10) TYPE c,
          v_time(8) TYPE c .
    DATA: v_fromdate(10) .
    DATA: v_todate(10) .
    SELCTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-015.
    PARAMETERS:
    SELECTION-SCREEN END OF BLOCK blk1.
    AT SELCTION SCREEN
    AT SELECTION-SCREEN.
      IF p_dfrom IS INITIAL AND
         NOT p_dato IS INITIAL.
        MESSAGE e000(zp) WITH text-020.
      ENDIF.
    START OF SELECTION
    START-OF-SELECTION.
    *&  To get data from APQI table into internal table
      PERFORM populate_itab.
    **To Populate table with details to be entered into .xls file
      PERFORM build_xls_data_table.
    END OF SELECTION
    END-OF-SELECTION.
    *& To display ALV list when IT_APQI is not initial
      IF NOT it_apqi[] IS INITIAL.
    *&-- Send an Notification email
        PERFORM send_email .
    *&--To populate fields for ALV
        PERFORM build_fieldcat   .
        PERFORM build_eventcat   .
        PERFORM e04_comment_build  USING it_list_top_of_page[].
        PERFORM build_layout     .
        PERFORM build_sortcat    .
        PERFORM start_list_viewer.
      ELSE.
    *&-- If no record exists in IT_APQI internal table then message is displayed
        MESSAGE s000(zp) WITH text-021.
      ENDIF.
    FORMS **********************************
    populate itab here -
    *&      Form  BUILD_FIELDCAT
    FORM build_fieldcat .
    ENDFORM.                    " BUILD_FIELDCAT
    *&      Form  BUILD_EVENTCAT
    FORM build_eventcat .
      DATA: v_header(25) .
      CONCATENATE 'ZPIPY016' p_dfrom p_dato INTO v_header.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_eventcat[]
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      READ TABLE it_eventcat WITH KEY name = slis_ev_top_of_page
                                 INTO wa_eventcat.
      IF sy-subrc = 0.
        MOVE v_formname_top_of_page TO wa_eventcat-form.
        APPEND wa_eventcat TO it_eventcat.
      ENDIF.
    ENDFORM.                    " BUILD_EVENTCAT
    *&      Form  BUILD_LAYOUT
    FORM build_layout .
      ws_layout-no_keyfix           = 'X'.
      ws_layout-group_buttons       = 'X'.
      ws_layout-colwidth_optimize   = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  BUILD_SORTCAT
    FORM build_sortcat .
      CLEAR wa_sortcat.
      CLEAR v_colpos.
    ENDFORM.                    " BUILD_SORTCAT
    *&      Form  START_LIST_VIEWER
    FORM start_list_viewer .
      DATA: ws_pgm  LIKE sy-repid.
    *& To Display ALV list
      ws_pgm = sy-repid.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = ws_pgm
          is_layout          = ws_layout
          it_fieldcat        = it_fieldcat
          it_sort            = it_sortcat
          i_save             = 'A'
          it_events          = it_eventcat
        TABLES
          t_outtab           = it_apqi
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    ENDFORM.                    " START_LIST_VIEWER
    *&      Form  BUILD_XLS_DATA_TABLE
    FORM build_xls_data_table .
      CLASS cl_abap_char_utilities DEFINITION LOAD.
      CONSTANTS: con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
                 con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    *& To populate it_attach table to be send as email.
      CONCATENATE 'Error of transaction SM35' ' '
         INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
    *& To gettotal number of error records
      DESCRIBE TABLE it_apqi LINES v_tot_rec .
      CONCATENATE  'Number of Errors  = '  v_tot_rec
                INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      CONCATENATE text-001
                  text-002
                  text-003
                  text-004
                  text-005
                  text-006
                  text-007
                  text-008
                  text-009
                  text-010
                  text-011
                  text-012
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
    *& To populate it_attach from it_apqi
      LOOP AT it_apqi INTO wa_apqi.
    *& To get the date format in DD/MM/YYYY
        WRITE wa_apqi-credate TO v_date  DD/MM/YYYY.
    *& To get time format in hh:mm:ss.
        v_time = wa_apqi-cretime.
        CONCATENATE  v_time(2) ':' v_time2(2) ':' v_time4(2) INTO v_time.
        v_transcnt  = wa_apqi-transcnt.
        v_transcnte = wa_apqi-transcnte.
        v_transcntf = wa_apqi-transcntf.
        v_msgcnt    = wa_apqi-msgcnt.
        v_qid       = wa_apqi-qid.
        CONCATENATE wa_apqi-groupid wa_apqi-creator
                         wa_apqi-qstate v_date
                         v_time wa_apqi-progid
                         wa_apqi-userid  v_transcnt
                         v_transcnte v_transcntf
                         v_msgcnt v_qid
                   INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach  .
        CLEAR   it_attach  .
        CLEAR:  v_transcnt ,
                v_transcnte,
                v_transcntf,
                v_msgcnt   ,
                v_qid      ,
                v_date     ,
                v_time     .
      ENDLOOP.
    ENDFORM  .                    " BUILD_XLS_DATA_TABLE
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
    FORM populate_email_message_body .
      REFRESH it_message.
      it_message = 'message here'.
      APPEND it_message.
      CLEAR it_message.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
    FORM send_file_as_email_attachment TABLES pit_message
                                              pit_attach
                                        USING p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     CHANGING p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      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.
      v_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      v_doc_data-obj_langu = sy-langu.
      v_doc_data-obj_name  = 'SAPRPT'.
      v_doc_data-obj_descr = ld_mtitle .
      v_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR v_doc_data.
      READ TABLE it_attach INDEX v_cnt.
      v_doc_data-doc_size =
         ( v_cnt - 1 ) * 255 + STRLEN( it_attach ).
      v_doc_data-obj_langu  = sy-langu.
      v_doc_data-obj_name   = 'SAPRPT'.
      v_doc_data-obj_descr  = ld_mtitle.
      v_doc_data-sensitivty = 'F'.
      CLEAR it_attachment.
      REFRESH it_attachment.
      it_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      APPEND it_packing_list.
    Create attachment notification
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num   = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
      it_packing_list-doc_type   =  ld_format.
      it_packing_list-obj_descr  =  ld_attdescription.
      it_packing_list-obj_name   =  ld_attfilename.
      it_packing_list-doc_size   =  it_packing_list-body_num * 255.
      APPEND it_packing_list.
    Add the recipients email address
      CLEAR it_receivers.
      REFRESH it_receivers.
      it_receivers-receiver = ld_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      APPEND it_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = v_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                = v_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_bin               = it_attachment
          contents_txt               = it_message
          receivers                  = it_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 it_receivers.
        ld_receiver = it_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT
    *&      Form  SEND_EMAIL
    FORM send_email .
    Populate message body text
      PERFORM populate_email_message_body.
      PERFORM send_file_as_email_attachment
                                   TABLES it_message
                                          it_attach
                                    USING p_email
                                          'Error Sessions from SM35'
                                          'XLS'
                                          'filename'
                                          v_attach
                                 CHANGING gd_error
                                          gd_reciever.
    ENDFORM.                    " SEND_EMAIL
    *&      Form  E04_COMMENT_BUILD
          text
         -->E04_LT_TOP_OF_PAGE  text
    FORM e04_comment_build USING lt_top_of_page TYPE slis_t_listheader.
      CLEAR: v_fromdate,
             v_todate.
      WRITE p_dfrom TO v_fromdate  DD/MM/YYYY.
      WRITE p_dato TO  v_todate    DD/MM/YYYY.
    *& To write header in ALV list
    *& Program name
      CLEAR ws_line.
      ws_line-typ  = 'H'.
      ws_line-info = text-016.
      APPEND ws_line TO lt_top_of_page.
      CLEAR ws_line.
      ws_line-typ  = 'S'.
      ws_line-key = text-018.
      ws_line-info = v_tot_rec.
      APPEND ws_line TO lt_top_of_page.
    *& Date from
      CLEAR ws_line.
      ws_line-typ  = 'S'.
      ws_line-key  = text-050.
      ws_line-info = v_fromdate.
      APPEND ws_line TO lt_top_of_page.
    *& Date to
      CLEAR ws_line.
      ws_line-typ  = 'S'.
      ws_line-key  = text-051.
      ws_line-info = v_todate.
      APPEND ws_line TO lt_top_of_page.
    ENDFORM.                    "E04_COMMENT_BUILD
          FORM TOP_OF_PAGE                                              *
    FORM top_of_page.
    *& To write Heading in Top of page
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_list_top_of_page.
    ENDFORM.                    "TOP_OF_PAGE
    thanks

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • Is anyone else having a problem sending a mail message with PDF attached?

    Is anyone else having a problem sending a mail message with PDF attached? I receive the following message:
    Sending the message content to the server failed.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
    Is there a fix for this?

    Anyone?  I was hoping my problem would just 'fix itself'...  but I still have some clients telling me they're not receiving any email from me.  I've since deleted that account on my computers and re-added it.  But still having the same issue. 

  • .Once the billing document is saved, then an auto-generated mail along with

    please provide me with solution on this real time ticket..
    Once the billing document is saved, then an auto-generated mail along with PDF copy of  invoice has to trigger to customer contact person.

    please provide me with solution on this real time ticket..
    Once the billing document is saved, then an auto-generated mail along with PDF copy of  invoice has to trigger to customer contact person.

  • Notes in Mail: Every time I type a new note it is emailed to my Mail along with a new note for every change I make to it

    Notes in Mail: Every time I type a new note it is emailed to my Mail along with a new note for every change I make to it.
    I don't mind the Note being updated in my mail but I don't need a new copy every time I edit/add to the note.
    It's driving me mad!
    Thanks.

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Sending Body of letter Through mail along with PDF file.

    Dear friends,
          I want to write some text in the mail(Body) while sending the PDF file.
              Now I am sending PDF file , besides PDF file I have to write some text in the mail.
                     Please help me .
                                                                            Thanks ,
                                                                              Praveen.

    here is sample code.... Check the perform set_up_email_body.....
    FORM send_mail .
    Set up the header,body ,file attachment of the message.
      PERFORM set_up_email_hdr.
      PERFORM set_up_email_body.
      PERFORM set_up_att_file.
      CLEAR: wa_objtxt.
      SORT t_fieldcat BY no_out col_pos.
    Set up patcking list for attachment
      wa_objpack-body_start = w_tabln + 1.
    Loop at report and separate by semi-colons
      CLEAR: w_tabln.
      SORT t_fieldcat BY no_out col_pos.
    Loop at report and append header values
      LOOP AT t_fieldcat INTO fs_fieldcat WHERE no_out = space.
        IF wa_objtxt IS INITIAL.
          wa_objtxt = fs_fieldcat-seltext_l.
        ELSE.
          CONCATENATE wa_objtxt
                      fs_fieldcat-seltext_l
                 INTO wa_objtxt
         SEPARATED BY c_comma.
        ENDIF.                             " IF WA_OBJTXT ...
        CONDENSE wa_objtxt NO-GAPS.
      ENDLOOP.                             " LOOP AT T_FIELDCAT ...
      IF sy-subrc EQ 0.
        APPEND wa_objtxt TO t_objtxt.
      ENDIF.                               " IF SY-SUBRC ...
    Fill Email attachment
      PERFORM fill_email_report.
      DESCRIBE TABLE t_objtxt LINES w_tabln.
      CLEAR W_LINE.
      READ TABLE t_objtxt INTO w_line INDEX w_tabln.
      IF SY-SUBRC EQ 0.
        fs_docda-doc_size = ( w_tabln - c_1 ) * 255 + STRLEN( w_line ).
        wa_objpack-body_num = w_tabln.
        wa_objpack-doc_size = w_tabln * 255.
        APPEND wa_objpack TO t_objpack.
    Add receipients to the mail.
        PERFORM add_recipients.
    send the mail
        PERFORM call_send.
      ENDIF.                               " IF SY-SUBRC EQ 0.
    ENDFORM.                               " SEND_MAIL
    *&      Form  add_recipients
          This subroutine is used to add receipients to send mail.
          There are no parameters passed to this subroutine.
    FORM add_recipients .
      IF p_user IS NOT INITIAL.
        wa_receiver-receiver = p_user.
        wa_receiver-rec_type = c_u.
        APPEND wa_receiver TO t_receiver.
      ELSE.
        wa_receiver-receiver = p_dlist.
        wa_receiver-rec_type = c_c.
        APPEND wa_receiver TO t_receiver.
      ENDIF.                               " IF P_USER ...
    ENDFORM.                               " ADD_RECIPIENTS
    *&      Form  call_send
          This subroutine is used to send the mail.
          There are no parameters passed to this subroutine.
    FORM call_send .
      IF t_objtxt[] IS NOT INITIAL.
    Send the mail.
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
          EXPORTING
            document_data              = fs_docda
            put_in_outbox              = c_x
            commit_work                = c_x
          TABLES
            packing_list               = t_objpack
            object_header              = t_objhead
            contents_txt               = t_objtxt
            receivers                  = t_receiver
          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.
        IF sy-subrc NE 0.
          MESSAGE s100(ra) WITH text-e05.
          STOP.
        ELSE.
          MESSAGE s100(ra) WITH text-026.
        ENDIF.                             " IF SY-SUBRC ...
      ELSE.
        MESSAGE s100(ra) WITH text-029.
        STOP.
      ENDIF.                               " IF T_OBJTXT[] ...
    ENDFORM.                               " CALL_SEND
    *&      Form  set_up_email_hdr
          This subroutine is used to Setup the attributes of the Document
          There are no interface parameters to this subroutine.
    FORM set_up_email_hdr .
      MOVE text-i03 TO fs_docda-obj_name.
      IF sy-sysid+0(1) NE c_p.
        CONCATENATE text-i02 text-i03 INTO fs_docda-obj_descr.
      ELSE.
        MOVE text-i03 TO fs_docda-obj_descr.
      ENDIF.                               " IF SY-SYSID+0(1) ...
    ENDFORM.                               " SET_UP_EMAIL_HDR
    *&      Form  set_up_email_body
          This subroutine is used to set body of an email
          There are no interface parameters to this subroutine.
    FORM set_up_email_body .
    Setting the attributes of the document.
      IF P_ZCR3 EQ C_X.
        wa_objtxt-line = text-007.
      ELSEIF P_REL EQ C_X  AND P_CHECK NE C_X.
        wa_objtxt-line = text-008.
      ELSEIF P_REL EQ C_X AND P_CHECK EQ C_X.
        wa_objtxt-line = text-008.
      ELSE.
        wa_objtxt-line = text-009.
      ENDIF.                               " IF P_ZCR3 ...
      APPEND wa_objtxt TO t_objtxt.
      DESCRIBE TABLE t_objtxt LINES w_tabln.
      CLEAR W_LINE.
      READ TABLE t_objtxt INTO w_line INDEX w_tabln.
      IF SY-SUBRC EQ 0.
        fs_docda-doc_size = ( w_tabln - 1 ) * 255 + STRLEN( w_line ).
        wa_objpack-head_start = c_1.
        wa_objpack-head_num   = c_0.
        wa_objpack-body_start = c_1.
        wa_objpack-body_num   = w_tabln.
        wa_objpack-doc_type   = c_RAW.
        APPEND wa_objpack TO t_objpack.
      ENDIF.                               " IF SY-SUBRC EQ 0.
    ENDFORM.                               " SET_UP_EMAIL_BODY
    *&      Form  set_up_att_file
          This subroutine is used to set up an attachment file.
          There are no interface parameterst that need to be passed to
          this subroutine.
    FORM set_up_att_file .
    Attaching the file to the mail.
      wa_objhead-line = c_fname.
      APPEND wa_objhead TO t_objhead.
      wa_objpack-head_start = c_1.
      wa_objpack-head_num   = c_1.
      wa_objpack-body_start = w_tabln.
      wa_objpack-doc_type   = c_CSV.
      IF P_ZCR3 EQ C_X.
        wa_objpack-obj_name   = text-012.
        wa_objpack-obj_descr  = text-012.
      ELSEIF P_REL EQ C_X.
        wa_objpack-obj_name   = text-027.
        wa_objpack-obj_descr  = text-027.
      ELSE.
        wa_objpack-obj_name   = text-028.
        wa_objpack-obj_descr  = text-028.
      ENDIF.                               " IF P_ZCRE EQ....
    ENDFORM.                               " SET_UP_ATT_FILE

  • I receive a large amount of duplicate emails in my own boxes that i have sent to others. when deleted they return every time i check my mail. along with any messages i have deleted  from others can someone please help me?

    when i send an email to someone i recieve multiple copies of it it my folders [ usally varying between all mail, trash, and important] they all say my name on them. i recieve about 20 - 40 of them at a time , even after i delete them next time i check my mail they are back . along with this any message that has been sent to me in the past that i have deleted also reappears but only  as single messages. im recieving hundreds of all these a day and it has made my email become unmanagable and im extremly frustrated. my computer is new and i never made any change to the preferences before this started happening so i have no idea . has anyone had this problem , have any ideas or know how to fix it? your help would be greatly appreciated . also to add i also recieve them whenever checking mail on my iphone i never had a problem on the phone until i activated the email on my new imac. and the email app uses my gmail acount if that helps?

    no, I didn't ask to burn a picture....this is why I am confused to how the picture got on there.
    I understand what you are saying regarding the multi-session thing (how do I avoid this if my other cds with photos on them have this, and I don't know they do?)
    but what I do know is that cd had photos on it (it definately wasn't full, and maybe that is why I haven't had a problem with others...they have all been full) and no one else uses my Mac, so I know no one else put the picture on that cd. I may have inadvertantly burned the picture, but if I did, I don't know what I did to make it burn the picture onto the cd.....
    The only thing that happened was I opened iphoto so I could save some of the pictures that were already on the disc, but when I went to look for the pictures on the cd, the only thing that was on it, was an iphoto picture....which I didn't ask to be put there.....
    I have previously burned pictures onto CD using my Mac with no problem, and I've pulled pictures off CD that were burned using a PC. So I guess I need to know how to determine if the cds have this multi-session thing going on?
    iMac Intel Core Duo   Mac OS X (10.4.7)  

  • Cannot send/receive mails anymore with BB9300

    Hi, since the last 2 weeks, mails do not arrive to nor leave anymore from BB 9300.
    When I try to change my mail address, I cannot access the server
    Error message is "your terminal encounters a problem when trying to connect to the application server"
    What should I do to fix the problem ?
    Thank you

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Delete and Resend Service Books (pre-BB10 devices only)
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Sending internet mail error with cl_smtp_response

    We've a problem sending a external mail via smtp (lotus Notes v.6.5) with sapconnect on Sap version 4.7.
    With a telnet we can send external mails, but via sapconnect the system returns an error code
    554 554 relay rejected for policy reasons.
    Can anybody help us in order to solve this problem??
    Thanks

    Have you set your Notes server to accept the email addresses defined in your user in SAP (su01) ?
    Here are some great links for following up on email and SAP.
    How can i send an extranal mail from R/3

  • When I start using my yahoo mail account , I can't send / forward mail but with IE the problem just vanished

    I have been using Firefox since last couple of months and initially I was happy but recently with the issue I have highlighted , taken help of Yahoo but could not be resolved. When I have gone back to IE , the problem has been resolved .

    Sorry, I have no idea what you mean by '''"The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin,"'''.
    If you think your problem is caused by the Java plugin, you should visit the Java support forum for assistance.
    http://forum.java.sun.com/index.jspa
    If you could explain what you mean by '''"time unfriendly''' issue with my e-mail account", maybe we'll be able to help you solve that issue.
    It might be helpful for us if we knew exactly which web-mail provider you are using. It seems strange to me that viewing or sending web-mail would actually "need" Java for operation, its more likely that some other item on the web page needs Java to run some advertising or other garbage that isn't a necessary part of the web-mail functionality you want to use.

  • How to send URL link along with text in an email using FM.

    Hi Experts,
    I am sending an e-mail for status notifications.
    In the mail, the user will clik on the URL to do actions through the link.
    Ex:
    Dear,
    Please go through the link htttp://appear.upload/records/update.
    When user clicks on htttp.... url it should open the portal.
    I am sending text mails but unable to open the site url action .
    Regards,
    prasad

    Hi ,
    Pls check below link.
    http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage

  • Send RFQ to Vendor with all its Attached documents

    Hi,
    My requirement is to Develop Program which send(Email) RFQ data to Vendor along with all documents in attachment list of ME42.
    Standard solution: use ZENU output type but it do not send documents in attachment list.
    Your response is highly valuable.
    Thanks

    Hi Rajat,
    I think maybe you need to use tr-code "NACE".
    1. Choose Application "EA" (Purchasing RFQ)
    2.Click "Output types" or press "F5"
    3.Choose Output Types "NEU" (RFQ)
    4.Click "Processing routines" to check whether below red part are have forms.
    If not have, I think you may need to copy program "SAPFM06P" to a z* program and change the form name here as z* and add your PDF forms here.
    Regards

  • Send E-mail To Recipients From Recordset Attachment problem

    Hello !
    I got a recordset which stored a list of recipients emails.
    CREATE TABLE IF NOT EXISTS `tasks` (
    `id_task` mediumint(9) NOT NULL auto_increment,
    `id_procedure` mediumint(9) NOT NULL,
    `id_step` mediumint(9) NOT NULL,
    `lib_task` varchar(40) NOT NULL,
    `recipient_email` varchar(80) default NULL, <---------------- email to use
    `email_text` mediumtext,
    `url_document` varchar(100) default NULL, <------------------ name of document to send for THIS recipient as attachement
    PRIMARY KEY (`id_task`),
    KEY `id_procedure` (`id_procedure`),
    KEY `id_step` (`id_step`)
    There's less than 10 records to process.
    Table content :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 2
    RECIPIENT 3 DOCUMENT 3
    RECIPIENT 4 DOCUMENT 4
    RECIPIENT 5 DOCUMENT 5
    RECIPIENT 6 DOCUMENT 6
    I want to use the "Send E-mail to Recipients From Recordset" behaviour and Dynamic Datas.
    The problem is that each recipients are well processed but all of them receive the attach document of the FIRST one !
    Email results :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 1
    RECIPIENT 3 DOCUMENT 1
    RECIPIENT 4 DOCUMENT 1
    RECIPIENT 5 DOCUMENT 1
    RECIPIENT 6 DOCUMENT 1
    How can I fix it ?
    Thanks for your help. Jérôme.

    I try another way to do it, using a html link
    > function Trigger_EmailRecordset_E6(&$tNG) {
    $rsemailObj = new tNG_EmailRecordset($tNG);
    $rsemailObj->setRecordset("rsTasks");
    $rsemailObj->setFrom("{KT_defaultSender}");
    $rsemailObj->setTo("email_to");
    $rsemailObj->setSubject("{rsTasks.lib_task}");
    //WriteContent method
    $rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
    <a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
    $rsemailObj->setEncoding("UTF-8");
    $rsemailObj->setFormat("HTML/Text");
    $rsemailObj->setImportance("High");
    return $rsemailObj->Execute();
    I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
    Thanks. JM.

Maybe you are looking for

  • How to embed feeds in to a servlet/webpage

    i am working on a stock market simulation. i am planning to have the feeds of the latest stock prices(live) and other info regarding the market on my web page for the users. how do i embed the feeds into the servlet . i am using servlets and html for

  • Disc Utility and Repairing Disk

    First off: What is the difference between repairing permissions and repairing the disk? I assume permissions has to deal with key chains and repairing the disk? Anyway... I got an error message when trying to verify my Master HD. This is what the log

  • Text browser movement CSS

    Hello. I'm currently teching myself CSS and having one or two problems. The main one is that the text positions itself in different places for different browsers. It's in a <div> tag to give me better control. When I look at it in Int. Explorer it lo

  • Elements Organiser with iPhoto

    Is there any way to use Elements Organiser along side iPhoto but keep it from creating a duplicate photo library?  I want to keep iPhoto as my library organizer, but wanted to use Elements Organiser periodically to use the "create" tools like cards. 

  • Error Message For Correct Input.

    Hi, Im generating Vendor Report I want to Dispaly the Error Message for Invalid Input. If i give the Company Codes other than 1000,2000,3000, & 4000 it should give the Error as Invalid Company code...But For Correct company code also it is giving Err