<?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: SAP AIF - Automatic Reprocessing in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281705#M3720056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same requirement last year and didn't find an answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I wound up debugging. and debugging. and debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally found the code and wrote my own method to resume processing. It's pretty simple, but you'll need your Namespace, Message GUID, Interface name and version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;pers_queue&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;/aif/cl_pers_queue&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT pers_queue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not_exists &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHECK &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; pers_queue&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;add_message&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgguid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;msg_guid&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ns&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ifname&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifversion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ifversion&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_flg_create_run &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;space&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; pers_queue&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;save_messages&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;iv_flg_create_run &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;abap_true &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 19:54:02 GMT</pubDate>
    <dc:creator>robphelan</dc:creator>
    <dc:date>2015-03-20T19:54:02Z</dc:date>
    <item>
      <title>SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaq-p/10281695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does SAP AIF allows automatic reprocessing of Error records (Proxy scenario) ? We have scenarios where Proxy interface failing because of locking error , we would like to reprocess this automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN style="color: #333333; font-size: 12px;"&gt;/AIF/REP_AC_DEF and /AIF/REP_AC_ASGN&lt;/SPAN&gt; but I can't see any batch job using this to restart the messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide transaction name and steps to configure this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dijesh Tanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaq-p/10281695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-08T10:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281696#M3720047</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;there are two new Transaction codes (/AIF/REP_AC_DEF and /AIF/REP_AC_ASGN) in the System for the configuration tables of the Automatic Reprocessing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first configuration table /AIF/REP_AC_DEF it is possible to define the Reprocessing Action. One reprocessing action will be delivered for automatically restart the maintained error messages. The function module will be /AIF/RESTART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set up the Runtime Configuration Group via Transaction /AIF/PERS_CGR.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;The used Runtime Configuration Group should be active and&lt;SPAN style="color: red;"&gt; &lt;/SPAN&gt;use Run Scheduled. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Example Configuration Group:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/2-14897665-416220/Runtime Configuration Group.jpg"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/427864" height="291" width="450" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;In the second configuration table /AIF/REP_AC_ASGN it is possible to register the AIF&lt;BR /&gt;Interface and the corresponding single error messages (by message class and&lt;BR /&gt;number, e.g. R1/084 = “Business Partner &amp;amp;1 is Currently Being Processed By&lt;BR /&gt;&amp;amp;2”) for automatic reprocessing. In this configuration table, it will also&lt;BR /&gt;be possible to define a minimum waiting time, maximum waiting time and the&lt;BR /&gt;number of restart trials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 11:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281696#M3720047</guid>
      <dc:creator>nicole_bohrmann</dc:creator>
      <dc:date>2014-04-08T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281697#M3720048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't found the function module /&lt;SPAN style="color: #333333; font-size: 12px;"&gt;AIF/RESTART&lt;/SPAN&gt; in our system. Instead there are two function modules as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/AIF/ERROR_UTIL_PROXY_RESTART&lt;/P&gt;&lt;P&gt;/AIF/IDOC_RESTART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used /AIF/ERROR_UTIL_PROXY_RESTART in my config. See attached screenshots. However, no jobs were triggered. I am wondering if there is any additional config I need to do for scheduling background jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/428698" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/428702" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/428703" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Let me know if my configuration is wrong.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dijesh Tanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281697#M3720048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-09T08:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281698#M3720049</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;there was a little mistake in my answer. Please use the function module /AIF/RESTART_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the generated job in the transaction sm37. The name of the generated job should be started with /AIF/&amp;lt;Namespace Configuraion Group&amp;gt;_&amp;lt;Configuration ID&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could also check the transaction st22 if there are any errors occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which SP Level is installed on your system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281698#M3720049</guid>
      <dc:creator>nicole_bohrmann</dc:creator>
      <dc:date>2014-04-09T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281699#M3720050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks , it is working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if we want to process all the messages irrespective of error code , which error code we should use in transaction /n/AIF/REP_AC_ASGN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dijesh Tanna &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 09:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281699#M3720050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-09T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281700#M3720051</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;the automatic reprocessing is &lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;triggered by certain error messages for a registered AIF interface.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;So the&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman';"&gt; user has to register the AIF Interface and the corresponding single error messages by message class and number for automatic reprocessing in the transaction /AIF/REP_AC_ASGN.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman';"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman';"&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman';"&gt;Nicole&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 10:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281700#M3720051</guid>
      <dc:creator>nicole_bohrmann</dc:creator>
      <dc:date>2014-04-09T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281701#M3720052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have configured automatic reprocessing for proxy inbound scenario as described by you and set the Intermediate status "In Process" in transaction &lt;SPAN style="color: #333333; font-family: Arial, sans-serif;"&gt;/AIF/REP_AC_ASGN&lt;/SPAN&gt;. However, alerts are being raised even when first time message goes in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automatic reprocessing works well but we don't want alerts to be triggered until all reprocessing attempts fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong in my configuration. Please note that message status in Interface monitoring always goes in "Application Error" status &amp;amp; not in "In Process" status when such locking error occurs. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/437616" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/437617" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 04:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281701#M3720052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-22T04:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281702#M3720053</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;please implement note 1998708 to fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 07:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281702#M3720053</guid>
      <dc:creator>nicole_bohrmann</dc:creator>
      <dc:date>2014-04-28T07:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281703#M3720054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole for providing fix. It is now working as expected after applying the note.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dijesh Tanna&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 07:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281703#M3720054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-28T07:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281704#M3720055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Is there a&amp;nbsp; way to reprocess old error messages with the FM /AIF/Restart_Msg.&lt;/P&gt;&lt;P&gt;As the action only works on error received form the day its defined, but we do have a backlog which we to reprocess as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate a reply&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 19:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281704#M3720055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-20T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281705#M3720056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same requirement last year and didn't find an answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I wound up debugging. and debugging. and debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally found the code and wrote my own method to resume processing. It's pretty simple, but you'll need your Namespace, Message GUID, Interface name and version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;pers_queue&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;/aif/cl_pers_queue&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT pers_queue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not_exists &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHECK &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; pers_queue&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;add_message&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgguid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;msg_guid&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ns&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ifname&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifversion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ifversion&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_flg_create_run &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;space&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; pers_queue&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;save_messages&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;iv_flg_create_run &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;abap_true &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 19:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281705#M3720056</guid>
      <dc:creator>robphelan</dc:creator>
      <dc:date>2015-03-20T19:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281706#M3720057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said you found the code and wrote your own method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But did u added this method/logic in FM /AIF/Restart_Msg or was it a separate program you created? &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, 20 Mar 2015 20:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281706#M3720057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-20T20:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281707#M3720058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually created a processing workbench where my external data comes initially through AIF into my DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user then reviews and approves, then clicks "process". This calls another AIF interface which actually creates my documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the workbench, I give them an option to "resume / restart" a message that has stopped. So, to answer your question, it is a custom method within my workbench accessed by a button on the ALV toolbar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281707#M3720058</guid>
      <dc:creator>robphelan</dc:creator>
      <dc:date>2015-03-20T20:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281708#M3720059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it means its a manual activity, my ask is to get the messages processed automatically at certain time in background if they are in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just like the AIF action or idoc reprocessing works in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I have is the AIF action only processes the messages from the day its defined all old messages are ignored by it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281708#M3720059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-20T20:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281709#M3720060</link>
      <description>&lt;P&gt;Hi Nicole, I tried the same steps. Still restart job is not getting triggered to reprocess aif messages. Can you please help me?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 17:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281709#M3720060</guid>
      <dc:creator>former_member1205785</dc:creator>
      <dc:date>2022-07-30T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAP AIF - Automatic Reprocessing</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281710#M3720061</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;did you check the SAP Help for the &lt;A href="https://help.sap.com/docs/ABAP_PLATFORM_NEW/4db1676c3f114f119b500bd80ccd944d/63bfba53d97def7ee10000000a4450e5.html?locale=en-US&amp;amp;version=202110.000"&gt;Automatic Reprocessing&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Kind regards, Nicole&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-aif-automatic-reprocessing/qaa-p/10281710#M3720061</guid>
      <dc:creator>nicole_bohrmann</dc:creator>
      <dc:date>2022-08-22T07:44:33Z</dc:date>
    </item>
  </channel>
</rss>

