<?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: Wait parameter in Enqueue FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-parameter-in-enqueue-fm/m-p/4225724#M1009505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is critical to update this table then u can put a do....enddo. loop and check the return code of the FM like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ENQUEUE_EZVZVPDDELE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;mode_zvpddel = 'E'&lt;/P&gt;&lt;P&gt;mode_zvpddpr = 'E'&lt;/P&gt;&lt;P&gt;mandt = sy-mandt&lt;/P&gt;&lt;P&gt;zpddelcd = wa_podd_del_header-zpddelcd&lt;/P&gt;&lt;P&gt;x_zpddelcd = ' '&lt;/P&gt;&lt;P&gt;_scope = '3'&lt;/P&gt;&lt;P&gt;_wait = ' '&lt;/P&gt;&lt;P&gt;_collect = ' '&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;foreign_lock = 1&lt;/P&gt;&lt;P&gt;system_failure = 2&lt;/P&gt;&lt;P&gt;error_message = 3&lt;/P&gt;&lt;P&gt;others = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But otherwise u can follow the procedure mentioned in ur post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2008 07:38:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-01T07:38:56Z</dc:date>
    <item>
      <title>Wait parameter in Enqueue FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-parameter-in-enqueue-fm/m-p/4225723#M1009504</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 have a scenario where i want to lock the table before updating it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FM Enqueue, I want the program to retry it after some time, it if fails in first attempt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i do it through Wait parameter and where do i need to give the parameter to retry it after some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if it fails to attempt for some number of time , then it should throw an error mesage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'ENQUEUE_EZVZVPDDELE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            mode_zvpddel   = 'E'&lt;/P&gt;&lt;P&gt;            mode_zvpddpr   = 'E'&lt;/P&gt;&lt;P&gt;            mandt          = sy-mandt&lt;/P&gt;&lt;P&gt;            zpddelcd       = wa_podd_del_header-zpddelcd&lt;/P&gt;&lt;P&gt;            x_zpddelcd     = ' '&lt;/P&gt;&lt;P&gt;            _scope         = '3'&lt;/P&gt;&lt;P&gt;            _wait          = ' '&lt;/P&gt;&lt;P&gt;            _collect       = ' '&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            foreign_lock   = 1&lt;/P&gt;&lt;P&gt;            system_failure = 2&lt;/P&gt;&lt;P&gt;            error_message  = 3&lt;/P&gt;&lt;P&gt;            others         = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 07:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-parameter-in-enqueue-fm/m-p/4225723#M1009504</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2008-08-01T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wait parameter in Enqueue FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-parameter-in-enqueue-fm/m-p/4225724#M1009505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is critical to update this table then u can put a do....enddo. loop and check the return code of the FM like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ENQUEUE_EZVZVPDDELE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;mode_zvpddel = 'E'&lt;/P&gt;&lt;P&gt;mode_zvpddpr = 'E'&lt;/P&gt;&lt;P&gt;mandt = sy-mandt&lt;/P&gt;&lt;P&gt;zpddelcd = wa_podd_del_header-zpddelcd&lt;/P&gt;&lt;P&gt;x_zpddelcd = ' '&lt;/P&gt;&lt;P&gt;_scope = '3'&lt;/P&gt;&lt;P&gt;_wait = ' '&lt;/P&gt;&lt;P&gt;_collect = ' '&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;foreign_lock = 1&lt;/P&gt;&lt;P&gt;system_failure = 2&lt;/P&gt;&lt;P&gt;error_message = 3&lt;/P&gt;&lt;P&gt;others = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But otherwise u can follow the procedure mentioned in ur post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 07:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-parameter-in-enqueue-fm/m-p/4225724#M1009505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T07:38:56Z</dc:date>
    </item>
  </channel>
</rss>

