<?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: Table Locking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195917#M1375352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Kartik Tarla,&lt;/P&gt;&lt;P&gt;i like to discuss with you ..&lt;/P&gt;&lt;P&gt;i am newbie using SAP and ABAP programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i am running program &lt;/P&gt;&lt;P&gt;in example ZHRSJ&lt;/P&gt;&lt;P&gt;that program will show table Equipment, at first time view, will be display in change view&lt;/P&gt;&lt;P&gt;and if somebody run ZHRSJ too&lt;/P&gt;&lt;P&gt;the other will be view table in display view, coz table Equipment already locked by me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to make that program will show the table at the first time in display view when i running it&lt;/P&gt;&lt;P&gt;can you help me, how to  do that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for all your responses for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;novhard kordinov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: novhard on Oct 6, 2009 6:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 03:57:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-06T03:57:50Z</dc:date>
    <item>
      <title>Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195910#M1375345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone ..&lt;/P&gt;&lt;P&gt;i am new here .&lt;/P&gt;&lt;P&gt;i want to asking about table locking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem, the problem like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if user a acces table_a, table_a will  locked by user a, so the other user only can view table_a and can't modified the table_a&lt;/P&gt;&lt;P&gt;i want to table_a not locked by a, so the other user can modified table_a in same time with user a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope someone can help me to solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;novhard kordinov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 02:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195910#M1375345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T02:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195911#M1375346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say u want to disable locking on table_a so that user a as well as other users also maybe able to access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would cause databse inconsistency and hence not recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if i understood your question wrongly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195911#M1375346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195912#M1375347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me know how will the table be changed? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tr? sm30? program ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195912#M1375347</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-10-06T03:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195913#M1375348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@kartik tarla&lt;/P&gt;&lt;P&gt;yaps, you understand my question,&lt;/P&gt;&lt;P&gt;it will make inconsitency&lt;/P&gt;&lt;P&gt;i want to change my question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a acces table_a at the first time , table_a will display in change view,&lt;/P&gt;&lt;P&gt;so table_a will be locked by user a,&lt;/P&gt;&lt;P&gt;so the other user only can display view in table_a,&lt;/P&gt;&lt;P&gt;i want to make if a acces table_a at first time, table_a will display in display view,&lt;/P&gt;&lt;P&gt;so table_a not locked by user a, but if a want to modified the record in table_a,&lt;/P&gt;&lt;P&gt;the record will be locked by user a, so the other user only can view the record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope some one can help me to solve the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@j@y&lt;/P&gt;&lt;P&gt;by program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the responses&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195913#M1375348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195914#M1375349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use these fms 'ENQUEUE_E_TABLE' and DEQUEUE_E_TABLE to lock and unlock table,&lt;/P&gt;&lt;P&gt;Only when user a is modifying a record then lock the table and then unlock right after it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195914#M1375349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195915#M1375350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Kartik Tarla&lt;/P&gt;&lt;P&gt;thanks for response me ..&lt;/P&gt;&lt;P&gt;mmm, how if  i want to do record locking not table locking??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195915#M1375350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195916#M1375351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above Fms that i have provided have a parameter &lt;STRONG&gt;varkey&lt;/STRONG&gt; which is the concatenated key fields&lt;/P&gt;&lt;P&gt;If u provide this varkey then this fm will perform record level locking based on the key fields,&lt;/P&gt;&lt;P&gt;only teh record matching with the key that u provided will be ;locked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kartik Tarla on Oct 6, 2009 9:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195916#M1375351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195917#M1375352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Kartik Tarla,&lt;/P&gt;&lt;P&gt;i like to discuss with you ..&lt;/P&gt;&lt;P&gt;i am newbie using SAP and ABAP programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i am running program &lt;/P&gt;&lt;P&gt;in example ZHRSJ&lt;/P&gt;&lt;P&gt;that program will show table Equipment, at first time view, will be display in change view&lt;/P&gt;&lt;P&gt;and if somebody run ZHRSJ too&lt;/P&gt;&lt;P&gt;the other will be view table in display view, coz table Equipment already locked by me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to make that program will show the table at the first time in display view when i running it&lt;/P&gt;&lt;P&gt;can you help me, how to  do that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for all your responses for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;novhard kordinov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: novhard on Oct 6, 2009 6:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195917#M1375352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T03:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195918#M1375353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are u using a table control&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 05:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195918#M1375353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T05:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195919#M1375354</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>Tue, 06 Oct 2009 05:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195919#M1375354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T05:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195920#M1375355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Novhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use custom lock objects (see SE11). If you create one object (it should start with 'EZ' or 'EY' for specific ones) lets say &lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;EZ_MY_TABLE&lt;/SPAN&gt;, it will create to FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - &lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;ENQUEUE_EZ_MY_TABLE&lt;/SPAN&gt; that will lock some entries of your table :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'ENQUEUE_EZ_LOCK_MATABLE'
 EXPORTING
   MODE_MY_TABLE = 'E'
   MANDT         = SY-MANDT
   KEYFIELD1     = 'VALUE1'
   KEYFIELD2     = 'VALUE2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - &lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;DEQUEUE_EZ_MY_TABLE&lt;/SPAN&gt; that will unlock your entries&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'DEQUEUE_EZ_LOCK_MATABLE'
 EXPORTING
   MODE_MY_TABLE = 'E'
   MANDT         = SY-MANDT
   KEYFIELD1     = 'VALUE1'
   KEYFIELD2     = 'VALUE2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 07:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195920#M1375355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T07:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195921#M1375356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all responses ,..&lt;/P&gt;&lt;P&gt;i am very newbie in SAP and ABAP programming&lt;/P&gt;&lt;P&gt;this is my first time, i have to remake a funciton in SAP&lt;/P&gt;&lt;P&gt;just confuse what i must to do,&lt;/P&gt;&lt;P&gt;still study the code, &lt;/P&gt;&lt;P&gt;later i will asking again ...&lt;/P&gt;&lt;P&gt;thanks all ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;novhard kordinov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 08:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195921#M1375356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T08:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195922#M1375357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Kartik Tarla    	 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know,..&lt;/P&gt;&lt;P&gt;if we want to do like i mention before ..&lt;/P&gt;&lt;P&gt;is it the solution using table control??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 09:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-locking/m-p/6195922#M1375357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T09:51:06Z</dc:date>
    </item>
  </channel>
</rss>

