<?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: Application log in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628488#M604138</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;have you tried to work with lock objects (SE11) in your program ??  Create a lock object for you database and then, you can use the generated object in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first user that works with the table blocks it automatically. Any other user that tries to access the table will get a message from the system indicating that the table is blocked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 13:35:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T13:35:56Z</dc:date>
    <item>
      <title>Application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628487#M604137</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;Im generating an application log when some field values are changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm locking the DB using BAL_DB_ENQUEUE when 1 user is performing updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When another user is trying to update the same records he is unable to do so till the lock is released.&lt;/P&gt;&lt;P&gt;The program waits for the lock to be released and does not proceed till the lock is released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a message in the log saying "records  locked" instead of waiting for the lock to be released .   how do i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kranthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628487#M604137</guid>
      <dc:creator>former_member799868</dc:creator>
      <dc:date>2007-08-01T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628488#M604138</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;have you tried to work with lock objects (SE11) in your program ??  Create a lock object for you database and then, you can use the generated object in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first user that works with the table blocks it automatically. Any other user that tries to access the table will get a message from the system indicating that the table is blocked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628488#M604138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628489#M604139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW DO I CREATE LOC OBJECTS IN SE11?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628489#M604139</guid>
      <dc:creator>former_member799868</dc:creator>
      <dc:date>2007-08-01T13:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628490#M604140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you call function module ENQUEUE_E_APPL_LOG directly, rather than using BAL_DB_ENQUEUE you can use parameter &lt;U&gt;WAIT to influence whether to wait.  You can then code your own response when the exception FOREIGN&lt;/U&gt;LOCK is raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/2628490#M604140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:47:30Z</dc:date>
    </item>
  </channel>
</rss>

