<?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: Enqueue - Dequeue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500746#M1064909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello LM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you solved you problem with FMFR_CREATE_FROM_DATA showing message without return? Could you please share the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Kirill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 16:13:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-21T16:13:34Z</dc:date>
    <item>
      <title>Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500739#M1064902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want enqueue the execution of a FM. So, we do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE...'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DO_SOMETHING'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an error message occurs on FM 'DO_SOMETHING', the function dequeue is not executed. Do you know how we can resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: LM on Oct 6, 2008 9:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 07:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500739#M1064902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T07:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500740#M1064903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you must be checking the sy-subrc before call the FM 'Dequeue'...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 07:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500740#M1064903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500741#M1064904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the type of message is E, the program abort its execution and we can not do noting (we can't consult the sy-subrc).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 07:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500741#M1064904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T07:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500742#M1064905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a transaction finishes, locks are automatically released (usually!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the nature of the function module? SAP Standard?  Which one?  If not, then change the function module so that it DOES set the sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 07:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500742#M1064905</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-10-06T07:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500743#M1064906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE...'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DO_SOMETHING'.&lt;/P&gt;&lt;P&gt;MOVE SY-SUBRC TO W_SUBRC.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE'....&lt;/P&gt;&lt;P&gt;IF W_SUBRC NE 0.&lt;/P&gt;&lt;P&gt;*ERROR MESSAGE&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 07:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500743#M1064906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T07:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500744#M1064907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Function Module is standard is "FMFR_CREATE_FROM_DATA". This function module show an error message and do not return. So, we can't do the dequeue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500744#M1064907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500745#M1064908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think we do not have any programable solution, we should contact basis team to remove the lock&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500745#M1064908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500746#M1064909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello LM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you solved you problem with FMFR_CREATE_FROM_DATA showing message without return? Could you please share the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Kirill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 16:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500746#M1064909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T16:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue - Dequeue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500747#M1064910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allthough this is a rather old question, I still would like to post a possible answer (maybe helpful for people facing the same problem): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just disable all exceptions in the function module in the source code and add the generic statement "error_message = 1".&lt;/P&gt;&lt;P&gt;Ofcourse you now need to handle messages after execution of the function module - messages will not be shown on screen anymore,  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the code should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FMFR_CREATE_FROM_DATA'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_flg_checkonly              = space&lt;/P&gt;&lt;P&gt;    i_flg_commit                   = 'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_posdata                        = pr_posdata&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    c_f_headdata                 = pr_head_data&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   doctype_not_allowed = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   error_occured              = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OTHERS                        = 3.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     error_message            = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 10:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue/m-p/4500747#M1064910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-18T10:00:09Z</dc:date>
    </item>
  </channel>
</rss>

