<?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 Need help: Sending mail to internet address without commit work statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267214#M1385957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;        I have a problem in sending mails from sap to internet address.Am using the function module &lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_SEND_API1 and am passing parameters like,&lt;/P&gt;&lt;P&gt;&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_TYPE  = 'RAW'&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;     TABLES&lt;/P&gt;&lt;P&gt;          OBJECT_CONTENT = OBJCONT&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; 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;&lt;/P&gt;&lt;P&gt;My problem here is,with the commit work statement after FM, the mail is triggering correctly.but if, am not using the commit work statement,at the very first time of execution mail is not triggering, and the second time of execution first mail is triggering like wise it is going.The status of the message is waiting in queue.&lt;/P&gt;&lt;P&gt;i have refresh receiver's list also.I want to use this concept in badi.So anyone can pls help me,how to send a mail without commit work statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2009 11:18:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-11T11:18:14Z</dc:date>
    <item>
      <title>Need help: Sending mail to internet address without commit work statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267214#M1385957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;        I have a problem in sending mails from sap to internet address.Am using the function module &lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_SEND_API1 and am passing parameters like,&lt;/P&gt;&lt;P&gt;&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_TYPE  = 'RAW'&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;     TABLES&lt;/P&gt;&lt;P&gt;          OBJECT_CONTENT = OBJCONT&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; 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;&lt;/P&gt;&lt;P&gt;My problem here is,with the commit work statement after FM, the mail is triggering correctly.but if, am not using the commit work statement,at the very first time of execution mail is not triggering, and the second time of execution first mail is triggering like wise it is going.The status of the message is waiting in queue.&lt;/P&gt;&lt;P&gt;i have refresh receiver's list also.I want to use this concept in badi.So anyone can pls help me,how to send a mail without commit work statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 11:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267214#M1385957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T11:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Sending mail to internet address without commit work statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267215#M1385958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a parameter Commit_Work pass it as 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&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_TYPE = 'RAW'&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;OBJECT_CONTENT = OBJCONT&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;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;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Saravanan Ramasamy on Nov 11, 2009 1:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 12:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267215#M1385958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Sending mail to internet address without commit work statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267216#M1385959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Commit Parameter of the same API. In this way you can aviod Explicit Commit Work Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 12:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267216#M1385959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T12:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Sending mail to internet address without commit work statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267217#M1385960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.If i use commit parameter in same API , will it work as global or local?&lt;/P&gt;&lt;P&gt;Bcoz i want to cal this FM in Badi two times.In this case am getting short dump.At the same time if i cal the FM one time it is working fine.Pls help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 05:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267217#M1385960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T05:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Sending mail to internet address without commit work statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267218#M1385961</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;It is not necessary to set the commit variable in the function module.&lt;/P&gt;&lt;P&gt;Eventhough the submit statement is not called the mail will be send based on the config in SCOT.&lt;/P&gt;&lt;P&gt;The timedelay in mail sending can be checked by using the following path.&lt;/P&gt;&lt;P&gt;SCOT -&amp;gt;Settings -&amp;gt; Send Jobs-&amp;gt; dbl click SMTP mail and check the value in the Period field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ginu Litta Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 06:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-sending-mail-to-internet-address-without-commit-work-statement/m-p/6267218#M1385961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T06:19:33Z</dc:date>
    </item>
  </channel>
</rss>

