<?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: Function module to read transport log into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350441#M175799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need for a function module,  transport logs are files on the application server.  You can use DATASET to read the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: ds type localfile value '/usr/sap/trans/log/TSTE909704.TST'.

data: itab type table of string with header line.


start-of-selection.

  open dataset ds for input in text mode.
  if sy-subrc = 0.
    do.
      read dataset ds into itab.
      if sy-subrc &amp;lt;&amp;gt; 0.
        exit.
      endif.
      append itab.
    enddo.
  endif.
  close dataset ds.


  loop at itab.
    write:/ itab.
  endloop.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN!  Please remember to award points for helpful answers and to mark you post as solved when solved completely.  THanks.&lt;/P&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>Thu, 18 May 2006 18:43:45 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-05-18T18:43:45Z</dc:date>
    <item>
      <title>Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350437#M175795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a need to read the detailed transport log into internal table. Any direction to solve this task is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 18:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350437#M175795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-18T18:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350438#M175796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check table E070&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 18:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350438#M175796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-18T18:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350439#M175797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Fm &lt;/P&gt;&lt;P&gt;TMS_UI_SHOW_TRANSPORT_LOGS  &lt;/P&gt;&lt;P&gt;LXE_LOG_FILL_R3_TRANSPORT   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table&lt;/P&gt;&lt;P&gt;TMSALOG &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P.S award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 18:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350439#M175797</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-18T18:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350440#M175798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these fucntion modules in conjunction ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_TREE_GET_MARKED_NODES&lt;/P&gt;&lt;P&gt;TRINT_TDR_USER_COMMAND&lt;/P&gt;&lt;P&gt;RS_WORKING_AREA_ACTIVE_CHECK&lt;/P&gt;&lt;P&gt;RS_TREE_EXPAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Please reward helpful answers&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nishanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 18:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350440#M175798</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-05-18T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350441#M175799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need for a function module,  transport logs are files on the application server.  You can use DATASET to read the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: ds type localfile value '/usr/sap/trans/log/TSTE909704.TST'.

data: itab type table of string with header line.


start-of-selection.

  open dataset ds for input in text mode.
  if sy-subrc = 0.
    do.
      read dataset ds into itab.
      if sy-subrc &amp;lt;&amp;gt; 0.
        exit.
      endif.
      append itab.
    enddo.
  endif.
  close dataset ds.


  loop at itab.
    write:/ itab.
  endloop.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN!  Please remember to award points for helpful answers and to mark you post as solved when solved completely.  THanks.&lt;/P&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>Thu, 18 May 2006 18:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350441#M175799</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-18T18:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read transport log into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350442#M175800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Showry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this standard program &amp;lt;b&amp;gt;RSTMSTPL&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 18:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-transport-log-into-internal-table/m-p/1350442#M175800</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-05-18T18:46:35Z</dc:date>
    </item>
  </channel>
</rss>

