<?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: create lock object with fun command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-lock-object-with-fun-command/m-p/10333473#M1836610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general your way of including the FUN command was correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The loss of import parameter values must have been caused by some other reason, not related to the invoke of enqueue. Maybe try it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If, for any reason, using FUN is not possible, it's always an alternative to use ABAP. .... ENDABAP. with correct ABAP coding inbetween (e.g. CALL FUNCTION ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless regarding enqueue you need to consider, that the lock you set by running eCATT test scripts in this way, will last (only) as long as the session in which the function was called is active. Means, it lasts as long as you do not close the SECATT transaction (/n or similar) and not use commands like RESCON in your test script. Check your locks with transaction sm12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware, that interfering with an applications lock handling and strategy might also harm running transactions or the data processed by this transactions. Usually there is no need to call the enqueue modules from a test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 12:37:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-30T12:37:07Z</dc:date>
    <item>
      <title>create lock object with fun command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-lock-object-with-fun-command/m-p/10333472#M1836609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a lock object with the fun command? I tried to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUN ( &lt;SPAN class="st"&gt;ENQUEUE _&amp;lt;lockobject&amp;gt; , &amp;lt;interface&amp;gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;When I fill the importing parameters, execute the script and afterwards refresh the interace than the import parameters are empty. Is there a way to create a lock object with the fun command or at least with inline abap?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;Wolfgang&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 20:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-lock-object-with-fun-command/m-p/10333472#M1836609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-13T20:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: create lock object with fun command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-lock-object-with-fun-command/m-p/10333473#M1836610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general your way of including the FUN command was correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The loss of import parameter values must have been caused by some other reason, not related to the invoke of enqueue. Maybe try it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If, for any reason, using FUN is not possible, it's always an alternative to use ABAP. .... ENDABAP. with correct ABAP coding inbetween (e.g. CALL FUNCTION ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless regarding enqueue you need to consider, that the lock you set by running eCATT test scripts in this way, will last (only) as long as the session in which the function was called is active. Means, it lasts as long as you do not close the SECATT transaction (/n or similar) and not use commands like RESCON in your test script. Check your locks with transaction sm12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware, that interfering with an applications lock handling and strategy might also harm running transactions or the data processed by this transactions. Usually there is no need to call the enqueue modules from a test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-lock-object-with-fun-command/m-p/10333473#M1836610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-30T12:37:07Z</dc:date>
    </item>
  </channel>
</rss>

