<?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: FM extraction -Filtering -Performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215776#M766773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;                 Take the 3 user names which you want to display into an internal table with a field UNAME.Then write the code like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SAPWL_STATREC_DIRECT_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;read_start_date = fdat&lt;/P&gt;&lt;P&gt;read_start_time = ftim&lt;/P&gt;&lt;P&gt;read_end_date = tdat&lt;/P&gt;&lt;P&gt;read_end_time = ttim&lt;/P&gt;&lt;P&gt;read_client = cli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_USERNAME = &lt;STRONG&gt;ITAB-UNAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;normal_records = normal_records_tbl.&lt;/P&gt;&lt;P&gt;if sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&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;Ramana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: venkata ramana on Jan 9, 2008 12:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 19:22:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T19:22:32Z</dc:date>
    <item>
      <title>FM extraction -Filtering -Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215775#M766772</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 FM which givee me history of users who executed t-codes.I don't want to read all data and then filter.Instead I want to it be filtered (Only 3 usernames) in the FM extraction itself.&lt;/P&gt;&lt;P&gt;This because it will take a lot of time and performance is effecting.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'SAPWL_STATREC_DIRECT_READ'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      read_start_date = fdat&lt;/P&gt;&lt;P&gt;      read_start_time = ftim&lt;/P&gt;&lt;P&gt;      read_end_date   = tdat&lt;/P&gt;&lt;P&gt;      read_end_time   = ttim&lt;/P&gt;&lt;P&gt;      read_client     = cli&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     READ_USERNAME   = S_UNAME-LOW&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      normal_records  = normal_records_tbl.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  out_data[] = normal_records_tbl[].&lt;/P&gt;&lt;P&gt;  append out_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215775#M766772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM extraction -Filtering -Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215776#M766773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;                 Take the 3 user names which you want to display into an internal table with a field UNAME.Then write the code like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SAPWL_STATREC_DIRECT_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;read_start_date = fdat&lt;/P&gt;&lt;P&gt;read_start_time = ftim&lt;/P&gt;&lt;P&gt;read_end_date = tdat&lt;/P&gt;&lt;P&gt;read_end_time = ttim&lt;/P&gt;&lt;P&gt;read_client = cli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_USERNAME = &lt;STRONG&gt;ITAB-UNAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;normal_records = normal_records_tbl.&lt;/P&gt;&lt;P&gt;if sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&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;Ramana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: venkata ramana on Jan 9, 2008 12:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215776#M766773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: FM extraction -Filtering -Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215777#M766774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your Input.&lt;/P&gt;&lt;P&gt;but still did not solve my performance issue?&lt;/P&gt;&lt;P&gt;Any better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-extraction-filtering-performance-issue/m-p/3215777#M766774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:43:26Z</dc:date>
    </item>
  </channel>
</rss>

