<?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 Regarding Lock objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/6955731#M1489278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Can we create lock objects with partial primary key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if we have MBLNR, MATNR, DATE as primary keys for a Z table, Then can we create a lock object with only MATNR as the lock parameter?&lt;/P&gt;&lt;P&gt;I want to create in the above way because i want to update the Z table only MATNR in where condition.So i want to lock before updating.&lt;/P&gt;&lt;P&gt;Will there be any drawback if we use like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 00:49:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-17T00:49:15Z</dc:date>
    <item>
      <title>Regarding Lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/6955731#M1489278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Can we create lock objects with partial primary key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if we have MBLNR, MATNR, DATE as primary keys for a Z table, Then can we create a lock object with only MATNR as the lock parameter?&lt;/P&gt;&lt;P&gt;I want to create in the above way because i want to update the Z table only MATNR in where condition.So i want to lock before updating.&lt;/P&gt;&lt;P&gt;Will there be any drawback if we use like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 00:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/6955731#M1489278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T00:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Lock objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/6955732#M1489279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Actually when you create a lock object it will contemplate all key-field involved for the table in question, however when you &lt;/P&gt;&lt;P&gt;call the ENQUEUE_ and DEQUEUE_ FM you can inform only fields that you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards &lt;/P&gt;&lt;P&gt;Carlos Machado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 01:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objects/m-p/6955732#M1489279</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2010-06-17T01:12:38Z</dc:date>
    </item>
  </channel>
</rss>

