<?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 send mail in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332158#M169092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tafkap,&lt;/P&gt;&lt;P&gt;   How do you know that the fm 'Z_HR_SEND_MAIL_PROCESS' is working fine? Did you run it in se37?&lt;/P&gt;&lt;P&gt;May be your code is not populating all the required parameters to the FM.&lt;/P&gt;&lt;P&gt;INside the 'Z_HR_SEND_MAIL_PROCESS' function, it should be calling a standard sap fm.&lt;/P&gt;&lt;P&gt;May be it is failing at that stage and you are not able to capture the sy-subrc for such errors.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2006 13:40:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-26T13:40:11Z</dc:date>
    <item>
      <title>Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332156#M169090</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;i want to send email when an user modify informations in HR infotype so i put some code into PAI, i've created a module send_mail, and his this last i put a FM 'Z_HR_SEND_MAIL_PROCESS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function 'Z_HR_SEND_MAIL_PROCESS' work fine, i receive my email correctly. Nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when FM 'Z_HR_SEND_MAIL_PROCESS' is call by my PAI, i don't receive email, debug is correct, no dump, no error, parameters are correct...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't undertand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: tafkap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: tafkap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332156#M169090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332157#M169091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  please see to it that u commit the work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after sending mail write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332157#M169091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332158#M169092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tafkap,&lt;/P&gt;&lt;P&gt;   How do you know that the fm 'Z_HR_SEND_MAIL_PROCESS' is working fine? Did you run it in se37?&lt;/P&gt;&lt;P&gt;May be your code is not populating all the required parameters to the FM.&lt;/P&gt;&lt;P&gt;INside the 'Z_HR_SEND_MAIL_PROCESS' function, it should be calling a standard sap fm.&lt;/P&gt;&lt;P&gt;May be it is failing at that stage and you are not able to capture the sy-subrc for such errors.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332158#M169092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332159#M169093</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;put an explicit commit work after function module and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332159#M169093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332160#M169094</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;check in &amp;lt;b&amp;gt;SCOT&amp;lt;/b&amp;gt; transaction , there might be some pending mails in Queue. so Try to send it from there manually using &amp;lt;b&amp;gt;Start Send Process or CTRL+F7&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332160#M169094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332161#M169095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert the code &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;      submit rsconn01 with mode = 'INT'&lt;/P&gt;&lt;P&gt;                    with output = 'X'&lt;/P&gt;&lt;P&gt;                    and return.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;after the call to the fm becomes succesful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332161#M169095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332162#M169096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, i use FM send mail from /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's work fine and at the end of FM we can find :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD send_request-&amp;gt;send( ).&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i test FM Z_HR_SEND_MAIL_PROCESS in SE37, it's work fine. Parameters are good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i test FM, email is not send immediately because :&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;send_request-&amp;gt;set_send_immediately( 'X' ).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so email is in SCOT, i must Start Send Process.&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, 26 May 2006 16:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332162#M169096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332163#M169097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to Reward for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332163#M169097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332164#M169098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tafkap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schedule report RSCONN01 to run regularly, it will take care of mail sending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Hannu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332164#M169098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332165#M169099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;Try to Reward for helpful answers.&lt;/P&gt;&lt;P&gt;???????????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332165#M169099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332166#M169100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;Try to Reward for helpful answers.&lt;/P&gt;&lt;P&gt;?????????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332166#M169100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332167#M169101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1480252"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-send-mail/m-p/1332167#M169101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T16:59:56Z</dc:date>
    </item>
  </channel>
</rss>

