<?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 Transaction locking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051420#M1174173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know  how we can lock a transaction for a certain period of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if there is a transaction zfics_ui which is executed by a user, then for the next 10 minutes another user should not be able to run this transaction. In other words, the second user should get a message that the transaction has been locked and the other user cannot trigger the transaction until the first person has finished processing of the transaction.&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;Sushanth H.S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 11:41:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-20T11:41:09Z</dc:date>
    <item>
      <title>Transaction locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051420#M1174173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know  how we can lock a transaction for a certain period of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if there is a transaction zfics_ui which is executed by a user, then for the next 10 minutes another user should not be able to run this transaction. In other words, the second user should get a message that the transaction has been locked and the other user cannot trigger the transaction until the first person has finished processing of the transaction.&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;Sushanth H.S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 11:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051420#M1174173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T11:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051421#M1174174</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;U can lock/ unlock the transaction in Trx. SM01 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 11:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051421#M1174174</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-01-20T11:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051422#M1174175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sushanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SM01 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the last empty input field.. just enter the transaction you want to lock.... and press enter.. then check the check box of that transaction name and press LOCK/UNLOCK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this transaction will be locked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 11:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051422#M1174175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051423#M1174176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;beacuse this method directly updates an SAP table, i do not recommend it, but...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the lock information is stored in table TSTC, field CINFO, bit 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a code FRAGMENT to help you should you decide to do this. it works, but i give no guarantees. use it at your own risk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(selected is a field string read in from table TSTC for a specific tcode)&lt;/P&gt;&lt;P&gt;(plock and unlock are radiobuttons on the selection screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    case 'X'.
      when plock.
        set bit 3 of selected-cinfo to 1.
      when punlock.
        set bit 3 of selected-cinfo to 0.
    endcase.
    update tstc from selected.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again, i totally disavow any use of this code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 19:47:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-locking/m-p/5051423#M1174176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T19:47:51Z</dc:date>
    </item>
  </channel>
</rss>

