<?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 Mail is not send by  function module SO_NEW_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501567#M1421904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expart,&lt;/P&gt;&lt;P&gt;In  BADI HRPAD00INFTY I AM USING A FUNCTION MODULE  SO_NEW_DOCUMENT_SEND_API1 but It is triggering a exception  DOCUMENT_NOT_SENT          = 2.&lt;/P&gt;&lt;P&gt;What may be the reason is that it is because I took the RECEIVER table as itab without header line but in object oriented contents&lt;/P&gt;&lt;P&gt;I can not use table with header line give the solution .&lt;/P&gt;&lt;P&gt;Kindly give me soulation asap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 07:46:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-21T07:46:00Z</dc:date>
    <item>
      <title>Mail is not send by  function module SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501567#M1421904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expart,&lt;/P&gt;&lt;P&gt;In  BADI HRPAD00INFTY I AM USING A FUNCTION MODULE  SO_NEW_DOCUMENT_SEND_API1 but It is triggering a exception  DOCUMENT_NOT_SENT          = 2.&lt;/P&gt;&lt;P&gt;What may be the reason is that it is because I took the RECEIVER table as itab without header line but in object oriented contents&lt;/P&gt;&lt;P&gt;I can not use table with header line give the solution .&lt;/P&gt;&lt;P&gt;Kindly give me soulation asap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 07:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501567#M1421904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mail is not send by  function module SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501568#M1421905</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;You can check the entries in the Reciever Table in the function module or might be debugg the function module to find the reason why it is giving the exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Jatender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 07:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501568#M1421905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T07:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mail is not send by  function module SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501569#M1421906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;it_objtxt     TYPE STANDARD TABLE OF solisti1   ,
          it_objpack    TYPE STANDARD TABLE OF sopcklsti1 ,
          it_objbin     TYPE STANDARD TABLE OF solisti1   ,
          it_objhead    TYPE STANDARD TABLE OF solisti1   ,
          it_reclist    TYPE STANDARD TABLE OF somlreci1  .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA l_sender TYPE soextreci1-receiver.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
      document_data              = v_emailattr
      put_in_outbox              = 'X'
      sender_address             = l_sender
      sender_address_type        = 'INT'
      commit_work                = 'X'
    TABLES
      packing_list               = it_objpack
      object_header              = it_objhead
      contents_bin               = it_objbin
      contents_txt               = it_objtxt
      receivers                  = it_reclist
    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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 08:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mail-is-not-send-by-function-module-so-new-document-send-api1/m-p/6501569#M1421906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T08:02:24Z</dc:date>
    </item>
  </channel>
</rss>

