<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sending a mail in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459570#M1250932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After bringing your final alv data in the final internal table,&lt;/P&gt;&lt;P&gt;go through this link , i also had an same requirement to send data after converting to excel file and&lt;/P&gt;&lt;P&gt;send it as an attachment to mail id outside Sap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/to%252bsend%252b2%252bint%252btables%252bdata%252bas%252btwo%252battachments%252bto%252bmail%252bid%252boutside%252bsap%252bsystem" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/to%252bsend%252b2%252bint%252btables%252bdata%252bas%252btwo%252battachments%252bto%252bmail%252bid%252boutside%252bsap%252bsystem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this object and it was working fine using that function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2009 12:00:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-29T12:00:44Z</dc:date>
    <item>
      <title>Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459568#M1250930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;I need some help plz:&lt;/P&gt;&lt;P&gt;I'm using the module function: SO_NEW_DOCUMENT_ATT_SEND_API1 to send a sap mail.&lt;/P&gt;&lt;P&gt;I'd like: when the addressees connect to SAP, they receive a popup to prevent them that they have new mail. &lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT wt_user INTO ws_user.
    MOVE ws_user-users TO reclist-receiver.
    reclist-rec_type = 'B'.
    reclist-express = ws_user-express.
    APPEND reclist.
  ENDLOOP.

