<?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 object on database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745513#M1113127</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;You try with this FMs.&lt;/P&gt;&lt;P&gt;You will get it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS: y_lk_plaf TYPE rstable-tabname VALUE 'PLAF',&lt;/P&gt;&lt;P&gt;             y_lk_plnum TYPE rstable-varkey VALUE 'PLNUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Lock Table&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      mode_rstable   = 'E'&lt;/P&gt;&lt;P&gt;      tabname        = y_lk_plaf&lt;/P&gt;&lt;P&gt;      varkey         = y_lk_plnum&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      foreign_lock   = 1&lt;/P&gt;&lt;P&gt;      system_failure = 2&lt;/P&gt;&lt;P&gt;      OTHERS         = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Update Field PLAF-YYSHORT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    UPDATE plaf&lt;/P&gt;&lt;P&gt;    SET    yyshort = y_k_x&lt;/P&gt;&lt;P&gt;    WHERE  plnum = y_lv_plnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Unlock Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DEQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      mode_rstable = y_k_e&lt;/P&gt;&lt;P&gt;      tabname      = y_lk_plaf&lt;/P&gt;&lt;P&gt;      varkey       = y_lk_plnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 10:42:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-31T10:42:46Z</dc:date>
    <item>
      <title>Lock object on database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745511#M1113125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a requirement to create a lock object on database table. Can anyone table if lock object can be created individually on any database table? Not sure if i can apply on any database table. Please confirm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 10:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745511#M1113125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lock object on database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745512#M1113126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create the locks for tables and views too.&lt;/P&gt;&lt;P&gt;There might not be any issues while you lock the any database table it all depends on the table that you lock and the data follow from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Venkat Reddy on Oct 31, 2008 4:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 10:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745512#M1113126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T10:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lock object on database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745513#M1113127</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;You try with this FMs.&lt;/P&gt;&lt;P&gt;You will get it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS: y_lk_plaf TYPE rstable-tabname VALUE 'PLAF',&lt;/P&gt;&lt;P&gt;             y_lk_plnum TYPE rstable-varkey VALUE 'PLNUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Lock Table&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ENQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      mode_rstable   = 'E'&lt;/P&gt;&lt;P&gt;      tabname        = y_lk_plaf&lt;/P&gt;&lt;P&gt;      varkey         = y_lk_plnum&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      foreign_lock   = 1&lt;/P&gt;&lt;P&gt;      system_failure = 2&lt;/P&gt;&lt;P&gt;      OTHERS         = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Update Field PLAF-YYSHORT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    UPDATE plaf&lt;/P&gt;&lt;P&gt;    SET    yyshort = y_k_x&lt;/P&gt;&lt;P&gt;    WHERE  plnum = y_lv_plnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Unlock Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DEQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      mode_rstable = y_k_e&lt;/P&gt;&lt;P&gt;      tabname      = y_lk_plaf&lt;/P&gt;&lt;P&gt;      varkey       = y_lk_plnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 10:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745513#M1113127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lock object on database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745514#M1113128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 11:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-object-on-database-table/m-p/4745514#M1113128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T11:30:18Z</dc:date>
    </item>
  </channel>
</rss>

