<?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: Problem with the function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525582#M1069836</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;Make sure that you have an email address in SU01 specified for the sending user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2008 09:52:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-03T09:52:40Z</dc:date>
    <item>
      <title>Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525581#M1069835</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;Iam facing a problem with the function module 'SO_NEW_DOCUMENT_SEND_API1' it is giving as sy-subrc eq 2  can any one face the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Warun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 09:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525581#M1069835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T09:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525582#M1069836</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;Make sure that you have an email address in SU01 specified for the sending user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 09:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525582#M1069836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T09:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525583#M1069837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren Barton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me where exactly the email se up will be there in SU01 . Right now I am there in SU01 with my userid. &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;Warun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 09:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525583#M1069837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T09:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525584#M1069838</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;Can yu please tell me where the Email user setting will be there in SU01 tcode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525584#M1069838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525585#M1069839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the Address TAB, under the commuination section there is a field called email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525585#M1069839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525586#M1069840</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 get.Please debug where the sy-subrc becomes 2 and check accordingly if input given is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525586#M1069840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525587#M1069841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what error it is throwing&lt;/P&gt;&lt;P&gt;can u tell me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525587#M1069841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525588#M1069842</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;Iam using the following code&lt;/P&gt;&lt;P&gt;&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 = IS_BACKMON-Message_Body.&lt;/P&gt;&lt;P&gt;  APPEND is_contents_txt to i_contents_txt.&lt;/P&gt;&lt;P&gt;  clear is_contents_txt.&lt;/P&gt;&lt;P&gt;&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           document_type              = 'HTM'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            put_in_outbox              = c_flag&lt;/P&gt;&lt;P&gt;            commit_work                = c_flag&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           object_header              = I_MESSAGE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;*Submit after the function module is successful&lt;/P&gt;&lt;P&gt;    SUBMIT rsconn01 WITH mode = c_int&lt;/P&gt;&lt;P&gt;                   WITH output = ' '&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525588#M1069842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525589#M1069843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is giving as Document not send..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-function-module/m-p/4525589#M1069843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T10:41:08Z</dc:date>
    </item>
  </channel>
</rss>

