<?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: Asynchronious FM call - queue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079618#M1704230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul thanks for your advice. The other system is not a SAP system, I can not use RFC call, I need to use web service/soap... Maybe I am missing something? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM only I have tried to encapsulate every single SOAP call into some re-callable element...But probably the best way will be to create my own solution - db table with stored messages and status + some periodically called job that will try to process unprocessed messages + some administrator alv monitor...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more - thanks for you effort!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye, Bohuslav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2012 08:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-22T08:12:17Z</dc:date>
    <item>
      <title>Asynchronious FM call - queue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079616#M1704228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all... I need to start a FM that will send a message to some external web service. This FM can be called asynchronously, the external system may not be running etc. so I have to store the request in a queue and allow system to repeat later or administrators to see why it does not work... something like IDOCs processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some mechanism in SAP to work like this, or I have to do it by myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried standard V2 function module processing CALL FUNCTION...IN UPDATE TASK, it works basically, but by documentation I understand it's not exactly what it was designed for, and also I am not sure it suits my needs fully:&lt;/P&gt;&lt;P&gt;- it sends sap mails to users in the case of failure, is this possible to disable it?&lt;/P&gt;&lt;P&gt;- is there a way how to automatically repeat the updates, for example every 10 minutes?..&lt;/P&gt;&lt;P&gt;...do you think V2 FM are good way to achieve?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye, Bohuslav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 08:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079616#M1704228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-19T08:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronious FM call - queue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079617#M1704229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you call the function IN BACKGROUND TASK, rather than UPDATE TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lifting from the ABAP help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the specified destination is not available for &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;COMMIT WORK&lt;/STRONG&gt;, an &lt;A _jive_internal="true" href="https://answers.sap.com/thread/SAPEVENT:&amp;amp;quot;ABENEXECUTABLE_PROGRAM_GLOSRY&amp;amp;quot;" style="color: #505050;"&gt;executable program&lt;/A&gt; called &lt;/P&gt;&lt;P&gt;RSARFCSE is started in the &lt;A _jive_internal="true" href="https://answers.sap.com/thread/SAPEVENT:&amp;amp;quot;ABENBACKROUND_PROCESSING_GLOSRY&amp;amp;quot;" style="color: #505050;"&gt;background processing&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;which by default tries every 15 minutes up to 30 times to start the function &lt;/P&gt;&lt;P&gt;modules registered for an SAP LUW in their destination. To change these &lt;/P&gt;&lt;P&gt;parameters, use transaction &lt;A _jive_internal="true" href="https://answers.sap.com/thread/SAPEVENT:&amp;amp;quot;TRANSM59&amp;amp;quot;" style="color: #005000;"&gt;SM59&lt;/A&gt;. If the destination does not become &lt;/P&gt;&lt;P&gt;available within the given time, this is noted in the database table ARFCSDATA &lt;/P&gt;&lt;P&gt;as an entry "CPICERR". The entry in the database table ARFCSSTATE is deleted by &lt;/P&gt;&lt;P&gt;default after 8 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should allow errors to be identified and automatic attempts made to reprocess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you require them to be placed in a queue to maintain sequence, then use a call to function &lt;/P&gt;&lt;P&gt;TRFC_SET_QUEUE_NAME first to set a queue name which will then appear in transaction SMQ1 should failures occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 09:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079617#M1704229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-19T09:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronious FM call - queue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079618#M1704230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul thanks for your advice. The other system is not a SAP system, I can not use RFC call, I need to use web service/soap... Maybe I am missing something? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM only I have tried to encapsulate every single SOAP call into some re-callable element...But probably the best way will be to create my own solution - db table with stored messages and status + some periodically called job that will try to process unprocessed messages + some administrator alv monitor...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more - thanks for you effort!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye, Bohuslav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 08:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronious-fm-call-queue/m-p/9079618#M1704230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-22T08:12:17Z</dc:date>
    </item>
  </channel>
</rss>

