<?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 TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281672#M152843</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;Do you know if there is a table that stores the transaction´s name that are running at the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2006 23:16:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-28T23:16:25Z</dc:date>
    <item>
      <title>TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281672#M152843</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;Do you know if there is a table that stores the transaction´s name that are running at the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281672#M152843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T23:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281673#M152844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get a rough idea,  you can see what users are currently running using the transaction code SM04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281673#M152844</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-28T23:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281674#M152845</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 have a table called TSTC, which stores all the transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sek s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281674#M152845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T23:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281675#M152846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can also use the TCode STAT to get the local Transaction statistics..&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281675#M152846</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-03-28T23:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281676#M152847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find what transactions are running, becuase I need to lock the tx in case is already running, I tryed with ENQUEUE AND DEQUEUE but it didn´t work. I need to lock tx MIRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281676#M152847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T23:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281677#M152848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SM04 uses a c function to get this data.  Here is the logic.  This may not be useful as it will not help when user has mulitple sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: begin of usr_tabl occurs 10.
        include structure uinfo.
data: end of usr_tabl.

data: th_opcode(1)                    type x.

constants: opcode_list                     like th_opcode value 2.

refresh usr_tabl.

call 'ThUsrInfo' id 'OPCODE' field opcode_list
  id 'TAB' field usr_tabl-*sys*.

sort usr_tabl by mandt bname.

loop at usr_tabl.

  write:/ usr_tabl-bname, usr_tabl-tcode.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281677#M152848</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-28T23:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281678#M152849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering how you would lock a transaction if it is already running.  The lock probably wouldn't take effect on the other session untill the user backs out and re-enters the transaction.  You can lock transaction via SM01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281678#M152849</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-28T23:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281679#M152850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tested it, if someone is already in the transaction, locking it will do no good untill they back out of the transaction and try to reenter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 23:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281679#M152850</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-28T23:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281680#M152851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;Thanks again for answering, the code you gave me worked, but you r rigth, if the user has several modes, it does´nt work right, I tryed to do it with TX you gave me, but I have no permission to access it, I guess a usual user either. &lt;/P&gt;&lt;P&gt;Do you know any other way to lock the acces to a transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 00:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281680#M152851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T00:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281681#M152852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a big fan of directly updating a database,  as I don't someone in another post tonight not too, but in this case if you can't use the SM01, you can do the underlying code, essentially, this is what it is doing.  Give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .


data: xtstc type tstc.

parameters: p_lock radiobutton group grp1,
            p_unlk radiobutton group grp1.

select single * from tstc into xtstc
               where tcode = 'MIRO'.
if p_lock = 'X'.
  xtstc-cinfo = '24'.    "Lock it
else.
  xtstc-cinfo = '04'.    "Unlock it
endif.
modify tstc from xtstc.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 01:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281681#M152852</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-29T01:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: TRANSACTION TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281682#M152853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;My requirement is to retrieve all transaction from multiple sessions. Please &lt;/P&gt;&lt;P&gt;tell how to retrieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Gandhi Subramani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 18:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-table/m-p/1281682#M152853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T18:03:18Z</dc:date>
    </item>
  </channel>
</rss>

