<?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>Question Re: /SAPSRM/OFFLINEAPPROVALSEND blank email in Spend Management Q&amp;A</title>
    <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332192#M147313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some research, i found that the class CL_BBP_MESSAGE_CREATE_OFFAPP is for SRM 5 use only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved the issue by implementing the method MAIL_CREATE of BADI BBP_OFFLINE_APP_BADI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also called in that method my custom smartform and converted it to HTML format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1353/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nabil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 12:35:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-10T12:35:37Z</dc:date>
    <item>
      <title>/SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaq-p/9332188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SRM 7.0, we’re using the report /SAPSRM/OFFLINEAPPROVALSEND to run the offline approval process and send emails to the corresponding recipients. These emails are successfully received, except they are blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine the custom Smartform that will be called to build the body of the email, we use the standard class CL_BBP_MESSAGE_CREATE_OFFAPP (called in method /sapsrm/cl_wf_offapp_badi=&amp;gt;determine_class_name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This class uses the method CREATE_BODY to get the Smartform data. Only, the exporting parameter ET_BODY is filled with binary data and not text data. Afterwards, the report tries to retrieve the text data (which is initial), and leaves the body of the email blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to implement an SAP note to correct this, or is there another solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nabil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 22:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaq-p/9332188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-05T22:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: /SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332189#M147310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any toughts on this matter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 09:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332189#M147310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-08T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: /SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332190#M147311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nabil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the BADI BBP_OFFLINE_APP_BADI you can incorporate the body of the mail in the method MAIL_DATA_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Catherine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 13:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332190#M147311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-08T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: /SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332191#M147312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Catherine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, BBP_OFFLINE_APP_BADI is the BADI we are implementing. we're using the method DETERMINE_CLASS_NAME to determine which smartform will be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think MAIL_DATA_GET will be of use since i need to get data from a custom smartform, hence, use the methods DETERMINE_FORMS_PARAMS and RENDER_FORM of class CL_BBP_MESSAGE_CREATE_OFFAPP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i said, CREATE_BODY (of class CL_BBP_MESSAGE_CREATE_OFFAPP) is the method which is supposed to convert smartform data to text data, but doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i'm not sure if i need to implement an SAP Note or just create my own implementation of the class, and write the code to transform my smartform data to text data and pass it to the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nabil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 16:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332191#M147312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-08T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: /SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332192#M147313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some research, i found that the class CL_BBP_MESSAGE_CREATE_OFFAPP is for SRM 5 use only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved the issue by implementing the method MAIL_CREATE of BADI BBP_OFFLINE_APP_BADI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also called in that method my custom smartform and converted it to HTML format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1353/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nabil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 12:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332192#M147313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-10T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: /SAPSRM/OFFLINEAPPROVALSEND blank email</title>
      <link>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332193#M147314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nabil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, if you want data from smartform, you just need to call the smartform BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked this note 1265414 first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;melina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 18:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/sapsrm-offlineapprovalsend-blank-email/qaa-p/9332193#M147314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-10T18:47:18Z</dc:date>
    </item>
  </channel>
</rss>

