<?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: How to send Mail without attachment using SO_OBJECT_SEND? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955684#M1155441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot use another function moduleSO_NEW_DOCUMENT_SEND_API1,coz lot of changes will be involved.&lt;/P&gt;&lt;P&gt;hence by using 'SO_OBJECT_SEND' how to send mails without attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per &lt;STRONG&gt;avinash suggestions&lt;/STRONG&gt; I have commented &lt;STRONG&gt;att_cont&lt;/STRONG&gt; ,but even then mails is going with attachment.&lt;/P&gt;&lt;P&gt;aslo from the below code u can see i am not using &lt;STRONG&gt;packing_list&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_hd_change           = x_object_hd_change         " document title ( scot title)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     object_type                = document_type             " pdf&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      owner                      = sy-uname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      sent_to_all                = x_sent_to_all&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      objcont                    = x_objcont&lt;/P&gt;&lt;P&gt;      objhead                    = x_objhead&lt;/P&gt;&lt;P&gt;      receivers                  = x_receivers&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     att_cont                   = x_attcont&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      note_text                  = x_note&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      active_user_not_exist      = 1&lt;/P&gt;&lt;P&gt;      communication_failure      = 2&lt;/P&gt;&lt;P&gt;      component_not_available    = 3&lt;/P&gt;&lt;P&gt;      folder_not_exist           = 4&lt;/P&gt;&lt;P&gt;      folder_no_authorization    = 5&lt;/P&gt;&lt;P&gt;      forwarder_not_exist        = 6&lt;/P&gt;&lt;P&gt;      note_not_exist             = 7&lt;/P&gt;&lt;P&gt;      object_not_exist           = 8&lt;/P&gt;&lt;P&gt;      object_not_sent            = 9&lt;/P&gt;&lt;P&gt;      object_no_authorization    = 10&lt;/P&gt;&lt;P&gt;      object_type_not_exist      = 11&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 12&lt;/P&gt;&lt;P&gt;      owner_not_exist            = 13&lt;/P&gt;&lt;P&gt;      parameter_error            = 14&lt;/P&gt;&lt;P&gt;      substitute_not_active      = 15&lt;/P&gt;&lt;P&gt;      substitute_not_defined     = 16&lt;/P&gt;&lt;P&gt;      system_failure             = 17&lt;/P&gt;&lt;P&gt;      too_much_receivers         = 18&lt;/P&gt;&lt;P&gt;      user_not_exist             = 19&lt;/P&gt;&lt;P&gt;      x_error                    = 20&lt;/P&gt;&lt;P&gt;      OTHERS                     = 21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2008 09:51:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-09T09:51:48Z</dc:date>
    <item>
      <title>How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955679#M1155436</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 one of my report,we used &lt;STRONG&gt;SO_OBJECT_SEND&lt;/STRONG&gt; for sending mails with PDF attachement.&lt;/P&gt;&lt;P&gt;What parameter,should i comment so that mail goes without attachment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For contents of attachment ,we have used standard text SO10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;awaiting for your valuable input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 07:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955679#M1155436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T07:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955680#M1155437</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 mail w/o an attachment, use this FM;-&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_SEND_API1&lt;/P&gt;&lt;P&gt;Let me know if u need any other clarification abt this FM&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 07:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955680#M1155437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T07:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955681#M1155438</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;&lt;/P&gt;&lt;P&gt;Coment the att_cont variable of the FM and attachement details in Packing list&lt;/P&gt;&lt;P&gt;Check the highlighted the lines in bold char &lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'QCE1_CONVERT'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_source_tab = l_otfdata_tab1&lt;/P&gt;&lt;P&gt;t_target_tab = l_objbin&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;convert_not_possible = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the Email Body to MAIL_CONTENT table &lt;/P&gt;&lt;P&gt;MOVE 'Thank you for your order' TO mail_content-line.&lt;/P&gt;&lt;P&gt;APPEND mail_content.&lt;/P&gt;&lt;P&gt;MOVE 'See attached PDF for your Order Confirmation' TO mail_content-line.&lt;/P&gt;&lt;P&gt;APPEND mail_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;packing_list-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;packing_list-head_num = 2.&lt;/P&gt;&lt;P&gt;packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESCRIBE TABLE l_objbin[] LINES packing_list-body_num.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;packing_list-body_num = 9999.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;packing_list-objtp = 'PDF'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;packing_list-objnam = 'Order Confirmation'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;packing_list-OBJDES = 'Order Confirmation'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;packing_list-file_ext = 'PDF'. &lt;/P&gt;&lt;P&gt;APPEND packing_list.&lt;/P&gt;&lt;P&gt;CLEAR packing_list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;object_hd_change = tsood1&lt;/P&gt;&lt;P&gt;object_type = 'RAW'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;objcont = mail_content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objcont = l_objbin &lt;/P&gt;&lt;P&gt;receivers = receivers&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;att_cont = l_objbin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;packing_list = packing_list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note_text = mail_content &lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;active_user_not_exist = 1&lt;/P&gt;&lt;P&gt;communication_failure = 2&lt;/P&gt;&lt;P&gt;component_not_available = 3&lt;/P&gt;&lt;P&gt;folder_not_exist = 4&lt;/P&gt;&lt;P&gt;folder_no_authorization = 5&lt;/P&gt;&lt;P&gt;forwarder_not_exist = 6&lt;/P&gt;&lt;P&gt;note_not_exist = 7&lt;/P&gt;&lt;P&gt;object_not_exist = 8&lt;/P&gt;&lt;P&gt;object_not_sent = 9&lt;/P&gt;&lt;P&gt;object_no_authorization = 10&lt;/P&gt;&lt;P&gt;object_type_not_exist = 11&lt;/P&gt;&lt;P&gt;operation_no_authorization = 12&lt;/P&gt;&lt;P&gt;owner_not_exist = 13&lt;/P&gt;&lt;P&gt;parameter_error = 14&lt;/P&gt;&lt;P&gt;substitute_not_active = 15&lt;/P&gt;&lt;P&gt;substitute_not_defined = 16&lt;/P&gt;&lt;P&gt;system_failure = 17&lt;/P&gt;&lt;P&gt;too_much_receivers = 18&lt;/P&gt;&lt;P&gt;user_not_exist = 19&lt;/P&gt;&lt;P&gt;x_error = 20&lt;/P&gt;&lt;P&gt;originator_not_exist = 21&lt;/P&gt;&lt;P&gt;OTHERS = 22.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 08:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955681#M1155438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955682#M1155439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  zsendemail                    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: psubject(40) type c default  'Hello',&lt;/P&gt;&lt;P&gt;            p_email(40)   type c default 'WRITE EMAIL ID' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   it_packing_list like sopcklsti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_contents like solisti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_receivers like somlreci1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_attachment like solisti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        gd_cnt type i,&lt;/P&gt;&lt;P&gt;        gd_sent_all(1) type c,&lt;/P&gt;&lt;P&gt;        gd_doc_data like sodocchgi1,&lt;/P&gt;&lt;P&gt;        gd_error type sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   it_message type standard table of SOLISTI1 initial size 0&lt;/P&gt;&lt;P&gt;                with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform populate_message_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Send email message, although is not sent from SAP until mail send&lt;/P&gt;&lt;P&gt;*program has been executed(rsconn01)&lt;/P&gt;&lt;P&gt;PERFORM send_email_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Instructs mail send program for SAPCONNECT to send email(rsconn01)&lt;/P&gt;&lt;P&gt;perform initiate_mail_execute_program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  POPULATE_MESSAGE_TABLE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Adds text to email text table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form populate_message_table.&lt;/P&gt;&lt;P&gt;  Append 'Email line 1' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 2' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 3' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 4' to it_message.&lt;/P&gt;&lt;P&gt;endform.                    " POPULATE_MESSAGE_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SEND_EMAIL_MESSAGE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Send email message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form send_email_message.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_doc_data-doc_size = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_name  = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_descr = psubject.&lt;/P&gt;&lt;P&gt;  gd_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Describe the body of the message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear it_packing_list.&lt;/P&gt;&lt;P&gt;  refresh it_packing_list.&lt;/P&gt;&lt;P&gt;  it_packing_list-transf_bin = space.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_num = 0.&lt;/P&gt;&lt;P&gt;  it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  describe table it_message lines it_packing_list-body_num.&lt;/P&gt;&lt;P&gt;  it_packing_list-doc_type = 'RAW'.&lt;/P&gt;&lt;P&gt;  append it_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add the recipients email address&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear it_receivers.&lt;/P&gt;&lt;P&gt;  refresh it_receivers.&lt;/P&gt;&lt;P&gt;  it_receivers-receiver = p_email.&lt;/P&gt;&lt;P&gt;  it_receivers-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;  it_receivers-com_type = 'INT'.&lt;/P&gt;&lt;P&gt;  it_receivers-notif_del = 'X'.&lt;/P&gt;&lt;P&gt;  it_receivers-notif_ndel = 'X'.&lt;/P&gt;&lt;P&gt;  append it_receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the FM to post the message to SAPMAIL&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              = gd_doc_data&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            sent_to_all                = gd_sent_all&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            packing_list               = it_packing_list&lt;/P&gt;&lt;P&gt;            contents_txt               = it_message&lt;/P&gt;&lt;P&gt;            receivers                  = it_receivers&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Store function module return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_error = sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get it_receivers return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  loop at it_receivers.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                    " SEND_EMAIL_MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  INITIATE_MAIL_EXECUTE_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Instructs mail send program for SAPCONNECT to send email.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form initiate_mail_execute_program.&lt;/P&gt;&lt;P&gt;  wait up to 2 seconds.&lt;/P&gt;&lt;P&gt;  if gd_error eq 0.&lt;/P&gt;&lt;P&gt;      submit rsconn01 with mode = 'INT'&lt;/P&gt;&lt;P&gt;                    with output = 'X'&lt;/P&gt;&lt;P&gt;                    and return.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 09:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955682#M1155439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T09:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955683#M1155440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="39690"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 09:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955683#M1155440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to send Mail without attachment using SO_OBJECT_SEND?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955684#M1155441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot use another function moduleSO_NEW_DOCUMENT_SEND_API1,coz lot of changes will be involved.&lt;/P&gt;&lt;P&gt;hence by using 'SO_OBJECT_SEND' how to send mails without attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per &lt;STRONG&gt;avinash suggestions&lt;/STRONG&gt; I have commented &lt;STRONG&gt;att_cont&lt;/STRONG&gt; ,but even then mails is going with attachment.&lt;/P&gt;&lt;P&gt;aslo from the below code u can see i am not using &lt;STRONG&gt;packing_list&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_hd_change           = x_object_hd_change         " document title ( scot title)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     object_type                = document_type             " pdf&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      owner                      = sy-uname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      sent_to_all                = x_sent_to_all&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      objcont                    = x_objcont&lt;/P&gt;&lt;P&gt;      objhead                    = x_objhead&lt;/P&gt;&lt;P&gt;      receivers                  = x_receivers&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     att_cont                   = x_attcont&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      note_text                  = x_note&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      active_user_not_exist      = 1&lt;/P&gt;&lt;P&gt;      communication_failure      = 2&lt;/P&gt;&lt;P&gt;      component_not_available    = 3&lt;/P&gt;&lt;P&gt;      folder_not_exist           = 4&lt;/P&gt;&lt;P&gt;      folder_no_authorization    = 5&lt;/P&gt;&lt;P&gt;      forwarder_not_exist        = 6&lt;/P&gt;&lt;P&gt;      note_not_exist             = 7&lt;/P&gt;&lt;P&gt;      object_not_exist           = 8&lt;/P&gt;&lt;P&gt;      object_not_sent            = 9&lt;/P&gt;&lt;P&gt;      object_no_authorization    = 10&lt;/P&gt;&lt;P&gt;      object_type_not_exist      = 11&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 12&lt;/P&gt;&lt;P&gt;      owner_not_exist            = 13&lt;/P&gt;&lt;P&gt;      parameter_error            = 14&lt;/P&gt;&lt;P&gt;      substitute_not_active      = 15&lt;/P&gt;&lt;P&gt;      substitute_not_defined     = 16&lt;/P&gt;&lt;P&gt;      system_failure             = 17&lt;/P&gt;&lt;P&gt;      too_much_receivers         = 18&lt;/P&gt;&lt;P&gt;      user_not_exist             = 19&lt;/P&gt;&lt;P&gt;      x_error                    = 20&lt;/P&gt;&lt;P&gt;      OTHERS                     = 21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 09:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-mail-without-attachment-using-so-object-send/m-p/4955684#M1155441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T09:51:48Z</dc:date>
    </item>
  </channel>
</rss>

