<?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: Locking record in a table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960231#M67184</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;you need not to lock eqp.,&lt;/P&gt;&lt;P&gt;because i think SAP locks/Unlocks eqp. in Standard-TA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if eqp. is locked you got an error message from :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL TRANSACTION 'IE32' USING bdcdata MODE mod MESSAGES INTO itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2005 06:41:56 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-09-14T06:41:56Z</dc:date>
    <item>
      <title>Locking record in a table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960229#M67182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is my requirement. &lt;/P&gt;&lt;P&gt;I am updating equipment through transaction IE32. I am using BDC update using call transaction. Now before I do call transaction IE32 I need to check whether that particular equipment is locked or not. for that I am using enqueue_lockobject to lock the record in EQUI table. If sy-subrc returns 0 means record is locked &amp;amp; if it is not 0 that means reord in not locked. In case where record is not locked I will do BDC update using call transaction IE32 but as I have locked this particular record it is giving error saying equipment is locked. To solve this problem I have unlocked that record just before call transaction IE32. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the real query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can I do bdc update using call transaction IE32 after I locked that particular record?&lt;/P&gt;&lt;P&gt;Or I need to unlock it before doing BDC update as I have done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prafulla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960229#M67182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Locking record in a table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960230#M67183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general if you BDC, it will automatically lock the correcponding records. so no need to lock that externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960230#M67183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Locking record in a table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960231#M67184</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;you need not to lock eqp.,&lt;/P&gt;&lt;P&gt;because i think SAP locks/Unlocks eqp. in Standard-TA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if eqp. is locked you got an error message from :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL TRANSACTION 'IE32' USING bdcdata MODE mod MESSAGES INTO itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960231#M67184</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-09-14T06:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Locking record in a table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960232#M67185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prafulla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It is not necessary to lock the records before u carry BDC . Doing so will even result in the BDC failure (Intrenal Error Message type : unable to lock the record).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 09:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-record-in-a-table/m-p/960232#M67185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T09:11:59Z</dc:date>
    </item>
  </channel>
</rss>

