<?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 Table Maintenance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464877#M832744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  , &lt;/P&gt;&lt;P&gt;  When we use table maintenance transaction the entire table is locked , even if the user resticts the records .&lt;/P&gt;&lt;P&gt;Is there some way by which only that set of records get locked which are being used by the user , so that other users can modify the balance data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 15:29:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-10T15:29:11Z</dc:date>
    <item>
      <title>Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464877#M832744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  , &lt;/P&gt;&lt;P&gt;  When we use table maintenance transaction the entire table is locked , even if the user resticts the records .&lt;/P&gt;&lt;P&gt;Is there some way by which only that set of records get locked which are being used by the user , so that other users can modify the balance data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 15:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464877#M832744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T15:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464878#M832745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible.&lt;/P&gt;&lt;P&gt;The only solution is to create a simple report with table for showing data and additional screen for entering and changing data. This way you can lock only the record that user is currently editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 18:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464878#M832745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T18:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464879#M832746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use enque ,deque functionality in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       MODE_RSTABLE         = C_E&lt;/P&gt;&lt;P&gt;       TABNAME              = C_INTERM&lt;/P&gt;&lt;P&gt;        varkey         =     &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;            .&lt;/P&gt;&lt;P&gt;  CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt;    WHEN 1.&lt;/P&gt;&lt;P&gt;      MESSAGE E000 WITH 'Table'(021) C_INTERM&lt;/P&gt;&lt;P&gt;                        'is locked by other user'(022).&lt;/P&gt;&lt;P&gt;    WHEN 2.&lt;/P&gt;&lt;P&gt;      MESSAGE E000 WITH 'Table'(021) C_INTERM&lt;/P&gt;&lt;P&gt;        'can not be updated due to sytem failure'(023).&lt;/P&gt;&lt;P&gt;    WHEN 3.&lt;/P&gt;&lt;P&gt;      MESSAGE E000 WITH 'Table'(021) C_INTERM&lt;/P&gt;&lt;P&gt;          'can not be updated due to unknown error'(024).&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DEQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       MODE_RSTABLE       = C_E&lt;/P&gt;&lt;P&gt;       TABNAME            = C_INTERM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in above for a table take what are the primary and foreign key comination and concatenate the values and pass ir to varkey .then that particular records will be locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sowjanya.b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 04:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464879#M832746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T04:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464880#M832747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;try if this code can help u.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZLOCKING                                                    *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zlocking                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : tab_emp TYPE TABLE OF zemp_51772,&lt;/P&gt;&lt;P&gt;       wa_emp TYPE zemp_51772.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_emp-emp_no = '102'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_id = '157'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_name = 'SIVA'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_dept = 'SAP'.&lt;/P&gt;&lt;P&gt;APPEND wa_emp TO tab_emp.&lt;/P&gt;&lt;P&gt;CLEAR wa_emp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_emp-emp_no = '128'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_id = '138'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_name = 'RAMA'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_dept = 'SAP'.&lt;/P&gt;&lt;P&gt;APPEND wa_emp TO tab_emp.&lt;/P&gt;&lt;P&gt;CLEAR wa_emp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_emp-emp_no = '133'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_id = '121'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_name = 'KRISHNA'.&lt;/P&gt;&lt;P&gt;wa_emp-emp_dept = 'SAP'.&lt;/P&gt;&lt;P&gt;APPEND wa_emp TO tab_emp.&lt;/P&gt;&lt;P&gt;CLEAR wa_emp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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         = 'X'&lt;/P&gt;&lt;P&gt;   tabname              = 'ZEMP_51772'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  varkey               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_TABNAME            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_VARKEY             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _SCOPE               = '2'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _WAIT                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _COLLECT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  INSERT zemp_51772 FROM TABLE tab_emp.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   mode_rstable       = 'X'&lt;/P&gt;&lt;P&gt;   tabname            = 'ZEMP_51772'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARKEY             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_TABNAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  X_VARKEY           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _SCOPE             = '3'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _SYNCHRON          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _COLLECT           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  WRITE:/ 'Unlocked the Table'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sravani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 04:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464880#M832747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T04:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464881#M832748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; Thanks for the reply , but my issue is in table maintenance the entire table gets locked , i want to restrict the locking only to records selected by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 08:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464881#M832748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T08:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464882#M832749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when one table is edited or maintained other users dont have the previledge to modify the table contents for the entire table. Hence in this case i hope that u cannot restrict the authroization at record level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 09:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464882#M832749</guid>
      <dc:creator>prabhu_s2</dc:creator>
      <dc:date>2008-03-11T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464883#M832750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are asking is possible but not feasible.Database generally contains millions of records under different table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The time taken to keep track of a record level lock and authenicate query involving that particular table is very huge.Performance wise the system will become unusable to say the least.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 10:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance/m-p/3464883#M832750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T10:42:48Z</dc:date>
    </item>
  </channel>
</rss>

