<?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: Lock  - custom Z function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637401#M1571844</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;Maybe you could be use a parameter Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM Z_FUNC_CALSALR set a flag on this table at start and reset this flag at end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program B has to check this flag to know if the function is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Feb 2011 08:16:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-28T08:16:03Z</dc:date>
    <item>
      <title>Lock  - custom Z function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637400#M1571843</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  need some guide how to lock custom function e.g  Z_FUNC_CALSALR, the scenario will be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever user run program A that call this function , other user which also running Program B that  call this function will be paused until the function release from lock status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate , If any one can suggest me the work around on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Badz LEe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 07:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637400#M1571843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-28T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lock  - custom Z function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637401#M1571844</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;Maybe you could be use a parameter Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM Z_FUNC_CALSALR set a flag on this table at start and reset this flag at end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program B has to check this flag to know if the function is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 08:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637401#M1571844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-28T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lock  - custom Z function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637402#M1571845</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;Use FM:RS_ACCESS_PERMISSION to lock/Unlock your custom function module,once your function module get locked any other person could not suppose to use the same so throw a message in this case ,after every call Unlock it agian by calling same function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks and regards,&lt;/P&gt;&lt;P&gt;Sree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 10:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637402#M1571845</guid>
      <dc:creator>former_member125931</dc:creator>
      <dc:date>2011-02-28T10:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lock  - custom Z function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637403#M1571846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to lock a function module then you have two use these two function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEQUEUE_ESFUNCTION&lt;/P&gt;&lt;P&gt;ENQUEUE_ESFUNCTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass FUNCNAME  = you function module name to ENQUEUE_ESFUNCTION for locking and DEQUEUE_ESFUNCTION for unclocking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these functions in your function module or outside it as required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 11:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-custom-z-function/m-p/7637403#M1571846</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-28T11:55:40Z</dc:date>
    </item>
  </channel>
</rss>

