<?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 Determine if one program is running from another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407179#M818257</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 have two programs say prog1 and prog2 and the requirement is if prog1 is running under any process, I have to restrict prog2 from execution using some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to add a check in prog2 to determine if there is any session of prog1 is running somewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any table hold runtime data, whichever programs are currently running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other way to achieve this? I thought of locking concept but it won't help as if i put lock in prog1, any other user will not be able to run it again till execution is over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;Let me know if I am not clear in explaining my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(There is no dependency between these two programs and are completely seperate execuatble programs. Program is NOT called from another program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Agasti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Agasti Kale on Feb 25, 2008 7:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2008 18:02:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-25T18:02:57Z</dc:date>
    <item>
      <title>Determine if one program is running from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407179#M818257</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 have two programs say prog1 and prog2 and the requirement is if prog1 is running under any process, I have to restrict prog2 from execution using some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to add a check in prog2 to determine if there is any session of prog1 is running somewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any table hold runtime data, whichever programs are currently running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other way to achieve this? I thought of locking concept but it won't help as if i put lock in prog1, any other user will not be able to run it again till execution is over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;Let me know if I am not clear in explaining my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(There is no dependency between these two programs and are completely seperate execuatble programs. Program is NOT called from another program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Agasti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Agasti Kale on Feb 25, 2008 7:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 18:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407179#M818257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T18:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if one program is running from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407180#M818258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to use the result of FM SYSTEM_CALLSTACK...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 25, 2008 1:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 18:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407180#M818258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T18:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if one program is running from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407181#M818259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Requirement was taken care in some other way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 21:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-if-one-program-is-running-from-another-program/m-p/3407181#M818259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T21:08:40Z</dc:date>
    </item>
  </channel>
</rss>

