<?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: Function module falling SO_NEW_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500690#M1064893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes full email id iam providing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 06:28:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-01T06:28:41Z</dc:date>
    <item>
      <title>Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500688#M1064891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When iam using the function module SO_NEW_DOCUMENT_SEND_API1 it is giving the sy-subrc as 2 .iam using this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Collect the Email,Message type Message body present in the internal table to send an email&lt;/P&gt;&lt;P&gt;  WA_MAILDATA-obj_descr = IS_BACKMON-Message_Subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Collect the mailid and reciver type to send an email&lt;/P&gt;&lt;P&gt;  WA_RECEIVER-receiver = 'Emailid'.&lt;/P&gt;&lt;P&gt;  WA_RECEIVER-rec_type  = 'U'.&lt;/P&gt;&lt;P&gt;  WA_RECEIVER-com_type = 'INT'.&lt;/P&gt;&lt;P&gt;  APPEND WA_RECEIVER to i_RECEIVER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Display the context of the message&lt;/P&gt;&lt;P&gt;  is_contents_txt = 'Test'.&lt;/P&gt;&lt;P&gt;  APPEND is_contents_txt to i_contents_txt.&lt;/P&gt;&lt;P&gt;  clear i_contents_txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Send an Email to a Particular person&lt;/P&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            document_data              =  WA_MAILDATA&lt;/P&gt;&lt;P&gt;            document_type              = 'HTM'&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;            OBJECT_CONTENT              = i_contents_txt&lt;/P&gt;&lt;P&gt;            receivers                  = i_RECEIVER&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;  if sy-subrc  eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me if you hav answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500688#M1064891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500689#M1064892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WA_RECEIVER-receiver = l_email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the variable l_email should contain the full email id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500689#M1064892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500690#M1064893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes full email id iam providing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500690#M1064893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500691#M1064894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;change the document type to RAW&lt;/STRONG&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;Anbu B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anbu B on Oct 1, 2008 8:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500691#M1064894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500692#M1064895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nothing is there in SCOT no waiting messages are there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500692#M1064895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500693#M1064896</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;Is it creating an outgooing email entry in my SAP outbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500693#M1064896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500694#M1064897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes when iam using the same code in another cleint it is working fine but when iam using in my client it is not working and giving the sy-subrc as 2 . May be some settings need to be done in "SCOT' tcode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500694#M1064897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T06:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Function module falling SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500695#M1064898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;*Display the context of the message&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; is_contents_txt = 'Test'.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; APPEND is_contents_txt to i_contents_txt.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; clear i_contents_txt.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why you are clearing every time &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; i_contents_txt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;then it is ok,change setting in scot may be your client is not connected with the mail server or it is using different port for sending mail.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 05:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-falling-so-new-document-send-api1/m-p/4500695#M1064898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T05:51:26Z</dc:date>
    </item>
  </channel>
</rss>

