<?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: Capture Mail Content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443279#M1740525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Folder object of OLE for MAPI and use the Filter Option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAMPLE usage of OLE and Properties there is the usage of VBA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to replicate the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Filter As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oRow As Outlook.Row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oTable As Outlook.Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oFolder As Outlook.Folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get a Folder object for the Inbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set oFolder = Application.Session.GetDefaultFolder(olFolderInbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Define Filter to obtain items last modified after May 1, 2005&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filter = "[LastModificationTime] &amp;gt; '5/1/2005'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Restrict with Filter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set oTable = oFolder.&lt;STRONG&gt;GetTable&lt;/STRONG&gt;(Filter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 07:39:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-11T07:39:56Z</dc:date>
    <item>
      <title>Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443274#M1740520</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;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;We are facing a requirement wherein we need to capture the MS Office mail content into our internal table and search for a word in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Can we capture the full content of MS Office mail in ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Waiting for your replies....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;With Regards,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443274#M1740520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-27T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443275#M1740521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagannathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/docs/DOC-31015" title="http://scn.sap.com/docs/DOC-31015"&gt;http://scn.sap.com/docs/DOC-31015&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 11:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443275#M1740521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-27T11:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443276#M1740522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your link.We tried our best to find a way..&lt;/P&gt;&lt;P&gt;But we have used workflow for this requirement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing some R&amp;amp;D on OLE, we could capture the data in MS word into our internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not using Webdynpro ABAP. Can a mail content in MS Outlook be fetched into our internal table using OLE. or some other way other than Webdynpro ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are still bit unclear about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your replies!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 05:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443276#M1740522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-04T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443277#M1740523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you use MS Word OLE Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a MAPI object for Outlook. There is not much of a difference how we adapt OLE in .NET and SAP only the syntax changes but the property call and other things remain the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.mailitem(v=office.14).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.mailitem(v=office.14).aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above link states how to use it in .NET to read mails&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below link also state the way to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.htmlbody(v=office.14).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.htmlbody(v=office.14).aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to replicate the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 06:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443277#M1740523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-04T06:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443278#M1740524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yakub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your links...Did some R and D on that....Could create a program for sending MS Outlook mail...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is that possible to search a MS Outlook mail from ABAP via OLE and capture the content of a particular mail?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 06:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443278#M1740524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T06:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443279#M1740525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Folder object of OLE for MAPI and use the Filter Option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAMPLE usage of OLE and Properties there is the usage of VBA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to replicate the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Filter As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oRow As Outlook.Row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oTable As Outlook.Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oFolder As Outlook.Folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get a Folder object for the Inbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set oFolder = Application.Session.GetDefaultFolder(olFolderInbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Define Filter to obtain items last modified after May 1, 2005&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filter = "[LastModificationTime] &amp;gt; '5/1/2005'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Restrict with Filter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set oTable = oFolder.&lt;STRONG&gt;GetTable&lt;/STRONG&gt;(Filter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 07:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443279#M1740525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T07:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443280#M1740526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yakub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million for your continuous help....&lt;/P&gt;&lt;P&gt;Captured the MS Outlook mail content successfully...&lt;/P&gt;&lt;P&gt;U r Rocking!!!! Full marks to you!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 10:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443280#M1740526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443281#M1740527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No marks received... but its fine. received some likes &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1495/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not an issue can you share the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Yakub Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443281#M1740527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T12:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Mail Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443282#M1740528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yakub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wanted to give full marks to you Yakub but unfortunately 'i marked this thread as answered'.&lt;/P&gt;&lt;P&gt;I think marks does not matter...Sincere thanks from my end....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah i would love to share my code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;INCLUDE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;OLE2INCL&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;BEGIN OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MAIL_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_BODY &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;STRING&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;END OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MAIL_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_OUTLOOK &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;OLE2_OBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_NAMESPACE &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;OLE2_OBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_INBOX &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;OLE2_OBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_SUBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;100&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; IT_MAIL &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE STANDARD TABLE OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MAIL_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; WA_MAIL &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MAIL_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;OLE2_OBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; INX &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;TABIX&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_SENT_ON&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;10&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_BODY &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;STRING&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; W_SENDERNAME&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;15&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CREATE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;OBJECT W_OUTLOOK &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'OUTLOOK.APPLICATION'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CALL METHOD OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_OUTLOOK &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'GetNameSpace' &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_NAMESPACE&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; #1 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'MAPI'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CALL METHOD OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_NAMESPACE &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'GetDefaultFolder' &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_INBOX&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; #1 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;5&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&amp;nbsp; “3;Deleted items,4;Outbox,5;Sent “Items,6;Inbox,9;Calendar,10;Contacts,11;Journal,12;Notes,13;Tasks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CLEAR&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;INX&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;. “Counter for searching mails one by one, for testing i kept it as 30(might have used "do loop as DO 30 times...But just tested like this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;DO&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;INX &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;30&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;EXIT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; INX &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;INX + &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;1&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CALL METHOD OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_INBOX &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Items' &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; #1 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;INX&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SUBRC &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;0&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;GET PROPERTY OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Subject'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_SUBJECT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_SUBJECT &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= ‘Subject of the mail’.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;GET PROPERTY OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'SentOn'&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_SENT_ON&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;GET PROPERTY OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'SenderName'&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_SENDERNAME&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;GET PROPERTY OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Body'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; WA_MAIL&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_BODY &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_BODY&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;APPEND &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;WA_MAIL &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;IT_MAIL&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;CALL METHOD OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;W_MAIL_ITEM &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'DISPLAY'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;ENDDO&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;BREAK-POINT&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;With Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;Jagan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-mail-content/m-p/9443282#M1740528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T12:46:21Z</dc:date>
    </item>
  </channel>
</rss>

