<?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: Program to check IDOC Status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036868#M1899084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information is pretty vague to actually come up with a solution like if you have to create a program for regular run specific to a single iDOC or mulitple or will it be on ad-hoc basis. Also, Would you like to send mail programmatically or through some workflow. Just as a ballpark, you can read status of any IDOC from table EDIDS. This can give you the status &amp;amp; you can extract the info and send mail using any utility FMs in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP" style="font-size: 10pt;" title="http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP"&gt;http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 23:46:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-30T23:46:19Z</dc:date>
    <item>
      <title>Program to check IDOC Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036866#M1899082</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 am new to ABAP and this is my first assignment so request you to please help me with step wise details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a program which should trigger the mail automatically to the specific set of people about the status of an IDOC as per the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Type, &lt;/P&gt;&lt;P&gt;Direction, &lt;/P&gt;&lt;P&gt;Message Variant, &lt;/P&gt;&lt;P&gt;Message Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I hope this is markes as question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 16:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036866#M1899082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-30T16:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Program to check IDOC Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036867#M1899083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not a ABAPer but I will tell what we did to achieve this for Inbound IDOCs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had different plants across the globe and they send IDOCs into SAP and wanted to send a status email to the plant leads if the idocs posted in SAP or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created a Business Workplace SBWP distribution list with plant code in the distribution list name, and included all the list of people email address in this distribution list who should receive the IDOC status email when IDOC's failed to post in SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the inbound Process Code/Function module WE42, you can also click on process code from WE20 for your inbound message type and go to the function module characteristics and in the event INPUTERROROCCURRED, my ABAP team wrote the code to look for distribution list for the plant where the IDOC is coming from based on partner profile that we setup in WE20 and send an email out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also look into&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1924500" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Mail to be triggered when IDOC fails" href="https://community.sap.com/" modifiedtitle="true" title="Mail to be triggered when IDOC fails"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 16:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036867#M1899083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-30T16:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Program to check IDOC Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036868#M1899084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information is pretty vague to actually come up with a solution like if you have to create a program for regular run specific to a single iDOC or mulitple or will it be on ad-hoc basis. Also, Would you like to send mail programmatically or through some workflow. Just as a ballpark, you can read status of any IDOC from table EDIDS. This can give you the status &amp;amp; you can extract the info and send mail using any utility FMs in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP" style="font-size: 10pt;" title="http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP"&gt;http://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 23:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036868#M1899084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-30T23:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Program to check IDOC Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036869#M1899085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't create custom programs for this. This is why SAP has provided IDoc error workflow. Check: &lt;A href="http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/Index.htm" title="http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/Index.htm"&gt;Configure workflow notifications for IDocs in error status&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 13:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-check-idoc-status/m-p/11036869#M1899085</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-05-01T13:09:12Z</dc:date>
    </item>
  </channel>
</rss>

