<?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: Locking a trasaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596218#M1275513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As others specified, if it is a standard transaction, then he locking is taken care of already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to lock your own(Custom transaction).&lt;/P&gt;&lt;P&gt;You have to create lock objects in SE11 transaction.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then two (ENQUE_&lt;STRONG&gt;your object&lt;/STRONG&gt; and DEQUE_&lt;STRONG&gt;your object&lt;/STRONG&gt; ) function modules are generated.&lt;/P&gt;&lt;P&gt;You have to use one fm at the start of your transaction and the other at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2009 08:17:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-04T08:17:18Z</dc:date>
    <item>
      <title>Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596213#M1275508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallo &lt;/P&gt;&lt;P&gt;How can I lock a transaction for other users when one user using it. For example va01. Is there any function Module for it.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;waseem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596213#M1275508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596214#M1275509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey i guess for this transaction already it would be having the lock objects existing for that&lt;/P&gt;&lt;P&gt;is it a zobject&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;s.janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596214#M1275509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596215#M1275510</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;I think using SM01 you can lock the required transaction code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596215#M1275510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596216#M1275511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default sap locks a transaction when it is open for 1 user. so you don't have to do anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At one time a single user can change/edit a tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this solves your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596216#M1275511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596217#M1275512</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;     If one user is using a tcode that is if he is editing or changing the things, then it will be automatically locked for other users for editing/changing, the other users can able to see the tcode in display mode only.&lt;/P&gt;&lt;P&gt;   If you want to use the tcode especially for you, then ask concern basis for giving authorizations to the tcode and you can alone only able to use that tcode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596217#M1275512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596218#M1275513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As others specified, if it is a standard transaction, then he locking is taken care of already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to lock your own(Custom transaction).&lt;/P&gt;&lt;P&gt;You have to create lock objects in SE11 transaction.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then two (ENQUE_&lt;STRONG&gt;your object&lt;/STRONG&gt; and DEQUE_&lt;STRONG&gt;your object&lt;/STRONG&gt; ) function modules are generated.&lt;/P&gt;&lt;P&gt;You have to use one fm at the start of your transaction and the other at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596218#M1275513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a trasaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596219#M1275514</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;We can do it through programmatically as well.&lt;/P&gt;&lt;P&gt;Check this code, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tables: tstc.

* To lock the Tcode
update tstc SET cinfo = 'A0'
          WHERE tcode = 'VA01'.

IF sy-subrc = 0.
  COMMIT WORK.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks\&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-trasaction/m-p/5596219#M1275514</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-05-04T08:31:27Z</dc:date>
    </item>
  </channel>
</rss>