* Sending the document
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data              = doc_chng
      put_in_outbox              = 'X'
    TABLES
      packing_list               = objpack
      object_header              = objhead
      contents_bin               = objbin
      contents_txt               = objtxt
      receivers                  = reclist
    EXCEPTIONS
      too_many_receivers         = 1
      document_not_sent          = 2
      operation_no_authorization = 4
      OTHERS                     = 99.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Do you have any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459568#M1250930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459569#M1250931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the tables parameter, receivers (reclist in your case) you have to pass the value 'X' to the parameter 'EXPRESS'. Then it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459569#M1250931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459570#M1250932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After bringing your final alv data in the final internal table,&lt;/P&gt;&lt;P&gt;go through this link , i also had an same requirement to send data after converting to excel file and&lt;/P&gt;&lt;P&gt;send it as an attachment to mail id outside Sap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/to%252bsend%252b2%252bint%252btables%252bdata%252bas%252btwo%252battachments%252bto%252bmail%252bid%252boutside%252bsap%252bsystem" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/to%252bsend%252b2%252bint%252btables%252bdata%252bas%252btwo%252battachments%252bto%252bmail%252bid%252boutside%252bsap%252bsystem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this object and it was working fine using that function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459570#M1250932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459571#M1250933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in RECEIVERS  structure pass EXPRESS as 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will work othere from  the reciver side the settings has to do ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever mail come to inbox it has to give popup it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~linganna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459571#M1250933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459572#M1250934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It doesn't work where in RECEIVERS structure i put  'X' in EXPRESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 13:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459572#M1250934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459573#M1250935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;to send mails use this:&lt;/P&gt;&lt;P&gt;FORM docu_send_email USING pv_otfdata TYPE tsfotf&lt;/P&gt;&lt;P&gt;pv_emailid TYPE any&lt;/P&gt;&lt;P&gt;pv_formname TYPE any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_filesize TYPE i,&lt;/P&gt;&lt;P&gt;lv_buffer TYPE string,&lt;/P&gt;&lt;P&gt;lv_attachment TYPE i,&lt;/P&gt;&lt;P&gt;lv_testo TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: li_pdfdata TYPE STANDARD TABLE OF tline,&lt;/P&gt;&lt;P&gt;li_mess_att TYPE STANDARD TABLE OF solisti1,&lt;/P&gt;&lt;P&gt;li_mtab_pdf TYPE STANDARD TABLE OF tline,&lt;/P&gt;&lt;P&gt;li_objpack TYPE STANDARD TABLE OF sopcklsti1,&lt;/P&gt;&lt;P&gt;li_objtxt TYPE STANDARD TABLE OF solisti1,&lt;/P&gt;&lt;P&gt;li_objbin TYPE STANDARD TABLE OF solisti1,&lt;/P&gt;&lt;P&gt;li_reclist TYPE STANDARD TABLE OF somlreci1,&lt;/P&gt;&lt;P&gt;li_objhead TYPE soli_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lwa_pdfdata TYPE tline,&lt;/P&gt;&lt;P&gt;lwa_objpack TYPE sopcklsti1,&lt;/P&gt;&lt;P&gt;lwa_mess_att TYPE solisti1,&lt;/P&gt;&lt;P&gt;lwa_objtxt TYPE solisti1,&lt;/P&gt;&lt;P&gt;lwa_objbin TYPE solisti1,&lt;/P&gt;&lt;P&gt;lwa_reclist TYPE somlreci1,&lt;/P&gt;&lt;P&gt;lwa_doc_chng TYPE sodocchgi1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: lc_u TYPE char1 VALUE 'U',&lt;/P&gt;&lt;P&gt;lc_0 TYPE char1 VALUE '0',&lt;/P&gt;&lt;P&gt;lc_1 TYPE char1 VALUE '1',&lt;/P&gt;&lt;P&gt;lc_pdf TYPE char3 VALUE 'PDF',&lt;/P&gt;&lt;P&gt;lc_raw TYPE char3 VALUE 'RAW',&lt;/P&gt;&lt;P&gt;lc_ordform TYPE char15 VALUE 'ZORDCONFIRM_01',&lt;/P&gt;&lt;P&gt;lc_attachment TYPE char10 VALUE 'ATTACHMENT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;format = lc_pdf&lt;/P&gt;&lt;P&gt;max_linewidth = 132&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;bin_filesize = lv_filesize&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;otf = pv_otfdata&lt;/P&gt;&lt;P&gt;lines = li_pdfdata&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;err_max_linewidth = 1&lt;/P&gt;&lt;P&gt;err_format = 2&lt;/P&gt;&lt;P&gt;err_conv_not_possible = 3&lt;/P&gt;&lt;P&gt;err_bad_otf = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT li_pdfdata INTO lwa_pdfdata.&lt;/P&gt;&lt;P&gt;TRANSLATE lwa_pdfdata USING ' ~'.&lt;/P&gt;&lt;P&gt;CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.&lt;/P&gt;&lt;P&gt;CLEAR lwa_pdfdata.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE lv_buffer USING '~ '.&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;lwa_mess_att = lv_buffer.&lt;/P&gt;&lt;P&gt;APPEND lwa_mess_att TO li_mess_att.&lt;/P&gt;&lt;P&gt;CLEAR lwa_mess_att.&lt;/P&gt;&lt;P&gt;SHIFT lv_buffer LEFT BY 255 PLACES.&lt;/P&gt;&lt;P&gt;IF lv_buffer IS INITIAL.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Object with PDF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REFRESH li_objbin.&lt;/P&gt;&lt;P&gt;li_objbin] = li_mess_att[.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE li_objbin LINES lv_attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Object with main text of the mail.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objtxt = space.&lt;/P&gt;&lt;P&gt;APPEND lwa_objtxt TO li_objtxt.&lt;/P&gt;&lt;P&gt;CLEAR lwa_objtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE li_objtxt LINES lv_testo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create the document which is to be sent&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_doc_chng-obj_name = text-008.&lt;/P&gt;&lt;P&gt;lwa_doc_chng-obj_descr = text-008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_doc_chng-sensitivty = lc_0.&lt;/P&gt;&lt;P&gt;lwa_doc_chng-obj_prio = lc_1.&lt;/P&gt;&lt;P&gt;lwa_doc_chng-doc_size = lv_testo * 225.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pack to main body.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR lwa_objpack-transf_bin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The document needs no header (head_num = 0)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-head_num = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;body&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;lwa_objpack-body_num = lv_testo.&lt;/P&gt;&lt;P&gt;lwa_objpack-doc_type = lc_raw.&lt;/P&gt;&lt;P&gt;APPEND lwa_objpack TO li_objpack.&lt;/P&gt;&lt;P&gt;CLEAR lwa_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create the attachment.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the fields of the packing_list for the attachment:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-transf_bin = gc_x .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;lwa_objpack-head_num = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;body&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;lwa_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;lwa_objpack-body_num = lv_attachment.&lt;/P&gt;&lt;P&gt;lwa_objpack-doc_type = lc_pdf.&lt;/P&gt;&lt;P&gt;lwa_objpack-obj_name = lc_attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_objpack-obj_descr = text-008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_objpack-doc_size = lv_attachment * 255.&lt;/P&gt;&lt;P&gt;APPEND lwa_objpack TO li_objpack.&lt;/P&gt;&lt;P&gt;CLEAR lwa_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_reclist-receiver = pv_emailid.&lt;/P&gt;&lt;P&gt;lwa_reclist-rec_type = lc_u.&lt;/P&gt;&lt;P&gt;lwa_reclist-notif_del = gc_x.&lt;/P&gt;&lt;P&gt;lwa_reclist-notif_ndel = gc_x.&lt;/P&gt;&lt;P&gt;APPEND lwa_reclist TO li_reclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF li_reclist IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;document_data = lwa_doc_chng&lt;/P&gt;&lt;P&gt;put_in_outbox = gc_x&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;packing_list = li_objpack&lt;/P&gt;&lt;P&gt;object_header = li_objhead&lt;/P&gt;&lt;P&gt;contents_bin = li_objbin&lt;/P&gt;&lt;P&gt;contents_txt = li_objtxt&lt;/P&gt;&lt;P&gt;receivers = li_reclist&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;parameter_error = 5&lt;/P&gt;&lt;P&gt;x_error = 6&lt;/P&gt;&lt;P&gt;enqueue_error = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " DOCU_SEND_EMAIL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 13:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459573#M1250935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459574#M1250936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm sorry but it doesn't work, receivers don't receivr a popup to prevent them that they have new mail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 13:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459574#M1250936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T13:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459575#M1250937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Though you have tried all possible options, just try to do it as it might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try by adding Commit_work = 'X' in your existing FM and since you have also added EXPRESS = 'X' in the receiver's list that was also required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_data              = doc_chng&lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work               = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      packing_list               = objpack&lt;/P&gt;&lt;P&gt;      object_header              = objhead&lt;/P&gt;&lt;P&gt;      contents_bin               = objbin&lt;/P&gt;&lt;P&gt;      contents_txt               = objtxt&lt;/P&gt;&lt;P&gt;      receivers                  = reclist&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      OTHERS                     = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 14:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459575#M1250937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T14:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459576#M1250938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;The commit + express give a popup in live (when the receiver is connected). &lt;/P&gt;&lt;P&gt;But when the receiver is disconnected while the mail has been sent, once connected the receiver does not receive any popup to prevent him that he has a new mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any another idea?&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 14:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459576#M1250938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sending a mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459577#M1250939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mehdi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the normal scenario the user should get the pop up stating that there is an unread item in your inbox..&lt;/P&gt;&lt;P&gt;If this is not happening, then I think you should contact your BASIS guys for it.&lt;/P&gt;&lt;P&gt;Because as per my knowledge there is nothing left from the technical side, as you have already implemented all possible options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish Arora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 14:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-a-mail/m-p/5459577#M1250939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T14:35:42Z</dc:date>
    </item>
  </channel>
</rss>

